9
9
10
10
< title > DRF Docs</ title >
11
11
12
- <!-- Bootstrap -->
13
- < link href ="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css " rel ="stylesheet ">
14
- <!-- Flatly -->
12
+ <!-- Bootstrap & Flatly -->
15
13
< link href ="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.5/flatly/bootstrap.min.css " rel ="stylesheet ">
16
14
<!-- Font Awesome -->
17
15
< link href ="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css " rel ="stylesheet ">
32
30
</ a >
33
31
34
32
< div class ="container ">
33
+
34
+ < nav class ="navbar navbar-default ">
35
+ < div class ="container-fluid ">
36
+ <!-- Brand and toggle get grouped for better mobile display -->
37
+ < div class ="navbar-header ">
38
+ < button type ="button " class ="navbar-toggle collapsed " data-toggle ="collapse " data-target ="#drfdoc-navbar " aria-expanded ="false ">
39
+ < span class ="sr-only "> Toggle navigation</ span >
40
+ < span class ="icon-bar "> </ span >
41
+ < span class ="icon-bar "> </ span >
42
+ < span class ="icon-bar "> </ span >
43
+ </ button >
44
+ < a class ="navbar-brand " href ="# "> DRF Docs</ a >
45
+ </ div >
46
+
47
+ <!-- Collect the nav links, forms, and other content for toggling -->
48
+ < div class ="collapse navbar-collapse " id ="drfdoc-navbar ">
49
+ < form class ="navbar-form navbar-right " role ="search ">
50
+ < div class ="form-group ">
51
+ < input type ="text " class ="form-control " placeholder ="Search ">
52
+ </ div >
53
+ </ form >
54
+ < ul class ="nav navbar-nav navbar-right ">
55
+ {% block apps_menu %}{% endblock %}
56
+ </ ul >
57
+ </ div > <!-- /.navbar-collapse -->
58
+ </ div > <!-- /.container-fluid -->
59
+ </ nav >
60
+
35
61
< div class ="jumbotron ">
36
62
< h1 > DRF Docs</ h1 >
37
- < h3 > Documentation for Web APIs made with < a href ="http://www.django-rest-framework.org/ " target ="_blank "> Django Rest Framework</ a > .</ h3 >
63
+ < h3 > Document Web APIs made with < a href ="http://www.django-rest-framework.org/ " target ="_blank "> Django Rest Framework</ a > .</ h3 >
38
64
</ div >
39
65
40
66
{% block content %}{% endblock %}
@@ -48,5 +74,10 @@ <h3>Documentation for Web APIs made with <a href="http://www.django-rest-framewo
48
74
Copyright © 2015 Emmanouil Konstantinidis.
49
75
</ div >
50
76
</ div >
77
+
78
+ <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
79
+ < script src ="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js "> </ script >
80
+
81
+ < script src ="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js " integrity ="sha256-KXn5puMvxCw+dAYznun+drMdG1IFl3agK0p/pqT9KAo= sha512-2e8qq0ETcfWRI4HJBzQiA3UoyFk6tbNyG+qSaIBZLyW9Xf3sWZHN/lxe9fTh1U45DpPf07yj94KsUHHWe4Yk1A== " crossorigin ="anonymous "> </ script >
51
82
</ body >
52
83
</ html >
0 commit comments