Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6)

Side by Side Diff: app/templates/service-configuration.partial

Issue 10397045: Prototype of data binding conflict resolution
Patch Set: Prototype of data binding conflict resolution Created 11 years, 9 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {{#settings}}
2 <div class="control-group">
3 <div class="well control-description">
4 {{description}}
5 </div>
6 <div class="conflicted warning-message" style="display: none">
7 <p>This field has been changed on another system. Accept the new value?</p >
8 <p class="newval"></p>
9 <button class="conflicted-confirm">Ok</button>
10 <button class="conflicted-cancel">Cancel</button>
11 </div>
12 {{#if isBool}}
13 <div class="control-label" for="{{name}}">{{name}}</div>
14 <div class="controls boolean">
15 <input class="config-field boolean" type="checkbox" name="{{name}}"
16 id="input-{{name}}" data-bind="config.{{name}}" {{value}}/>
17 </div>
18 {{else}}
19 {{#if isNumeric}}
20 <div class="control-label" for="{{name}}">{{name}} ({{type}})</div>
21 <div class="controls">
22 <input class="config-field" type="text" name="{{name}}"
23 id="input-{{name}}" value="{{value}}" data-bind="config.{{name}}"/ >
24 </div>
25 {{else}}
26 <div class="control-label" for="{{name}}">{{name}} ({{type}})</div>
27 <div class="controls">
28 <textarea data-bind="config.{{name}}" class="config-field" id="input-{ {name}}" name="{{name}}">{{value}}</textarea>
29 </div>
30 {{/if}}
31 {{/if}}
32 </div>
33 {{/settings}}
OLDNEW
« no previous file with comments | « app/templates/service-configuration.handlebars ('k') | app/templates/serviceOverview.handlebars » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b