Made menus have more contrast for data form templates
This commit is contained in:
parent
1ddeea9b39
commit
b36b58cbb2
3 changed files with 332 additions and 0 deletions
106
docs/upgrades/templates-6.99.4/default_dataform.tmpl
Normal file
106
docs/upgrades/templates-6.99.4/default_dataform.tmpl
Normal file
|
|
@ -0,0 +1,106 @@
|
|||
#PBtmpl0000000000000141
|
||||
<a name="id<tmpl_var assetId>" id="id<tmpl_var assetId>"></a>
|
||||
|
||||
<tmpl_if session.var.adminOn>
|
||||
<p><tmpl_var controls></p>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if displayTitle>
|
||||
<h2><tmpl_var title></h2>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if error_loop>
|
||||
<ul class="errors">
|
||||
<tmpl_loop error_loop>
|
||||
<li><b><tmpl_var error.message></b></li>
|
||||
</tmpl_loop>
|
||||
</ul>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if description>
|
||||
<tmpl_var description>
|
||||
<p />
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if canEdit>
|
||||
<div class="dataControls">
|
||||
<a href="<tmpl_var entryList.url>"><tmpl_var entryList.label></a>
|
||||
• <a href="<tmpl_var export.tab.url>"><tmpl_var export.tab.label></a>
|
||||
<tmpl_if entryId>
|
||||
• <a href="<tmpl_var delete.url>"><tmpl_var delete.label></a>
|
||||
</tmpl_if>
|
||||
<tmpl_if session.var.adminOn>
|
||||
• <a href="<tmpl_var addField.url>"><tmpl_var addField.label></a>
|
||||
• <a href="<tmpl_var addTab.url>"><tmpl_var addTab.label></a>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
</tmpl_if>
|
||||
<tmpl_var form.start>
|
||||
<table class="defaultData">
|
||||
<tmpl_loop field_loop>
|
||||
<tmpl_unless field.isHidden>
|
||||
<tr>
|
||||
<td class="formDescription" valign="top">
|
||||
<tmpl_if session.var.adminOn>
|
||||
<tmpl_if canEdit>
|
||||
<tmpl_var field.controls>
|
||||
</tmpl_if>
|
||||
</tmpl_if>
|
||||
<tmpl_var field.label>
|
||||
</td>
|
||||
<td class="tableData" valign="top">
|
||||
<tmpl_if field.isDisplayed>
|
||||
<tmpl_var field.value>
|
||||
<tmpl_else>
|
||||
<tmpl_var field.form>
|
||||
</tmpl_if>
|
||||
<tmpl_if field.isRequired>*</tmpl_if>
|
||||
<span class="formSubtext">
|
||||
<br />
|
||||
<tmpl_var field.subtext>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tmpl_unless>
|
||||
</tmpl_loop>
|
||||
</table>
|
||||
<br />
|
||||
<tmpl_var form.save>
|
||||
<tmpl_var form.end>
|
||||
~~~
|
||||
<style type="text/css">
|
||||
h2{
|
||||
font-family:arial;
|
||||
margin-top:3px;
|
||||
margin-bottom:3px;
|
||||
}
|
||||
.errors{
|
||||
font-family:arial;
|
||||
font-size:9pt;
|
||||
}
|
||||
.defaultData td{
|
||||
font-family:arial;
|
||||
font-size:9pt;
|
||||
}
|
||||
.dataControls
|
||||
{
|
||||
-moz-box-sizing:border-box;
|
||||
background:#676767;
|
||||
color:#C0C0C0;
|
||||
width:100%;
|
||||
text-align:right;
|
||||
padding:3px;
|
||||
font-size:9pt;
|
||||
font-family:arial;
|
||||
margin-bottom:5px;
|
||||
}
|
||||
.dataControls a
|
||||
{
|
||||
color:white;
|
||||
font-size:8pt;
|
||||
text-decoration:underline;
|
||||
}
|
||||
.dataControls a:hover {
|
||||
text-decoration:none;
|
||||
}
|
||||
</style>
|
||||
97
docs/upgrades/templates-6.99.4/mail_form.tmpl
Normal file
97
docs/upgrades/templates-6.99.4/mail_form.tmpl
Normal file
|
|
@ -0,0 +1,97 @@
|
|||
#PBtmpl0000000000000020
|
||||
<a name="id<tmpl_var assetId>" id="id<tmpl_var assetId>"></a>
|
||||
<tmpl_if session.var.adminOn>
|
||||
<p><tmpl_var controls></p>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if displayTitle>
|
||||
<h2><tmpl_var title></h2>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if error_loop>
|
||||
<ul class="fontSettings">
|
||||
<tmpl_loop error_loop>
|
||||
<li><b><tmpl_var error.message></b>
|
||||
</tmpl_loop>
|
||||
</ul>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if description>
|
||||
<div class="fontSettings">
|
||||
<tmpl_var description>
|
||||
</div>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if canEdit>
|
||||
<div class="dataControls">
|
||||
<a href="<tmpl_var entryList.url>"><tmpl_var entryList.label></a>
|
||||
• <a href="<tmpl_var export.tab.url>"><tmpl_var export.tab.label></a>
|
||||
<tmpl_if entryId>
|
||||
• <a href="<tmpl_var delete.url>"><tmpl_var delete.label></a>
|
||||
</tmpl_if>
|
||||
<tmpl_if session.var.adminOn>
|
||||
• <a href="<tmpl_var addField.url>"><tmpl_var addField.label></a>
|
||||
• <a href="<tmpl_var addTab.url>"><tmpl_var addTab.label></a>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_var form.start>
|
||||
<table class="mailForm">
|
||||
<tmpl_loop field_loop>
|
||||
<tmpl_unless field.isHidden>
|
||||
<tr><td class="formDescription" valign="top">
|
||||
<tmpl_if session.var.adminOn><tmpl_if canEdit><tmpl_var field.controls></tmpl_if></tmpl_if>
|
||||
<tmpl_var field.label>
|
||||
</td><td class="tableData" valign="top">
|
||||
<tmpl_if field.isDisplayed>
|
||||
<tmpl_var field.value>
|
||||
<tmpl_else>
|
||||
<tmpl_var field.form>
|
||||
</tmpl_if>
|
||||
<tmpl_if field.isRequired>*</tmpl_if>
|
||||
<span class="formSubtext"><br /><tmpl_var field.subtext></span>
|
||||
</td></tr>
|
||||
</tmpl_unless>
|
||||
</tmpl_loop>
|
||||
<tr><td></td><td><tmpl_var form.send></td></tr>
|
||||
</table>
|
||||
|
||||
<tmpl_var form.end>
|
||||
~~~
|
||||
<style type="text/css">
|
||||
h2{
|
||||
font-family:arial;
|
||||
margin-top:3px;
|
||||
margin-bottom:3px;
|
||||
}
|
||||
.fontSettings{
|
||||
font-family:arial;
|
||||
font-size:9pt;
|
||||
}
|
||||
.mailForm td{
|
||||
font-family:arial;
|
||||
font-size:9pt;
|
||||
}
|
||||
.dataControls
|
||||
{
|
||||
-moz-box-sizing:border-box;
|
||||
background:#676767;
|
||||
color:#C0C0C0;
|
||||
width:100%;
|
||||
text-align:right;
|
||||
padding:3px;
|
||||
font-size:9pt;
|
||||
font-family:arial;
|
||||
margin-bottom:5px;
|
||||
}
|
||||
.dataControls a
|
||||
{
|
||||
color:white;
|
||||
font-size:8pt;
|
||||
text-decoration:underline;
|
||||
}
|
||||
.dataControls a:hover {
|
||||
text-decoration:none;
|
||||
}
|
||||
</style>
|
||||
129
docs/upgrades/templates-6.99.4/tab_form.tmpl
Normal file
129
docs/upgrades/templates-6.99.4/tab_form.tmpl
Normal file
|
|
@ -0,0 +1,129 @@
|
|||
#PBtmpl0000000000000116
|
||||
<a name="id<tmpl_var assetId>" id="id<tmpl_var assetId>"></a>
|
||||
|
||||
<tmpl_if session.var.adminOn>
|
||||
<p><tmpl_var controls></p>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if displayTitle>
|
||||
<h2><tmpl_var title></h2>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if error_loop>
|
||||
<ul class="fontSettings">
|
||||
<tmpl_loop error_loop>
|
||||
<li><b><tmpl_var error.message></b></li>
|
||||
</tmpl_loop>
|
||||
</ul>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if description>
|
||||
<div class="fontSettings">
|
||||
<tmpl_var description>
|
||||
</div>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if canEdit>
|
||||
<div class="dataControls">
|
||||
<a href="<tmpl_var entryList.url>"><tmpl_var entryList.label></a>
|
||||
• <a href="<tmpl_var export.tab.url>"><tmpl_var export.tab.label></a>
|
||||
<tmpl_if entryId>
|
||||
• <a href="<tmpl_var delete.url>"><tmpl_var delete.label></a>
|
||||
</tmpl_if>
|
||||
<tmpl_if session.var.adminOn>
|
||||
• <a href="<tmpl_var addField.url>"><tmpl_var addField.label></a>
|
||||
• <a href="<tmpl_var addTab.url>"><tmpl_var addTab.label></a>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
</tmpl_if>
|
||||
<tmpl_var form.start>
|
||||
|
||||
<div class="tabs">
|
||||
<tmpl_loop tab_loop>
|
||||
<span onclick="toggleTab(<tmpl_var tab.sequence>)" id="tab<tmpl_var tab.sequence>" class="tab"><tmpl_var tab.label>
|
||||
<tmpl_if session.var.adminOn>
|
||||
<tmpl_if canEdit>
|
||||
<tmpl_var tab.controls>
|
||||
</tmpl_if>
|
||||
</tmpl_if>
|
||||
</span>
|
||||
</tmpl_loop>
|
||||
</div>
|
||||
<tmpl_loop tab_loop>
|
||||
<tmpl_var tab.start>
|
||||
<table class="tabForm">
|
||||
<tmpl_loop tab.field_loop>
|
||||
<tmpl_unless tab.field.isHidden>
|
||||
<tr>
|
||||
<td class="formDescription" valign="top">
|
||||
<tmpl_if session.var.adminOn>
|
||||
<tmpl_if canEdit>
|
||||
<tmpl_var tab.field.controls>
|
||||
</tmpl_if>
|
||||
</tmpl_if>
|
||||
<tmpl_var tab.field.label>
|
||||
</td>
|
||||
<td class="tableData" valign="top">
|
||||
<tmpl_if tab.field.isDisplayed>
|
||||
<tmpl_var tab.field.value>
|
||||
<tmpl_else>
|
||||
<tmpl_var tab.field.form>
|
||||
</tmpl_if>
|
||||
<tmpl_if tab.field.isRequired>*</tmpl_if>
|
||||
<span class="formSubtext">
|
||||
<br />
|
||||
<tmpl_var tab.field.subtext>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tmpl_unless>
|
||||
</tmpl_loop>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<span class="tabSubtext"><tmpl_var tab.subtext></span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<tmpl_var form.save>
|
||||
<tmpl_var tab.end>
|
||||
</tmpl_loop>
|
||||
<tmpl_var tab.init>
|
||||
<tmpl_var form.end>
|
||||
~~~
|
||||
<style type="text/css">
|
||||
h2{
|
||||
font-family:arial;
|
||||
margin-top:3px;
|
||||
margin-bottom:3px;
|
||||
}
|
||||
.fontSettings{
|
||||
font-family:arial;
|
||||
font-size:9pt;
|
||||
}
|
||||
.tabForm td{
|
||||
font-family:arial;
|
||||
font-size:9pt;
|
||||
}
|
||||
.dataControls
|
||||
{
|
||||
-moz-box-sizing:border-box;
|
||||
background:#676767;
|
||||
color:#C0C0C0;
|
||||
width:100%;
|
||||
text-align:right;
|
||||
padding:3px;
|
||||
font-size:9pt;
|
||||
font-family:arial;
|
||||
margin-bottom:5px;
|
||||
}
|
||||
.dataControls a
|
||||
{
|
||||
color:white;
|
||||
font-size:8pt;
|
||||
text-decoration:underline;
|
||||
}
|
||||
.dataControls a:hover {
|
||||
text-decoration:none;
|
||||
}
|
||||
</style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue