diff --git a/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/admin-console.css b/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/admin-console.css index eeeacc99a6..67e940236d 100644 --- a/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/admin-console.css +++ b/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/admin-console.css @@ -25,22 +25,22 @@ body { } .alert.alert-success { border-color: #4b9e39; - background-image: url(img/feedback-success-sign.svg); + background-image: url(img/feedback-success-sign.png); background-color: #e4f1e1; } .alert.alert-error { border-color: #b91415; - background-image: url(img/feedback-error-sign.svg); + background-image: url(img/feedback-error-sign.png); background-color: #f8e7e7; } .alert.alert-warning { border-color: #f17528; - background-image: url(img/feedback-warning-sign.svg); + background-image: url(img/feedback-warning-sign.png); background-color: #fef1e9; } .alert.alert-info { border-color: #5994b2; - background-image: url(img/feedback-info-sign.svg); + background-image: url(img/feedback-info-sign.png); background-color: #e4f3fa; } /* Header */ @@ -64,7 +64,7 @@ body { border: 1px solid #676c6e; border-radius: 2px; padding: 0 0.54545454545455em; - background: #555a5e url(img/sprite-arrow-down.svg) no-repeat right -26px; + background: #555a5e url(img/sprite-arrow-down.png) no-repeat right -26px; display: block; &:hover, @@ -147,7 +147,7 @@ body { vertical-align: middle; background-color: #555a5e; background-image: none; - background-image: url(img/sprite-arrow-down.svg); + background-image: url(img/sprite-arrow-down.png); background-repeat: no-repeat; background-position: right -26px; border: 1px solid #676c6e; @@ -379,7 +379,7 @@ table + .feedback.inline.warning { .tooltip-box { position: absolute; font-size: 1em; - background-image: url("img/tooltip-box-arrow-right-up.svg"); + background-image: url("img/tooltip-box-arrow-right-up.png"); background-position: right top; background-repeat: no-repeat; padding-top: 1em; diff --git a/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/admin-console.less b/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/admin-console.less index 817047cfd4..f106fd8c6c 100644 --- a/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/admin-console.less +++ b/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/admin-console.less @@ -37,25 +37,25 @@ body { &.alert-success { border-color: #4b9e39; - background-image: url(img/feedback-success-sign.svg); + background-image: url(img/feedback-success-sign.png); background-color: #e4f1e1; } &.alert-error { border-color: #b91415; - background-image: url(img/feedback-error-sign.svg); + background-image: url(img/feedback-error-sign.png); background-color: #f8e7e7; } &.alert-warning { border-color: #f17528; - background-image: url(img/feedback-warning-sign.svg); + background-image: url(img/feedback-warning-sign.png); background-color: #fef1e9; } &.alert-info { border-color: #5994b2; - background-image: url(img/feedback-info-sign.svg); + background-image: url(img/feedback-info-sign.png); background-color: #e4f3fa; } } @@ -88,7 +88,7 @@ body { vertical-align: middle; background-color: #555a5e; background-image: none; - background-image: url(img/sprite-arrow-down.svg); + background-image: url(img/sprite-arrow-down.png); background-repeat: no-repeat; background-position: right -26px; border: 1px solid #676c6e; @@ -156,7 +156,7 @@ body { border: 1px solid #676c6e; border-radius: 2px; padding: 0 0.54545454545455em; - background: #555a5e url(img/sprite-arrow-down.svg) no-repeat right -26px; + background: #555a5e url(img/sprite-arrow-down.png) no-repeat right -26px; display: block; &:hover, @@ -463,7 +463,7 @@ table { .tooltip-box { position: absolute; font-size: 1em; - background-image: url("img/tooltip-box-arrow-right-up.svg"); + background-image: url("img/tooltip-box-arrow-right-up.png"); background-position: right top; background-repeat: no-repeat; padding-top: 1em; diff --git a/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/forms.css b/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/forms.css index 7d3219df35..b8d30662e4 100644 --- a/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/forms.css +++ b/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/forms.css @@ -295,29 +295,29 @@ button.primary:focus, background-position: 1.27272727272727em 1.63636363636364em; } .feedback.error { - background-image: url(img/feedback-error-arrow-down.svg); + background-image: url(img/feedback-error-arrow-down.png); } .feedback.error p { border-color: #b91415; - background-image: url(img/feedback-error-sign.svg); + background-image: url(img/feedback-error-sign.png); background-color: #f8e7e7; } .feedback.success { - background-image: url(img/feedback-success-arrow-down.svg); + background-image: url(img/feedback-success-arrow-down.png); } .feedback.success p { border-color: #4b9e39; - background-image: url(img/feedback-success-sign.svg); + background-image: url(img/feedback-success-sign.png); background-color: #e4f1e1; } .feedback.warning p { border-color: #f17528; - background-image: url(img/feedback-warning-sign.svg); + background-image: url(img/feedback-warning-sign.png); background-color: #fef1e9; } .feedback.info p { border-color: #5994b2; - background-image: url(img/feedback-info-sign.svg); + background-image: url(img/feedback-info-sign.png); background-color: #e4f3fa; } .feedback.inline { diff --git a/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/forms.less b/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/forms.less index aabf882bd5..e666300239 100644 --- a/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/forms.less +++ b/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/forms.less @@ -337,21 +337,21 @@ button.primary, } &.error { - background-image: url(img/feedback-error-arrow-down.svg); + background-image: url(img/feedback-error-arrow-down.png); p { border-color: #b91415; - background-image: url(img/feedback-error-sign.svg); + background-image: url(img/feedback-error-sign.png); background-color: #f8e7e7; } } &.success { - background-image: url(img/feedback-success-arrow-down.svg); + background-image: url(img/feedback-success-arrow-down.png); p { border-color: #4b9e39; - background-image: url(img/feedback-success-sign.svg); + background-image: url(img/feedback-success-sign.png); background-color: #e4f1e1; } } @@ -360,7 +360,7 @@ button.primary, p { border-color: #f17528; - background-image: url(img/feedback-warning-sign.svg); + background-image: url(img/feedback-warning-sign.png); background-color: #fef1e9; } @@ -370,7 +370,7 @@ button.primary, p { border-color: #5994b2; - background-image: url(img/feedback-info-sign.svg); + background-image: url(img/feedback-info-sign.png); background-color: #e4f3fa; } diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/js/controllers/realm.js b/admin-ui/src/main/resources/META-INF/resources/admin/js/controllers/realm.js index 1f28e79d9e..387c891c47 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/js/controllers/realm.js +++ b/admin-ui/src/main/resources/META-INF/resources/admin/js/controllers/realm.js @@ -40,7 +40,6 @@ module.controller('RealmDropdownCtrl', function($scope, Realm, Current, Auth, $l }; $scope.showNav = function() { var show = Current.realms.length > 0; - console.log('Show dropdown? ' + show); return Auth.loggedIn && show; } }); @@ -137,11 +136,12 @@ module.controller('RealmDetailCtrl', function($scope, Current, Realm, realm, $ht }; $scope.cancel = function() { - $location.url("/realms"); + //$location.url("/realms"); + window.history.back(); }; $scope.remove = function() { - Dialog.confirmDelete($scope.realm.name, 'realm', function() { + Dialog.confirmDelete($scope.realm.realm, 'realm', function() { Realm.remove($scope.realm, function() { Current.realms = Realm.get(); $location.url("/realms"); diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/js/controllers/users.js b/admin-ui/src/main/resources/META-INF/resources/admin/js/controllers/users.js index 2a6c2429a6..0d5f4cd966 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/js/controllers/users.js +++ b/admin-ui/src/main/resources/META-INF/resources/admin/js/controllers/users.js @@ -134,7 +134,7 @@ module.controller('UserDetailCtrl', function($scope, realm, user, User, $locatio $scope.user = angular.copy(user); $scope.create = !user.username; - $scope.changed = $scope.create; + $scope.changed = false; // $scope.create; $scope.$watch('user', function() { if (!angular.equals($scope.user, user)) { @@ -176,7 +176,7 @@ module.controller('UserDetailCtrl', function($scope, realm, user, User, $locatio }; $scope.remove = function() { - Dialog.confirmDelete($scope.user.userId, 'user', function() { + Dialog.confirmDelete($scope.user.username, 'user', function() { $scope.user.$remove({ realm : realm.id, userId : $scope.user.username diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/lib/angular/ui-bootstrap-tpls-0.4.0.js b/admin-ui/src/main/resources/META-INF/resources/admin/lib/angular/ui-bootstrap-tpls-0.4.0.js index 2e9eeb9842..b587abd1e0 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/lib/angular/ui-bootstrap-tpls-0.4.0.js +++ b/admin-ui/src/main/resources/META-INF/resources/admin/lib/angular/ui-bootstrap-tpls-0.4.0.js @@ -970,8 +970,8 @@ dialogModule.provider("$dialog", function(){ transitionClass: 'fade', triggerClass: 'in', resolve:{}, - backdropFade: false, - dialogFade:false, + backdropFade: true, + dialogFade: true, keyboard: true, // close with esc key backdropClick: true // only in conjunction with backdrop=true /* other options: template, templateUrl, controller */ @@ -1027,6 +1027,7 @@ dialogModule.provider("$dialog", function(){ this.modalEl.addClass(options.transitionClass); this.modalEl.removeClass(options.triggerClass); } + this.modalEl.css("display", "block"); /* FIXME: For BS 3.x support */ this.handledEscapeKey = function(e) { if (e.which === 27) { @@ -2997,6 +2998,8 @@ angular.module("template/datepicker/datepicker.html", []).run(["$templateCache", angular.module("template/dialog/message.html", []).run(["$templateCache", function($templateCache) { $templateCache.put("template/dialog/message.html", + "
You have not configured applications. Add Application
-
-
@@ -32,7 +33,7 @@
|
||
---|---|---|
Application Name | Enabled | Base URL | @@ -58,7 +59,7 @@
Your search returned no results.
Try modifying the query and try again.
Your search returned no results.
Try modifying the query and try again.