mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
added page templates
This commit is contained in:
parent
4af8796673
commit
3e933f5960
49
templates/Layout/Page2MultiFormTestPage.ss
Normal file
49
templates/Layout/Page2MultiFormTestPage.ss
Normal file
@ -0,0 +1,49 @@
|
||||
<style type="text/css">
|
||||
ul.stepIndicator {
|
||||
height:2.3em;
|
||||
margin-left: 0;
|
||||
}
|
||||
.stepIndicator li {
|
||||
display: block;
|
||||
float: left;
|
||||
margin-right: 20px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
.stepIndicator li.current {
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="typography">
|
||||
<% if Menu(2) %>
|
||||
<% include SideBar %>
|
||||
<div id="Content">
|
||||
<% end_if %>
|
||||
|
||||
<% if Level(2) %>
|
||||
<% include BreadCrumbs %>
|
||||
<% end_if %>
|
||||
|
||||
<h2>$Title</h2>
|
||||
|
||||
<% if Content %>
|
||||
<div class="typography">
|
||||
$Content
|
||||
</div>
|
||||
<% end_if %>
|
||||
<% if Page2MultiForm %>
|
||||
<% control Page2MultiForm %><% include MultiFormProgressList %><% end_control %>
|
||||
$Page2MultiForm
|
||||
<% end_if %>
|
||||
<% if Form %>
|
||||
$Form
|
||||
<% end_if %>
|
||||
|
||||
$PageComments
|
||||
|
||||
|
||||
$ContactForm
|
||||
<% if Menu(2) %>
|
||||
</div>
|
||||
<% end_if %>
|
||||
</div>
|
49
templates/Layout/Page3MultiFormTestPage.ss
Normal file
49
templates/Layout/Page3MultiFormTestPage.ss
Normal file
@ -0,0 +1,49 @@
|
||||
<style type="text/css">
|
||||
ul.stepIndicator {
|
||||
height:2.3em;
|
||||
margin-left: 0;
|
||||
}
|
||||
.stepIndicator li {
|
||||
display: block;
|
||||
float: left;
|
||||
margin-right: 20px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
.stepIndicator li.current {
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="typography">
|
||||
<% if Menu(2) %>
|
||||
<% include SideBar %>
|
||||
<div id="Content">
|
||||
<% end_if %>
|
||||
|
||||
<% if Level(2) %>
|
||||
<% include BreadCrumbs %>
|
||||
<% end_if %>
|
||||
|
||||
<h2>$Title</h2>
|
||||
|
||||
<% if Content %>
|
||||
<div class="typography">
|
||||
$Content
|
||||
</div>
|
||||
<% end_if %>
|
||||
<% if Page3MultiForm %>
|
||||
<% control Page3MultiForm %><% include MultiFormProgressList %><% end_control %>
|
||||
$Page3MultiForm
|
||||
<% end_if %>
|
||||
<% if Form %>
|
||||
$Form
|
||||
<% end_if %>
|
||||
|
||||
$PageComments
|
||||
|
||||
|
||||
$ContactForm
|
||||
<% if Menu(2) %>
|
||||
</div>
|
||||
<% end_if %>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user