KEYCLOAK-696 Display Keycloak version in admin console
This commit is contained in:
1 parent
bfdb8d4e2d
commit
dcb5717154
4 files changed
+22
-3
No files matched your search
@@ -71,6 +71,7 @@
|
||||
<span>Loading...</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id="serverInfo">Keycloak {{serverInfo.version}}</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
+2
-1
@@ -1,10 +1,11 @@
|
||||
module.controller('GlobalCtrl', function($scope, $http, Auth, WhoAmI, Current, $location, Notifications) {
|
||||
module.controller('GlobalCtrl', function($scope, $http, Auth, WhoAmI, Current, $location, Notifications, ServerInfo) {
|
||||
$scope.addMessage = function() {
|
||||
Notifications.success("test");
|
||||
};
|
||||
|
||||
$scope.authUrl = authUrl;
|
||||
$scope.auth = Auth;
|
||||
$scope.serverInfo = ServerInfo.get();
|
||||
|
||||
WhoAmI.get(function (data) {
|
||||
Auth.user = data;
|
||||
|
||||
+7
@@ -836,4 +836,11 @@ legend .kc-icon-collapse {
|
||||
|
||||
table table {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
#serverInfo {
|
||||
color: #666;
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
right: 10px;
|
||||
}
|
||||
Reference in new issue
Block a user