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
c0ac5297
authored
May 07, 2013
by
Bence Dányi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewall_gui: vlangroup template added
parent
c0f6b734
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
90 additions
and
0 deletions
+90
-0
firewall_gui/static/partials/vlangroup-edit.html
+90
-0
No files found.
firewall_gui/static/partials/vlangroup-edit.html
0 → 100644
View file @
c0ac5297
<form
class=
"form-horizontal"
>
<div
class=
"span5"
>
<div
class=
"control-group"
>
<label
class=
"control-label"
for=
"ID"
>
ID
</label>
<div
class=
"controls"
>
<input
class=
"input-mini"
type=
"text"
id=
"ID"
placeholder=
"ID"
value=
"{{entity.id}}"
disabled=
"disabled"
>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
for=
"created_at"
>
Created at
</label>
<div
class=
"controls"
>
<input
class=
"input"
type=
"text"
id=
"created_at"
ng-model=
"entity.created_at"
disabled=
"disabled"
>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
for=
"modified_at"
>
Modified at
</label>
<div
class=
"controls"
>
<input
class=
"input"
type=
"text"
id=
"modified_at"
ng-model=
"entity.modified_at"
disabled=
"disabled"
>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
for=
"name"
>
Name
</label>
<div
class=
"controls"
>
<input
type=
"text"
id=
"name"
ng-model=
"entity.name"
/>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
for=
"owner"
>
Owner
</label>
<div
class=
"controls"
>
<input
type=
"text"
autocomplete=
"off"
id=
"owner"
ng-model=
"entity.owner.name"
/>
</div>
</div>
</div>
<div
class=
"span5"
>
<div
class=
"control-group"
>
<label
class=
"control-label"
for=
"description"
>
Description
</label>
<div
class=
"controls"
>
<textarea
rows=
"2"
id=
"description"
ng-model=
"entity.description"
>
</textarea>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
for=
"vlangroups"
>
Vlans
</label>
<div
class=
"controls"
>
<div
class=
"well"
>
<span
class=
"label label-info"
ng-repeat=
"vlan in entity.vlans"
>
<a
href=
"#/vlans/{{vlan.id}}"
>
{{vlan.name}}
</a>
<a
href
><i
class=
"icon-remove"
></i></a>
</span>
</div>
<div
class=
"input-append"
>
<input
class=
"span2"
id=
"vlan"
type=
"text"
>
<button
class=
"btn"
type=
"button"
>
Add
</button>
</div>
</div>
</div>
<div
class=
"control-group"
>
<div
class=
"controls"
>
<button
type=
"submit"
class=
"btn"
>
Save (nem működik!)
</button>
</div>
</div>
</div>
</form>
<div
class=
"span12"
>
<h3>
Rules belonging to this vlan
</h3>
<table
class=
"table table-striped"
>
<thead>
<tr>
<th>
Direction
</th>
<th>
Protocol
</th>
<th>
Accept
</th>
<th>
NAT
</th>
<th
colspan=
"2"
>
Owner
</th>
</tr>
</thead>
<tbody>
<tr
ng-repeat=
"rule in entity.rules"
>
<td>
{{rule.direction}}
</td>
<td>
{{rule.proto}}
</td>
<td>
{{rule.accept}}
</td>
<td>
{{rule.nat}}
</td>
<td>
{{rule.owner.name}}
</td>
<td>
<a
class=
"btn"
href=
"#/rules/{{rule.id}}/"
>
Edit
</a>
<a
class=
"btn btn-danger"
href=
"#/rules/{{rule.id}}/delete/"
>
Delete
</a>
</td>
</tr>
</tbody>
</table>
</div>
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