mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
help buttons on the dialog titlebar wherever possible, closes #205
This commit is contained in:
parent
991d5d3be3
commit
8d7a2546e1
BIN
src/public/images/icons/trash-16.png
Normal file
BIN
src/public/images/icons/trash-16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 323 B |
@ -575,3 +575,12 @@ table.promoted-attributes-in-tooltip td, table.promoted-attributes-in-tooltip th
|
||||
.algolia-autocomplete .aa-dropdown-menu .aa-suggestion.aa-cursor {
|
||||
background-color: #B2D7FF;
|
||||
}
|
||||
|
||||
.help-button {
|
||||
float: right;
|
||||
background: none;
|
||||
font-weight: 900;
|
||||
color: orange;
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
}
|
@ -32,8 +32,6 @@
|
||||
<code>@abc @def some search string</code> - same combination</li>
|
||||
</ul>
|
||||
|
||||
<button class="btn btn-sm" type="button" data-help-page="Search">
|
||||
<i class="glyphicon glyphicon-info-sign"></i> Complete help on search
|
||||
</button>
|
||||
<button class="btn btn-sm" type="button" data-help-page="Search">Complete help on search</button>
|
||||
</p>
|
||||
</div>
|
@ -2,8 +2,11 @@
|
||||
<div class="modal-dialog modal-lg" style="max-width: 1000px" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">Add note link</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<h5 class="modal-title mr-auto">Add note link</h5>
|
||||
|
||||
<button type="button" class="help-button" title="Help on links" data-help-page="Links">?</button>
|
||||
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close" style="margin-left: 0 !important;">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
@ -43,10 +46,6 @@
|
||||
</div>
|
||||
<div class="modal-footer" style="display: flex; justify-content: space-between;">
|
||||
<button type="submit" class="btn btn-primary">Add note link <kbd>enter</kbd></button>
|
||||
|
||||
<button class="btn btn-sm" type="button" data-help-page="Links">
|
||||
<i class="glyphicon glyphicon-info-sign"></i> Help
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -2,8 +2,11 @@
|
||||
<div class="modal-dialog modal-lg" style="max-width: 1000px" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">Note attributes</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<h5 class="modal-title mr-auto">Note attributes</h5>
|
||||
|
||||
<button class="help-button" type="button" data-help-page="Attributes" title="Help on Attributes">?</button>
|
||||
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close" style="margin-left: 0;">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
@ -70,8 +73,9 @@
|
||||
<td title="Inheritable relations are automatically inherited to the child notes">
|
||||
<input type="checkbox" value="1" data-bind="checked: isInheritable"/>
|
||||
|
||||
<span title="Delete" style="padding: 13px; cursor: pointer;"
|
||||
class="glyphicon glyphicon-trash"
|
||||
|
||||
|
||||
<span title="Delete" style="padding: 13px; cursor: pointer; background: url('/images/icons/trash-16.png') center no-repeat;"
|
||||
data-bind="click: $parent.deleteAttribute"></span>
|
||||
</td>
|
||||
</tr>
|
||||
@ -118,13 +122,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer" style="display: flex; justify-content: space-between;">
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-primary btn-large" style="width: 200px;" id="save-attributes-button" type="submit">
|
||||
Save changes <kbd>enter</kbd></button>
|
||||
|
||||
<button class="btn btn-sm" type="button" data-help-page="Attributes">
|
||||
<i class="glyphicon glyphicon-info-sign"></i> Help
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -2,8 +2,11 @@
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">Edit branch prefix</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<h5 class="modal-title mr-auto">Edit branch prefix</h5>
|
||||
|
||||
<button class="help-button" type="button" data-help-page="Tree-concepts#prefix" title="Help on Tree prefix">?</button>
|
||||
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close" style="margin-left: 0;">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
@ -13,12 +16,8 @@
|
||||
<input id="branch-prefix-input" style="width: 20em;"> - <span id="branch-prefix-note-title"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer" style="display: flex; justify-content: space-between;">
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-p`rimary btn-sm">Save</button>
|
||||
|
||||
<button class="btn btn-sm" type="button" data-help-page="Tree-concepts#prefix">
|
||||
<i class="glyphicon glyphicon-info-sign"></i> Help
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -2,8 +2,11 @@
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">Note revisions</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<h5 class="modal-title mr-auto">Note revisions</h5>
|
||||
|
||||
<button class="help-button" type="button" data-help-page="Note-revisions" title="Help on Note revisions">?</button>
|
||||
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close" style="margin-left: 0 !important;">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
@ -14,12 +17,6 @@
|
||||
<div id="note-revision-content-wrapper" style="flex-grow: 1; margin-left: 20px;">
|
||||
<div style="display: flex">
|
||||
<h3 id="note-revision-title" style="margin: 3px; flex-grow: 100;"></h3>
|
||||
|
||||
<div>
|
||||
<button class="btn btn-sm" type="button" data-help-page="Note-revisions">
|
||||
<i class="glyphicon glyphicon-info-sign"></i> Help
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="note-revision-content" style="height: 600px; width: 600px; overflow: auto;"></div>
|
||||
|
@ -90,9 +90,7 @@
|
||||
<div style="display: flex; justify-content: space-between;">
|
||||
<button class="btn btn-sm">Save</button>
|
||||
|
||||
<button class="btn btn-sm" type="button" data-help-page="Protected-notes">
|
||||
<i class="glyphicon glyphicon-info-sign"></i> Help
|
||||
</button>
|
||||
<button class="btn btn-sm" type="button" data-help-page="Protected-notes">Help</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@ -108,9 +106,7 @@
|
||||
<div style="display: flex; justify-content: space-between;">
|
||||
<button class="btn btn-sm">Save</button>
|
||||
|
||||
<button class="btn btn-sm" type="button" data-help-page="Note-revisions">
|
||||
<i class="glyphicon glyphicon-info-sign"></i> Help
|
||||
</button>
|
||||
<button class="btn btn-sm" type="button" data-help-page="Note-revisions">Help</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@ -136,9 +132,7 @@
|
||||
<div style="display: flex; justify-content: space-between;">
|
||||
<button class="btn btn-sm">Save</button>
|
||||
|
||||
<button class="btn btn-sm" type="button" data-help-page="Synchronization">
|
||||
<i class="glyphicon glyphicon-info-sign"></i> Help
|
||||
</button>
|
||||
<button class="btn btn-sm" type="button" data-help-page="Synchronization">Help</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
@ -2,8 +2,11 @@
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">Protected session</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<h5 class="modal-title mr-auto">Protected session</h5>
|
||||
|
||||
<button class="help-button" type="button" data-help-page="Protected-notes" title="Help on Protected notes">?</button>
|
||||
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close" style="margin-left: 0;">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
@ -15,11 +18,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-primary btn-sm">Start protected session <kbd>enter</kbd></button>
|
||||
|
||||
<button class="btn btn-sm" type="button" data-help-page="Protected-notes">
|
||||
<i class="glyphicon glyphicon-info-sign"></i> Help
|
||||
</button>
|
||||
<button class="btn btn-primary">Start protected session <kbd>enter</kbd></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -52,7 +52,7 @@
|
||||
<div id="left-pane" class="hide-toggle">
|
||||
<div id="global-buttons">
|
||||
<a id="create-top-level-note-button" title="Create new top level note" class="icon-action"
|
||||
style="background: url('/images/icons/file-plus-24.png')"></a>
|
||||
data-feather="file-plus"></a>
|
||||
|
||||
<a id="collapse-tree-button" title="Collapse note tree. Shortcut ALT+C" class="icon-action"
|
||||
style="background: url('/images/icons/list-24.png')"></a>
|
||||
@ -227,6 +227,8 @@
|
||||
|
||||
<script src="/libraries/autocomplete.jquery.min.js"></script>
|
||||
|
||||
<script src="/libraries/feather.min.js"></script>
|
||||
|
||||
<link href="/stylesheets/style.css" rel="stylesheet">
|
||||
|
||||
<script src="/javascripts/services/bootstrap.js" type="module"></script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user