freifunkmanager/public/app/node.jade

20 lines
923 B
Plaintext
Raw Normal View History

2016-07-06 22:52:31 +02:00
.container
.page-header
h1 {{node.nodeinfo.hostname}}
small {{nodeid}}
form(name="rowForm",ng-submit="save()")
.form-group(ng-class="rowForm.group.$invalid ? 'has-error' : ''")
label(for="formGroup") Group
input.form-control(id="formGroup",placeholder="Group",type="text",name="group",pattern="[a-zA-Z0-9-]*",ng-model='node.nodeinfo.owner.contact')
.form-group(ng-class="rowForm.hostname.$invalid ? 'has-error' : ''")
label(for="formHostname") Hostname
input.form-control(id="formHostname",placeholder="Hostname",type="text",name="hostname",pattern="[a-zA-Z0-9-]*",ng-model='node.nodeinfo.hostname',required)
2016-07-09 02:58:47 +02:00
// leaflet.map.node(geojson=geojson,center=center,markers=markers)
2016-07-06 22:52:31 +02:00
button.btn.btn-default(type="submit")
span.glyphicon.glyphicon-floppy-disk(aria-hidden="true")
| Save
2016-07-09 02:58:47 +02:00
// span.btn.btn-default(ng-click="gps()")
2016-07-06 22:52:31 +02:00
span.glyphicon.glyphicon-map-marker(aria-hidden="true")
| GPS