index.html 3.01 KB
Newer Older
1 2 3 4
{% load i18n %}
{% load l10n %}
{% load staticfiles %}
{% get_current_language as lang %}
5
<!DOCTYPE html>
6
<html lang="en" ng-app="firewall">
7 8
  <head>
    <meta charset="utf-8">
9
    <title>{% block title %}Firewall GUI{% endblock %}</title>
10 11 12
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
13
    <link href="{% static "css/bootstrap.min.css" %}" rel="stylesheet">
14 15
    <style>
      body {
16
        padding-top: 60px;
17
      }
18 19 20 21 22
      .label {
        margin: 3px;
        padding: 5px;
      }
      .label a {
23
        color: white;
24
      }
25 26 27
      select:focus {
        outline: none;
      }
28
    </style>
29
    <link href="{% static "css/bootstrap-responsive.min.css" %}" rel="stylesheet">
30 31 32 33 34

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
35
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.min.js"></script>
36 37
    <link href="{% static "css/project.css" %}" rel="stylesheet">
    {% block extra_css %}{% endblock %}
38 39 40 41 42 43 44 45 46
  </head>
  <body>
    <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
47 48 49 50 51 52
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
53
          </a>
54
          <a class="brand" href="#">Firewall GUI</a>
55 56
          <div class="nav-collapse collapse">
            <ul class="nav">
57
              <li><a href="#/rules/">{% trans "Firewall rules" %}</a></li>
58 59 60 61 62 63 64 65
              <li><a href="#/vlans/">{% trans "Vlans" %}</a></li>
              <li><a href="#/vlangroups/">{% trans "Vlan groups" %}</a></li>
              <li><a href="#/hostgroups/">{% trans "Host groups" %}</a></li>
              <li><a href="#/hosts/">{% trans "Hosts" %}</a></li>
              <li><a href="#/firewalls/">{% trans "Firewalls" %}</a></li>
              <li><a href="#/domains/">{% trans "Domains" %}</a></li>
              <li><a href="#/records/">{% trans "DNS records" %}</a></li>
              <li><a href="#/blacklists/">{% trans "Blacklists" %}</a></li>
66
            </ul>
67
          </div>
68 69 70 71
        </div>
      </div>
    </div>
    <div class="container">
72 73
      <h1>{% block page_title %}Szia bd, ez itt a tűzfaladmin!{% endblock %}</h1>
      <div ng-view></div>
74
    </div>
75
    <script src="http://code.jquery.com/jquery-latest.js"></script>
76 77 78
    <script src="{% static "js/bootstrap.min.js" %}"></script>
    <script src="{% static "js/project.js" %}"></script>
    <script>
79 80 81
    {% block extra_js %}
    {% endblock %}
    </script>
82 83
  </body>
</html>