preparation release
This commit is contained in:
commit
f5e3a62ee8
196 changed files with 64314 additions and 0 deletions
46
HTML/Template/tests/templates/conditions.html
Normal file
46
HTML/Template/tests/templates/conditions.html
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
|
||||
|
||||
<H2>Conditions</H2>
|
||||
<p>a condition {if:condition} hello {else:} world {end:}</p>
|
||||
<p>a negative condition {if:!condition} hello {else:} world {end:}</p>
|
||||
<p>a conditional method {if:condition()} hello {else:} world {end:}</p>
|
||||
<p>a negative conditional method {if:!condition()} hello {else:} world {end:}</p>
|
||||
|
||||
|
||||
<span flexy:if="test">test</span>
|
||||
<span flexy:if="test()">test</span>
|
||||
<span flexy:if="test(#aaa bbb#,ccc,#asdfasdf asdf #)">test</span>
|
||||
|
||||
|
||||
|
||||
<H2>Notices and errros</H2>
|
||||
|
||||
|
||||
<table flexy:if="notices" class="tablenotice" width="70%" align="center">
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="tdheadernotice" height="20" width="526">Thanks</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tdbodynotice" height="33">
|
||||
<p flexy:if="notices[ok]">Submitted data is ok</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table flexy:if="errors" class="tablewarning" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="tdheaderwarning" height="20" width="526">Sorry</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tdbodywarning">
|
||||
|
||||
<li flexy:if="errors[lastname]">Please fill in your last name</li>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
Loading…
Add table
Add a link
Reference in a new issue