mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Add tag manager button
This commit is contained in:
parent
35fcdd270e
commit
4b05608ad5
9
core/images/tag-button.tid
Normal file
9
core/images/tag-button.tid
Normal file
@ -0,0 +1,9 @@
|
||||
title: $:/core/images/tag-button
|
||||
tags: $:/tags/Image
|
||||
|
||||
<svg class="tw-image-tag-button tw-image-button" width="22pt" height="22pt" viewBox="0 0 128 128">
|
||||
<g fill-rule="evenodd">
|
||||
<path d="M18.1643182,47.6600756 L18.1677196,51.7651887 C18.1708869,55.5878829 20.3581578,60.8623899 23.0531352,63.5573673 L84.9021823,125.406414 C87.5996731,128.103905 91.971139,128.096834 94.6717387,125.396234 L125.766905,94.3010679 C128.473612,91.5943612 128.472063,87.2264889 125.777085,84.5315115 L63.9280381,22.6824644 C61.2305472,19.9849735 55.9517395,17.801995 52.1318769,17.8010313 L25.0560441,17.7942007 C21.2311475,17.7932358 18.1421354,20.8872832 18.1452985,24.7049463 L18.1535504,34.6641936 C18.2481119,34.6754562 18.3439134,34.6864294 18.4409623,34.6971263 C22.1702157,35.1081705 26.9295004,34.6530132 31.806204,33.5444844 C32.1342781,33.0700515 32.5094815,32.6184036 32.9318197,32.1960654 C35.6385117,29.4893734 39.5490441,28.718649 42.94592,29.8824694 C43.0432142,29.8394357 43.1402334,29.7961748 43.2369683,29.7526887 L43.3646982,30.0368244 C44.566601,30.5115916 45.6933052,31.2351533 46.6655958,32.2074439 C50.4612154,36.0030635 50.4663097,42.1518845 46.6769742,45.94122 C43.0594074,49.5587868 37.2914155,49.7181264 33.4734256,46.422636 C28.1082519,47.5454734 22.7987486,48.0186448 18.1643182,47.6600756 L18.1643182,47.6600756 Z M68.181501,48.8343838 C64.6688413,45.321724 58.975366,45.3200526 55.4632208,48.8321977 L48.679315,55.6161036 C45.1678625,59.127556 45.1695229,64.8224056 48.681501,68.3343838 L83.4868841,103.139767 C86.9995439,106.652427 92.6930192,106.654098 96.2051643,103.141953 L102.98907,96.3580471 C106.500523,92.8465946 106.498862,87.151745 102.986884,83.6397669 L68.181501,48.8343838 Z"></path>
|
||||
<path d="M47.6333528,39.5324628 L47.6562932,39.5834939 C37.9670934,43.9391617 26.0718874,46.3819521 17.260095,45.4107025 C5.27267473,44.0894301 -1.02778744,36.4307276 2.44271359,24.0779512 C5.56175386,12.9761516 14.3014034,4.36129832 24.0466405,1.54817001 C34.7269254,-1.53487574 43.7955833,3.51606438 43.7955834,14.7730751 L35.1728168,14.7730752 C35.1728167,9.91428944 32.0946059,8.19982862 26.4381034,9.83267419 C19.5270911,11.8276553 13.046247,18.2159574 10.7440788,26.4102121 C8.82861123,33.2280582 11.161186,36.0634845 18.2047888,36.8398415 C25.3302805,37.6252244 35.7353482,35.4884477 44.1208333,31.7188498 L44.1475077,31.7781871 C44.159701,31.7725635 44.1718402,31.7671479 44.1839238,31.7619434 C45.9448098,31.0035157 50.4503245,38.3109156 47.7081571,39.5012767 C47.6834429,39.512005 47.6585061,39.5223987 47.6333528,39.5324628 Z"></path>
|
||||
</g>
|
||||
</svg>
|
@ -52,5 +52,7 @@ HideSideBar/Caption: hide sidebar
|
||||
HideSideBar/Hint: Hide sidebar
|
||||
ShowSideBar/Caption: show sidebar
|
||||
ShowSideBar/Hint: Show sidebar
|
||||
TagManager/Caption: tag manager
|
||||
TagManager/Hint: Open tag manager
|
||||
Theme/Caption: theme
|
||||
Theme/Hint: Choose the display theme
|
||||
|
@ -11,8 +11,6 @@ Recent/Caption: Recent
|
||||
Shadows/Caption: Shadows
|
||||
System/Caption: System
|
||||
Tags/Caption: Tags
|
||||
Tags/TagManager/Caption: Tag Manager
|
||||
Tags/Untagged/Caption: untagged
|
||||
Tools/Caption: Tools
|
||||
Types/Caption: Types
|
||||
|
||||
|
@ -2,8 +2,19 @@ title: $:/core/ui/MoreSideBar/Tags
|
||||
tags: $:/tags/MoreSideBar
|
||||
caption: {{$:/language/SideBar/Tags/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/SideBar/Tags/
|
||||
<$button to="$:/TagManager" class="btn"><<lingo TagManager/Caption>></$button>
|
||||
<$set name="tw-config-toolbar-icons" value="yes">
|
||||
|
||||
<$set name="tw-config-toolbar-text" value="yes">
|
||||
|
||||
<$set name="tw-config-toolbar-class" value="">
|
||||
|
||||
{{$:/core/ui/Buttons/tag-manager}}
|
||||
|
||||
</$set>
|
||||
|
||||
</$set>
|
||||
|
||||
</$set>
|
||||
|
||||
<$list filter="[tags[]!is[system]sort[title]]">
|
||||
|
||||
|
13
core/ui/PageControls/tag-button.tid
Normal file
13
core/ui/PageControls/tag-button.tid
Normal file
@ -0,0 +1,13 @@
|
||||
title: $:/core/ui/Buttons/tag-manager
|
||||
tags: $:/tags/PageControls
|
||||
caption: {{$:/core/images/tag-button}} {{$:/language/Buttons/TagManager/Caption}}
|
||||
description: {{$:/language/Buttons/TagManager/Hint}}
|
||||
|
||||
<$button to="$:/TagManager" title={{$:/language/Buttons/TagManager/Hint}} aria-label={{$:/language/Buttons/TagManager/Caption}} class=<<tw-config-toolbar-class>>>
|
||||
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/tag-button}}
|
||||
</$list>
|
||||
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/TagManager/Caption}}/>
|
||||
</$list>
|
||||
</$button>
|
@ -6,6 +6,7 @@ core/ui/Buttons/full-screen: hide
|
||||
core/ui/Buttons/home: hide
|
||||
core/ui/Buttons/import: hide
|
||||
core/ui/Buttons/language: hide
|
||||
core/ui/Buttons/tag-manager: hide
|
||||
core/ui/Buttons/more-page-actions: hide
|
||||
core/ui/Buttons/permaview: hide
|
||||
core/ui/Buttons/storyview: hide
|
||||
|
@ -1,2 +1,2 @@
|
||||
title: $:/tags/PageControls
|
||||
list: [[$:/core/ui/Buttons/home]] [[$:/core/ui/Buttons/close-all]] [[$:/core/ui/Buttons/permaview]] [[$:/core/ui/Buttons/new-tiddler]] [[$:/core/ui/Buttons/import]] [[$:/core/ui/Buttons/control-panel]] [[$:/core/ui/Buttons/language]] [[$:/core/ui/Buttons/theme]] [[$:/core/ui/Buttons/storyview]] [[$:/core/ui/Buttons/encryption]] [[$:/core/ui/Buttons/full-screen]] [[$:/core/ui/Buttons/save-wiki]] [[$:/core/ui/Buttons/more-page-actions]]
|
||||
list: [[$:/core/ui/Buttons/home]] [[$:/core/ui/Buttons/close-all]] [[$:/core/ui/Buttons/permaview]] [[$:/core/ui/Buttons/new-tiddler]] [[$:/core/ui/Buttons/import]] [[$:/core/ui/Buttons/control-panel]] [[$:/core/ui/Buttons/tag-manager]] [[$:/core/ui/Buttons/language]] [[$:/core/ui/Buttons/theme]] [[$:/core/ui/Buttons/storyview]] [[$:/core/ui/Buttons/encryption]] [[$:/core/ui/Buttons/full-screen]] [[$:/core/ui/Buttons/save-wiki]] [[$:/core/ui/Buttons/more-page-actions]]
|
||||
|
@ -52,5 +52,7 @@ HideSideBar/Caption: Sidebar ausblenden
|
||||
HideSideBar/Hint: Sidebar ausblenden
|
||||
ShowSideBar/Caption: Sidebar einblenden
|
||||
ShowSideBar/Hint: Sidebar eiblenden
|
||||
TagManager/Caption: tag manager
|
||||
TagManager/Hint: Öffne das "Tag Manager"
|
||||
Theme/Caption: Thema
|
||||
Theme/Hint: Thema auswählen
|
||||
|
@ -11,7 +11,6 @@ Recent/Caption: Zuletzt
|
||||
Shadows/Caption: Schatten
|
||||
System/Caption: System
|
||||
Tags/Caption: Tags
|
||||
Tags/TagManager/Caption: Tag Manager
|
||||
Tags/Untagged/Caption: untagged
|
||||
Tools/Caption: Tools
|
||||
Types/Caption: Typen
|
||||
|
@ -52,6 +52,7 @@ HideSideBar/Caption: cacher la barre latérale
|
||||
HideSideBar/Hint: Cacher la barre latérale
|
||||
ShowSideBar/Caption: afficher la barre latérale
|
||||
ShowSideBar/Hint: Afficher la barre latérale
|
||||
TagManager/Caption: gestionnaire de tags
|
||||
TagManager/Hint: Gestionnaire de tags
|
||||
Theme/Caption: thème
|
||||
Theme/Hint: Choix du thème pour l'affichage
|
||||
|
||||
|
@ -11,7 +11,6 @@ Recent/Caption: Récents
|
||||
Shadows/Caption: Shadows
|
||||
System/Caption: Système
|
||||
Tags/Caption: Tags
|
||||
Tags/TagManager/Caption: Gestionnaire de tags
|
||||
Tags/Untagged/Caption: sans étiquette
|
||||
Tools/Caption: Outils
|
||||
Types/Caption: Types
|
||||
|
@ -10,8 +10,6 @@ Recent/Caption: Recenti
|
||||
Shadows/Caption: Nascosti
|
||||
System/Caption: Sistema
|
||||
Tags/Caption: Categorie
|
||||
Tags/TagManager/Caption: Manager categorie
|
||||
Tags/Untagged/Caption: Non categorizzati
|
||||
Tools/Caption: Strumenti
|
||||
Types/Caption: Tipi
|
||||
|
||||
|
@ -10,8 +10,6 @@ Recent/Caption: 最近
|
||||
Shadows/Caption: 隠し
|
||||
System/Caption: システム
|
||||
Tags/Caption: タグ別
|
||||
Tags/TagManager/Caption: タグマネージャ
|
||||
Tags/Untagged/Caption: 未タグ
|
||||
Tools/Caption: ツール
|
||||
Types/Caption: 種類別
|
||||
|
||||
|
@ -52,5 +52,7 @@ HideSideBar/Caption: 隐藏侧边栏
|
||||
HideSideBar/Hint: 隐藏侧边栏
|
||||
ShowSideBar/Caption: 显示侧边栏
|
||||
ShowSideBar/Hint: 显示侧边栏
|
||||
TagManager/Caption: 标签管理
|
||||
TagManager/Hint: 标签管理
|
||||
Theme/Caption: 布景主题
|
||||
Theme/Hint: 选择布景主题
|
||||
|
@ -11,8 +11,6 @@ Recent/Caption: 最近
|
||||
Shadows/Caption: 默认
|
||||
System/Caption: 系统
|
||||
Tags/Caption: 标签
|
||||
Tags/TagManager/Caption: 标签管理
|
||||
Tags/Untagged/Caption: 未设标签
|
||||
Tools/Caption: 工具
|
||||
Types/Caption: 类型
|
||||
|
||||
|
@ -52,5 +52,7 @@ HideSideBar/Caption: 隱藏側邊欄
|
||||
HideSideBar/Hint: 隱藏側邊欄
|
||||
ShowSideBar/Caption: 顯示側邊欄
|
||||
ShowSideBar/Hint: 顯示側邊欄
|
||||
TagManager/Caption: 標籤管理
|
||||
TagManager/Hint: 標籤管理
|
||||
Theme/Caption: 佈景主題
|
||||
Theme/Hint: 選擇佈景主題
|
||||
|
@ -11,8 +11,6 @@ Recent/Caption: 最近
|
||||
Shadows/Caption: 預設
|
||||
System/Caption: 系統
|
||||
Tags/Caption: 標籤
|
||||
Tags/TagManager/Caption: 標籤管理
|
||||
Tags/Untagged/Caption: 未設標籤
|
||||
Tools/Caption: 工具
|
||||
Types/Caption: 類型
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user