gitlab.html
991 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{% extends 'base.html' %}
{% load static %}
{% block head_css %}
<style>
div#main-content {
margin-top: 65px;
}
div#main-content div.container {
width: 1110px;
}
div#main-content div.flash-container{
width: 85%;
}
#breadcrumbs {
border: 0 !important;
}
#right-top-nav {
margin-right: 5em !important;
}
</style>
{% endblock %}
{% block head_js %}
<script type="text/javascript">
$(function(){
// bootstrap.css forces .hide {display:none!important}, and this makes
// gitlab .hide elements NEVER have a display:block, so
// instead of editing bootstrap.css, we just removed '.hide' css class and
// toggled
$('.hide').removeClass('hide').css('display', 'none');
});
</script>
<script type="text/javascript" src="{% static 'third-party/bootstrap/js/bootstrap.min.js' %}"></script>
<script type="text/javascript" src="{% static 'third-party/jquery.cookie.js' %}"></script>
<script>jQuery.noConflict();</script>
{% endblock %}