update overlay/dialog to add input for anchor value - value can be a string or selection from the datalist. Is the dialog in use anymore?

This commit is contained in:
Nathan Woulfe
2018-06-17 14:42:16 +10:00
parent 3fecd55c49
commit 9cfc997ba2
2 changed files with 27 additions and 2 deletions

View File

@@ -2,13 +2,25 @@
<div class="umb-panel-body no-header with-footer compact">
<umb-pane>
<umb-control-group label="@defaultdialogs_urlLinkPicker">
<input type="text"
<input type="text"
localize="placeholder"
placeholder="@general_url"
class="umb-editor umb-textstring"
ng-model="target.url"
style="float:left; min-width:0; width:60%"
ng-disabled="target.id"
/>
<input type="text"
list="anchors"
localize="placeholder"
placeholder="@general_anchor"
class="umb-editor umb-textstring"
style="float:right; min-width:0; width:30%"
ng-model="target.anchor" />
<datalist id="anchors">
<option value="{{a}}" ng-repeat="a in anchorValues"></option>
</datalist>
</umb-control-group>
<umb-control-group label="@defaultdialogs_nodeNameLinkPicker">

View File

@@ -5,11 +5,24 @@
localize="placeholder"
placeholder="@general_url"
class="umb-editor umb-textstring"
style="float:left; min-width:0; width:65%"
ng-model="model.target.url"
ng-disabled="model.target.id"
focus-when="{{true}} "/>
<input type="text"
list="anchors"
localize="placeholder"
placeholder="@general_anchor"
class="umb-editor umb-textstring"
style="float:right; min-width:0; width:30%"
ng-model="model.target.anchor" />
<datalist id="anchors">
<option value="{{a}}" ng-repeat="a in anchorValues"></option>
</datalist>
</umb-control-group>
<umb-control-group label="@defaultdialogs_nodeNameLinkPicker">
<input type="text"
localize="placeholder"