Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
85135a40
authored
May 07, 2013
by
Bence Dányi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewall_gui: remove boilerplate code
parent
a24667bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
23 deletions
+4
-23
firewall_gui/templates/firewall/index.html
+4
-23
No files found.
firewall_gui/templates/firewall/index.html
View file @
85135a40
...
@@ -10,12 +10,10 @@
...
@@ -10,12 +10,10 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"description"
content=
""
>
<meta
name=
"description"
content=
""
>
<meta
name=
"author"
content=
""
>
<meta
name=
"author"
content=
""
>
<!-- Le styles -->
<link
href=
"{% static "
css
/
bootstrap
.
min
.
css
"
%}"
rel=
"stylesheet"
>
<link
href=
"{% static "
css
/
bootstrap
.
min
.
css
"
%}"
rel=
"stylesheet"
>
<style>
<style>
body
{
body
{
padding-top
:
60px
;
/* 60px to make the container go all the way to the bottom of the topbar */
padding-top
:
60px
;
}
}
</style>
</style>
<link
href=
"{% static "
css
/
bootstrap-responsive
.
min
.
css
"
%}"
rel=
"stylesheet"
>
<link
href=
"{% static "
css
/
bootstrap-responsive
.
min
.
css
"
%}"
rel=
"stylesheet"
>
...
@@ -24,18 +22,11 @@
...
@@ -24,18 +22,11 @@
<!--[if lt IE 9]>
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<![endif]-->
<!-- This file store project specific CSS -->
<script
src=
"https://ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.min.js"
></script>
<script
src=
"https://ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.min.js"
></script>
<link
href=
"{% static "
css
/
project
.
css
"
%}"
rel=
"stylesheet"
>
<link
href=
"{% static "
css
/
project
.
css
"
%}"
rel=
"stylesheet"
>
<!-- Use this to quickly test CSS changes in a template,
then move to project.css -->
{% block extra_css %}{% endblock %}
{% block extra_css %}{% endblock %}
</head>
</head>
<body>
<body>
<div
class=
"navbar navbar-inverse navbar-fixed-top"
>
<div
class=
"navbar navbar-inverse navbar-fixed-top"
>
<div
class=
"navbar-inner"
>
<div
class=
"navbar-inner"
>
<div
class=
"container"
>
<div
class=
"container"
>
...
@@ -53,7 +44,7 @@
...
@@ -53,7 +44,7 @@
<a
class=
"brand"
href=
"#"
>
Firewall GUI
</a>
<a
class=
"brand"
href=
"#"
>
Firewall GUI
</a>
<div
class=
"nav-collapse collapse"
>
<div
class=
"nav-collapse collapse"
>
<ul
class=
"nav"
>
<ul
class=
"nav"
>
<li
class=
"active"
><a
href=
"#/rules/"
>
{% trans "Firewall rules" %}
</a></li>
<li><a
href=
"#/rules/"
>
{% trans "Firewall rules" %}
</a></li>
<li><a
href=
"#/vlans/"
>
{% trans "Vlans" %}
</a></li>
<li><a
href=
"#/vlans/"
>
{% trans "Vlans" %}
</a></li>
<li><a
href=
"#/vlangroups/"
>
{% trans "Vlan groups" %}
</a></li>
<li><a
href=
"#/vlangroups/"
>
{% trans "Vlan groups" %}
</a></li>
<li><a
href=
"#/hostgroups/"
>
{% trans "Host groups" %}
</a></li>
<li><a
href=
"#/hostgroups/"
>
{% trans "Host groups" %}
</a></li>
...
@@ -63,26 +54,16 @@
...
@@ -63,26 +54,16 @@
<li><a
href=
"#/records/"
>
{% trans "DNS records" %}
</a></li>
<li><a
href=
"#/records/"
>
{% trans "DNS records" %}
</a></li>
<li><a
href=
"#/blacklists/"
>
{% trans "Blacklists" %}
</a></li>
<li><a
href=
"#/blacklists/"
>
{% trans "Blacklists" %}
</a></li>
</ul>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<h1>
{% block page_title %}Szia bd, ez itt a tűzfaladmin!{% endblock %}
</h1>
<h1>
{% block page_title %}Szia bd, ez itt a tűzfaladmin!{% endblock %}
</h1>
<div
ng-view
></div>
<div
ng-view
></div>
</div>
</div>
<!-- /container -->
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script
src=
"http://code.jquery.com/jquery-latest.js"
></script>
<script
src=
"http://code.jquery.com/jquery-latest.js"
></script>
<script
src=
"{% static "
js
/
bootstrap
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
js
/
bootstrap
.
min
.
js
"
%}"
></script>
<!-- place project specific Javascript in this file -->
<script
src=
"{% static "
js
/
project
.
js
"
%}"
></script>
<script
src=
"{% static "
js
/
project
.
js
"
%}"
></script>
<script>
<script>
{
%
block
extra_js
%
}
{
%
block
extra_js
%
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment