mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 10:00:34 +00:00
28 lines
1.2 KiB
Plaintext
28 lines
1.2 KiB
Plaintext
|
title: $:/plugins/tiddlywiki/tiddlyweb/readonly
|
||
|
tags: [[$:/tags/Stylesheet]]
|
||
|
|
||
|
\define button-selector(title)
|
||
|
button.$title$, .tc-drop-down button.$title$, div.$title$
|
||
|
\end
|
||
|
|
||
|
\define hide-edit-controls()
|
||
|
<$reveal state="$:/status/IsReadOnly" type="match" text="yes" default="yes">
|
||
|
<<button-selector tc-btn-\%24\%3A\%2Fcore\%2Fui\%2FButtons\%2Fclone>>`,`
|
||
|
<<button-selector tc-btn-\%24\%3A\%2Fcore\%2Fui\%2FButtons\%2Fdelete>>`,`
|
||
|
<<button-selector tc-btn-\%24\%3A\%2Fcore\%2Fui\%2FButtons\%2Fedit>>`,`
|
||
|
<<button-selector tc-btn-\%24\%3A\%2Fcore\%2Fui\%2FButtons\%2Fnew-here>>`,`
|
||
|
<<button-selector tc-btn-\%24\%3A\%2Fcore\%2Fui\%2FButtons\%2Fnew-journal-here>>`,`
|
||
|
<<button-selector tc-btn-\%24\%3A\%2Fcore\%2Fui\%2FButtons\%2Fimport>>`,`
|
||
|
<<button-selector tc-btn-\%24\%3A\%2Fcore\%2Fui\%2FButtons\%2Fmanager>>`,`
|
||
|
<<button-selector tc-btn-\%24\%3A\%2Fcore\%2Fui\%2FButtons\%2Fnew-image>>`,`
|
||
|
<<button-selector tc-btn-\%24\%3A\%2Fcore\%2Fui\%2FButtons\%2Fnew-journal>>`,`
|
||
|
<<button-selector tc-btn-\%24\%3A\%2Fcore\%2Fui\%2FButtons\%2Fnew-tiddler>> `{
|
||
|
display: none;
|
||
|
}`
|
||
|
</$reveal>
|
||
|
\end
|
||
|
|
||
|
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock
|
||
|
|
||
|
<<hide-edit-controls>>
|