Add TPL files
This commit is contained in:
49
modules/EcmAgreements/tpl/AgreementTemplates.tpl
Executable file
49
modules/EcmAgreements/tpl/AgreementTemplates.tpl
Executable file
@@ -0,0 +1,49 @@
|
||||
<script type="text/javascript" src="modules/EcmAgreements/javascript/AgreementTemplates.js"></script>
|
||||
<script type="text/javascript" src="include/jQuery/ckeditor/ckeditor.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="modules/Accounts/MyTable.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="modules/EcmAgreements/tpl/AgreementTemplates.css">
|
||||
<h1>{$MOD.LBL_AGREEMENT_TEMPLATE_EDITOR}</h1>
|
||||
<br>
|
||||
|
||||
{html_options name=templates id=templates options=$templates}
|
||||
<input type="button" id="edit" value='{$MOD.LBL_EDIT_LABEL}' title="{$MOD.LBL_EDIT_LABEL_TIP}"/>
|
||||
<input type="button" id="add" value='{$MOD.LBL_ADD_NEW}' title="{$MOD.LBL_ADD_NEW_TIP}"/>
|
||||
<input type="button" id="remove" value='{$MOD.LBL_REMOVE}' title="{$MOD.LBL_REMOVE_TIP}"/>
|
||||
<input type="button" id="preview_pdf" value='{$MOD.LBL_SHOW_PDF_TEMPLATE}'/>
|
||||
<input type="hidden" id="pdf_template_selected">
|
||||
<div id="add_div" style="display:none">
|
||||
<br>
|
||||
{$MOD.LBL_NAME}: <input type="text" id="add_label">
|
||||
<input type="button" id="add_save" value='{$MOD.LBL_SAVE}'/>
|
||||
<input type="button" id="cancel" onclick="hide()"value='{$MOD.LBL_CANCEL}'/>
|
||||
</div>
|
||||
<div id="edit_div" style="display:none">
|
||||
<br>
|
||||
{$MOD.LBL_NAME}: <input type="text" id="edit_label">
|
||||
<input type="button" id="edit_save" value='{$MOD.LBL_SAVE}'/>
|
||||
<input type="button" id="cancel" onclick="hide()"value='{$MOD.LBL_CANCEL}'/>
|
||||
</div>
|
||||
<br><br>
|
||||
<input type="button" id="save" value='{$MOD.LBL_SAVE}' title="{$MOD.LBL_SAVE_TIP}"/><br>
|
||||
{$MOD.LBL_MARGIN_TOP} <input class="margin" type="number" name="margin_top" id ="margin_top"/>
|
||||
{$MOD.LBL_MARGIN_BOTTOM} <input class="margin" type="number" name="margin_bottom" id ="margin_bottom"/>
|
||||
{$MOD.LBL_MARGIN_LEFT} <input class="margin" type="number" name="margin_left" id ="margin_left"/>
|
||||
{$MOD.LBL_MARGIN_RIGHT} <input class="margin" type="number" name="margin_right" id ="margin_right"/>
|
||||
|
||||
<table style="width:100%">
|
||||
<tr>
|
||||
<td style="width:80%;">
|
||||
<textarea id="template" name="template"></textarea>
|
||||
</td>
|
||||
<td style="width:20%;font-size:12px">
|
||||
{$MOD.LBL_AGREEMENT_TEMPLATE_HELP}<br><br>
|
||||
<table id="parseFieldsTable">
|
||||
</table>
|
||||
</td>
|
||||
</td>
|
||||
</table>
|
||||
<br>
|
||||
<h1>{$MOD.LBL_PDF_TEMPLATE_ADITIONAL_FIELDS}</h1>
|
||||
{$MOD.LBL_PDF_TEMPLATE_ADITIONAL_FIELDS_HELP}
|
||||
<table id="pdf_template_aditional_fields" class="positions">
|
||||
</table>
|
||||
7
modules/EcmAgreements/tpl/EditViewAditionalFields.tpl
Executable file
7
modules/EcmAgreements/tpl/EditViewAditionalFields.tpl
Executable file
@@ -0,0 +1,7 @@
|
||||
<input type="hidden" id="pdf_template_selected" value="{$pdf_template_selected}">
|
||||
<div class="tabForm" style="border-top:none;width:100%;height:1px;padding:0px;align:center;"></div>
|
||||
<h4>Szablon umowy: <select name="pdf_template" id="pdf_template"></select></h4>
|
||||
<h4>Pola dodatkowe z szablonu</h4>
|
||||
|
||||
<table id="aditionalFields" width='100%' >
|
||||
</table>
|
||||
6
modules/EcmAgreements/tpl/EditViewPDFTemplate.tpl
Executable file
6
modules/EcmAgreements/tpl/EditViewPDFTemplate.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
<script type="text/javascript" src="modules/EcmAgreements/javascript/EditViewPDFTemplate.js"></script>
|
||||
<script type="text/javascript" src="include/jQuery/ckeditor/ckeditor.js"></script>
|
||||
<input type="hidden" id="pdf_template_selected">
|
||||
<input type="button" id="refresh" value="{$MOD.LBL_REFRESH}"></input>
|
||||
<input type="button" id="preview_pdf" value='{$MOD.LBL_SHOW_PDF_TEMPLATE}'/>
|
||||
<textarea id="pdf_text" name="pdf_text">{$fields.pdf_text.value}</textarea>
|
||||
Reference in New Issue
Block a user