boum
This commit is contained in:
@ -1,12 +1,17 @@
|
||||
@extends('backend/template')
|
||||
|
||||
@section('page-css')
|
||||
<style>
|
||||
html, body {
|
||||
background-image: url('{{URL::to('imgs/adminbg.jpg')}}');
|
||||
background-size: cover;
|
||||
}</style>
|
||||
@endsection
|
||||
@section('content')
|
||||
<link href="css/home.css" rel="stylesheet" type="text/css"/>
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="row" style="margin-top:10%">
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">Login</div>
|
||||
<div class="panel-body">
|
||||
@if (session('status'))
|
||||
|
@ -1,76 +0,0 @@
|
||||
<link href="css/navbar.css" rel="stylesheet" type="text/css"/>
|
||||
<nav class="navbar navbar-default">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="#">Espace {{ $nameRoute }}</a>
|
||||
<p class="navbar-text"><img height="25" width="25" src="{{$me->image}}"></img> </p>
|
||||
<p class="navbar-text">{{$me->firstname}} {{$me->lastname}}</p>
|
||||
<p class="navbar-text">{{$me->email}}</p>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li>
|
||||
@if (!Session::has('admin'))
|
||||
<a href="logout">Se déconnecter</a>
|
||||
@else
|
||||
<a href="admin">Retour Admin</a>
|
||||
@endif
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li>
|
||||
<a data-toggle="modal" data-target="#myModal1">Mes paramètres</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
||||
<!-- Modal -->
|
||||
<div class="modal fade" id="myModal1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title" id="myModalLabel">Informations personnelles</h4>
|
||||
</div>
|
||||
<form class="form-horizontal" role="form" @if ($me->droits == 0) action="update" @else action="updateUser" @endif method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="_token" value="{{{ csrf_token() }}}" />
|
||||
<input type="hidden" name="idUser" value="{{ $me->id }}" />
|
||||
<div class="modal-body">
|
||||
<div class="form-group">
|
||||
<label for="firstname" class="col-sm-2 control-label">Prénom</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" class="form-control" id="firstname" name="firstname" required placeholder="Prénom" value="{{$me->firstname}}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="lastname" class="col-sm-2 control-label">Nom</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" class="form-control" id="lastname" name="lastname" required placeholder="Nom" value="{{$me->lastname}}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email" class="col-sm-2 control-label">Email</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="email" class="form-control" id="email" name="email" required placeholder="Email" value="{{$me->email}}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="city" class="col-sm-2 control-label">Ecole</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" class="form-control" id="city" name="school" required placeholder="Ecole" value="{{$me->school}}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label" for="exampleInputFile">Image</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="file" name="file" id="file">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
|
||||
<button type="submit" class="btn btn-primary">Enregistrer</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -19,6 +19,7 @@
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">Mes listes d'Oeuvres</div>
|
||||
<div class="panel-body">
|
||||
<div class="alert alert-warning">Ci-dessous, vous pouvez associer les listes d'oeuvres à un jeu. Cliquez sur le bouton "<span class="glyphicon glyphicon-ok"> </span> Associer" quand c'est terminé. Cliquez sur le bouton <span class="glyphicon glyphicon-pencil"></span> pour modifier la liste.</div>
|
||||
<form method="post" action="{{ URL::to('referent/changerparamliste') }}">
|
||||
<table class="table">
|
||||
<thead class="tablethead">
|
||||
@ -30,6 +31,12 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Aucune liste</td>
|
||||
<td><input type="radio" name="memo" value="0" type="checkbox"></td>
|
||||
<td><input type="radio" name="puzzle" value="0" type="checkbox"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
@foreach ($meslistes as $index => $listeoeuvre)
|
||||
<tr>
|
||||
<td>{{$listeoeuvre->nom}}</td>
|
||||
@ -38,7 +45,7 @@
|
||||
<td>
|
||||
<div class="btn-group" role="group" aria-label="...">
|
||||
<a href="{{ URL::to('referent/modifierliste', $listeoeuvre->id) }}" class="btn btn-xs btn-primary"><span class="glyphicon glyphicon-pencil"></span></a>
|
||||
<a href="{{ URL::to('referent/supprimerliste', $listeoeuvre->id) }}" type="button" class="btn btn-xs btn-danger"><span class="glyphicon glyphicon-trash"></span></a>
|
||||
<a href="{{ URL::to('referent/supprimerliste', $listeoeuvre->id) }}" type="button" class="confirm btn btn-xs btn-danger"><span class="glyphicon glyphicon-trash"></span></a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@ -47,7 +54,7 @@
|
||||
</form>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="text-center"><button type="submit" class="btn btn-xs btn-primary"><span class="glyphicon glyphicon-pencil"></span> Enregistrer</button></div>
|
||||
<div class="text-center"><button type="submit" class="btn btn-xs btn-primary"><span class="glyphicon glyphicon-ok-circle"> </span> Associer</button></div>
|
||||
<form method="post" action="{{ URL::to('referent/ajouterliste') }}">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
<div class="form-group">
|
||||
@ -242,7 +249,7 @@
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.thumbnail img {
|
||||
width:100px;
|
||||
width:100%;
|
||||
height: 100px;
|
||||
}
|
||||
</style>
|
||||
@ -252,7 +259,9 @@
|
||||
<script src="{{ URL::to('js/bootstrap-multiselect.js') }}"></script>
|
||||
<script>
|
||||
$("select.multiple").imagepicker();
|
||||
|
||||
$('.confirm').click(function(e) {
|
||||
if (!confirm('Voulez-vous vraiment confirmer la supression ?')) e.preventDefault();
|
||||
});
|
||||
|
||||
$('#imagesSearched').load('{{ URL::to('api/searchOeuvres') }}', function(){$("select.multiple").imagepicker();});
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
<nav class="navbar navbar-inverse navbar-fixed-top">
|
||||
<nav class="navbar navbar-default navbar-fixed-top">
|
||||
<div class="container">
|
||||
<!-- Brand and toggle get grouped for better mobile display -->
|
||||
<div class="navbar-header">
|
||||
|
@ -4,11 +4,11 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Espace Référent | Les Jeux du Musée</title>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="{{URL::to('css/bootstrap-sandstone.min.css')}}">
|
||||
@yield('page-css')
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no">
|
||||
</head>
|
||||
<body style="padding-top:70px">
|
||||
<body style="padding-top:90px">
|
||||
|
||||
@yield('content')
|
||||
|
||||
|
Reference in New Issue
Block a user