A simple ticketing application written in Python/Django
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

base.html 4.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. {% load staticfiles %}
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="viewport" content="width=device-width, initial-scale=1">
  8. <!-- Bootstrap -->
  9. <link href="{% static "bootstrap/css/bootstrap.min.css" %}" rel="stylesheet">
  10. <!-- Font Awesome -->
  11. <link href="{% static "font-awesome/css/font-awesome.min.css" %}" rel="stylesheet">
  12. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  13. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  14. <!--[if lt IE 9]>
  15. <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  16. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  17. <![endif]-->
  18. <title>{% block title %}{% endblock %}</title>
  19. <link rel="stylesheet" type="text/css" href="{% static "css/style.css" %}" media="screen" />
  20. <link rel="stylesheet" type="text/css" href="{% static "css/print.css" %}" media="print" />
  21. <script src="{% static "jquery/jquery-1.11.1.min.js" %}"></script>
  22. </head>
  23. <body>
  24. <!-- Navigation -->
  25. <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
  26. <div class="container">
  27. <!-- Brand and toggle get grouped for better mobile display -->
  28. <div class="navbar-header">
  29. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
  30. <span class="sr-only">Toggle navigation</span>
  31. <span class="icon-bar"></span>
  32. <span class="icon-bar"></span>
  33. <span class="icon-bar"></span>
  34. </button>
  35. <!-- <a class="navbar-brand" href="/">Tickets</a> -->
  36. </div>
  37. <!-- Collect the nav links, forms, and other content for toggling -->
  38. <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
  39. <ul class="nav navbar-nav">
  40. <li><a href="/inbox/" title="Inbox"><i class="fa fa-home"></i></a></li>
  41. <li><a href="/my-tickets/" title="My Tickets"><i class="fa fa-user"></i></a></li>
  42. <li><a href="/all-tickets/" title="All Tickets"><i class="fa fa-list"></i></a></li>
  43. <li><a href="/archive/" title="Archive"><i class="fa fa-archive"></i></a></li>
  44. </ul>
  45. <ul class="nav navbar-nav navbar-right" style="padding-right: 20px;">
  46. <li><a href="/logout/" title="Logout"><i class="fa fa-sign-out"></i></a></li>
  47. </ul>
  48. </div>
  49. <!-- /.navbar-collapse -->
  50. </div>
  51. <!-- /.container -->
  52. </nav>
  53. <!-- Page Content -->
  54. <div class="container">
  55. <div class="row">
  56. <div class="col-lg-12">
  57. <div class="jumbotron" style="padding: 0px; margin-bottom: 0px;">
  58. <div class="container">
  59. <div id="header_icon">{% block header_icon %}{% endblock %}</div>
  60. <h1>{% block headline %}{% endblock %}</h1>
  61. <p id="header_subtitle">{% block head-message %}{% endblock %}</p>
  62. </div>
  63. </div>
  64. </div>
  65. </div><!-- Ende row -->
  66. {% block breadcrum %}
  67. {% endblock %}
  68. {% block content %}
  69. {% endblock %}
  70. <hr>
  71. <!-- Footer -->
  72. <footer>
  73. <div class="row">
  74. <div class="col-lg-6">
  75. <p>Powered by <a href="https://www.python.org/" target=_new>Python</a>, <a href="https://www.djangoproject.com/" target=_new>Django</a> and <a href="http://getbootstrap.com/" target="_new">Bootstrap</a></p>
  76. </div>
  77. <div class="col-lg-6 text-right">
  78. <p>License: <a href="https://github.com/suenkler/django-tickets">MIT</a></p>
  79. </div>
  80. </div>
  81. <!-- /.row -->
  82. </footer>
  83. </div>
  84. <!-- /.container -->
  85. <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
  86. <!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> -->
  87. <!-- Include all compiled plugins (below), or include individual files as needed -->
  88. <script src="{% static "bootstrap/js/bootstrap.min.js" %}"></script>
  89. </body>
  90. </html>