Browse Source

Template

dev-master
Dorian Lods 4 years ago
parent
commit
f2ef9b00f7
5 changed files with 28 additions and 6 deletions
  1. +1
    -2
      README.md
  2. +1
    -1
      app/config/parameters.yml
  3. +3
    -2
      src/Mmi/Bundle/ChallengeBundle/Resources/public/js/main.js
  4. +23
    -1
      src/Mmi/Bundle/EnigmaBundle/Resources/views/Default/ok.html.twig
  5. +0
    -0
      var/cache/.gitkeep

+ 1
- 2
README.md View File

@@ -43,9 +43,8 @@ $ bin/console server:run &
Déploiement
-----------

Utilisation de mate (`/.mate`)
Utilisation de mage (`/.mage`)

```
$ vendor/bin/mage deploy to:production
```


+ 1
- 1
app/config/parameters.yml View File

@@ -1,6 +1,6 @@
# This file is auto-generated during the composer install
parameters:
database_host: localhost
database_host: 192.168.1.99
database_port: null
database_name: defis48
database_user: root


+ 3
- 2
src/Mmi/Bundle/ChallengeBundle/Resources/public/js/main.js View File

@@ -27,15 +27,16 @@ $(document).ready(function () {
setTimeout(function () {
$('#loader').fadeOut(2000);
$('#pixel-grid').animate({
opacity: 0.25
opacity: 0
}, 2000, function() {
$('header, main').fadeIn(2000);
});

setTimeout(function () {
var $target = $('#container');
var middle = 60-(window.innerHeight/2);
$target.scrollTo($('.active'), 1500,{ easing:'easeOutCirc', offset:{ top:middle, left:0 } });
$('#pixel-grid').hide();
}, 4000);
}, 4000);



+ 23
- 1
src/Mmi/Bundle/EnigmaBundle/Resources/views/Default/ok.html.twig View File

@@ -1 +1,23 @@
Enregistré !
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>EnigMMI</title>
<meta name="theme-color" content="#000000">
<link rel="stylesheet" href="{{ asset('bundles/mmienigma/css/main.css') }}">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<script src="{{ asset('bundles/mmienigma/js/jquery-latest.min.js') }}"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
</head>
<body>

<header>
<div id="help">
<div>
<div class="logo"></div>
<h1>Votre réponse est bien enregistrée</h1>
</div>
</div>
</header>
</body>
</html>

+ 0
- 0
var/cache/.gitkeep View File


Loading…
Cancel
Save