Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Framasoft
framacloud
Commits
63938679
Commit
63938679
authored
Apr 03, 2019
by
JosephK
Browse files
Fix Bootstrap
parent
70491ad2
Pipeline
#124517
passed with stages
in 1 minute and 45 seconds
Changes
6
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
en/_layouts/website/page.html
View file @
63938679
...
...
@@ -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 %}
en/styles/bootstrap.min.css
0 → 100644
View file @
63938679
This diff is collapsed.
Click to expand it.
en/styles/website.css
View file @
63938679
@import
'bootstrap.min.css'
;
.book
{
height
:
calc
(
100%
-
42px
);
}
...
...
fr/_layouts/website/page.html
View file @
63938679
...
...
@@ -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 %}
fr/styles/bootstrap.min.css
0 → 100644
View file @
63938679
This diff is collapsed.
Click to expand it.
fr/styles/website.css
View file @
63938679
@import
'bootstrap.min.css'
;
.book
{
height
:
calc
(
100%
-
42px
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment