index.html 3.33 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="">
Bence Dányi committed
13
    <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,400&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
14
    <link href="{% static "css/bootstrap.min.css" %}" rel="stylesheet">
15 16
    <style>
      body {
Bence Dányi committed
17
        font-family: 'Source Sans Pro', sans-serif;
18
        padding-top: 60px;
19
      }
Bence Dányi committed
20 21 22 23 24 25
      h1, h2, h3, h4, h5 {
        font-weight: 200;
      }
      textarea, input, select {
        font-family: 'Source Sans Pro';
      }
26 27 28 29 30
      .label {
        margin: 3px;
        padding: 5px;
      }
      .label a {
31
        color: white;
32
      }
33 34 35
      select:focus {
        outline: none;
      }
36
    </style>
37
    <link href="{% static "css/bootstrap-responsive.min.css" %}" rel="stylesheet">
38 39 40 41 42

    <!-- 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]-->
43
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.min.js"></script>
44 45
    <link href="{% static "css/project.css" %}" rel="stylesheet">
    {% block extra_css %}{% endblock %}
46 47 48 49 50 51 52 53 54
  </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>
55 56 57 58 59 60
            <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>
61
          </a>
62
          <a class="brand" href="#">Firewall GUI</a>
63 64
          <div class="nav-collapse collapse">
            <ul class="nav">
65
              <li><a href="#/rules/">{% trans "Firewall rules" %}</a></li>
66 67 68 69 70 71 72 73
              <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>
74
            </ul>
75
          </div>
76 77 78 79
        </div>
      </div>
    </div>
    <div class="container">
80 81
      <h1>{% block page_title %}Szia bd, ez itt a tűzfaladmin!{% endblock %}</h1>
      <div ng-view></div>
82
    </div>
83
    <script src="http://code.jquery.com/jquery-latest.js"></script>
84 85 86
    <script src="{% static "js/bootstrap.min.js" %}"></script>
    <script src="{% static "js/project.js" %}"></script>
    <script>
87 88 89
    {% block extra_js %}
    {% endblock %}
    </script>
90 91
  </body>
</html>