/usr/share/haci/Template/HaCiImportConfig.tmpl is in haci 0.97c-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | <div id='cmntainer'>
[% IF csvPreview %]
<form name='[% importCSVFormName %]' action='[% thisScript %]' method='post' [% IF importConfigFormType %]enctype="[% importConfigFormType %]"[% END %]>
<input type='hidden' id='buttonTmp_[% importCSVFormName %]' name='buttonTmp' value='' />
<div id='box' style='width:auto;'>
<p id='boxHeader'>[% csvPreview %]</p>
<div id='boxBody'>
[% cnter = 0 %]
<br><br>
<div style='width:49em;margin:0 auto;'>
<div id='box' style="float:left;width:15em;">
<p id='boxHeader'>[% importCSVHeader %]</p>
<div id='boxBody'>
[% INCLUDE HaCiBox.tmpl
menu = importCSVMenu
hiddens = importCSVHiddens
parentFormName = importCSVFormName
%]
</div>
</div>
<div id='box' style="width:15em;margin-left:2em;float:left;">
<p id='boxHeader'>[% importCSVTypeHeader %]</p>
<div id='boxBody'>
[% INCLUDE HaCiBox.tmpl
menu = importCSVTypeMenu
parentFormName = importCSVFormName
%]
</div>
</div>
<div id='box' style="width:15em;margin-left:34em;">
<p id='boxHeader'></p>
<div id='boxBody'>
[% INCLUDE HaCiBox.tmpl
menu = importCSVButtonMenu
parentFormName = importCSVFormName
%]
</div>
</div>
</div>
<br><br>
<table id='box' rules='cols'>
<tr>
[% WHILE cnter < nrOfCols %]
[% cnter = cnter + 1 %]
<th>
<select
name = 'COL_[% cnter %]'
class = 'box'
size = '1'
/>
[% FOREACH col IN cols %]
<option value = '[% col.ID %]' />[% col.name %]</option>
[% END %]
</select>
</th>
[% END %]
</tr>
[% IF noCSVContent %]
<tr><td colspan='[% nrOfCols %]' align='center'>[% gettext_noContent %]</td></tr>
[% ELSE %]
[% FOREACH entry IN csvData %]
[% cnter = cnter + 1 %] [% IF cnter mod 2 %] [% bgColor = '#AAFFAA' %] [% ELSE %] [% bgColor = '#DDFFDD' %] [% END %]
<tr style='background-color:[% bgColor %]'>
[% FOREACH col IN entry %]
<td align='left'>[% col %]</td>
[% END %]
</tr>
[% END %]
[% END %]
<tr><td colspan='[% nrOfCols %]' align='center'>
.<br>.<br>.<br>
</td></tr>
</table>
</div>
</div>
</form>
[% ELSE %]
<form name='[% importConfigFormName %]' action='[% thisScript %]' method='post' [% IF importConfigFormType %]enctype="[% importConfigFormType %]"[% END %]>
<input type='hidden' id='buttonTmp_[% importConfigFormName %]' name='buttonTmp' value='' />
<table width='100%'><tr><td align='center'><table><tr><td>
<div id='box'>
<p id='boxHeader'>[% importConfigHeader %]</p>
<div id='boxBody'>
[% INCLUDE HaCiBox.tmpl
menu = importConfigMenu
parentFormName = importConfigFormName
formType = importConfigFormType
hiddens = importConfigHiddens
%]
</div>
</div>
</td></tr></table></td></tr></table>
<br>
<table width='100%'><tr><td align='center'><table><tr><td>
<div id='box'>
<p id='boxHeader'></p>
<div id='boxBody'>
[% INCLUDE HaCiBox.tmpl
menu = importConfigButtons
parentFormName = importConfigFormName
%]
</div>
</div>
</td></tr></table></td></tr></table>
</form>
[% END %]
</div>
<!--
# vim:ts=2:sw=2:sws=2
-->
|