mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
xlsx-utils control panel: put new entities at the top of their respective lists
This commit is contained in:
parent
0d0764b6ce
commit
fc483abfc8
@ -194,7 +194,7 @@ Title:
|
||||
<li>
|
||||
<$button class="tc-btn-invisible">
|
||||
<$action-createtiddler $basetitle="$:/_ExcelImporter/ImportSpecifiers/Field" $savetitle="$:/temp/newtiddler" import-spec-role="field" import-field-name="fieldname" import-field-type="string" import-field-source="column" import-field-column="Column Name" />
|
||||
<$action-listops $tiddler=<<row>> $subfilter="[{$:/temp/newtiddler}]"/>
|
||||
<$action-listops $tiddler=<<row>> $subfilter="[{$:/temp/newtiddler}] +[putfirst[]]"/>
|
||||
{{$:/core/images/new-button}} Add new field
|
||||
</$button>
|
||||
</li>
|
||||
@ -242,7 +242,7 @@ Import sheet name:
|
||||
<li>
|
||||
<$button class="tc-btn-invisible">
|
||||
<$action-createtiddler $basetitle="$:/_ExcelImporter/ImportSpecifiers/Row" $savetitle="$:/temp/newtiddler" import-spec-role="row"/>
|
||||
<$action-listops $tiddler=<<sheet>> $subfilter="[{$:/temp/newtiddler}]"/>
|
||||
<$action-listops $tiddler=<<sheet>> $subfilter="[{$:/temp/newtiddler}] +[putfirst[]]"/>
|
||||
<$action-setfield $tiddler={{{ [{$:/temp/newtiddler}addprefix[$:/state/edit/]] }}} $value="yes"/>
|
||||
<$action-setfield $tiddler={{{ [{$:/temp/newtiddler}addprefix[$:/state/expand/]] }}} $value="yes"/>
|
||||
{{$:/core/images/new-button}} Add new row
|
||||
@ -292,7 +292,7 @@ Caption:
|
||||
<li>
|
||||
<$button class="tc-btn-invisible">
|
||||
<$action-createtiddler $basetitle="$:/_ExcelImporter/ImportSpecifiers/Sheet" $savetitle="$:/temp/newtiddler" import-spec-role="sheet" import-sheet-name="Sheet name"/>
|
||||
<$action-listops $tiddler=<<workbook>> $subfilter="[{$:/temp/newtiddler}]"/>
|
||||
<$action-listops $tiddler=<<workbook>> $subfilter="[{$:/temp/newtiddler}] +[putfirst[]]"/>
|
||||
<$action-setfield $tiddler={{{ [{$:/temp/newtiddler}addprefix[$:/state/edit/]] }}} $value="yes"/>
|
||||
<$action-setfield $tiddler={{{ [{$:/temp/newtiddler}addprefix[$:/state/expand/]] }}} $value="yes"/>
|
||||
{{$:/core/images/new-button}} Add new sheet
|
||||
|
Loading…
Reference in New Issue
Block a user