forked from community/device-mgt-core
Merge branch 'master' of https://github.com/wso2/carbon-device-mgt
commit
deb4195f7a
@ -0,0 +1,65 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||||
|
*
|
||||||
|
* WSO2 Inc. licenses this file to you under the Apache License,
|
||||||
|
* Version 2.0 (the "License"); you may not use this file except
|
||||||
|
* in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing,
|
||||||
|
* software distributed under the License is distributed on an
|
||||||
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
* KIND, either express or implied. See the License for the
|
||||||
|
* specific language governing permissions and limitations
|
||||||
|
* under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package org.wso2.carbon.device.mgt.common.operation.mgt;
|
||||||
|
|
||||||
|
public class Activity {
|
||||||
|
|
||||||
|
public enum Type {
|
||||||
|
CONFIG, MESSAGE, INFO, COMMAND, PROFILE, POLICY
|
||||||
|
}
|
||||||
|
|
||||||
|
private String activityId;
|
||||||
|
private String code;
|
||||||
|
private Type type;
|
||||||
|
private String createdTimeStamp;
|
||||||
|
|
||||||
|
public String getActivityId() {
|
||||||
|
return activityId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setActivityId(String activityId) {
|
||||||
|
this.activityId = activityId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCode() {
|
||||||
|
return code;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCode(String code) {
|
||||||
|
this.code = code;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Type getType() {
|
||||||
|
return type;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setType(Type type) {
|
||||||
|
this.type = type;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCreatedTimeStamp() {
|
||||||
|
return createdTimeStamp;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCreatedTimeStamp(String createdTimeStamp) {
|
||||||
|
this.createdTimeStamp = createdTimeStamp;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,68 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||||
|
*
|
||||||
|
* WSO2 Inc. licenses this file to you under the Apache License,
|
||||||
|
* Version 2.0 (the "License"); you may not use this file except
|
||||||
|
* in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing,
|
||||||
|
* software distributed under the License is distributed on an
|
||||||
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
* KIND, either express or implied. See the License for the
|
||||||
|
* specific language governing permissions and limitations
|
||||||
|
* under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package org.wso2.carbon.device.mgt.common.operation.mgt;
|
||||||
|
|
||||||
|
import org.wso2.carbon.device.mgt.common.DeviceIdentifier;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public class ActivityStatus {
|
||||||
|
|
||||||
|
public enum Status {
|
||||||
|
IN_PROGRESS, PENDING, COMPLETED, ERROR, REPEATED
|
||||||
|
}
|
||||||
|
private DeviceIdentifier deviceIdentifier;
|
||||||
|
private Status status;
|
||||||
|
private List<OperationResponse> responses;
|
||||||
|
private String updatedTimestamp;
|
||||||
|
|
||||||
|
public DeviceIdentifier getDeviceIdentifier() {
|
||||||
|
return deviceIdentifier;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDeviceIdentifier(DeviceIdentifier deviceIdentifier) {
|
||||||
|
this.deviceIdentifier = deviceIdentifier;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Status getStatus() {
|
||||||
|
return status;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setStatus(Status status) {
|
||||||
|
this.status = status;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<OperationResponse> getResponses() {
|
||||||
|
return responses;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setResponses(List<OperationResponse> responses) {
|
||||||
|
this.responses = responses;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUpdatedTimestamp() {
|
||||||
|
return updatedTimestamp;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUpdatedTimestamp(String updatedTimestamp) {
|
||||||
|
this.updatedTimestamp = updatedTimestamp;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,3 +1,20 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||||
|
|
||||||
|
WSO2 Inc. licenses this file to you under the Apache License,
|
||||||
|
Version 2.0 (the "License"); you may not use this file except
|
||||||
|
in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing,
|
||||||
|
software distributed under the License is distributed on an
|
||||||
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, either express or implied. See the License for the
|
||||||
|
specific language governing permissions and limitations
|
||||||
|
under the License.
|
||||||
|
}}
|
||||||
{{#zone "bottomJs"}}
|
{{#zone "bottomJs"}}
|
||||||
{{js "js/operation-mod.js"}}
|
{{js "js/operation-mod.js"}}
|
||||||
{{/zone}}
|
{{/zone}}
|
@ -1,3 +1,20 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||||
|
|
||||||
|
WSO2 Inc. licenses this file to you under the Apache License,
|
||||||
|
Version 2.0 (the "License"); you may not use this file except
|
||||||
|
in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing,
|
||||||
|
software distributed under the License is distributed on an
|
||||||
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, either express or implied. See the License for the
|
||||||
|
specific language governing permissions and limitations
|
||||||
|
under the License.
|
||||||
|
}}
|
||||||
{{#zone "bottomJs"}}
|
{{#zone "bottomJs"}}
|
||||||
{{js "js/tinymce.min.js" combine=false}}
|
{{js "js/tinymce.min.js" combine=false}}
|
||||||
{{/zone}}
|
{{/zone}}
|
@ -1,41 +1,61 @@
|
|||||||
<span id="permission" data-permission="{{permissions}}"></span>
|
{{!
|
||||||
<div class="row">
|
Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||||
<div class="col-md-12">
|
|
||||||
<!-- content -->
|
WSO2 Inc. licenses this file to you under the Apache License,
|
||||||
<div id="config-save-form" class="container col-centered wr-content">
|
Version 2.0 (the "License"); you may not use this file except
|
||||||
<br>
|
in compliance with the License.
|
||||||
Device Notifications
|
You may obtain a copy of the License at
|
||||||
<br>
|
|
||||||
<br>
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
<div class="wr-advance-operations">
|
|
||||||
<div class="row no-gutter">
|
Unless required by applicable law or agreed to in writing,
|
||||||
<div class="wr-hidden-operations-nav col-lg-4">
|
software distributed under the License is distributed on an
|
||||||
<a id="unReadNotifications" href="javascript:void(0)" onclick="showAdvanceOperation('unread', this)" class="selected">
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, either express or implied. See the License for the
|
||||||
|
specific language governing permissions and limitations
|
||||||
|
under the License.
|
||||||
|
}}
|
||||||
|
<span id="permission" data-permission="{{permissions}}"></span>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<!-- content -->
|
||||||
|
<div id="config-save-form" class="container col-centered wr-content">
|
||||||
|
<br>
|
||||||
|
Device Notifications
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<div class="wr-advance-operations">
|
||||||
|
<div class="row no-gutter">
|
||||||
|
<div class="wr-hidden-operations-nav col-lg-4">
|
||||||
|
<a id="unReadNotifications" href="javascript:void(0)"
|
||||||
|
onclick="showAdvanceOperation('unread', this)" class="selected">
|
||||||
<span class="wr-hidden-operations-icon fw-stack">
|
<span class="wr-hidden-operations-icon fw-stack">
|
||||||
<i class="fw fw-mail fw-stack-2x"></i>
|
<i class="fw fw-mail fw-stack-2x"></i>
|
||||||
</span>
|
</span>
|
||||||
Unread
|
Unread
|
||||||
</a>
|
</a>
|
||||||
<a id="allNotifications" href="javascript:void(0)" onclick="showAdvanceOperation('all', this)">
|
<a id="allNotifications" href="javascript:void(0)" onclick="showAdvanceOperation('all', this)">
|
||||||
<span class="wr-hidden-operations-icon fw-stack">
|
<span class="wr-hidden-operations-icon fw-stack">
|
||||||
<i class="fw fw-forum fw-stack-2x"></i>
|
<i class="fw fw-forum fw-stack-2x"></i>
|
||||||
</span>
|
</span>
|
||||||
All Notifications
|
All Notifications
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wr-hidden-operations-content col-lg-8" id="ast-container">
|
<div class="wr-hidden-operations-content col-lg-8" id="ast-container">
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
No unread messages
|
No unread messages
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- /content -->
|
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /content -->
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
{{#zone "bottomJs"}}
|
{{#zone "bottomJs"}}
|
||||||
<script id="notification-listing" data-current-user="{{currentUser.username}}" data-image-resource="{{self.publicURL}}/images/" src="{{self.publicURL}}/templates/notification-listing.hbs" type="text/x-handlebars-template" ></script>
|
<script id="notification-listing" data-current-user="{{currentUser.username}}"
|
||||||
|
data-image-resource="{{self.publicURL}}/images/" src="{{self.publicURL}}/templates/notification-listing.hbs"
|
||||||
|
type="text/x-handlebars-template"></script>
|
||||||
{{js "js/notification-listing.js"}}
|
{{js "js/notification-listing.js"}}
|
||||||
{{/zone}}
|
{{/zone}}
|
@ -1,73 +1,92 @@
|
|||||||
<!-- content/body -->
|
{{!
|
||||||
<div class="row">
|
Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||||
<div class="col-md-12">
|
|
||||||
<!-- content -->
|
WSO2 Inc. licenses this file to you under the Apache License,
|
||||||
<div id="role-create-form" class="container col-centered wr-content">
|
Version 2.0 (the "License"); you may not use this file except
|
||||||
<div class="wr-form">
|
in compliance with the License.
|
||||||
<p class="page-sub-title">Change Role permissions</p>
|
You may obtain a copy of the License at
|
||||||
<p>Please note that * sign represents required fields of data.</p>
|
|
||||||
<div class="wr-steps hidden" id="role_wizard_header">
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
<hr/>
|
|
||||||
<div class="col-md-4 col-xs-6">
|
Unless required by applicable law or agreed to in writing,
|
||||||
<div class="itm-wiz" data-step="policy-platform">
|
software distributed under the License is distributed on an
|
||||||
<div class="wiz-no">1</div>
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
<div class="wiz-lbl hidden-xs"><span>Add a role</span></div>
|
KIND, either express or implied. See the License for the
|
||||||
</div>
|
specific language governing permissions and limitations
|
||||||
<br class="c-both"/>
|
under the License.
|
||||||
|
}}
|
||||||
|
<!-- content/body -->
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<!-- content -->
|
||||||
|
<div id="role-create-form" class="container col-centered wr-content">
|
||||||
|
<div class="wr-form">
|
||||||
|
<p class="page-sub-title">Change Role permissions</p>
|
||||||
|
<p>Please note that * sign represents required fields of data.</p>
|
||||||
|
<div class="wr-steps hidden" id="role_wizard_header">
|
||||||
|
<hr />
|
||||||
|
<div class="col-md-4 col-xs-6">
|
||||||
|
<div class="itm-wiz" data-step="policy-platform">
|
||||||
|
<div class="wiz-no">1</div>
|
||||||
|
<div class="wiz-lbl hidden-xs"><span>Add a role</span></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4 col-xs-6">
|
<br class="c-both" />
|
||||||
<div class="itm-wiz itm-wiz-current" data-step="policy-profile">
|
</div>
|
||||||
<div class="wiz-no">2</div>
|
<div class="col-md-4 col-xs-6">
|
||||||
<div class="wiz-lbl hidden-xs"><span>Assign permissions</span></div>
|
<div class="itm-wiz itm-wiz-current" data-step="policy-profile">
|
||||||
</div>
|
<div class="wiz-no">2</div>
|
||||||
<br class="c-both"/>
|
<div class="wiz-lbl hidden-xs"><span>Assign permissions</span></div>
|
||||||
</div>
|
</div>
|
||||||
<br/><br/>
|
<br class="c-both" />
|
||||||
</div>
|
</div>
|
||||||
<hr/>
|
<br /><br />
|
||||||
<div class="row">
|
</div>
|
||||||
<div class="col-lg-8">
|
<hr />
|
||||||
<div id="role-create-error-msg" class="alert alert-danger hidden" role="alert">
|
<div class="row">
|
||||||
<i class="icon fw fw-error"></i><span></span>
|
<div class="col-lg-8">
|
||||||
</div>
|
<div id="role-create-error-msg" class="alert alert-danger hidden" role="alert">
|
||||||
<div id="permissionList" class="well" data-currentrole="{{roleName}}">
|
<i class="icon fw fw-error"></i><span></span>
|
||||||
<div id="loading-content" class="col-centered">
|
</div>
|
||||||
<i class="fw fw-settings fw-spin fw-2x"></i>
|
<div id="permissionList" class="well" data-currentrole="{{roleName}}">
|
||||||
Loading permissions list . . .
|
<div id="loading-content" class="col-centered">
|
||||||
<br>
|
<i class="fw fw-settings fw-spin fw-2x"></i>
|
||||||
</div>
|
Loading permissions list . . .
|
||||||
|
<br>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
|
||||||
<button id="update-permissions-btn" class="wr-btn">Update Role Permissions</button>
|
|
||||||
</div>
|
</div>
|
||||||
|
<br>
|
||||||
|
<button id="update-permissions-btn" class="wr-btn">Update Role Permissions</button>
|
||||||
</div>
|
</div>
|
||||||
<div id="role-created-msg" class="container col-centered wr-content hidden">
|
</div>
|
||||||
<div class="wr-form">
|
<div id="role-created-msg" class="container col-centered wr-content hidden">
|
||||||
<p class="page-sub-title">Permissions were assigned to the role successfully.</p>
|
<div class="wr-form">
|
||||||
<br>Please click <b>"Add Another Role"</b>, if you wish to add another role or click
|
<p class="page-sub-title">Permissions were assigned to the role successfully.</p>
|
||||||
<b>"View Role List"</b> to complete the process and go back to the role list.
|
<br>Please click <b>"Add Another Role"</b>, if you wish to add another role or click
|
||||||
<hr />
|
<b>"View Role List"</b> to complete the process and go back to the role list.
|
||||||
<button class="wr-btn" onclick="window.location.href='{{@app.context}}/roles'">
|
<hr />
|
||||||
View Role List
|
<button class="wr-btn" onclick="window.location.href='{{@app.context}}/roles'">
|
||||||
</button>
|
View Role List
|
||||||
<a href="{{@app.context}}/roles/add-role" class="cu-btn-inner">
|
</button>
|
||||||
|
<a href="{{@app.context}}/roles/add-role" class="cu-btn-inner">
|
||||||
<span class="fw-stack">
|
<span class="fw-stack">
|
||||||
<i class="fw fw-ring fw-stack-2x"></i>
|
<i class="fw fw-ring fw-stack-2x"></i>
|
||||||
<i class="fw fw-add fw-stack-1x"></i>
|
<i class="fw fw-add fw-stack-1x"></i>
|
||||||
</span>
|
</span>
|
||||||
Add Another Role
|
Add Another Role
|
||||||
</a>
|
</a>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<!-- /content -->
|
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /content -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /content/body -->
|
</div>
|
||||||
|
<!-- /content/body -->
|
||||||
{{#zone "bottomJs"}}
|
{{#zone "bottomJs"}}
|
||||||
<script id="list-partial" src="{{@unit.publicUri}}/templates/list-partial.hbs" type="text/x-handlebars-template" ></script>
|
<script id="list-partial" src="{{@unit.publicUri}}/templates/list-partial.hbs"
|
||||||
<script id="tree-template" src="{{@unit.publicUri}}/templates/tree-template.hbs" type="text/x-handlebars-template" ></script>
|
type="text/x-handlebars-template"></script>
|
||||||
|
<script id="tree-template" src="{{@unit.publicUri}}/templates/tree-template.hbs"
|
||||||
|
type="text/x-handlebars-template"></script>
|
||||||
{{js "js/bottomJs.js"}}
|
{{js "js/bottomJs.js"}}
|
||||||
{{/zone}}
|
{{/zone}}
|
||||||
|
|
||||||
|
@ -1,68 +1,89 @@
|
|||||||
<!-- content/body -->
|
{{!
|
||||||
<div class="row">
|
Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||||
<div class="col-md-12">
|
|
||||||
<!-- content -->
|
WSO2 Inc. licenses this file to you under the Apache License,
|
||||||
<div id="role-create-form" class="container col-centered wr-content">
|
Version 2.0 (the "License"); you may not use this file except
|
||||||
<div class="wr-form">
|
in compliance with the License.
|
||||||
<p class="page-sub-title">Edit Role</p>
|
You may obtain a copy of the License at
|
||||||
<p>Please note that * sign represents required fields of data.</p>
|
|
||||||
<hr />
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-8">
|
Unless required by applicable law or agreed to in writing,
|
||||||
<div id="role-create-error-msg" class="alert alert-danger hidden" role="alert">
|
software distributed under the License is distributed on an
|
||||||
<i class="icon fw fw-error"></i><span></span>
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
</div>
|
KIND, either express or implied. See the License for the
|
||||||
<label class="wr-input-label">Domain *</label>
|
specific language governing permissions and limitations
|
||||||
<div class="wr-input-control">
|
under the License.
|
||||||
<select id="domain" class="form-control select">
|
}}
|
||||||
<option>PRIMARY</option>
|
<!-- content/body -->
|
||||||
{{#each userStores}}
|
<div class="row">
|
||||||
<option>{{this}}</option>
|
<div class="col-md-12">
|
||||||
{{/each}}
|
<!-- content -->
|
||||||
</select>
|
<div id="role-create-form" class="container col-centered wr-content">
|
||||||
</div>
|
<div class="wr-form">
|
||||||
<label class="wr-input-label">
|
<p class="page-sub-title">Edit Role</p>
|
||||||
Role Name *
|
<p>Please note that * sign represents required fields of data.</p>
|
||||||
</label>
|
<hr />
|
||||||
<br>
|
<div class="row">
|
||||||
<label class="wr-input-label" id="roleNameValidationText">
|
<div class="col-lg-8">
|
||||||
( {{roleNameHelpText}} )
|
<div id="role-create-error-msg" class="alert alert-danger hidden" role="alert">
|
||||||
</label>
|
<i class="icon fw fw-error"></i><span></span>
|
||||||
<div id="roleNameField" class="form-group wr-input-control">
|
</div>
|
||||||
<input type="text" id="rolename" data-regex="{{roleNameJSRegEx}}" data-errormsg="{{roleNameRegExViolationErrorMsg}}" class="form-control" data-currentrole="{{role.roleName}}"
|
<label class="wr-input-label">Domain *</label>
|
||||||
value="{{role.roleName}}"/>
|
<div class="wr-input-control">
|
||||||
<span class=" rolenameError hidden glyphicon glyphicon-remove form-control-feedback"></span>
|
<select id="domain" class="form-control select">
|
||||||
<label class="error rolenameEmpty hidden" for="summary">Role name is required & Should be in minimum 3 characters long and do not include any whitespaces. </label>
|
<option>PRIMARY</option>
|
||||||
</div>
|
{{#each userStores}}
|
||||||
|
<option>{{this}}</option>
|
||||||
|
{{/each}}
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<label class="wr-input-label">
|
||||||
|
Role Name *
|
||||||
|
</label>
|
||||||
|
<br>
|
||||||
|
<label class="wr-input-label" id="roleNameValidationText">
|
||||||
|
( {{roleNameHelpText}} )
|
||||||
|
</label>
|
||||||
|
<div id="roleNameField" class="form-group wr-input-control">
|
||||||
|
<input type="text" id="rolename" data-regex="{{roleNameJSRegEx}}"
|
||||||
|
data-errormsg="{{roleNameRegExViolationErrorMsg}}" class="form-control"
|
||||||
|
data-currentrole="{{role.roleName}}"
|
||||||
|
value="{{role.roleName}}" />
|
||||||
|
<span class=" rolenameError hidden glyphicon glyphicon-remove form-control-feedback"></span>
|
||||||
|
<label class="error rolenameEmpty hidden" for="summary">Role name is required & Should be in
|
||||||
|
minimum 3 characters long and do not
|
||||||
|
include any whitespaces. </label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
|
||||||
<button id="add-role-btn" class="wr-btn">Update Role</button>
|
|
||||||
</div>
|
</div>
|
||||||
|
<br>
|
||||||
|
<button id="add-role-btn" class="wr-btn">Update Role</button>
|
||||||
</div>
|
</div>
|
||||||
<div id="role-created-msg" class="container col-centered wr-content hidden">
|
</div>
|
||||||
<div class="wr-form">
|
<div id="role-created-msg" class="container col-centered wr-content hidden">
|
||||||
<p class="page-sub-title">Role was updated successfully.</p>
|
<div class="wr-form">
|
||||||
<br>Please click <b>"View Updated Role"</b>, if you wish to view the updated role or click
|
<p class="page-sub-title">Role was updated successfully.</p>
|
||||||
<b>"View Role List"</b> to complete the process and go back to the role list.
|
<br>Please click <b>"View Updated Role"</b>, if you wish to view the updated role or click
|
||||||
<hr />
|
<b>"View Role List"</b> to complete the process and go back to the role list.
|
||||||
<button class="wr-btn" onclick="window.location.href='{{@app.context}}/roles'">
|
<hr />
|
||||||
View Role List
|
<button class="wr-btn" onclick="window.location.href='{{@app.context}}/roles'">
|
||||||
</button>
|
View Role List
|
||||||
<a href="{{@app.context}}/roles/edit-role/{{role.roleName}}"
|
</button>
|
||||||
class="cu-btn-inner">
|
<a href="{{@app.context}}/roles/edit-role/{{role.roleName}}"
|
||||||
|
class="cu-btn-inner">
|
||||||
<span class="fw-stack">
|
<span class="fw-stack">
|
||||||
<i class="fw fw-ring fw-stack-2x"></i>
|
<i class="fw fw-ring fw-stack-2x"></i>
|
||||||
<i class="fw fw-add fw-stack-1x"></i>
|
<i class="fw fw-add fw-stack-1x"></i>
|
||||||
</span>
|
</span>
|
||||||
View Updated Role
|
View Updated Role
|
||||||
</a>
|
</a>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<!-- /content -->
|
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /content -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /content/body -->
|
</div>
|
||||||
|
<!-- /content/body -->
|
||||||
{{#zone "bottomJs"}}
|
{{#zone "bottomJs"}}
|
||||||
{{js "js/bottomJs.js"}}
|
{{js "js/bottomJs.js"}}
|
||||||
{{/zone}}
|
{{/zone}}
|
||||||
|
@ -1 +1,18 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||||
|
|
||||||
|
WSO2 Inc. licenses this file to you under the Apache License,
|
||||||
|
Version 2.0 (the "License"); you may not use this file except
|
||||||
|
in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing,
|
||||||
|
software distributed under the License is distributed on an
|
||||||
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, either express or implied. See the License for the
|
||||||
|
specific language governing permissions and limitations
|
||||||
|
under the License.
|
||||||
|
}}
|
||||||
{{#zone "productName"}}CDMF BASE APP{{/zone}}
|
{{#zone "productName"}}CDMF BASE APP{{/zone}}
|
@ -1 +1,18 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||||
|
|
||||||
|
WSO2 Inc. licenses this file to you under the Apache License,
|
||||||
|
Version 2.0 (the "License"); you may not use this file except
|
||||||
|
in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing,
|
||||||
|
software distributed under the License is distributed on an
|
||||||
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, either express or implied. See the License for the
|
||||||
|
specific language governing permissions and limitations
|
||||||
|
under the License.
|
||||||
|
}}
|
||||||
{{#zone "title"}}{{@unit.params.pageTitle}} | {{@app.conf.appName}}{{/zone}}
|
{{#zone "title"}}{{@unit.params.pageTitle}} | {{@app.conf.appName}}{{/zone}}
|
@ -1 +1,18 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||||
|
|
||||||
|
WSO2 Inc. licenses this file to you under the Apache License,
|
||||||
|
Version 2.0 (the "License"); you may not use this file except
|
||||||
|
in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing,
|
||||||
|
software distributed under the License is distributed on an
|
||||||
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, either express or implied. See the License for the
|
||||||
|
specific language governing permissions and limitations
|
||||||
|
under the License.
|
||||||
|
}}
|
||||||
{{! This template won't be rendered. So nothing is here }}
|
{{! This template won't be rendered. So nothing is here }}
|
@ -1,3 +1,20 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||||
|
|
||||||
|
WSO2 Inc. licenses this file to you under the Apache License,
|
||||||
|
Version 2.0 (the "License"); you may not use this file except
|
||||||
|
in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing,
|
||||||
|
software distributed under the License is distributed on an
|
||||||
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, either express or implied. See the License for the
|
||||||
|
specific language governing permissions and limitations
|
||||||
|
under the License.
|
||||||
|
}}
|
||||||
{{#zone "favicon"}}
|
{{#zone "favicon"}}
|
||||||
<link rel="shortcut icon" href="{{@unit.publicUri}}/img/favicon.png" />
|
<link rel="shortcut icon" href="{{@unit.publicUri}}/img/favicon.png" />
|
||||||
{{/zone}}
|
{{/zone}}
|
@ -1,3 +1,20 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||||
|
|
||||||
|
WSO2 Inc. licenses this file to you under the Apache License,
|
||||||
|
Version 2.0 (the "License"); you may not use this file except
|
||||||
|
in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing,
|
||||||
|
software distributed under the License is distributed on an
|
||||||
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, either express or implied. See the License for the
|
||||||
|
specific language governing permissions and limitations
|
||||||
|
under the License.
|
||||||
|
}}
|
||||||
{{#zone "bottomJs"}}
|
{{#zone "bottomJs"}}
|
||||||
<!-- Jquery Resize JS -->
|
<!-- Jquery Resize JS -->
|
||||||
{{~js "jquery-resize_0.5.3/jquery.resize.js"}}
|
{{~js "jquery-resize_0.5.3/jquery.resize.js"}}
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||||
|
|
||||||
|
WSO2 Inc. licenses this file to you under the Apache License,
|
||||||
|
Version 2.0 (the "License"); you may not use this file except
|
||||||
|
in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing,
|
||||||
|
software distributed under the License is distributed on an
|
||||||
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, either express or implied. See the License for the
|
||||||
|
specific language governing permissions and limitations
|
||||||
|
under the License.
|
||||||
|
}}
|
||||||
{{#zone "navbarCollapsableLeftItems"}}
|
{{#zone "navbarCollapsableLeftItems"}}
|
||||||
{{defineZone "navbarActions"}}
|
{{defineZone "navbarActions"}}
|
||||||
{{/zone}}
|
{{/zone}}
|
Loading…
Reference in new issue