Improve Quick Access prefs

This commit is contained in:
Nils Maier 2014-05-17 15:09:15 +02:00
parent 2b584f2fe1
commit 7e984339ca

View File

@ -577,21 +577,20 @@
<form class="row"> <form class="row">
<fieldset> <fieldset>
<div class="span4" ng-repeat="prop in properties"> <div class="span4" ng-repeat="prop in properties">
<label>{{prop.name}}</label> <label title="{{prop.desc}}">
<select ng-show="prop.options.length" ng-options="opt for opt in prop.options" ng-model="prop.val"> <div>{{prop.name}}</div>
</select> <div>
<input ng-show="!prop.options.length" typ="text" class="input-large" ng-model="prop.val"/> <select ng-show="prop.options.length" ng-options="opt for opt in prop.options" ng-model="prop.val"></select>
<input ng-show="!prop.options.length" typ="text" class="input-large" ng-model="prop.val"/>
</div>
</label>
</div> </div>
<div class="span12" style="margin-top: 1ex"><button ng-disabled="!enabled()" ng-click="save()" class="btn btn-small">Save settings</button></div>
<div class="span12" style="margin-top: 1ex"><button ng-disabled="!enabled()" ng-click="save()" class="btn btn-small">Save</button></div>
</fieldset> </fieldset>
</form> </form>
</div> </div>
<!--}}} --> <!--}}} -->
</div> </div>
<!-- }}} --> <!-- }}} -->