3
Copyright (C) Högskolan i Skövde <his.se> 2013.
4
Copyright (C) Oscar Jonsson <c11oscjo@student.his.se> 2013.
5
Copyright (C) Simon Bergöö <a11simbe@student.his.se> 2013.
6
This file is part of LenaSYS
8
This program is free software: you can redistribute it and/or modify
9
it under the terms of the GNU Lesser General Public License as published by
10
the Free Software Foundation, either version 3 of the License.
12
This program is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU Lesser General Public License for more details.
17
You should have received a copy of the GNU Lesser General Public License
18
along with this program. If not, see <http://www.gnu.org/licenses/>.
22
<link href="<?php echo base_url()?>css/template_layout.css" rel="stylesheet" type="text/css">
23
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
24
<script src="<?php echo base_url()?>js/template_layout.js"></script>
32
echo "<div id=\"mostUsed\">";
34
for($i = 1; $i <= 16; $i++){ //Add more numbers in the forloop to add more boxes, add more images with equal names to add more boxes with pictures
35
echo "<a href=\"".base_url()."layout/test/".$i."\" class=\"box\" style=\"background-image:url('".
36
base_url()."img/template_layout_img/".$i.".png') \"></a>";
40
<div id=\"lessUsed\" hidden=\"hidden\">";
44
* This for-loop ads the last empty boxes to fill out the row (just for the look, according to the mockup)
48
for($m = 5 - $i % 5; $m >= 1; $m--){
49
echo "<div class=\"box2\"></div>";
56
<div id="buttonContainer">
57
<a href="#" id="hideButton" class="showhide" hidden="hidden" onclick="hide()">Hide</a>
58
<a href="#" id="showButton" class="showhide" onclick="show()">Show</a>
b'\\ No newline at end of file'