-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make /manage-grouping headings consistent (#949)
- Loading branch information
1 parent
188bfd4
commit 46c394a
Showing
9 changed files
with
47 additions
and
34 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
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
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
47 changes: 25 additions & 22 deletions
47
src/main/resources/templates/fragments/sync-destinations.html
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 |
---|---|---|
@@ -1,34 +1,37 @@ | ||
<th:block th:fragment="sync-destinations"> | ||
|
||
<h2 class="font-weight-bold text-dark pt-4">Synchronization Destinations</h2> | ||
<div th:text="#{screen.message.common.preferences.info}"></div> | ||
<div id="sync-destinations-display" class="tab-pane fade show active"> | ||
<div class="row"> | ||
<div class="col-md-8"> | ||
<h1 class="font-weight-bold text-dark pt-2 mb-0 d-inline-block">Synchronization Destinations</h1> | ||
</div> | ||
</div> | ||
<br/> | ||
<div th:text="#{screen.message.common.preferences.info}"></div> | ||
|
||
<div class="row pt-4 pb-5"> | ||
<div class="col-md-6 col-12"> | ||
<h3>Sync Destinations</h3> | ||
<div> | ||
<div class="form-check" ng-repeat="syncDest in syncDestArray"> | ||
<div ng-if="!syncDest.hidden"> | ||
<input class="form-check-input" type="checkbox" id="syncDest.isSynced-{{syncDest.name}}" | ||
ng-model="syncDest.synced" | ||
ng-change="displaySyncDestModal(syncDest.name)" | ||
ng-keydown="clickWithEnter($event)"/> | ||
<label class="form-check-label" for="syncDest.isSynced-{{syncDest.name}}"> | ||
{{ syncDest.description }} | ||
</label> | ||
<span class="fa fa-question-circle" role="button" | ||
title="This option syncs destinations too {{ syncDest.description }}" | ||
tooltip="{{syncDest.tooltip}}" data-placement="right" | ||
tabindex="0" | ||
th:attr="ng-click='displayDynamicModal(\'Sync Destinations Information\', ' + | ||
'syncDest.tooltip)', | ||
ng-keypress='$event.keyCode === 13 ? displayDynamicModal(\'Sync Destinations ' + | ||
'Information\', syncDest.tooltip) : null'"> | ||
</span> | ||
</div> | ||
<div> | ||
<div class="form-check" ng-repeat="syncDest in syncDestArray"> | ||
<div ng-if="!syncDest.hidden"> | ||
<input class="form-check-input" type="checkbox" id="syncDest.isSynced-{{syncDest.name}}" | ||
ng-model="syncDest.synced" | ||
ng-change="displaySyncDestModal(syncDest.name)" | ||
ng-keydown="clickWithEnter($event)"/> | ||
<label class="form-check-label" for="syncDest.isSynced-{{syncDest.name}}"> | ||
{{ syncDest.description }} | ||
</label> | ||
<span class="fa fa-question-circle" role="button" | ||
title="This option syncs destinations too {{ syncDest.description }}" | ||
tooltip="{{syncDest.tooltip}}" data-placement="right" | ||
tabindex="0" | ||
th:attr="ng-click='displayDynamicModal(\'Sync Destinations Information\', ' + 'syncDest.tooltip)', ng-keypress='$event.keyCode === 13 ? displayDynamicModal(\'Sync Destinations ' + 'Information\', syncDest.tooltip) : null'"> | ||
</span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</th:block> |