Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
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
6bb7fc58
authored
May 07, 2013
by
Bence Dányi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewall_gui: format templates
parent
c0ac5297
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
345 additions
and
289 deletions
+345
-289
firewall_gui/static/partials/blacklist-list.html
+40
-33
firewall_gui/static/partials/domain-list.html
+34
-29
firewall_gui/static/partials/firewall-list.html
+30
-25
firewall_gui/static/partials/host-list.html
+44
-39
firewall_gui/static/partials/hostgroup-list.html
+31
-27
firewall_gui/static/partials/record-list.html
+45
-36
firewall_gui/static/partials/rule-list.html
+40
-33
firewall_gui/static/partials/vlan-list.html
+40
-33
firewall_gui/static/partials/vlangroup-edit.html
+1
-1
firewall_gui/static/partials/vlangroup-list.html
+40
-33
No files found.
firewall_gui/static/partials/blacklist-list.html
View file @
6bb7fc58
<div
class=
"navbar"
>
<div
class=
"navbar"
>
<div
class=
"navbar-inner"
>
<div
class=
"navbar-inner"
>
<div
class=
"pagination pull-left"
>
<div
class=
"pagination pull-left"
>
<ul>
<ul>
<li
ng-click=
"prevPage()"
ng-class=
"{disabled: page == 1}"
><a
href
>
Előző
</a></li
>
<li
ng-click=
"prevPage()"
ng-class=
"{disabled: page == 1}"
>
<li
ng-repeat=
"_page in pages"
ng-click=
"setPage(_page)"
ng-class=
"{active: _page == page}"
>
<a
href
>
Előző
</a
>
<a
href
>
{{_page}}
</a
>
</li
>
</li
>
<li
ng-repeat=
"_page in pages"
ng-click=
"setPage(_page)"
ng-class=
"{active: _page == page}"
>
<li
ng-click=
"nextPage()"
ng-class=
"{disabled: page == pages.length}"
><a
href
>
Next
</a></li
>
<a
href
>
{{_page}}
</a
>
</ul
>
</li
>
<
/div
>
<
li
ng-click=
"nextPage()"
ng-class=
"{disabled: page == pages.length}"
>
<form
class=
"navbar-search"
style=
"margin: 20px"
>
<a
href
>
Next
</a
>
<input
type=
"text"
class=
"search-query"
placeholder=
"Search"
ng-model=
"query"
>
</li
>
</form
>
</ul
>
</div>
</div>
<form
class=
"navbar-search"
style=
"margin: 20px"
>
<input
type=
"text"
class=
"search-query"
placeholder=
"Search"
ng-model=
"query"
></form>
</div>
</div>
</div>
<table
class=
"table table-striped"
>
<table
class=
"table table-striped"
>
<tr>
<tr>
<th>
Név
</th>
<th>
Név
</th>
<th>
IPv4
</th>
<th>
IPv4
</th>
<th>
Host
</th>
<th>
Host
</th>
<th>
Indok
</th>
<th>
Indok
</th>
<th>
Üzenet
</th>
<th>
Üzenet
</th>
<th
colspan=
"2"
>
Típus
</th>
<th
colspan=
"2"
>
Típus
</th>
</tr>
</tr>
<tr
ng-repeat=
"blacklist in getPage()"
>
<tr
ng-repeat=
"blacklist in getPage()"
>
<td><a
href=
"#/blacklists/{{blacklist.id}}"
>
{{blacklist.name}}
</a></td>
<td>
<td>
{{blacklist.ipv4}}
</td>
<a
href=
"#/blacklists/{{blacklist.id}}"
>
{{blacklist.name}}
</a>
<td><a
href=
"#/hosts/{{blacklist.host.id}}"
>
{{blacklist.host.hostname}}
</a></td>
</td>
<td>
{{blacklist.reason}}
</td>
<td>
{{blacklist.ipv4}}
</td>
<td>
{{blacklist.snort_message}}
</td>
<td>
<td>
{{blacklist.type}}
</td>
<a
href=
"#/hosts/{{blacklist.host.id}}"
>
{{blacklist.host.hostname}}
</a>
<td>
</td>
<a
class=
"btn"
href=
"#/blacklists/{{blacklist.id}}/"
>
Szerkesztés
</a>
<td>
{{blacklist.reason}}
</td>
<a
class=
"btn btn-danger"
href=
"#/blacklists/{{blacklist.id}}/delete/"
>
Törlés
</a>
<td>
{{blacklist.snort_message}}
</td>
</td>
<td>
{{blacklist.type}}
</td>
</tr>
<td>
<a
class=
"btn"
href=
"#/blacklists/{{blacklist.id}}/"
>
Szerkesztés
</a>
<a
class=
"btn btn-danger"
href=
"#/blacklists/{{blacklist.id}}/delete/"
>
Törlés
</a>
</td>
</tr>
</table>
</table>
firewall_gui/static/partials/domain-list.html
View file @
6bb7fc58
<div
class=
"navbar"
>
<div
class=
"navbar"
>
<div
class=
"navbar-inner"
>
<div
class=
"navbar-inner"
>
<div
class=
"pagination pull-left"
>
<div
class=
"pagination pull-left"
>
<ul>
<ul>
<li
ng-click=
"prevPage()"
ng-class=
"{disabled: page == 1}"
><a
href
>
Előző
</a></li
>
<li
ng-click=
"prevPage()"
ng-class=
"{disabled: page == 1}"
>
<li
ng-repeat=
"_page in pages"
ng-click=
"setPage(_page)"
ng-class=
"{active: _page == page}"
>
<a
href
>
Előző
</a
>
<a
href
>
{{_page}}
</a
>
</li
>
</li
>
<li
ng-repeat=
"_page in pages"
ng-click=
"setPage(_page)"
ng-class=
"{active: _page == page}"
>
<li
ng-click=
"nextPage()"
ng-class=
"{disabled: page == pages.length}"
><a
href
>
Next
</a></li
>
<a
href
>
{{_page}}
</a
>
</ul
>
</li
>
<
/div
>
<
li
ng-click=
"nextPage()"
ng-class=
"{disabled: page == pages.length}"
>
<form
class=
"navbar-search"
style=
"margin: 20px"
>
<a
href
>
Next
</a
>
<input
type=
"text"
class=
"search-query"
placeholder=
"Search"
ng-model=
"query"
>
</li
>
</form
>
</ul
>
</div>
</div>
<form
class=
"navbar-search"
style=
"margin: 20px"
>
<input
type=
"text"
class=
"search-query"
placeholder=
"Search"
ng-model=
"query"
></form>
</div>
</div>
</div>
<table
class=
"table table-striped"
>
<table
class=
"table table-striped"
>
<tr>
<tr>
<th>
Név
</th>
<th>
Név
</th>
<th>
TTL
</th>
<th>
TTL
</th>
<th>
Leírás
</th>
<th>
Leírás
</th>
<th
colspan=
"2"
>
Tulajdonos
</th>
<th
colspan=
"2"
>
Tulajdonos
</th>
</tr>
</tr>
<tr
ng-repeat=
"domain in getPage()"
>
<tr
ng-repeat=
"domain in getPage()"
>
<td><a
href=
"#/domains/{{domain.id}}"
>
{{domain.name}}
</a></td>
<td>
<td>
{{domain.ttl}}
</td>
<a
href=
"#/domains/{{domain.id}}"
>
{{domain.name}}
</a>
<td>
{{domain.description}}
</td>
</td>
<td>
{{domain.owner.name}}
</td>
<td>
{{domain.ttl}}
</td>
<td>
<td>
{{domain.description}}
</td>
<a
class=
"btn"
href=
"#/domains/{{domain.id}}/"
>
Szerkesztés
</a>
<td>
{{domain.owner.name}}
</td>
<a
class=
"btn btn-danger"
href=
"#/domains/{{domain.id}}/delete/"
>
Törlés
</a>
<td>
</td>
<a
class=
"btn"
href=
"#/domains/{{domain.id}}/"
>
Szerkesztés
</a>
</tr>
<a
class=
"btn btn-danger"
href=
"#/domains/{{domain.id}}/delete/"
>
Törlés
</a>
</td>
</tr>
</table>
</table>
firewall_gui/static/partials/firewall-list.html
View file @
6bb7fc58
<div
class=
"navbar"
>
<div
class=
"navbar"
>
<div
class=
"navbar-inner"
>
<div
class=
"navbar-inner"
>
<div
class=
"pagination pull-left"
>
<div
class=
"pagination pull-left"
>
<ul>
<ul>
<li
ng-click=
"prevPage()"
ng-class=
"{disabled: page == 1}"
><a
href
>
Előző
</a></li
>
<li
ng-click=
"prevPage()"
ng-class=
"{disabled: page == 1}"
>
<li
ng-repeat=
"_page in pages"
ng-click=
"setPage(_page)"
ng-class=
"{active: _page == page}"
>
<a
href
>
Előző
</a
>
<a
href
>
{{_page}}
</a
>
</li
>
</li
>
<li
ng-repeat=
"_page in pages"
ng-click=
"setPage(_page)"
ng-class=
"{active: _page == page}"
>
<li
ng-click=
"nextPage()"
ng-class=
"{disabled: page == pages.length}"
><a
href
>
Next
</a></li
>
<a
href
>
{{_page}}
</a
>
</ul
>
</li
>
<
/div
>
<
li
ng-click=
"nextPage()"
ng-class=
"{disabled: page == pages.length}"
>
<form
class=
"navbar-search"
style=
"margin: 20px"
>
<a
href
>
Next
</a
>
<input
type=
"text"
class=
"search-query"
placeholder=
"Search"
ng-model=
"query"
>
</li
>
</form
>
</ul
>
</div>
</div>
<form
class=
"navbar-search"
style=
"margin: 20px"
>
<input
type=
"text"
class=
"search-query"
placeholder=
"Search"
ng-model=
"query"
></form>
</div>
</div>
</div>
<table
class=
"table table-striped"
>
<table
class=
"table table-striped"
>
<tr>
<tr>
<th>
Név
</th>
<th>
Név
</th>
<th
colspan=
"2"
>
Tulajdonos
</th>
<th
colspan=
"2"
>
Tulajdonos
</th>
</tr>
</tr>
<tr
ng-repeat=
"firewall in getPage()"
>
<tr
ng-repeat=
"firewall in getPage()"
>
<td><a
href=
"#/firewalls/{{firewall.id}}"
>
{{firewall.name}}
</a></td>
<td>
<td>
{{firewall.owner.name}}
</td>
<a
href=
"#/firewalls/{{firewall.id}}"
>
{{firewall.name}}
</a>
<td>
</td>
<a
class=
"btn"
href=
"#/firewalls/{{firewall.id}}/"
>
Szerkesztés
</a>
<td>
{{firewall.owner.name}}
</td>
<a
class=
"btn btn-danger"
href=
"#/firewalls/{{firewall.id}}/delete/"
>
Törlés
</a>
<td>
</td>
<a
class=
"btn"
href=
"#/firewalls/{{firewall.id}}/"
>
Szerkesztés
</a>
</tr>
<a
class=
"btn btn-danger"
href=
"#/firewalls/{{firewall.id}}/delete/"
>
Törlés
</a>
</td>
</tr>
</table>
</table>
firewall_gui/static/partials/host-list.html
View file @
6bb7fc58
<div
class=
"navbar"
>
<div
class=
"navbar"
>
<div
class=
"navbar-inner"
>
<div
class=
"navbar-inner"
>
<div
class=
"pagination pull-left"
>
<div
class=
"pagination pull-left"
>
<ul>
<ul>
<li
ng-click=
"prevPage()"
ng-class=
"{disabled: page == 1}"
><a
href
>
Előző
</a></li
>
<li
ng-click=
"prevPage()"
ng-class=
"{disabled: page == 1}"
>
<li
ng-repeat=
"_page in pages"
ng-click=
"setPage(_page)"
ng-class=
"{active: _page == page}"
>
<a
href
>
Előző
</a
>
<a
href
>
{{_page}}
</a
>
</li
>
</li
>
<li
ng-repeat=
"_page in pages"
ng-click=
"setPage(_page)"
ng-class=
"{active: _page == page}"
>
<li
ng-click=
"nextPage()"
ng-class=
"{disabled: page == pages.length}"
><a
href
>
Next
</a></li
>
<a
href
>
{{_page}}
</a
>
</ul
>
</li
>
<
/div
>
<
li
ng-click=
"nextPage()"
ng-class=
"{disabled: page == pages.length}"
>
<form
class=
"navbar-search"
style=
"margin: 20px"
>
<a
href
>
Next
</a
>
<input
type=
"text"
class=
"search-query"
placeholder=
"Search"
ng-model=
"query"
>
</li
>
</form
>
</ul
>
</div>
</div>
<form
class=
"navbar-search"
style=
"margin: 20px"
>
<input
type=
"text"
class=
"search-query"
placeholder=
"Search"
ng-model=
"query"
></form>
</div>
</div>
</div>
<table
class=
"table table-striped"
>
<table
class=
"table table-striped"
>
<tr>
<tr>
<th>
Név
</th>
<th>
Név
</th>
<th>
Vlan
</th>
<th>
Vlan
</th>
<th>
IPv4
</th>
<th>
IPv4
</th>
<th>
Csoportok
</th>
<th>
Csoportok
</th>
<th>
Tulajdonos
</th>
<th>
Tulajdonos
</th>
<th
colspan=
"2"
>
Leírás
</th>
<th
colspan=
"2"
>
Leírás
</th>
</tr>
</tr>
<tr
ng-repeat=
"host in getPage()"
>
<tr
ng-repeat=
"host in getPage()"
>
<td>
{{host.name}}
</td>
<td>
{{host.name}}
</td>
<td><a
href=
"#/hosts/{{host.vlan.id}}"
>
{{host.vlan.name}}
</a></td>
<td>
<td>
{{host.ipv4}}
</td>
<a
href=
"#/hosts/{{host.vlan.id}}"
>
{{host.vlan.name}}
</a>
<td>
</td>
<ul>
<td>
{{host.ipv4}}
</td>
<li
ng-repeat=
"group in host.groups"
>
<td>
<a
href=
"#/hostgroups/{{group.id}}"
>
{{group.name}}
</a>
<ul>
</li>
<li
ng-repeat=
"group in host.groups"
>
</ul>
<a
href=
"#/hostgroups/{{group.id}}"
>
{{group.name}}
</a>
</td>
</li>
<td>
{{host.owner.name}}
</td>
</ul>
<td
style=
"width: 200px;"
>
{{host.description}}
</td>
</td>
<td>
<td>
{{host.owner.name}}
</td>
<a
class=
"btn"
href=
"#/hosts/{{host.id}}/"
>
Szerkesztés
</a>
<td
style=
"width: 200px;"
>
{{host.description}}
</td>
<a
class=
"btn btn-danger"
href=
"#/hosts/{{host.id}}/delete/"
>
Törlés
</a>
<td>
</td>
<a
class=
"btn"
href=
"#/hosts/{{host.id}}/"
>
Szerkesztés
</a>
</tr>
<a
class=
"btn btn-danger"
href=
"#/hosts/{{host.id}}/delete/"
>
Törlés
</a>
</td>
</tr>
</table>
</table>
firewall_gui/static/partials/hostgroup-list.html
View file @
6bb7fc58
<div
class=
"navbar"
>
<div
class=
"navbar"
>
<div
class=
"navbar-inner"
>
<div
class=
"navbar-inner"
>
<div
class=
"pagination pull-left"
>
<div
class=
"pagination pull-left"
>
<ul>
<ul>
<li
ng-click=
"prevPage()"
ng-class=
"{disabled: page == 1}"
><a
href
>
Előző
</a></li
>
<li
ng-click=
"prevPage()"
ng-class=
"{disabled: page == 1}"
>
<li
ng-repeat=
"_page in pages"
ng-click=
"setPage(_page)"
ng-class=
"{active: _page == page}"
>
<a
href
>
Előző
</a
>
<a
href
>
{{_page}}
</a
>
</li
>
</li
>
<li
ng-repeat=
"_page in pages"
ng-click=
"setPage(_page)"
ng-class=
"{active: _page == page}"
>
<li
ng-click=
"nextPage()"
ng-class=
"{disabled: page == pages.length}"
><a
href
>
Next
</a></li
>
<a
href
>
{{_page}}
</a
>
</ul
>
</li
>
<
/div
>
<
li
ng-click=
"nextPage()"
ng-class=
"{disabled: page == pages.length}"
>
<form
class=
"navbar-search"
style=
"margin: 20px"
>
<a
href
>
Next
</a
>
<input
type=
"text"
class=
"search-query"
placeholder=
"Search"
ng-model=
"query"
>
</li
>
</form
>
</ul
>
</div>
</div>
<form
class=
"navbar-search"
style=
"margin: 20px"
>
<input
type=
"text"
class=
"search-query"
placeholder=
"Search"
ng-model=
"query"
></form>
</div>
</div>
</div>
<table
class=
"table table-striped"
>
<table
class=
"table table-striped"
>
<tr>
<tr>
<th>
Név
</th>
<th>
Név
</th>
<th>
Tulajdonos
</th>
<th>
Tulajdonos
</th>
<th
colspan=
"2"
>
Leírás
</th>
<th
colspan=
"2"
>
Leírás
</th>
</tr>
<tr
ng-repeat=
"group in getPage()"
>
<td>
<a
href=
"#/hostgroups/{{group.id}}"
>
{{group.name}}
</td>
<td>
{{group.owner.name}}
</td>
<td
style=
"width: 200px;"
>
{{group.description}}
</td>
<td>
<a
class=
"btn"
href=
"#/hostgroups/{{group.id}}/"
>
Szerkesztés
</a>
<a
class=
"btn btn-danger"
href=
"#/hostgroups/{{group.id}}/delete/"
>
Törlés
</a>
</td>
</tr>
</tr>
<tr
ng-repeat=
"group in getPage()"
>
</table>
<td><a
href=
"#/hostgroups/{{group.id}}"
>
{{group.name}}
</td>
<td>
{{group.owner.name}}
</td>
<td
style=
"width: 200px;"
>
{{group.description}}
</td>
<td>
<a
class=
"btn"
href=
"#/hostgroups/{{group.id}}/"
>
Szerkesztés
</a>
<a
class=
"btn btn-danger"
href=
"#/hostgroups/{{group.id}}/delete/"
>
Törlés
</a>
</td>
</tr>
</table>
firewall_gui/static/partials/record-list.html
View file @
6bb7fc58
<div
class=
"navbar"
>
<div
class=
"navbar"
>
<div
class=
"navbar-inner"
>
<div
class=
"navbar-inner"
>
<div
class=
"pagination pull-left"
>
<div
class=
"pagination pull-left"
>
<ul>
<ul>
<li
ng-click=
"prevPage()"
ng-class=
"{disabled: page == 1}"
><a
href
>
Előző
</a></li
>
<li
ng-click=
"prevPage()"
ng-class=
"{disabled: page == 1}"
>
<li
ng-repeat=
"_page in pages"
ng-click=
"setPage(_page)"
ng-class=
"{active: _page == page}"
>
<a
href
>
Előző
</a
>
<a
href
>
{{_page}}
</a
>
</li
>
</li
>
<li
ng-repeat=
"_page in pages"
ng-click=
"setPage(_page)"
ng-class=
"{active: _page == page}"
>
<li
ng-click=
"nextPage()"
ng-class=
"{disabled: page == pages.length}"
><a
href
>
Next
</a></li
>
<a
href
>
{{_page}}
</a
>
</ul
>
</li
>
<
/div
>
<
li
ng-click=
"nextPage()"
ng-class=
"{disabled: page == pages.length}"
>
<form
class=
"navbar-search"
style=
"margin: 20px"
>
<a
href
>
Next
</a
>
<input
type=
"text"
class=
"search-query"
placeholder=
"Search"
ng-model=
"query"
>
</li
>
</form
>
</ul
>
</div>
</div>
<form
class=
"navbar-search"
style=
"margin: 20px"
>
<input
type=
"text"
class=
"search-query"
placeholder=
"Search"
ng-model=
"query"
></form>
</div>
</div>
</div>
<table
class=
"table table-striped"
>
<table
class=
"table table-striped"
>
<tr>
<tr>
<th>
Név
</th>
<th>
Név
</th>
<th>
Típus
</th>
<th>
Típus
</th>
<th>
Domain
</th>
<th>
Domain
</th>
<th>
Hoszt
</th>
<th>
Hoszt
</th>
<th>
Cím
</th>
<th>
Cím
</th>
<th>
TTL
</th>
<th>
TTL
</th>
<th>
Leírás
</th>
<th>
Leírás
</th>
<th
colspan=
"2"
>
Tulajdonos
</th>
<th
colspan=
"2"
>
Tulajdonos
</th>
</tr>
</tr>
<tr
ng-repeat=
"record in getPage()"
>
<tr
ng-repeat=
"record in getPage()"
>
<td><a
href=
"#/records/{{record.id}}"
>
{{record.name}}
</a></td>
<td>
<td>
{{record.type}}
</td>
<a
href=
"#/records/{{record.id}}"
>
{{record.name}}
</a>
<td><a
href=
"#/domains/{{record.domain.id}}"
>
{{record.domain.name}}
</a></td>
</td>
<td><a
href=
"#/hosts/{{record.host.id}}"
>
{{record.host.name}}
</a></td>
<td>
{{record.type}}
</td>
<td>
{{record.address}}
</td>
<td>
<td>
{{record.ttl}}
</td>
<a
href=
"#/domains/{{record.domain.id}}"
>
{{record.domain.name}}
</a>
<td>
{{record.owner.name}}
</td>
</td>
<td>
<td>
<a
class=
"btn"
href=
"#/records/{{record.id}}/"
>
Szerkesztés
</a>
<a
href=
"#/hosts/{{record.host.id}}"
>
{{record.host.name}}
</a>
<a
class=
"btn btn-danger"
href=
"#/records/{{record.id}}/delete/"
>
Törlés
</a>
</td>
</td>
<td>
{{record.address}}
</td>
</tr>
<td>
{{record.ttl}}
</td>
<td>
{{record.owner.name}}
</td>
<td>
<a
class=
"btn"
href=
"#/records/{{record.id}}/"
>
Szerkesztés
</a>
<a
class=
"btn btn-danger"
href=
"#/records/{{record.id}}/delete/"
>
Törlés
</a>
</td>
</tr>
</table>
</table>
firewall_gui/static/partials/rule-list.html
View file @
6bb7fc58
<div
class=
"navbar"
>
<div
class=
"navbar"
>
<div
class=
"navbar-inner"
>
<div
class=
"navbar-inner"
>
<div
class=
"pagination pull-left"
>
<div
class=
"pagination pull-left"
>
<ul>
<ul>
<li
ng-click=
"prevPage()"
ng-class=
"{disabled: page == 1}"
><a
href
>
Előző
</a></li
>
<li
ng-click=
"prevPage()"
ng-class=
"{disabled: page == 1}"
>
<li
ng-repeat=
"_page in pages"
ng-click=
"setPage(_page)"
ng-class=
"{active: _page == page}"
>
<a
href
>
Előző
</a
>
<a
href
>
{{_page}}
</a
>
</li
>
</li
>
<li
ng-repeat=
"_page in pages"
ng-click=
"setPage(_page)"
ng-class=
"{active: _page == page}"
>
<li
ng-click=
"nextPage()"
ng-class=
"{disabled: page == pages.length}"
><a
href
>
Next
</a></li
>
<a
href
>
{{_page}}
</a
>
</ul
>
</li
>
<
/div
>
<
li
ng-click=
"nextPage()"
ng-class=
"{disabled: page == pages.length}"
>
<form
class=
"navbar-search"
style=
"margin: 20px"
>
<a
href
>
Next
</a
>
<input
type=
"text"
class=
"search-query"
placeholder=
"Search"
ng-model=
"query"
>
</li
>
</form
>
</ul
>
</div>
</div>
<form
class=
"navbar-search"
style=
"margin: 20px"
>
<input
type=
"text"
class=
"search-query"
placeholder=
"Search"
ng-model=
"query"
></form>
</div>
</div>
</div>
<table
class=
"table table-striped"
>
<table
class=
"table table-striped"
>
<tr>
<tr>
<th>
Irány
</th>
<th>
Irány
</th>
<th>
Protokoll
</th>
<th>
Protokoll
</th>
<th>
Cél
</th>
<th>
Cél
</th>
<th>
Idegen hálózat
</th>
<th>
Idegen hálózat
</th>
<th>
Tulajdonos
</th>
<th>
Tulajdonos
</th>
<th
colspan=
"2"
>
Megjegyzés
</th>
<th
colspan=
"2"
>
Megjegyzés
</th>
</tr>
</tr>
<tr
ng-repeat=
"rule in getPage()"
>
<tr
ng-repeat=
"rule in getPage()"
>
<td>
{{rule.direction}}
</td>
<td>
{{rule.direction}}
</td>
<td>
{{rule.proto}}
</td>
<td>
{{rule.proto}}
</td>
<td><a
href=
"#/{{rule.target.type}}s/{{rule.target.id}}"
>
{{rule.target.name}}
</a></td>
<td>
<td><a
href=
"#/vlangroups/{{rule.foreignNetwork.id}}"
>
{{rule.foreignNetwork.name}}
</a></td>
<a
href=
"#/{{rule.target.type}}s/{{rule.target.id}}"
>
{{rule.target.name}}
</a>
<td>
{{rule.owner.name}}
</td>
</td>
<td>
{{rule.description}}
</td>
<td>
<td>
<a
href=
"#/vlangroups/{{rule.foreignNetwork.id}}"
>
{{rule.foreignNetwork.name}}
</a>
<a
class=
"btn"
href=
"#/rules/{{rule.id}}/"
>
Szerkesztés
</a>
</td>
<a
class=
"btn btn-danger"
href=
"#/rules/{{rule.id}}/delete/"
>
Törlés
</a>
<td>
{{rule.owner.name}}
</td>
</td>
<td>
{{rule.description}}
</td>
</tr>
<td>
<a
class=
"btn"
href=
"#/rules/{{rule.id}}/"
>
Szerkesztés
</a>
<a
class=
"btn btn-danger"
href=
"#/rules/{{rule.id}}/delete/"
>
Törlés
</a>
</td>
</tr>
</table>
</table>
firewall_gui/static/partials/vlan-list.html
View file @
6bb7fc58
<div
class=
"navbar"
>
<div
class=
"navbar"
>
<div
class=
"navbar-inner"
>
<div
class=
"navbar-inner"
>
<div
class=
"pagination pull-left"
>
<div
class=
"pagination pull-left"
>
<ul>
<ul>
<li
ng-click=
"prevPage()"
ng-class=
"{disabled: page == 1}"
><a
href
>
Előző
</a></li
>
<li
ng-click=
"prevPage()"
ng-class=
"{disabled: page == 1}"
>
<li
ng-repeat=
"_page in pages"
ng-click=
"setPage(_page)"
ng-class=
"{active: _page == page}"
>
<a
href
>
Előző
</a
>
<a
href
>
{{_page}}
</a
>
</li
>
</li
>
<li
ng-repeat=
"_page in pages"
ng-click=
"setPage(_page)"
ng-class=
"{active: _page == page}"
>
<li
ng-click=
"nextPage()"
ng-class=
"{disabled: page == pages.length}"
><a
href
>
Next
</a></li
>
<a
href
>
{{_page}}
</a
>
</ul
>
</li
>
<
/div
>
<
li
ng-click=
"nextPage()"
ng-class=
"{disabled: page == pages.length}"
>
<form
class=
"navbar-search"
style=
"margin: 20px"
>
<a
href
>
Next
</a
>
<input
type=
"text"
class=
"search-query"
placeholder=
"Search"
ng-model=
"query"
>
</li
>
</form
>
</ul
>
</div>
</div>
<form
class=
"navbar-search"
style=
"margin: 20px"
>
<input
type=
"text"
class=
"search-query"
placeholder=
"Search"
ng-model=
"query"
></form>
</div>
</div>
</div>
<table
class=
"table table-striped"
>
<table
class=
"table table-striped"
>
<tr>
<tr>
<th>
Vid
</th>
<th>
Vid
</th>
<th>
Név
</th>
<th>
Név
</th>
<th>
IPv4
</th>
<th>
IPv4
</th>
<th>
IPv6
</th>
<th>
IPv6
</th>
<th>
Leírás
</th>
<th>
Leírás
</th>
<th
colspan=
"2"
>
Domain
</th>
<th
colspan=
"2"
>
Domain
</th>
</tr>
</tr>
<tr
ng-repeat=
"vlan in getPage()"
>
<tr
ng-repeat=
"vlan in getPage()"
>
<td>
{{vlan.vid}}
</td>
<td>
{{vlan.vid}}
</td>
<td><a
href=
"#/vlans/{{vlan.id}}"
>
{{vlan.name}}
</a></td>
<td>
<td>
{{vlan.ipv4}}
</td>
<a
href=
"#/vlans/{{vlan.id}}"
>
{{vlan.name}}
</a>
<td>
{{vlan.ipv6}}
</td>
</td>
<td
style=
"width: 200px;"
>
{{vlan.description}}
</td>
<td>
{{vlan.ipv4}}
</td>
<td><a
href=
"#/vlans/{{vlan.domain.id}}"
>
{{vlan.domain.name}}
</a></td>
<td>
{{vlan.ipv6}}
</td>
<td>
<td
style=
"width: 200px;"
>
{{vlan.description}}
</td>
<a
class=
"btn"
href=
"#/vlans/{{vlan.id}}/"
>
Szerkesztés
</a>
<td>
<a
class=
"btn btn-danger"
href=
"#/vlans/{{vlan.id}}/delete/"
>
Törlés
</a>
<a
href=
"#/vlans/{{vlan.domain.id}}"
>
{{vlan.domain.name}}
</a>
</td>
</td>
</tr>
<td>
<a
class=
"btn"
href=
"#/vlans/{{vlan.id}}/"
>
Szerkesztés
</a>
<a
class=
"btn btn-danger"
href=
"#/vlans/{{vlan.id}}/delete/"
>
Törlés
</a>
</td>
</tr>
</table>
</table>
firewall_gui/static/partials/vlangroup-edit.html
View file @
6bb7fc58
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
<div
class=
"control-group"
>
<div
class=
"control-group"
>
<label
class=
"control-label"
for=
"vlangroups"
>
Vlans
</label>
<label
class=
"control-label"
for=
"vlangroups"
>
Vlans
</label>
<div
class=
"controls"
>
<div
class=
"controls"
>
<div
class=
"well"
>
<div
class=
"well
well-small
"
>
<span
class=
"label label-info"
ng-repeat=
"vlan in entity.vlans"
>
<span
class=
"label label-info"
ng-repeat=
"vlan in entity.vlans"
>
<a
href=
"#/vlans/{{vlan.id}}"
>
{{vlan.name}}
</a>
<a
href=
"#/vlans/{{vlan.id}}"
>
{{vlan.name}}
</a>
<a
href
><i
class=
"icon-remove"
></i></a>
<a
href
><i
class=
"icon-remove"
></i></a>
...
...
firewall_gui/static/partials/vlangroup-list.html
View file @
6bb7fc58
<div
class=
"navbar"
>
<div
class=
"navbar"
>
<div
class=
"navbar-inner"
>
<div
class=
"navbar-inner"
>
<div
class=
"pagination pull-left"
>
<div
class=
"pagination pull-left"
>
<ul>
<ul>
<li
ng-click=
"prevPage()"
ng-class=
"{disabled: page == 1}"
><a
href
>
Előző
</a></li
>
<li
ng-click=
"prevPage()"
ng-class=
"{disabled: page == 1}"
>
<li
ng-repeat=
"_page in pages"
ng-click=
"setPage(_page)"
ng-class=
"{active: _page == page}"
>
<a
href
>
Előző
</a
>
<a
href
>
{{_page}}
</a
>
</li
>
</li
>
<li
ng-repeat=
"_page in pages"
ng-click=
"setPage(_page)"
ng-class=
"{active: _page == page}"
>
<li
ng-click=
"nextPage()"
ng-class=
"{disabled: page == pages.length}"
><a
href
>
Next
</a></li
>
<a
href
>
{{_page}}
</a
>
</ul
>
</li
>
<
/div
>
<
li
ng-click=
"nextPage()"
ng-class=
"{disabled: page == pages.length}"
>
<form
class=
"navbar-search"
style=
"margin: 20px"
>
<a
href
>
Next
</a
>
<input
type=
"text"
class=
"search-query"
placeholder=
"Search"
ng-model=
"query"
>
</li
>
</form
>
</ul
>
</div>
</div>
<form
class=
"navbar-search"
style=
"margin: 20px"
>
<input
type=
"text"
class=
"search-query"
placeholder=
"Search"
ng-model=
"query"
></form>
</div>
</div>
</div>
<table
class=
"table table-striped"
>
<table
class=
"table table-striped"
>
<tr>
<tr>
<th>
Név
</th>
<th>
Név
</th>
<th>
Vlanok
</th>
<th>
Vlanok
</th>
<th>
Leírás
</th>
<th>
Leírás
</th>
<th
colspan=
"2"
>
Tulajdonos
</th>
<th
colspan=
"2"
>
Tulajdonos
</th>
</tr>
</tr>
<tr
ng-repeat=
"group in getPage()"
>
<tr
ng-repeat=
"group in getPage()"
>
<td><a
href=
"#/vlangroups/{{group.id}}"
>
{{group.name}}
</a></td>
<td>
<td>
<a
href=
"#/vlangroups/{{group.id}}"
>
{{group.name}}
</a>
<span
class=
"label label-info"
ng-repeat=
"vlan in group.vlans"
>
</td>
<a
href=
"#/vlans/{{vlan.id}}"
>
{{vlan.name}}
</a>
<td>
</span>
<div
class=
"well well-small"
>
</td>
<span
class=
"label label-info"
ng-repeat=
"vlan in group.vlans"
>
<td
style=
"width: 200px;"
>
{{group.description}}
</td>
<a
href=
"#/vlans/{{vlan.id}}"
>
{{vlan.name}}
</a>
<td>
{{group.owner.name}}
</td>
</span>
<td>
</div>
<a
class=
"btn"
href=
"#/vlangroups/{{group.id}}/"
>
Szerkesztés
</a>
</td>
<a
class=
"btn btn-danger"
href=
"#/vlangroups/{{group.id}}/delete/"
>
Törlés
</a>
<td
style=
"width: 200px;"
>
{{group.description}}
</td>
</td>
<td>
{{group.owner.name}}
</td>
</tr>
<td>
<a
class=
"btn"
href=
"#/vlangroups/{{group.id}}/"
>
Szerkesztés
</a>
<a
class=
"btn btn-danger"
href=
"#/vlangroups/{{group.id}}/delete/"
>
Törlés
</a>
</td>
</tr>
</table>
</table>
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