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
c5597513
authored
May 16, 2013
by
Bence Dányi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewall_gui: record template
parent
692cbe84
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
86 additions
and
0 deletions
+86
-0
firewall_gui/static/partials/record-edit.html
+86
-0
No files found.
firewall_gui/static/partials/record-edit.html
0 → 100644
View file @
c5597513
<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"
ng-class=
"hasError('name')"
>
<label
class=
"control-label"
for=
"name"
>
Name
</label>
<div
class=
"controls"
>
<input
type=
"text"
id=
"name"
ng-model=
"entity.name"
/>
<span
class=
"help-inline"
ng-bind=
"getError('name')"
></span>
</div>
</div>
<div
class=
"control-group"
ng-class=
"hasError('domain')"
>
<label
class=
"control-label"
for=
"domain"
>
Domain
</label>
<div
class=
"controls"
>
<input
type=
"text"
id=
"domain"
class=
"domain"
ng-model=
"entity.domain.name"
/>
<span
class=
"help-inline"
ng-bind=
"getError('domain')"
></span>
</div>
</div>
<div
class=
"control-group"
ng-class=
"hasError('host')"
>
<label
class=
"control-label"
for=
"host"
>
Host
</label>
<div
class=
"controls"
>
<input
type=
"text"
class=
"host"
id=
"host"
ng-model=
"entity.host.name"
/>
<span
class=
"help-inline"
ng-bind=
"getError('host')"
></span>
</div>
</div>
</div>
<div
class=
"span5"
>
<div
class=
"control-group"
ng-class=
"hasError('type')"
>
<label
class=
"control-label"
for=
"type"
>
Type
</label>
<div
class=
"controls"
>
<select
id=
"type"
ng-model=
"entity.type"
>
<option
value=
"A"
>
A
</option>
<option
value=
"CNAME"
>
CNAME
</option>
<option
value=
"AAAA"
>
AAAA
</option>
<option
value=
"MX"
>
MX
</option>
<option
value=
"NS"
>
NS
</option>
<option
value=
"PTR"
>
PTR
</option>
</select>
<span
class=
"help-inline"
ng-bind=
"getError('type')"
></span>
</div>
</div>
<div
class=
"control-group"
ng-class=
"hasError('owner')"
>
<label
class=
"control-label"
for=
"owner"
>
Owner
</label>
<div
class=
"controls"
>
<input
type=
"text"
autocomplete=
"off"
id=
"owner"
ng-model=
"entity.owner.name"
/>
<span
class=
"help-inline"
ng-bind=
"getError('owner')"
></span>
</div>
</div>
<div
class=
"control-group"
ng-class=
"hasError('address')"
>
<label
class=
"control-label"
for=
"address"
>
Address
</label>
<div
class=
"controls"
>
<input
type=
"text"
autocomplete=
"off"
id=
"address"
ng-model=
"entity.address"
/>
<span
class=
"help-inline"
ng-bind=
"getError('address')"
></span>
</div>
</div>
<div
class=
"control-group"
ng-class=
"hasError('description')"
>
<label
class=
"control-label"
for=
"description"
>
Description
</label>
<div
class=
"controls"
>
<textarea
rows=
"2"
id=
"description"
ng-model=
"entity.description"
>
</textarea>
<span
class=
"help-inline"
ng-bind=
"getError('description')"
></span>
</div>
</div>
<div
class=
"control-group"
>
<div
class=
"controls"
>
<button
type=
"submit"
class=
"btn"
ng-click=
"save()"
>
Save
</button>
</div>
</div>
</div>
</form>
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