Commit 16489906 authored by Vincent Bechu's avatar Vincent Bechu Committed by Vincent Bechu

erp5_officejs: add presentation installer gadget

parent 7f655439
.loader{
border: 16px solid #f3f3f3;
border-radius: 50%;
border-top: 16px solid #3498db;
width: 64px;
height: 64px;
z-index:9999;
-webkit-animation: spin 1s linear infinite;
animation: spin 1s linear infinite;
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
}
header{
background-color:#085078;
color: #f8fff3;
padding: 0.6em;
}
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, user-scalable=no" />
<title>OfficeJS Presentation Install</title>
<link rel="stylesheet" href="gadget_officejs_install_presentation.css">
<!-- renderjs -->
<script src="rsvp.js" type="text/javascript"></script>
<script src="renderjs.js" type="text/javascript"></script>
<!-- custom script -->
<script src="gadget_officejs_install_presentation.js" type="text/javascript"></script>
</head>
<body>
<center>
</center>
</body>
</html>
\ No newline at end of file
/*global window, rJS*/
/*jslint nomen: true, maxlen:80, indent:2*/
var IMAGE = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABUCAYAAAACoiByAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAABIvSURBVHic7Z15eBRVusZ/Vd3pTnc6S2cjIIuAgOwBZDUQXIfxIld4hHuRxRGdcWZwuy7jHccRFdxQFK8o6NwRHRgQGUVEBeTOuIIIYbmSQEBI1ChhCTEBErJ11/xxurqruqv3LODw5qmkz6lzur7z1ne+c76zBaJHO6BjDPn+pWGKIU9XoBDIBHYBNc0q0Xl40R5QPFcN8CSQ3qYS/URhwUe0elUDc4CUNpTrJ4lqAslWgArgd4C97UT7aaEED7k9+/QzIvwIcAd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QdeK8KhmElNtqNIEusy83j6whkU27vELlldDWz9AD5ZDfu+RL9sikPAfyFmx0PibCFaxShgHuKsUi86d2zPutULuWjQeDAl6rTZ/e1TNO3dRNnqg6Qn2jhjTWZd1miWdJzIvqSusUmhKFD0hSD3y/XCHutRg1hg9CwRDjCdbUSruAxBuO4E3v59LuLtvz5N+97jkEwWlLpSGj+4hcpNP7AtZxRv5lzB+oyR1Mkx/GuB4z/AN4Xw9U7Y8q4IB6IeMZr5IGCYIBjOVqJV/Bxhw3Unx4zNy2X5n+ZiPlbA41utrOhwLRWWCI6/czVB7SmoOgbf7oXSIkFuaRHUVIfK+Q3inKY/ozkuNBqc7USruA5BeH/Du1Y72JM9V4r4K8lQe1JcNScFwYEmIBRKgI8QEyDrEaO+/xKQEJOhxeB1IpvjcgOHga2IMfdfAHG0nsGFP9dgQvwHjHsQpzlq/RYlSNiFcCS+RWz+0f4tI8KZ7PM4j/M4j/M4j/M4j7Mf/wThRm3OaG5x0AAAAABJRU5ErkJggg==";
(function (window, rJS) {
"use strict";
rJS(window)
.ready(function (g) {
g.props = {};
})
.ready(function (g) {
return g.getElement()
.push(function (element) {
g.props.element = element;
});
})
.declareMethod('render', function (options) {
this.props.element.querySelector("center")
.innerHTML =
"<header>OfficeJS Installer</header>" +
"<br>" +
"<br>" +
"<br>" +
"<br>" +
"<br>" +
"<br>" +
"<br>" +
'<img width="100" height="100" title="" alt="" src="' + IMAGE + '" />' +
"<br>" +
'<div>Installing ' + options.app_name + '</div>' +
"<br>" +
'<div class="loader"></div>';
return {};
});
}(window, rJS));
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment