Skip to content

Commit

Permalink
Update camunda_mods pages to support Camunda 7.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wcgunter committed Nov 6, 2023
1 parent 8eec73e commit f2cfdec
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 60 deletions.
24 changes: 12 additions & 12 deletions install/camunda_mods/admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@
<!-- settings the base path for relative links -->
<base href="$BASE"
admin-api="$APP_ROOT/api/admin/"
cockpit-api="$APP_ROOT/api/cockpit/"
tasklist-api="$APP_ROOT/api/tasklist/"
welcome-api="$APP_ROOT/api/welcome/"
engine-api="$APP_ROOT/api/engine/"
app-root="$APP_ROOT" />
app-root="$APP_ROOT"
app-name="admin"/>

<!-- an example of plugin/feature exclusion -->
<!--
Expand All @@ -32,24 +36,23 @@


<!-- styles -->
<link href="$APP_ROOT/app/admin/styles/styles.css?bust=7.20.0"
rel="stylesheet" />
<link rel="icon" href="$APP_ROOT/favicon.ico">
<script defer src="$APP_ROOT/lib/runtime.js?bust=7.20.0" $CSP_NONCE charset="UTF-8"></script>
<script defer src="$APP_ROOT/lib/deps.js?bust=7.20.0" $CSP_NONCE charset="UTF-8"></script>
<script defer src="$APP_ROOT/app/admin/camunda-admin-bootstrap.js?bust=7.20.0" $CSP_NONCE charset="UTF-8"></script>
<link href="$APP_ROOT/app/admin/camunda-admin-bootstrap.css?bust=7.20.0" rel="stylesheet">

<link rel="stylesheet"
type="text/css"
href="$APP_ROOT/app/admin/styles/user-styles.css?bust=7.20.0">

<!-- favicon -->
<link rel="shortcut icon"
href="$APP_ROOT/app/admin/assets/images/favicon.ico"
type="image/x-icon" />
</head>
<body ng-controller="camAdminAppCtrl" ng-class="{'no-breadcrumbs': !$root.showBreadcrumbs}">
<!-- navigation -->
<div cam-widget-header
authentication="authentication"
user-name="userFullName"
current-app="admin"
brand-name="Camunda Admin"
ng-cloak>
<ul cam-if-logged-in
ng-controller="NavigationController">
Expand All @@ -66,10 +69,7 @@
<a href="#/tenants">{{ 'TENANTS_TENANTS' | translate }}</a>
</li>

<li ng-class="activeClass('#/authorization')"
show-if-authorized
auth-permission="READ"
auth-resource-name="authorization">
<li ng-class="activeClass('#/authorization')">
<a href="#/authorization?resource=0">{{ 'AUTHORIZATION_AUTHORIZATIONS' | translate }}</a>
</li>
<li ng-class="activeClass('#/system')">
Expand Down
34 changes: 16 additions & 18 deletions install/camunda_mods/cockpit/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@
<base href="$BASE"
admin-api="$APP_ROOT/api/admin/"
cockpit-api="$APP_ROOT/api/cockpit/"
tasklist-api="$APP_ROOT/api/tasklist/"
welcome-api="$APP_ROOT/api/welcome/"
engine-api="$APP_ROOT/api/engine/"
app-root="$APP_ROOT" />
app-root="$APP_ROOT"
app-name="cockpit" />

<!-- an example of plugin/feature exclusion -->
<!--
Expand All @@ -32,38 +35,33 @@
-->


<!-- styles -->
<link href="$APP_ROOT/app/cockpit/styles/styles.css?bust=7.20.0"
rel="stylesheet" />
<link href="$APP_ROOT/app/cockpit/styles/styles-components.css?bust=7.20.0"
rel="stylesheet" />
<link rel="icon" href="$APP_ROOT/favicon.ico">
<script defer src="$APP_ROOT/lib/runtime.js?bust=7.20.0" $CSP_NONCE charset="UTF-8"></script>
<script defer src="$APP_ROOT/lib/deps.js?bust=7.20.0" $CSP_NONCE charset="UTF-8"></script>
<script defer src="$APP_ROOT/app/cockpit/camunda-cockpit-bootstrap.js?bust=7.20.0" $CSP_NONCE charset="UTF-8"></script>
<link href="$APP_ROOT/app/cockpit/camunda-cockpit-bootstrap.css?bust=7.20.0" rel="stylesheet">

<link rel="stylesheet"
type="text/css"
href="$APP_ROOT/app/cockpit/styles/user-styles.css?bust=7.20.0">

<!-- favicon -->
<link rel="shortcut icon"
href="$APP_ROOT/app/cockpit/assets/images/favicon.ico"
type="image/x-icon" />
</head>
<body>
<!-- navigation -->
<div cam-widget-header
class="Header"
authentication="authentication"
user-name="userFullName"
current-app="cockpit"
ng-cloak
sign-out="{{ 'SIGN_OUT_ACTION' | translate }}"
my-profile="{{ 'MY_PROFILE' | translate }}"
brand-name="Camunda Cockpit">
my-profile="{{ 'MY_PROFILE' | translate }}">
<ul cam-if-logged-in
ng-controller="camHeaderViewsCtrl">
<li ng-repeat="actionProvider in menuActions"
ng-if="actionProvider.pagePath && actionProvider.accessible"
ng-if="actionProvider.accessible"
ng-class="activeClass(actionProvider)">
<a ng-href="{{ actionProvider.pagePath }}">{{ actionProvider.label | translate}}</a>
<view provider="actionProvider"></view>
</li>

<li class="dropdown"
ng-if="dropdownActions.length"
uib-dropdown>
Expand All @@ -72,9 +70,9 @@
href>{{ 'COCKPIT_MORE' | translate}} <i class="caret"></i></a>
<ul class="dropdown-menu" uib-dropdown-menu>
<li ng-repeat="actionProvider in dropdownActions"
ng-if="actionProvider.pagePath && actionProvider.accessible"
ng-if="actionProvider.accessible"
ng-class="activeClass(actionProvider)">
<a ng-href="{{ actionProvider.pagePath }}">{{ actionProvider.label | translate}}</a>
<view provider="actionProvider"></view>
</li>
</ul>
</li>
Expand Down
60 changes: 30 additions & 30 deletions install/camunda_mods/tasklist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,43 +18,43 @@
<!--< base href="/" /> -->
<base href="$BASE"
admin-api="$APP_ROOT/api/admin/"
cockpit-api="$APP_ROOT/api/cockpit/"
tasklist-api="$APP_ROOT/api/tasklist/"
welcome-api="$APP_ROOT/api/welcome/"
engine-api="$APP_ROOT/api/engine/"
app-root="$APP_ROOT"
app-name="tasklist" />
app-name="tasklist"/>

<link rel="icon" href="$APP_ROOT/favicon.ico">
<script defer src="$APP_ROOT/lib/runtime.js?bust=7.20.0" $CSP_NONCE charset="UTF-8"></script>
<script defer src="$APP_ROOT/lib/deps.js?bust=7.20.0" $CSP_NONCE charset="UTF-8"></script>
<script defer src="$APP_ROOT/app/tasklist/camunda-tasklist-bootstrap.js?bust=7.20.0" $CSP_NONCE charset="UTF-8"></script>
<link href="$APP_ROOT/app/tasklist/camunda-tasklist-bootstrap.css?bust=7.20.0" rel="stylesheet">

<link rel="stylesheet"
type="text/css"
href="$APP_ROOT/app/tasklist/styles/styles.css?bust=7.19.0">
<link rel="stylesheet"
type="text/css"
href="$APP_ROOT/app/tasklist/styles/user-styles.css?bust=7.19.0">
href="$APP_ROOT/app/tasklist/styles/user-styles.css?bust=7.20.0">

<!-- favicon -->
<link rel="shortcut icon"
href="$APP_ROOT/app/tasklist/assets/images/favicon.ico"
type="image/x-icon" />
</head>

<body ng-controller="camTasklistAppCtrl">
<div cam-widget-header
authentication="authentication"
user-name="userFullName"
current-app="tasklist"
toggle-navigation="{{ 'TOGGLE_NAVIGATION' | translate }}"
sign-out="{{ 'SIGN_OUT_ACTION' | translate }}"
my-profile="{{ 'MY_PROFILE' | translate }}"
brand-name="{{ appVendor }} {{ appName }}"
ng-cloak>
<ul cam-if-logged-in
ng-controller="camHeaderViewsCtrl">
<li ng-repeat="actionProvider in navbarActions"
ng-class="actionProvider.id">
<view ng-cloak
provider="actionProvider"
vars="navbarVars">
</view>
</li>
<div cam-widget-header
authentication="authentication"
user-name="userFullName"
current-app="tasklist"
toggle-navigation="{{ 'TOGGLE_NAVIGATION' | translate }}"
sign-out="{{ 'SIGN_OUT_ACTION' | translate }}"
my-profile="{{ 'MY_PROFILE' | translate }}"
ng-cloak>
<ul cam-if-logged-in
ng-controller="camHeaderViewsCtrl">
<li ng-repeat="actionProvider in navbarActions"
ng-class="actionProvider.id">
<view ng-cloak
provider="actionProvider"
vars="navbarVars">
</view>
</li>
<li><a class="cam-widget-header" href="/cws-ui">CWS</a></li>
</ul>
</div>
Expand All @@ -80,7 +80,7 @@

<!-- # page-footer -->
<footer cam-widget-footer
version="v7.19.0"></footer>
version="v7.20.0"></footer>


<script type="text/javascript" $CSP_NONCE>
Expand Down Expand Up @@ -109,11 +109,11 @@
window.__require = window.require;
window.define = undefined;
window.require = undefined;
window.bust = '7.19.0';
window.bust = '7.20.0';

requirejs.config({
baseUrl: '$APP_ROOT/app/tasklist',
urlArgs: 'bust=7.19.0'
urlArgs: 'bust=7.20.0'
});
requirejs(['$APP_ROOT/lib/deps.js'], function () {
requirejs(['$APP_ROOT/app/tasklist/camunda-tasklist-bootstrap.js'], function () {});
Expand Down

0 comments on commit f2cfdec

Please sign in to comment.