This repository has been archived on 2021-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
ModuleWeb/SRC/resources/views/frontend/memo.blade.php

54 lines
1.2 KiB
PHP
Raw Normal View History

@extends('frontend/template')
2015-03-09 21:22:43 +00:00
@section('page-css')
2015-03-09 21:22:43 +00:00
<link rel="stylesheet" href="/css/memory.css">
2015-03-17 11:23:24 +00:00
<link rel="stylesheet" href="/css/fonts/style.css" type="text/css">
2015-03-20 20:28:11 +00:00
2015-03-15 18:38:11 +00:00
<style>
.mg__tile--inside {
2015-03-16 15:01:24 +00:00
background-size: cover;
2015-03-15 18:38:11 +00:00
}
2015-03-16 15:01:24 +00:00
2015-03-15 18:38:11 +00:00
</style>
@endsection
@section('content')
2015-03-21 15:39:38 +00:00
<div style="position: fixed; left: 0;top:0;">
<a href="/"><img style="height: 50px; width:50px;" src="{{ URL::to('imgs/previouspage.png') }}"></a>
2015-03-20 20:28:11 +00:00
</div>
2015-03-16 13:07:32 +00:00
<div id="my-memory-game"></div>
@endsection
@section('page-scripts')
2015-03-30 22:01:03 +00:00
<script src="/js/responsivevoice.js"></script>
2015-03-17 17:52:25 +00:00
<script src="/js/firework.js"></script>
2015-03-23 14:25:03 +00:00
<!--<script src="/js/fire-work.js"></script>-->
<script src="/js/memory.js"></script>
2015-03-17 17:52:25 +00:00
2015-03-14 16:48:57 +00:00
<script>
2015-03-16 15:01:24 +00:00
2015-03-15 18:38:11 +00:00
var cards2 = [];
@foreach($oeuvres as $o)
cards2.push(
{
id : '{{$o->id}}',
2015-03-22 15:49:58 +00:00
img : 'http://www.augustins.org/documents/10180/156407/{{ $o->image}}'
}
);
2015-03-15 18:38:11 +00:00
@endforeach
var myMem = new Memory({
wrapperID : "my-memory-game",
cards : cards2,
onGameStart : function() { return false; },
onGameEnd : function() { return false; }
2015-03-23 14:01:12 +00:00
}, {{$niveau}}, {{$nbBloc}},{{$nbPartie}} );
2015-03-16 15:01:24 +00:00
2015-03-14 16:48:57 +00:00
</script>
2015-03-17 17:52:25 +00:00
2015-03-16 15:01:24 +00:00
@endsection