Commit 63938679 authored by  JosephK's avatar JosephK

Fix Bootstrap

parent 70491ad2
Pipeline #124517 passed with stages
in 1 minute and 45 seconds
......@@ -2,32 +2,14 @@
{% block body %}
{{ super() }}
<script type="text/javascript">
var loc = window.location.href+'';
if (loc.indexOf('http://') > -1 && window.location.host.indexOf('frama') > -1){
<script>
const loc = window.location.href+'';
if (/http:\/\//.test(loc) && /frama\./.test(window.location.host)){
window.location.href = loc.replace('framasoft.frama.io/framacloud','framacloud.org').replace('http://','https://');
}
var l$ = {
js: {
j$: 'noConflict',
video : true,
ext: function(){ setTimeout(function() {
if (jQuery(window).width() <= 768) {
jQuery('.with-summary').removeClass('with-summary');
}
jQuery(window).resize(function(){
if (jQuery(window).width() <= 768) {
jQuery('.with-summary').removeClass('with-summary');
}
});
}, 1000)}
},
mute: true,
footer: false
}
var script = document.createElement('script');
script.type = "text/javascript";
script.src="https://framasoft.org/nav/nav.js";
document.getElementsByTagName('head')[0].appendChild(script);
}
const nav = document.createElement('script');
nav.src="https://framasoft.org/nav/nav.js";
document.getElementsByTagName('head')[0].appendChild(nav);
</script>
{% endblock %}
This source diff could not be displayed because it is too large. You can view the blob instead.
@import 'bootstrap.min.css';
.book {
height: calc(100% - 42px);
}
......
......@@ -2,32 +2,14 @@
{% block body %}
{{ super() }}
<script type="text/javascript">
var loc = window.location.href+'';
if (loc.indexOf('http://') > -1 && window.location.host.indexOf('frama') > -1){
<script>
const loc = window.location.href+'';
if (/http:\/\//.test(loc) && /frama\./.test(window.location.host)){
window.location.href = loc.replace('framasoft.frama.io/framacloud','framacloud.org').replace('http://','https://');
}
var l$ = {
js: {
j$: 'noConflict',
video : true,
ext: function(){ setTimeout(function() {
if (jQuery(window).width() <= 768) {
jQuery('.with-summary').removeClass('with-summary');
}
jQuery(window).resize(function(){
if (jQuery(window).width() <= 768) {
jQuery('.with-summary').removeClass('with-summary');
}
});
}, 1000)}
},
mute: true,
footer: false
}
var script = document.createElement('script');
script.type = "text/javascript";
script.src="https://framasoft.org/nav/nav.js";
document.getElementsByTagName('head')[0].appendChild(script);
}
const nav = document.createElement('script');
nav.src="https://framasoft.org/nav/nav.js";
document.getElementsByTagName('head')[0].appendChild(nav);
</script>
{% endblock %}
This source diff could not be displayed because it is too large. You can view the blob instead.
@import 'bootstrap.min.css';
.book {
height: calc(100% - 42px);
}
......
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