maj icon et page game

This commit is contained in:
Jerome Morjon 2015-03-16 19:47:57 +01:00
parent 33f8be4a19
commit 8ec8fb4485
15 changed files with 79 additions and 5 deletions

View File

@ -1,7 +1,7 @@
<?php namespace App\Http\Controllers;
use App\Referent;
use Cookie;
class HomeController extends Controller {
/**
@ -22,7 +22,9 @@ class HomeController extends Controller {
public function index()
{
return view('frontend/games');
$idRef = Cookie::get('referent');
$ref = Referent::find($idRef);
return view('frontend/games', ['ref' => $ref]);
}
public function choisirRef()

View File

@ -84,7 +84,7 @@ nav input {
.text-center img:hover
{
padding-bottom : 5px;
border-bottom: 2px solid black;
border-bottom: 2px solid dimgrey;
}
.titreIcon
@ -99,6 +99,11 @@ nav input {
height: 150px;
}
#back_ref img
{
height: 20px;
}
button {
cursor: pointer;
display: inline-block;
@ -126,4 +131,56 @@ button:active {
width:100%;
height:100%;
}
}
/* FIL D'ARIANE */
#back_ref{
font-family:"Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;
width:500px;
margin-left: 5px;
}
/*Reset sur la liste*/
#back_ref ul, #back_ref li {
list-style-type:none;
padding:0;margin:0;
}
/*Styles sur la liste*/
#back_ref ul{
height:33px;
margin:10px auto;
padding:30px 0;
}
/*Premier ÈlÈment de la liste*/
#back_ref li.first {
background:url(../imgs/ariane/first-left.png) 0 0 no-repeat;
height:33px;
}
/*Tous les ÈlÈments de la liste sauf premier et dernier*/
#back_ref li {
float:left;
background:url(../imgs/ariane/general-left.png) 0 0 no-repeat;
line-height:33px;
margin:5px 0 0 0;
padding-left:13px;
}
/*Style sur les ÈlÈments a et span*/
#back_ref li a,
#back_ref li span {
float:left;
background:url(../imgs/ariane/bg-gradient.jpg) 0 0 repeat-x;
height:33px;
margin:0;
padding:0 0 0 5px;
font-size:11px;
text-transform:uppercase;
letter-spacing:0.02em;
}
/*Style du dernier span de la liste*/
#back_ref li span.end {
float:left;
background:url(../imgs/ariane/general-right.png) 0 0 no-repeat;
width:20px;
height:33px;
}

BIN
SRC/public/imgs/ariane/Thumbs.db Executable file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 548 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 519 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 566 B

BIN
SRC/public/imgs/home.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

View File

@ -4,8 +4,23 @@
<div class="titreIcon">
<img src="imgs/games.png" />
</div>
<div id="back_ref">
<ul>
<li class="first">
<a href="/choisirref"><img src="{{ $ref -> image}}" style="border:1px solid silver;"/></a>
<span class="end">&nbsp;</span>
</li>
<li>
<span><img src="imgs/games.png" alt="game"/></span>
<span class="end">&nbsp;</span>
</li>
</ul>
</div>
<div class="text-center">
<a href="{{ URL::to('puzzle') }}" ><img src="imgs/puzzle/iconPuzzle.png" alt="puzzle"/></a>
<a href="{{ URL::to('memo') }}" ><img src="imgs/memo/memo.png" alt="memo"/></a>
<a href="{{ URL::to('memo') }}" ><img src="imgs/memo/memo2.png" alt="memo"/></a>
</div>
<footer>
<p style="text-align:center; color:black; font-size:12px; position:absolute; bottom: 0; "> Application du musée Augustin </p>
</footer>
@endsection