silverstripe-gallery 

silverstripe-gallery Commit Details

Date:2014-03-28 21:20:17 (6 years 7 months ago)
Author:Nicola Fontana
Branch:dev, master
Commit:b71fcab4d57db03fe6c52fa63ef964b8fd400896
Parents: 17cc7c2e2b5113bb031fcd6a0fdb739b16a71213
Message:Make default template compatible with silverstrap

Rewrote GalleryPage.ss from scratch to make it compatible with latest
(BootStrap 3.1.1 enabled) silverstrap theme.
Changes:
Mtemplates/Layout/GalleryPage.ss (1 diff)

File differences

templates/Layout/GalleryPage.ss
1
12
2
3
43
54
6
7
8
9
10
11
12
13
14
15
16
5
6
7
8
9
10
11
12
13
1714
18
19
<% require javascript(http://cdn.jsdelivr.net/jquery/1.11.0/jquery.min.js) %>
<% require css(gallery/css/jquery.ad-gallery.css) %>
<% require javascript(framework/thirdparty/jquery/jquery.js) %>
<% require javascript(gallery/javascript/jquery.ad-gallery.min.js) %>
<% require javascript(gallery/javascript/gallery.js) %>
<div class="content-container">
<article>
<h1>$Title</h1>
$Gallery
<div class="content">$Content</div>
</article>
$Form
$PageComments
<div class="container">
<div class="row">
<main class="col-md-12" id="ss-content">
<div class="page-header"><h1>$Title</h1></div>
$Gallery
$Content
$Form
</main>
</div>
</div>
<% include SideBar %>

Archive Download the corresponding diff file