KEYCLOAK-340 custom selectors on realm detail replaced with standard one

This commit is contained in:
Viliam Rockai 2014-02-27 17:41:00 +01:00
parent 5881ef3e11
commit d65926f3b8
3 changed files with 15 additions and 11 deletions

View file

@ -791,7 +791,7 @@ module.directive('kcDelete', function ($compile, Notifications) {
}); });
module.directive('kcSelect', function ($compile, Notifications) { module.directive('kcDropdown', function ($compile, Notifications) {
return { return {
scope: { scope: {
kcOptions: '=', kcOptions: '=',

View file

@ -72,21 +72,25 @@
<div class="form-group"> <div class="form-group">
<label class="col-sm-2 control-label" for="loginTheme">Login Theme</label> <label class="col-sm-2 control-label" for="loginTheme">Login Theme</label>
<div class="col-sm-4"> <div class="col-sm-4">
<select kc-select id="loginTheme" <div class="select-kc">
data-kc-placeholder="Select one..." <select id="loginTheme"
data-kc-model="realm.loginTheme" ng-model="realm.loginTheme"
data-kc-options="serverInfo.themes.login"> ng-options="o as o for o in serverInfo.themes.login">
</select> <option value="" disabled selected>Select one...</option>
</select>
</div>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-2 control-label" for="accountTheme">Account Theme</label> <label class="col-sm-2 control-label" for="accountTheme">Account Theme</label>
<div class="col-sm-4"> <div class="col-sm-4">
<select kc-select id="accountTheme" <div class="select-kc">
data-kc-placeholder="Select one..." <select id="accountTheme"
data-kc-model="realm.accountTheme" ng-model="realm.accountTheme"
data-kc-options="serverInfo.themes.account"> ng-options="o as o for o in serverInfo.themes.account">
</select> <option value="" disabled selected>Select one...</option>
</select>
</div>
</div> </div>
</div> </div>
</fieldset> </fieldset>