This commit is contained in:
Malibu 2015-03-02 12:22:04 +01:00
commit 8568cbe04e
47 changed files with 29 additions and 26 deletions

0
.gem/ruby/1.9.1/cache/bundler-1.8.0.gem vendored Normal file → Executable file
View File

0
.gem/ruby/1.9.1/cache/rmagick-2.13.4.gem vendored Normal file → Executable file
View File

0
.gem/specs/rubygems.org%80/latest_specs.4.8 Normal file → Executable file
View File

View File

0
.gitignore vendored Normal file → Executable file
View File

0
.mysql_history Normal file → Executable file
View File

0
SRC/.env.example Normal file → Executable file
View File

0
SRC/app/Http/Middleware/RedirectIfNotAdmin.php Normal file → Executable file
View File

0
SRC/app/Http/routes.php Normal file → Executable file
View File

0
SRC/app/Models/Auteur.php Normal file → Executable file
View File

0
SRC/app/Models/Datation.php Normal file → Executable file
View File

0
SRC/app/Models/Description.php Normal file → Executable file
View File

0
SRC/app/Models/Designation.php Normal file → Executable file
View File

0
SRC/app/Models/Domaine.php Normal file → Executable file
View File

0
SRC/app/Models/Jeu.php Normal file → Executable file
View File

0
SRC/app/Models/ListeOeuvre.php Normal file → Executable file
View File

0
SRC/app/Models/Matiere.php Normal file → Executable file
View File

0
SRC/app/Models/Oeuvre.php Normal file → Executable file
View File

0
SRC/app/Models/Technique.php Normal file → Executable file
View File

0
SRC/bootstrap/home.css Normal file → Executable file
View File

0
SRC/init/table.sql Normal file → Executable file
View File

0
SRC/public/css/.DS_Store vendored Normal file → Executable file
View File

0
SRC/public/css/admin.css Normal file → Executable file
View File

0
SRC/public/css/chosen-sprite.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 538 B

After

Width:  |  Height:  |  Size: 538 B

0
SRC/public/css/chosen-sprite@2x.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 738 B

After

Width:  |  Height:  |  Size: 738 B

0
SRC/public/css/chosen.min.css vendored Normal file → Executable file
View File

0
SRC/public/css/game.css Normal file → Executable file
View File

0
SRC/public/css/home.css Normal file → Executable file
View File

0
SRC/public/css/navbar.css Normal file → Executable file
View File

0
SRC/public/css/referent.css Normal file → Executable file
View File

55
SRC/public/js/ListeOeuvre.js Normal file → Executable file
View File

@ -79,20 +79,32 @@ $('#search_button, #previous, #next').click(function(event) {
}
$('#oeuvreRes').empty();
dataSend = {
_token : $('#_tokenRes').val(),
auteur: $('#auteur').val(),
designation: $('#designation').val(),
matiere: $('#matiere').val(),
domaine: $('#domaine').val(),
technique: $('#technique').val(),
debut: $('#debut').val(),
fin: $('#fin').val()
};
$.post(url,
dataSend,
function( data ) {
if (data.length == 0 )
dataSend = "_token = $('#_tokenRes').val(),"
+"auteur = ('#auteur').val(),"
+"designation = $('#designation').val(),"
+"matiere = $('#matiere').val(),"
+"domaine = $('#domaine').val(),"
+"technique = $('#technique').val(),"
+"debut = $('#debut').val(),"
+"fin = $('#fin').val()";
var r = new XMLHttpRequest();
r.open("POST", url, true);
r.onreadystatechange = function () {
if (r.readyState != 4 || r.status != 200)
{
$("#oeuvreRes").append('<div class="alert alert-danger">'
+'<strong>Oouups!</strong> Il y a un problème.<br><br>'
+'<ul>'
+'<li>Erreur lors de la récupération</li>'
+'</ul>'
+'</div>'
);
return;
}
data = r.responseText;
if (data.length == 0 )
$("#oeuvreRes").append("Aucune Oeuvre Trouvé..");
data.data.forEach( function(el) {
$("#oeuvreRes").append('<div class="col-xs-4 col-md-3">'
@ -114,18 +126,9 @@ $('#search_button, #previous, #next').click(function(event) {
$("#next").attr('href', data.next_page_url);
$("#next").parent().removeClass('disabled');
}
}, "json" )
.fail(function() {
$("#oeuvreRes").append('<div class="alert alert-danger">'
+'<strong>Oouups!</strong> Il y a un problème.<br><br>'
+'<ul>'
+'<li>Erreur lors de la récupération</li>'
+'</ul>'
+'</div>'
);
});
};
r.send(dataSend);
});

0
SRC/public/js/chosen.jquery.js Normal file → Executable file
View File

0
SRC/public/pictures/.DS_Store vendored Normal file → Executable file
View File

0
SRC/public/pictures/homePic/.DS_Store vendored Normal file → Executable file
View File

0
SRC/public/pictures/homePic/home.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

0
SRC/public/pictures/pic/.DS_Store vendored Normal file → Executable file
View File

0
SRC/public/pictures/pic/Game.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

0
SRC/public/pictures/pic/home.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

0
SRC/public/pictures/referent/.DS_Store vendored Normal file → Executable file
View File

0
SRC/public/pictures/referent/wkszt8.jpg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

0
SRC/public/pictures/setting_picture/.DS_Store vendored Normal file → Executable file
View File

0
SRC/public/pictures/setting_picture/delete_icon.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

0
SRC/public/pictures/setting_picture/fond.jpg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 183 KiB

After

Width:  |  Height:  |  Size: 183 KiB

0
SRC/resources/views/.DS_Store vendored Normal file → Executable file
View File

0
SRC/resources/views/one_referent_game.blade.php Normal file → Executable file
View File

0
SRC/resources/views/referent_games.blade.php Normal file → Executable file
View File

BIN
UML/diagramClass2.0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB