forked from davidjgonzalez/acs-aem-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP This closes Adobe-Consulting-Services#224
- Loading branch information
Showing
4 changed files
with
176 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
...ain/content/jcr_root/apps/acs-tools/components/vlt-rcp/includes/set-credentials-modal.jsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<%-- | ||
~ #%L | ||
~ ACS AEM Tools Bundle | ||
~ %% | ||
~ Copyright (C) 2020 Konrad Windszus, Netcentric | ||
~ %% | ||
~ Licensed 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. | ||
~ #L% | ||
--%> | ||
<div id="set-credentials-modal" class="coral-Modal"> | ||
|
||
<div class="coral-Modal-header"> | ||
<i class="coral-Modal-typeIcon coral-Icon coral-Icon--sizeS"></i> | ||
<h2 class="coral-Modal-title coral-Heading coral-Heading--2">Set credentials</h2> | ||
<button type="button" class="coral-MinimalButton coral-Modal-closeButton" title="Close" data-dismiss="modal"> | ||
<i class="coral-Icon coral-Icon--sizeXS coral-Icon--close coral-MinimalButton-icon "></i> | ||
</button> | ||
</div> | ||
|
||
<div class="coral-Modal-body"> | ||
|
||
<form name="myForm" class="coral-Form coral-Form--aligned" autocomplete="off" novalidate> | ||
<section class="create-new-task"> | ||
|
||
<!-- Credential Fields --> | ||
<div class="coral-Form-fieldwrapper"> | ||
<label class="coral-Form-fieldlabel">Source User Name</label> | ||
<input class="coral-Form-field coral-Textfield" type="text" | ||
autocomplete="username" | ||
ng-model="task_src_username" | ||
name="username"/> | ||
</div> | ||
|
||
<div class="coral-Form-fieldwrapper"> | ||
<label class="coral-Form-fieldlabel">Source Password</label> | ||
<input class="coral-Form-field coral-Textfield" ng-attr-type="{{showpassword ? 'text' : 'password'}}" | ||
ng-model="task_src_password" | ||
name="passsword"/> | ||
</div> | ||
<label class="coral-Form-fieldlabel">Show Password</label> | ||
<span class="coral-Form-field coral-Switch"> | ||
<input class="coral-Switch-input" type="checkbox" | ||
name="showpassword" | ||
ng-model="showpassword"><span class="coral-Switch-offLabel">No</span><span class="coral-Switch-onLabel">Yes</span> | ||
</span> | ||
<!-- // Credential Fields --> | ||
|
||
</section> | ||
</form> | ||
</div> | ||
|
||
<div class="coral-Modal-footer"> | ||
<!-- // TODO: how to access task, somehow inject into controller --> | ||
<button class="coral-Button coral-Button--primary" data-dismiss="modal" ng-click="set_credentials(task)">Set credentials</button> | ||
<button class="coral-Button" data-dismiss="modal" ng-click="reset();">Cancel</button> | ||
</div> | ||
|
||
</div> |