Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
42f74a54
authored
Apr 24, 2013
by
Bence Dányi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewall_gui: angularjs framework added
parent
40762733
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
12 deletions
+4
-12
firewall_gui/templates/firewall/index.html
+4
-12
No files found.
firewall_gui/templates/firewall/index.html
View file @
42f74a54
...
...
@@ -3,7 +3,7 @@
{% load staticfiles %}
{% get_current_language as lang %}
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
ng-app=
"firewall"
>
<head>
<meta
charset=
"utf-8"
>
<title>
{% block title %}Firewall GUI{% endblock %}
</title>
...
...
@@ -26,6 +26,7 @@
<![endif]-->
<!-- This file store project specific CSS -->
<script
src=
"https://ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.min.js"
></script>
<link
href=
"{% static "
css
/
project
.
css
"
%}"
rel=
"stylesheet"
>
<!-- Use this to quickly test CSS changes in a template,
...
...
@@ -57,11 +58,9 @@
<div
class=
"container"
>
<h1>
{% block page_title %}
Example Base Template
{% endblock %}
</h1>
<h1>
{% block page_title %}
Szia bd, ez itt a tűzfaladmin!
{% endblock %}
</h1>
{% block content %}
<p>
Use this document as a way to quick start any new project.
</p>
{% endblock %}
<div
ng-view
></div>
</div>
<!-- /container -->
...
...
@@ -75,13 +74,6 @@
<script
src=
"{% static "
js
/
project
.
js
"
%}"
></script>
<script>
{
%
block
extra_js
%
}
$
(
function
()
{
$
.
get
(
'/firewall/rules/'
,
function
(
data
)
{
for
(
var
i
in
data
)
{
console
.
log
(
data
[
i
]);
}
});
})
{
%
endblock
%
}
</script>
</body>
...
...
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