trilium/src/views/title.ejs

70 lines
3.8 KiB
Text
Raw Normal View History

<div class="note-title-row">
2019-05-01 15:52:45 +08:00
<div style="display: flex; align-items: center;">
<div class="dropdown hide-toggle">
2019-05-02 05:06:18 +08:00
<button class="btn btn-sm dropdown-toggle note-path-list-button" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="note-path-count">1 path</span>
2019-05-01 15:52:45 +08:00
<span class="caret"></span>
</button>
2019-05-02 05:06:18 +08:00
<ul class="note-path-list dropdown-menu" aria-labelledby="note-path-list-button">
2019-05-01 15:52:45 +08:00
</ul>
</div>
2019-05-02 05:06:18 +08:00
<input autocomplete="off" value="" class="note-title" tabindex="1">
2019-05-01 15:52:45 +08:00
2019-05-02 05:06:18 +08:00
<span class="saved-indicator jam jam-check" title="All changes have been saved"></span>
2019-05-01 15:52:45 +08:00
<div class="hide-toggle" style="display: flex; align-items: center;">
2019-05-02 05:06:18 +08:00
<button class="btn btn-sm icon-button jam jam-play render-button"
2019-05-01 15:52:45 +08:00
style="display: none; margin-right: 10px;"
2019-05-02 05:06:18 +08:00
title="Render"></button>
2019-05-01 15:52:45 +08:00
2019-05-02 05:06:18 +08:00
<button class="btn btn-sm icon-button jam jam-play execute-script-button"
2019-05-01 15:52:45 +08:00
style="display: none; margin-right: 10px;"
2019-05-02 05:06:18 +08:00
title="Execute (Ctrl+Enter)"></button>
2019-05-01 15:52:45 +08:00
<div class="btn-group btn-group-xs">
<button type="button"
2019-05-02 05:06:18 +08:00
class="btn btn-sm icon-button jam jam-shield-check protect-button"
2019-05-01 15:52:45 +08:00
title="Protected note can be viewed and edited only after entering password">
</button>
<button type="button"
2019-05-02 05:06:18 +08:00
class="btn btn-sm icon-button jam jam-shield-close unprotect-button"
2019-05-01 15:52:45 +08:00
title="Not protected note can be viewed without entering password">
</button>
</div>
&nbsp; &nbsp;
2019-08-26 05:09:22 +08:00
<div style="display: flex;">
2019-05-02 05:06:18 +08:00
<div class="dropdown note-type">
<button type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="btn btn-sm dropdown-toggle note-type-button">
Type: <span class="note-type-desc"></span>
2019-05-01 15:52:45 +08:00
<span class="caret"></span>
</button>
<div class="note-type-dropdown dropdown-menu dropdown-menu-right"></div>
2019-05-01 15:52:45 +08:00
</div>
2019-05-02 05:06:18 +08:00
<div class="dropdown note-actions">
2019-05-01 15:52:45 +08:00
<button type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="btn btn-sm dropdown-toggle">
Note actions
<span class="caret"></span>
</button>
<div class="dropdown-menu dropdown-menu-right">
2019-05-02 05:06:18 +08:00
<a class="dropdown-item show-note-revisions-button" data-bind="css: { disabled: type() == 'file' || type() == 'image' }">Revisions</a>
2019-05-01 15:52:45 +08:00
<a class="dropdown-item show-attributes-button"><kbd>Alt+A</kbd> Attributes</a>
2019-06-02 21:35:57 +08:00
<a class="dropdown-item show-link-map-button">Link map</a>
2019-05-02 05:06:18 +08:00
<a class="dropdown-item show-source-button" data-bind="css: { disabled: type() != 'text' && type() != 'code' && type() != 'relation-map' && type() != 'search' }">Note source</a>
<a class="dropdown-item import-files-button">Import files</a>
<a class="dropdown-item export-note-button" data-bind="css: { disabled: type() != 'text' }">Export note</a>
2019-06-30 04:57:47 +08:00
<a class="dropdown-item print-note-button">Print note</a>
2019-05-02 05:06:18 +08:00
<a class="dropdown-item show-note-info-button">Note info</a>
2019-05-01 15:52:45 +08:00
</div>
</div>
2019-07-21 16:17:08 +08:00
<button class="btn btn-sm icon-button jam jam-chevron-left show-sidebar-button" title="Show sidebar"></button>
2019-05-01 15:52:45 +08:00
</div>
</div>
</div>
</div>