initial commit (save point)
This commit is contained in:
commit
81f6b57a63
29 changed files with 1488 additions and 0 deletions
2
rattail/pyramid/templates/batches/base.mako
Normal file
2
rattail/pyramid/templates/batches/base.mako
Normal file
|
@ -0,0 +1,2 @@
|
|||
<%inherit file="/base.mako" />
|
||||
${parent.body()}
|
13
rattail/pyramid/templates/batches/batch.mako
Normal file
13
rattail/pyramid/templates/batches/batch.mako
Normal file
|
@ -0,0 +1,13 @@
|
|||
<%inherit file="/batches/base.mako" />
|
||||
<%inherit file="/crud.mako" />
|
||||
|
||||
<%def name="crud_name()">Batch</%def>
|
||||
|
||||
<%def name="menu()">
|
||||
<p>${h.link_to("Back to Batches", url('batches'))}</p>
|
||||
% if fieldset.edit and fieldset.model.rowcount:
|
||||
<p>${h.link_to("View Batch Details", url('batch.details', uuid=fieldset.model.uuid))}</p>
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
${parent.body()}
|
9
rattail/pyramid/templates/batches/columns.mako
Normal file
9
rattail/pyramid/templates/batches/columns.mako
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
<table class="fieldset">
|
||||
<tr>
|
||||
<td class="label">Columns</td>
|
||||
<td>
|
||||
${columns|n}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
12
rattail/pyramid/templates/batches/details.mako
Normal file
12
rattail/pyramid/templates/batches/details.mako
Normal file
|
@ -0,0 +1,12 @@
|
|||
<%inherit file="/batches/base.mako" />
|
||||
<%inherit file="/index.mako" />
|
||||
|
||||
<%def name="title()">Batch : ${batch.name}</%def>
|
||||
|
||||
<%def name="menu()">
|
||||
<p>${h.link_to("Back to Batches", url('batches'))}</p>
|
||||
<p>${h.link_to("View Batch Properties", url('batch') + '?uuid=' + batch.uuid)}</p>
|
||||
<p>${h.link_to("Execute this Batch", url('batch.execute', uuid=batch.uuid))}</p>
|
||||
</%def>
|
||||
|
||||
${parent.body()}
|
11
rattail/pyramid/templates/batches/dictionaries.mako
Normal file
11
rattail/pyramid/templates/batches/dictionaries.mako
Normal file
|
@ -0,0 +1,11 @@
|
|||
<%inherit file="/batches/base.mako" />
|
||||
<%inherit file="/index.mako" />
|
||||
|
||||
<%def name="title()">Batch Dictionaries</%def>
|
||||
|
||||
<%def name="menu()">
|
||||
<p>${h.link_to("Back to Batches", url('batches'))}</p>
|
||||
## <p>${h.link_to("Create a New Dictionary", url('batch_dictionary'))}</p>
|
||||
</%def>
|
||||
|
||||
${parent.body()}
|
11
rattail/pyramid/templates/batches/dictionary.mako
Normal file
11
rattail/pyramid/templates/batches/dictionary.mako
Normal file
|
@ -0,0 +1,11 @@
|
|||
<%inherit file="/batches/base.mako" />
|
||||
<%inherit file="/crud.mako" />
|
||||
|
||||
<%def name="menu()">
|
||||
<p>${h.link_to("Back to Batches", url('batches'))}</p>
|
||||
<p>${h.link_to("Back to Dictionaries", url('batch_dictionaries'))}</p>
|
||||
</%def>
|
||||
|
||||
${parent.body()}
|
||||
|
||||
${columns|n}
|
|
@ -0,0 +1,8 @@
|
|||
<table class="fieldset">
|
||||
<tr class="columns">
|
||||
<td class="label">Supported Columns</td>
|
||||
<td>
|
||||
${grid|n}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
13
rattail/pyramid/templates/batches/index.mako
Normal file
13
rattail/pyramid/templates/batches/index.mako
Normal file
|
@ -0,0 +1,13 @@
|
|||
<%inherit file="/batches/base.mako" />
|
||||
<%inherit file="/index.mako" />
|
||||
|
||||
<%def name="title()">Batches</%def>
|
||||
|
||||
<%def name="menu()">
|
||||
<p>${h.link_to("Create a New Batch", url('batch'))}</p>
|
||||
<p>${h.link_to("Manage Terminals", url('batch_terminals'))}</p>
|
||||
<p>${h.link_to("View Dictionaries", url('batch_dictionaries'))}</p>
|
||||
<p>${h.link_to("SIL Columns", url('sil_columns'))}</p>
|
||||
</%def>
|
||||
|
||||
${parent.body()}
|
9
rattail/pyramid/templates/batches/sil_column.mako
Normal file
9
rattail/pyramid/templates/batches/sil_column.mako
Normal file
|
@ -0,0 +1,9 @@
|
|||
<%inherit file="/batches/base.mako" />
|
||||
<%inherit file="/crud.mako" />
|
||||
|
||||
<%def name="menu()">
|
||||
<p>${h.link_to("Back to Batches", url('batches'))}</p>
|
||||
<p>${h.link_to("Back to SIL Columns", url('sil_columns'))}</p>
|
||||
</%def>
|
||||
|
||||
${parent.body()}
|
10
rattail/pyramid/templates/batches/sil_columns.mako
Normal file
10
rattail/pyramid/templates/batches/sil_columns.mako
Normal file
|
@ -0,0 +1,10 @@
|
|||
<%inherit file="/batches/base.mako" />
|
||||
<%inherit file="/index.mako" />
|
||||
|
||||
<%def name="title()">SIL Columns</%def>
|
||||
|
||||
<%def name="menu()">
|
||||
<p>${h.link_to("Back to Batches", url('batches'))}</p>
|
||||
</%def>
|
||||
|
||||
${parent.body()}
|
24
rattail/pyramid/templates/batches/supported_fields.mako
Normal file
24
rattail/pyramid/templates/batches/supported_fields.mako
Normal file
|
@ -0,0 +1,24 @@
|
|||
|
||||
<table class="wrapper">
|
||||
|
||||
<tr>
|
||||
<td><h2>Supported Fields</h2></td>
|
||||
## <td class="right">${h.link_to("Update Field List", '#', id='update-fields')}</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
${grid|n}
|
||||
|
||||
##<script language="javascript" type="text/javascript">
|
||||
##
|
||||
##$(function() {
|
||||
##
|
||||
## $('#update-fields').click(function() {
|
||||
## $('div.grid').load('${url('batches', action='update_terminal')}?uuid=${fieldset.model.uuid}');
|
||||
## return false;
|
||||
## });
|
||||
##
|
||||
##});
|
||||
##
|
||||
##</script>
|
13
rattail/pyramid/templates/batches/terminal.mako
Normal file
13
rattail/pyramid/templates/batches/terminal.mako
Normal file
|
@ -0,0 +1,13 @@
|
|||
<%inherit file="/batches/base.mako" />
|
||||
<%inherit file="/crud.mako" />
|
||||
|
||||
<%def name="menu()">
|
||||
<p>${h.link_to("Back to Batches", url('batches'))}</p>
|
||||
<p>${h.link_to("Back to Batch Terminals", url('batch_terminals'))}</p>
|
||||
</%def>
|
||||
|
||||
${parent.body()}
|
||||
|
||||
% if fieldset.edit:
|
||||
${terminal_columns|n}
|
||||
% endif
|
17
rattail/pyramid/templates/batches/terminal_columns.mako
Normal file
17
rattail/pyramid/templates/batches/terminal_columns.mako
Normal file
|
@ -0,0 +1,17 @@
|
|||
|
||||
<h2>Supported Columns</h2>
|
||||
|
||||
<table class="fieldset">
|
||||
<tr class="source_columns">
|
||||
<td class="label">Source</td>
|
||||
<td>
|
||||
${source|n}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="target_columns">
|
||||
<td class="label">Target</td>
|
||||
<td>
|
||||
${target|n}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
11
rattail/pyramid/templates/batches/terminals.mako
Normal file
11
rattail/pyramid/templates/batches/terminals.mako
Normal file
|
@ -0,0 +1,11 @@
|
|||
<%inherit file="/batches/base.mako" />
|
||||
<%inherit file="/index.mako" />
|
||||
|
||||
<%def name="title()">Batch Terminals</%def>
|
||||
|
||||
<%def name="menu()">
|
||||
<p>${h.link_to("Back to Batches", url('batches'))}</p>
|
||||
<p>${h.link_to("Create a New Terminal", url('batch_terminal'))}</p>
|
||||
</%def>
|
||||
|
||||
${parent.body()}
|
Loading…
Add table
Add a link
Reference in a new issue