mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-21 07:22:14 +00:00
More tidying of code & templates
This commit is contained in:
@@ -24,25 +24,17 @@
|
||||
<paraStyle name="center" alignment="center"/>
|
||||
|
||||
<blockTableStyle id="checkboxTable">
|
||||
<!-- <lineStyle cap="default" kind="grid" colorName="black" thickness="1" start="0,0" stop="-1,-1"/> -->
|
||||
<blockValign start="0,0" stop="-1,-1" value="top"/>
|
||||
<!-- <lineStyle kind="lineabove" start="1,0" stop="-1,-1" colorName="lightgrey"/> -->
|
||||
<lineStyle kind="linebelow" start="1,0" stop="-1,-1" colorName="lightgrey"/>
|
||||
<blockLeftPadding start="0,0" stop="-1,-1" length="0"/>
|
||||
</blockTableStyle>
|
||||
|
||||
<blockTableStyle id="stringTable">
|
||||
<!-- <lineStyle cap="default" kind="grid" colorName="black" thickness="1" start="0,0" stop="-1,-1"/> -->
|
||||
<blockValign start="0,0" stop="-1,-1" value="top"/>
|
||||
<!-- <blockLeftPadding start="0,0" stop="-1,-1" length="0"/> -->
|
||||
<!-- <lineStyle kind="lineabove" start="1,0" stop="-1,-1" colorName="lightgrey"/> -->
|
||||
<lineStyle kind="linebelow" start="1,0" stop="-1,-1" colorName="lightgrey"/>
|
||||
</blockTableStyle>
|
||||
<blockTableStyle id="objectTable">
|
||||
<!-- <lineStyle cap="default" kind="grid" colorName="black" thickness="1" start="0,0" stop="-1,-1"/> -->
|
||||
<blockValign start="0,0" stop="-1,-1" value="top"/>
|
||||
<!-- <blockLeftPadding start="0,0" stop="-1,-1" length="0"/> -->
|
||||
<!-- <lineStyle kind="lineabove" start="1,0" stop="-1,-1" colorName="lightgrey"/> -->
|
||||
<lineStyle kind="linebelow" start="1,0" stop="-1,-1" colorName="lightgrey"/>
|
||||
</blockTableStyle>
|
||||
</stylesheet>
|
||||
@@ -65,8 +57,6 @@
|
||||
<drawString x="265" y="746">info@nottinghamtec.co.uk</drawString>
|
||||
<drawString x="137" y="732">Phone: (0115) 846 8720</drawString>
|
||||
|
||||
|
||||
|
||||
<setFont name="OpenSans" size="10" />
|
||||
{% if copy %}<drawCenteredString x="302.5" y="50">[{{ copy }} Copy]</drawCenteredString>{% endif %}
|
||||
<drawCenteredString x="302.5" y="38">[Page <pageNumber/> of <getName id="lastPage" default="0" />]</drawCenteredString>
|
||||
@@ -81,7 +71,7 @@
|
||||
<image file="RIGS/static/imgs/paperwork/corner-bl.jpg" x="0" y="0" height="200" width="200"/>
|
||||
|
||||
<setFont name="OpenSans" size="10"/>
|
||||
{% if not invoice %}<drawCenteredString x="302.5" y="50">[{{ copy }} Copy]</drawCenteredString>{% endif %}
|
||||
{% if copy %}<drawCenteredString x="302.5" y="50">[{{ copy }} Copy]</drawCenteredString>{% endif %}
|
||||
<drawCenteredString x="302.5" y="38">[Page <pageNumber/> of <getName id="lastPage" default="0" />]</drawCenteredString>
|
||||
</pageGraphics>
|
||||
<frame id="main" x1="50" y1="65" width="495" height="727"/>
|
||||
@@ -89,7 +79,6 @@
|
||||
</template>
|
||||
|
||||
<story firstPageTemplate="Headed">
|
||||
Hello this is some text
|
||||
{% include "rigForms/form_print_page.xml" %}
|
||||
</story>
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<setNextFrame name="main"/>
|
||||
<nextFrame/>
|
||||
<setNextTemplate name="Main"/>
|
||||
|
||||
<h1><b>{{ form.schema.schema_type.name }}</b><small></small></h1>
|
||||
<spacer length="10"/>
|
||||
|
||||
Reference in New Issue
Block a user