Skip to content

Instantly share code, notes, and snippets.

@pramithkm
Created February 11, 2014 04:43
Show Gist options
  • Save pramithkm/8929391 to your computer and use it in GitHub Desktop.
Save pramithkm/8929391 to your computer and use it in GitHub Desktop.
<div id="VisualQuizIndex">
<a class="gui-sprite gui-startbutton strt-bttn" href="$Link('question')/$QuestionsInOrder.First.ID"><% _t('VisualQuizPage.StartTheQuiz') %></a>
<div class="clearfix clear">
<div id="Step1Wrapper" class="step span-6">
<a href="$Link('question')/$QuestionsInOrder.First.ID"><h2><% _t('VisualQuizPage.Step') %> <span>1</span></h2></a>
<a href="$Link('question')/$QuestionsInOrder.First.ID">
<div class="step-vcenter-2">
<% if $Step1Text %>
<p>$Step1Text</p>
<% end_if %>
</div>
</a>
<% if $Step1Image %>
<a href="$Link('question')/$QuestionsInOrder.First.ID"><img src="$Step1Image.SetSize(213, 139).AbsoluteURL" alt="Step 1 Image" /></a>
<% end_if %>
</div>
<div id="Step2Wrapper" class="step span-6">
<% if $Step2Link %><a href="$Step2Link"><% end_if %>
<h2><% _t('VisualQuizPage.Step') %><span>2</span></h2>
<div class="step-vcenter-1">
<% if $Step2Text %>
<p>$Step2Text</p>
<% end_if %>
</div>
<% if $Step2Image %>
<img src="$Step2Image.SetSize(213, 139).AbsoluteURL" alt="Step 2 Image" />
<% end_if %>
<% if $Step2Link %></a><% end_if %>
</div>
<div id="Step3Wrapper" class="step span-6">
<a href="tools"><h2><% _t('VisualQuizPage.Step') %> <span>3</span></h2></a>
<a href="tools">
<div class="step-vcenter-1">
<% if $Step3Text %>
<p>$Step3Text</p>
<% end_if %>
</div>
</a>
<% if $Step3Image %>
<a href="tools"><img src="$Step3Image.SetSize(213, 139).AbsoluteURL" alt="Step 3 Image" /></a>
<% end_if %>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment