Completed adding of customization system and bottom infobar
parent
84164123b6
commit
51544db9a2
@ -0,0 +1,78 @@
|
||||
<!-- This is an HTML fragment which is included into the bottom toolbar -->
|
||||
<div>
|
||||
<style>
|
||||
.bottom-bar {
|
||||
position:fixed;
|
||||
bottom:0px;
|
||||
right:0px;
|
||||
height:4%;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
background: rgb(23, 35, 34);
|
||||
}
|
||||
.bottom-bar a {
|
||||
color: rgb(39, 176, 0);
|
||||
text-decoration: none;
|
||||
}
|
||||
.bottom-bar p {
|
||||
margin: -1px;
|
||||
font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif;
|
||||
font-size: 20px;
|
||||
display:block;
|
||||
float:left;
|
||||
padding-top:3px;
|
||||
}
|
||||
.bottom-bar-left {
|
||||
display:block;
|
||||
float:left;
|
||||
padding-left:10px;
|
||||
}
|
||||
.bottom-bar-right {
|
||||
display:block;
|
||||
float:right;
|
||||
padding-right:20px
|
||||
}
|
||||
.bottom-bar-center {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 20%
|
||||
}
|
||||
|
||||
.bottom-bar img {
|
||||
margin-right: 4px;
|
||||
position: relative;
|
||||
}
|
||||
.bottom-bar-heart {
|
||||
top: 2px;
|
||||
}
|
||||
.bottom-bar-xwiki {
|
||||
top: 3px;
|
||||
}
|
||||
</style>
|
||||
<div class="bottom-bar">
|
||||
<div class="bottom-bar-left">
|
||||
<p>
|
||||
<a href="http://www.xwiki.com/lang/en/Company/Research">
|
||||
Made with
|
||||
<img class="bottom-bar-heart" src="/customize/heart.png" />
|
||||
in
|
||||
<img class="bottom-bar-fr" src="/customize/fr.png" />
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="bottom-bar-center">
|
||||
<p><a href="https://github.com/xwiki-labs/cryptpad">Fork me on GitHub</a></p>
|
||||
</div>
|
||||
<div class="bottom-bar-right">
|
||||
<p>
|
||||
<a href="http://www.xwiki.com/" title="XWiki: The best way to organize your information">
|
||||
Hosted by
|
||||
<img src="/customize/logo-xwiki2.png"
|
||||
alt="XWiki SAS"
|
||||
class="bottom-bar-xwiki"
|
||||
/>
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,7 +1,17 @@
|
||||
define([
|
||||
'/bower_components/jquery/dist/jquery.min.js'
|
||||
], function ($) {
|
||||
var main = function ($toolbar) {
|
||||
$toolbar.append('<p>Made With <img src="/customize/"> in Paris</p>')
|
||||
Dt.main($('.rtwysiwyg-toolbar-rightside'));
|
||||
], function () {
|
||||
var $ = window.jQuery;
|
||||
var main = function () {
|
||||
$.ajax({
|
||||
url: '/customize/BottomBar.html',
|
||||
success: function (ret) {
|
||||
$('iframe').height('96%');
|
||||
$('body').append(ret);
|
||||
}
|
||||
});
|
||||
};
|
||||
return {
|
||||
main: main
|
||||
};
|
||||
});
|
||||
|
Before Width: | Height: | Size: 545 B After Width: | Height: | Size: 545 B |
Binary file not shown.
Before Width: | Height: | Size: 545 B |
Binary file not shown.
After Width: | Height: | Size: 4.8 KiB |
@ -1,6 +1,6 @@
|
||||
require([
|
||||
'/customize/DecorateToolbar.js',
|
||||
'/bower_components/jquery/dist/jquery.min.js'
|
||||
], function (Dt, $) {
|
||||
Dt.main($('.rtwysiwyg-toolbar-rightside'));
|
||||
], function (Dt) {
|
||||
Dt.main(window.$('#bottom-bar'));
|
||||
});
|
||||
|
@ -0,0 +1,6 @@
|
||||
require([
|
||||
'/customize/DecorateToolbar.js',
|
||||
'/bower_components/jquery/dist/jquery.min.js'
|
||||
], function (Dt) {
|
||||
Dt.main(window.$('#bottom-bar'));
|
||||
});
|
@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
|
||||
<script src="/bower_components/jquery/dist/jquery.min.js"></script>
|
||||
<script src="/bower_components/ckeditor/ckeditor.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<textarea style="display:none" id="editor1" name="editor1"></textarea>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue