File tree Expand file tree Collapse file tree 3 files changed +59
-5
lines changed Expand file tree Collapse file tree 3 files changed +59
-5
lines changed Original file line number Diff line number Diff line change 1+ body {
2+ background-color : # FEFEFE ;
3+ }
4+
5+ h1 , h2 , h3 , h4 {
6+ text-align : center;
7+ }
8+
9+ .jumbotron {
10+ margin : 50px 0 40px ;
11+ text-align : center;
12+ }
13+
14+ .footer {
15+ text-align : center;
16+ padding : 20px ;
17+ margin-bottom : 20px ;
18+ }
19+
20+ .footer .links {
21+ padding : 20px 0 ;
22+ }
23+
24+ .footer .links .fa {
25+ margin : 0 10px ;
26+ font-size : 22px ;
27+ }
Original file line number Diff line number Diff line change 1+ {% load staticfiles %}
2+
13<!DOCTYPE html>
24< html >
35 < head >
46 < meta charset ="utf-8 ">
7+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
8+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
9+
510 < title > DRF Docs</ title >
11+
12+ <!-- Bootstrap -->
13+ < link href ="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css " rel ="stylesheet ">
14+ <!-- Flatly -->
15+ < link href ="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.4/flatly/bootstrap.min.css " rel ="stylesheet ">
16+ <!-- Font Awesome -->
17+ < link href ="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css " rel ="stylesheet ">
18+ <!-- Custom Style -->
19+ < link href ="{% static "css /style.css" %}" rel="stylesheet ">
620 </ head >
21+
722 < body >
8- < h1 > Django Rest Frameworks Docs</ h1 >
23+ < div class ="container ">
24+ < div class ="jumbotron ">
25+ < h1 > DRF Docs</ h1 >
26+ < h3 > Documentation for Web APIs made with < a href ="http://www.django-rest-framework.org/ " target ="_blank "> Django Rest Framework</ a > .</ h3 >
27+ </ div >
928
10- {% block content %}{% endblock %}
29+ {% block content %}{% endblock %}
1130
31+ < div class ="footer ">
32+ < div class ="links ">
33+ < a href ="http://www.iamemmanouil.com "> < i class ="fa fa-link "> </ i > </ a >
34+ < a href ="http://www.github.com/ekonstantinidis "> < i class ="fa fa-github "> </ i > </ a >
35+ < a href ="http://www.twitter.com/iamemmanouil "> < i class ="fa fa-twitter "> </ i > </ a >
36+ </ div >
37+ Copyright © 2015 Emmanouil Konstantinidis.
38+ </ div >
39+ </ div >
1240 </ body >
1341</ html >
Original file line number Diff line number Diff line change 11{% extends "drfdocs/base.html" %}
22
33{% block content %}
4- < ul >
54 {% for endpoint in endpoints %}
6- < li >
5+ < div class =" endpoint " >
76 < pre > {{ endpoint.regex }}</ pre >
87 < p > {{ endpoint.view_name }}</ p >
8+ </ div >
99 {% endfor %}
10- </ ul >
1110{% endblock %}
You can’t perform that action at this time.
0 commit comments