-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvaluesInput.html
More file actions
54 lines (51 loc) · 1.79 KB
/
valuesInput.html
File metadata and controls
54 lines (51 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<body>
<div id="valuesInput" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="valuesInputLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="valuesInputLabel">{{> valuesInputTitle}}</h3>
</div>
<div class="modal-body">
{{> valuesInputBody}}
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
<button class="btn btn-primary">Done</button>
</div>
</div>
</body>
<template name="valuesInputTitle">
{{title}}
</template>
<template name="valuesInputBody">
{{#if values}}
<table>
<tr>
<td colspan=2 class="errorMessages">
{{#if errorMessages}}
<ul>
{{#each errorMessages}}
<li>{{this}}</li>
{{/each}}
</ul>
{{/if}}
</td>
</tr>
<tr>
<th>Name</th><th>Value</th>
</tr>
{{> topTemplate topTemplateContext}}
{{#each values}}
<tr valign="top">
<td align="right" class="{{nameClass}}">{{name}}{{> valueInfo info}}:</td>
<td>
<a class="editValue" href="#">{{valueText}}</a>
{{#if valueIsReference}}
modifier: <a class="editModifier" href="#">{{valueModifierText}}</a>
{{/if}}
</td>
</tr>
{{/each}}
{{> bottomTemplate bottomTemplateContext}}
</table>
{{/if}}
</template>