Debian Codegraph @

example/templates/django_json_widget/base.html

raw
1 {% load staticfiles i18n %}<!DOCTYPE html>
2 <html lang="en" >
3 <head>
4 <meta charset="utf-8">
5 <meta http-equiv="x-ua-compatible" content="ie=edge">
6 <title>{% block title %}django-json-widget{% endblock title %}</title>
7 <meta name="viewport" content="width=device-width, initial-scale=1.0">
8 <meta name="description" content="">
9 <meta name="author" content="">
10
11 <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
12 <!--[if lt IE 9]>
13 <script src="https://html5shim.googlecode.com/svn/trunk/html5.js"></script>
14 <![endif]-->
15
16 {% block css %}
17 <!-- Latest compiled and minified CSS -->
18 <link rel="stylesheet" href="https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/css/bootstrap.css">
19
20 <!-- Your stuff: Third-party css libraries go here -->
21
22 {% endblock %}
23 </head>
24
25 <body>
26
27 <div class="m-b">
28 <nav class="navbar navbar-dark navbar-static-top bg-inverse">
29 <div class="container">
30 <a class="navbar-brand" href="/">django-json-widget</a>
31 <button type="button" class="navbar-toggler hidden-sm-up pull-xs-right" data-toggle="collapse"
32 data-target="#bs-navbar-collapse-1">
33 &#9776;
34 </button>
35
36 <!-- Collect the nav links, forms, and other content for toggling -->
37 <div class="collapse navbar-toggleable-xs" id="bs-navbar-collapse-1">
38 <ul class="nav navbar-nav">
39 <li class="nav-item">
40 <a class="nav-link" href="/">Home</a>
41 </li>
42 </ul>
43 </div>
44 </div>
45 </nav>
46 </div>
47
48 <div class="container">
49
50 {% if messages %}
51 {% for message in messages %}
52 <div class="alert {% if message.tags %}alert-{{ message.tags }}{% endif %}">{{ message }}</div>
53 {% endfor %}
54 {% endif %}
55
56 {% block content %}
57 <div class="row m-t-2">
58 <p>Use this document as a way to quick start any new project.</p>
59 <p>The current template is loaded from
60 <code>django-json-widget/example/templates/base.html</code>. </p>
61 <p>Whenever you overwrite the contents of <code>django-json-widget/django_json_widget/urls.py</code> with your
62 own content, you should see it here.</p>
63 </div>
64 {% endblock content %}
65
66 </div> <!-- /container -->
67
68 {% block modal %}{% endblock modal %}
69
70 <!-- Le javascript
71 ================================================== -->
72 <!-- Placed at the end of the document so the pages load faster -->
73 {% block javascript %}
74 <!-- Latest JQuery -->
75 <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
76
77 <!-- Tether - a requirement for Bootstrap tooltips -->
78 <script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.2.0/js/tether.min.js"></script>
79
80 <!-- Latest compiled and minified JavaScript -->
81 <script src="https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/js/bootstrap.js"></script>
82
83 <!-- Your stuff: Third-party javascript libraries go here -->
84
85 {% endblock javascript %}
86 </body>
87 </html>
88