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 {
scope: {
kcOptions: '=',

View file

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