index.ftl 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title></title>
  5. <meta charset="utf-8">
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="robots" content="noindex, nofollow">
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  9. <link rel="shortcut icon" href="${resourceUrl}/img/favicon.ico">
  10. <#if properties.stylesCommon?has_content>
  11. <#list properties.stylesCommon?split(' ') as style>
  12. <link href="${resourceCommonUrl}/${style}" rel="stylesheet" />
  13. </#list>
  14. <#list properties.styles?split(' ') as style>
  15. <link href="${resourceUrl}/${style}" rel="stylesheet" />
  16. </#list>
  17. </#if>
  18. <script type="text/javascript">
  19. var authServerUrl = '${authServerUrl}';
  20. var authUrl = '${authUrl}';
  21. var consoleBaseUrl = '${consoleBaseUrl}';
  22. var resourceUrl = '${resourceUrl}';
  23. var masterRealm = '${masterRealm}';
  24. var resourceVersion = '${resourceVersion}';
  25. </script>
  26. <!-- Minimized versions (for those that have one) -->
  27. <script src="${resourceCommonUrl}/node_modules/jquery/dist/jquery.min.js" type="text/javascript"></script>
  28. <script src="${resourceCommonUrl}/node_modules/select2/select2.js" type="text/javascript"></script>
  29. <script src="${resourceCommonUrl}/node_modules/angular/angular.min.js"></script>
  30. <script src="${resourceCommonUrl}/node_modules/angular-resource/angular-resource.min.js"></script>
  31. <script src="${resourceCommonUrl}/node_modules/angular-route/angular-route.min.js"></script>
  32. <script src="${resourceCommonUrl}/node_modules/angular-cookies/angular-cookies.min.js"></script>
  33. <script src="${resourceCommonUrl}/node_modules/angular-sanitize/angular-sanitize.min.js"></script>
  34. <script src="${resourceCommonUrl}/node_modules/angular-translate/dist/angular-translate.min.js"></script>
  35. <script src="${resourceCommonUrl}/node_modules/angular-translate-loader-url/angular-translate-loader-url.min.js"></script>
  36. <script src="${resourceCommonUrl}/node_modules/angular-ui-select2/src/select2.js" type="text/javascript"></script>
  37. <script src="${resourceCommonUrl}/node_modules/autofill-event/autofill-event.js"></script>
  38. <!-- Libraries not managed by yarn -->
  39. <script src="${resourceCommonUrl}/lib/angular/ui-bootstrap-tpls-0.11.0.js"></script>
  40. <script src="${resourceCommonUrl}/lib/angular/treeview/angular.treeview.js"></script>
  41. <script src="${resourceCommonUrl}/lib/fileupload/angular-file-upload.min.js"></script>
  42. <script src="${resourceCommonUrl}/lib/filesaver/FileSaver.js"></script>
  43. <script src="${resourceCommonUrl}/lib/ui-ace/min/ace.js"></script>
  44. <script src="${resourceCommonUrl}/lib/ui-ace/ui-ace.min.js"></script>
  45. <script src="${authUrl}/js/keycloak.js?version=${resourceVersion}" type="text/javascript"></script>
  46. <script src="${resourceUrl}/js/app.js" type="text/javascript"></script>
  47. <script src="${resourceUrl}/js/controllers/realm.js" type="text/javascript"></script>
  48. <script src="${resourceUrl}/js/controllers/clients.js" type="text/javascript"></script>
  49. <script src="${resourceUrl}/js/controllers/users.js" type="text/javascript"></script>
  50. <script src="${resourceUrl}/js/controllers/groups.js" type="text/javascript"></script>
  51. <script src="${resourceUrl}/js/controllers/roles.js" type="text/javascript"></script>
  52. <script src="${resourceUrl}/js/loaders.js" type="text/javascript"></script>
  53. <script src="${resourceUrl}/js/services.js" type="text/javascript"></script>
  54. <!-- Authorization -->
  55. <script src="${resourceUrl}/js/authz/authz-app.js" type="text/javascript"></script>
  56. <script src="${resourceUrl}/js/authz/authz-controller.js" type="text/javascript"></script>
  57. <script src="${resourceUrl}/js/authz/authz-services.js" type="text/javascript"></script>
  58. <#if properties.scripts?has_content>
  59. <#list properties.scripts?split(' ') as script>
  60. <script type="text/javascript" src="${resourceUrl}/${script}"></script>
  61. </#list>
  62. </#if>
  63. </head>
  64. <body data-ng-controller="GlobalCtrl" data-ng-cloak data-ng-show="auth.user">
  65. <nav class="navbar navbar-default navbar-pf" role="navigation" data-ng-include data-src="resourceUrl + '/partials/menu.html'">
  66. </nav>
  67. <div class="container-fluid">
  68. <div class="row">
  69. <div data-ng-view id="view"></div>
  70. </div>
  71. </div>
  72. <div class="feedback-aligner" data-ng-show="notification.display">
  73. <div class="alert alert-{{notification.type}} alert-dismissable">
  74. <button type="button" class="close" data-ng-click="notification.remove()" id="notification-close">
  75. <span class="pficon pficon-close"/>
  76. </button>
  77. <span class="pficon pficon-ok" ng-show="notification.type == 'success'"></span>
  78. <span class="pficon pficon-info" ng-show="notification.type == 'info'"></span>
  79. <span class="pficon pficon-warning-triangle-o" ng-show="notification.type == 'warning'"></span>
  80. <span class="pficon pficon-error-circle-o" ng-show="notification.type == 'danger'"></span>
  81. <strong>{{notification.header}}</strong> {{notification.message}}
  82. </div>
  83. </div>
  84. <div id="loading" class="loading">Loading...</div>
  85. </body>
  86. </html>