mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
18152aa7c8
* Include the ExpectedResults in the displayed tabs * Lighted testcase background * Add testcase toolbar with export and import options * Further styling tweaks
28 lines
744 B
Plaintext
28 lines
744 B
Plaintext
title: $:/core/ui/testcases/DefaultTemplate/SourceTabs
|
|
|
|
\whitespace trim
|
|
\procedure body()
|
|
<$list filter="[<currentTab>fields[]] -text +[limit[1]]" variable="ignore">
|
|
<table class="tc-field-table">
|
|
<tbody>
|
|
<$list filter="[<currentTab>fields[]sort[]] -text -title title +[putfirst[]]" variable="fieldName">
|
|
<tr>
|
|
<td>
|
|
<$text text=<<fieldName>>/>
|
|
</td>
|
|
<td>
|
|
<$view tiddler=<<currentTab>> field=<<fieldName>>/>
|
|
</td>
|
|
</tr>
|
|
</$list>
|
|
</tbody>
|
|
</table>
|
|
</$list>
|
|
<$edit class="tc-edit-texteditor" tiddler=<<currentTab>>/>
|
|
<div class="tc-test-case-footer-toolbar">
|
|
<$macrocall $name="copy-to-clipboard" src={{{ [<currentTab>get[text]] }}}/>
|
|
</div>
|
|
\end
|
|
|
|
<$transclude $variable="body" $mode="inline"/>
|