mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
* Add Assignee to readonly mode * Style adoption and first steps to editable mode * Switch between mode coverage * Rebase fix * Because of design and requirement changes, revert unnecessary parts * Small refactoring before the introduction of CardViewDateItem * Fix AdfCardView tests * Editable Card date item * Do not allow edit on task details after the task is completed. * Update task details request * Login footer switch fix * Login customisable copyright text * Card text item (first sketches) * Small fix for supported card items' template * Dynamic component loading for card view items * Test and linting fixes * Updating Readme.md * Update Readme.md * Fix Readme.md errors * CardViewTextItemComponent tests * Rebase fix
77 lines
3.5 KiB
HTML
77 lines
3.5 KiB
HTML
<!--BPM, ECN AND CSRF TOGGLE-->
|
|
|
|
<div class="settings">
|
|
<p class="toggle">
|
|
<label for="switch1" class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
|
|
<input type="checkbox" id="switch1" [checked]="isECM" class="mdl-switch__input"
|
|
(click)="toggleECM()">
|
|
<span class="mdl-switch__label">Content Services</span>
|
|
</label>
|
|
</p>
|
|
<p class="toggle">
|
|
<label for="switch2" class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
|
|
<input type="checkbox" id="switch2" [checked]="isBPM" class="mdl-switch__input"
|
|
(click)="toggleBPM()">
|
|
<span class="mdl-switch__label">Process Services</span>
|
|
</label>
|
|
</p>
|
|
<p class="toggle">
|
|
<label for="switch3" class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
|
|
<input type="checkbox" id="switch3" class="mdl-switch__input" [checked]="!disableCsrf" (click)="toggleCSRF()">
|
|
<span class="mdl-switch__label">CSRF</span>
|
|
</label>
|
|
</p>
|
|
<p class="toggle">
|
|
<label for="switch4" class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
|
|
<input type="checkbox" id="switch4" class="mdl-switch__input" [checked]="showFooter" (click)="toggleFooter()">
|
|
<span class="mdl-switch__label">Login footer</span>
|
|
</label>
|
|
</p>
|
|
</div>
|
|
|
|
<!--SETTING BUTTON-->
|
|
<a class="mdl-navigation__link setting-button" data-automation-id="settings" href="" routerLink="/settings">
|
|
<button class="mdl-button mdl-js-button mdl-button--fab mdl-button--colored">
|
|
<i class="material-icons">settings</i>
|
|
</button>
|
|
</a>
|
|
|
|
<alfresco-login #alfrescologin
|
|
[providers]="providers"
|
|
[fieldsValidation]="customValidation"
|
|
[disableCsrf]="disableCsrf"
|
|
[showLoginActions]="showFooter"
|
|
[showRememberMe]="showFooter"
|
|
copyrightText="© 2016 Alfresco Software, Inc. All Rights Reserved. (customised text)"
|
|
(onSuccess)="onLogin($event)"
|
|
(onError)="onError($event)">
|
|
<div class="mobile-settings">
|
|
<p>
|
|
<label for="switch1-mobile" class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
|
|
<input type="checkbox" id="switch1-mobile" [checked]="isECM" class="mdl-switch__input"
|
|
(click)="toggleECM()">
|
|
<span class="mdl-switch__label">Content Services</span>
|
|
</label>
|
|
</p>
|
|
<p>
|
|
<label for="switch2-mobile" class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
|
|
<input type="checkbox" id="switch2-mobile" [checked]="isBPM" class="mdl-switch__input"
|
|
(click)="toggleBPM()">
|
|
<span class="mdl-switch__label">Process Services</span>
|
|
</label>
|
|
</p>
|
|
<p>
|
|
<label for="switch3-mobile" class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
|
|
<input type="checkbox" id="switch3-mobile" class="mdl-switch__input" [checked]="!disableCsrf" (click)="toggleCSRF()">
|
|
<span class="mdl-switch__label">CSRF</span>
|
|
</label>
|
|
</p>
|
|
<p>
|
|
<label for="switch4-mobile" class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
|
|
<input type="checkbox" id="switch4-mobile" class="mdl-switch__input" [checked]="showFooter" (click)="toggleFooter()">
|
|
<span class="mdl-switch__label">Login footer</span>
|
|
</label>
|
|
</p>
|
|
</div>
|
|
</alfresco-login>
|