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
f5a855f1
authored
Apr 26, 2013
by
Bence Dányi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewall_gui: host-list template added
parent
a588c8f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
0 deletions
+44
-0
firewall_gui/static/partials/host-list.html
+44
-0
No files found.
firewall_gui/static/partials/host-list.html
0 → 100644
View file @
f5a855f1
<div
class=
"navbar"
>
<div
class=
"navbar-inner"
>
<div
class=
"pagination pull-left"
>
<ul>
<li
ng-click=
"prevPage()"
ng-class=
"{disabled: page == 1}"
><a
href
>
Előző
</a></li>
<li
ng-repeat=
"_page in pages"
ng-click=
"setPage(_page)"
ng-class=
"{active: _page == page}"
>
<a
href
>
{{_page}}
</a>
</li>
<li
ng-click=
"nextPage()"
ng-class=
"{disabled: page == pages.length}"
><a
href
>
Next
</a></li>
</ul>
</div>
<form
class=
"navbar-search"
style=
"margin: 20px"
>
<input
type=
"text"
class=
"search-query"
placeholder=
"Search"
ng-model=
"query"
>
</form>
</div>
</div>
<table
class=
"table table-striped"
>
<tr>
<th>
Név
</th>
<th>
Vlan
</th>
<th>
Tulajdonos
</th>
<th>
Csoportok
</th>
<th>
Leírás
</th>
<th
colspan=
"2"
>
IPv4
</th>
</tr>
<tr
ng-repeat=
"host in getPage()"
>
<td>
{{host.name}}
</td>
<td><a
href=
"#/vlans/{{host.vlan.id}}"
>
{{host.vlan.name}}
</a></td>
<td>
{{host.owner.name}}
</td>
<td>
<ul>
<li
ng-repeat=
"group in host.groups"
>
<a
href=
"#/hostgroups/{{group.id}}"
>
{{group.name}}
</a>
</li>
</ul>
</td>
<td
style=
"width: 200px;"
>
{{host.description}}
</td>
<td>
{{host.ipv4}}
</td>
<td>
<a
class=
"btn"
href=
"#/hosts/{{host.id}}/"
>
Szekesztés
</a>
<a
class=
"btn btn-danger"
href=
"#/rules/{{host.id}}/delete/"
>
Törlés
</a>
</td>
</tr>
</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