Adjust new list input design
This commit is contained in:
parent
9534901cb3
commit
2a5d31dbc5
1 changed files with 9 additions and 4 deletions
|
@ -39,12 +39,17 @@
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li class="handler">
|
<li class="handler">
|
||||||
<a class="addlist" ng-click="startAddingList()" oc-click-focus="{selector: '#newList', timeout: 0}">
|
<a class="addlist" ng-click="startAddingList()" oc-click-focus="{selector: '#newList', timeout: 0}" ng-hide="status.addingList">
|
||||||
<span class="icon detail-add"></span>
|
<span class="icon detail-add"></span>
|
||||||
<span class="title" ng-hide="status.addingList"><?php p($l->t('Add List...')); ?></span>
|
<span class="title"><?php p($l->t('Add List...')); ?></span>
|
||||||
<input id="newList" ng-model="status.newListName" class="edit" type="text" ng-disabled="isAddingList" ng-show="status.addingList"
|
|
||||||
placeholder="<?php p($l->t('New List')); ?>" ng-keydown="checkListInput($event)" />
|
|
||||||
</a>
|
</a>
|
||||||
|
<div class="app-navigation-entry-edit" ng-show="status.addingList">
|
||||||
|
<form ng-disabled="isAddingList">
|
||||||
|
<input id="newList" ng-model="status.newListName" class="edit" type="text" autofocus-on-insert
|
||||||
|
placeholder="<?php p($l->t('New List')); ?>" ng-keydown="checkListInput($event)" >
|
||||||
|
<input type="submit" value="" class="action icon-checkmark svg" ng-click="submitNewList($event)">
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div id="app-settings" ng-controller="SettingsController">
|
<div id="app-settings" ng-controller="SettingsController">
|
||||||
|
|
Loading…
Reference in a new issue