Poll template
This commit is contained in:
parent
3670c80df4
commit
cec24b992a
1 changed files with 59 additions and 0 deletions
59
docs/upgrades/templates-6.9.0/wgtemplate_default_poll.tmpl
Normal file
59
docs/upgrades/templates-6.9.0/wgtemplate_default_poll.tmpl
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
#PBtmpl0000000000000055
|
||||
|
||||
<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>
|
||||
|
||||
<div class="fontSettings">
|
||||
<tmpl_if description>
|
||||
<tmpl_var description>
|
||||
<p />
|
||||
</tmpl_if>
|
||||
|
||||
<span class="pollQuestion"><tmpl_var question></span><br />
|
||||
|
||||
<tmpl_if canVote>
|
||||
<tmpl_var form.start>
|
||||
<tmpl_loop answer_loop>
|
||||
<tmpl_var answer.form> <tmpl_var answer.text><br />
|
||||
</tmpl_loop>
|
||||
<p />
|
||||
<tmpl_var form.submit>
|
||||
<tmpl_var form.end>
|
||||
<tmpl_else>
|
||||
<tmpl_loop answer_loop>
|
||||
<span class="pollAnswer"><tmpl_var answer.text><br /></span>
|
||||
<table cellpadding=0 cellspacing=0 border=0>
|
||||
<tr>
|
||||
<td width="<tmpl_var answer.graphWidth>" class="pollColor"><img src="^Extras;spacer.gif" alt="" height="1" width="1" /></td>
|
||||
<td class="pollAnswer"> <tmpl_var answer.percent>% (<tmpl_var answer.total>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</tmpl_loop>
|
||||
<span class="pollAnswer"><hr size="1"><b><tmpl_var responses.label>:</b> <tmpl_var responses.total></span>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
|
||||
|
||||
~~~
|
||||
.fontSettings {
|
||||
font-family:arial;
|
||||
font-size:9pt;
|
||||
}
|
||||
h2 {
|
||||
font-family:arial;
|
||||
margin-top:3px;
|
||||
margin-bottom:3px;
|
||||
}
|
||||
.pollQuestion {
|
||||
border-bottom:solid gray 1px;
|
||||
font-family:arial;
|
||||
font-size:10pt;
|
||||
font-weight:bold;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue