upload picture
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Laravel</title>
|
||||
<title>ModuleWeb</title>
|
||||
|
||||
<link href="/css/app.css" rel="stylesheet">
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
@endif
|
||||
<br>
|
||||
<a href="/referents/vive.linux/games"><img style="border: 7px solid white; box-shadow: 0px 0px 3px black;" src="./pictures/referent/francois.jpg" width="35%" alt="{{ $ref -> name }}-Nom"></a>
|
||||
<div class="well well-lg">{{$ref -> name}}, Nom</div>
|
||||
<div class="well well-lg">{{$ref -> firstname}}, {{$ref -> lastname}}</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
|
@ -31,7 +31,7 @@
|
||||
<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" method="POST" role="form" @if ($me->droits == 0) action="update" @else action="updateUser" @endif>
|
||||
<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">
|
||||
@ -60,11 +60,11 @@
|
||||
</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" id="exampleInputFile">
|
||||
</div>
|
||||
</div>
|
||||
<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>
|
||||
|
Reference in New Issue
Block a user