1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 00:50:28 +00:00

Add delete icon for the tiddler type editor

This commit is contained in:
Jermolene 2014-01-20 11:21:12 +00:00
parent 1c283c5586
commit d3c421985c
2 changed files with 7 additions and 1 deletions

View File

@ -1,7 +1,7 @@
title: $:/core/ui/EditTemplate/type
tags: $:/tags/EditTemplate
<p><em class="tw-edit">Type:</em> <$edit-text field="type" tag="input" default="" placeholder="type" focusPopup=<<qualify "$:/state/typeDropdown">> class="tw-edit-typeeditor"/> <$button popup=<<qualify "$:/state/typeDropdown">> class="btn-invisible btn-dropdown">{{$:/core/images/down-arrow}}</$button></p>
<p><$fieldmangler><em class="tw-edit">Type:</em> <$edit-text field="type" tag="input" default="" placeholder="type" focusPopup=<<qualify "$:/state/typeDropdown">> class="tw-edit-typeeditor"/> <$button popup=<<qualify "$:/state/typeDropdown">> class="btn-invisible btn-dropdown">{{$:/core/images/down-arrow}}</$button> <$button message="tw-remove-field" param="type" class="btn-invisible btn-icon">{{$:/core/images/delete-button}}</$button></$fieldmangler></p>
<div class="tw-block-dropdown-wrapper">
<$reveal state=<<qualify "$:/state/typeDropdown">> type="nomatch" text="" default="">

View File

@ -216,6 +216,12 @@ a.tw-tiddlylink-external {
border: none;
}
.btn-icon svg {
height: 1em;
width: 1em;
fill: #999;
}
.btn-big-green {
padding: 8px;
margin: 4px 8px 4px 8px;