minor changes
This commit is contained in:
parent
2fd72aa6d2
commit
81a0b5d7ab
2 changed files with 19 additions and 6 deletions
|
|
@ -19,18 +19,15 @@
|
|||
<input type="text" class="mt-3 mr-2 form-control" id="lastname" style="font-size:20px;" name="email" value="{{ old('email') ?? $user->email }}" required >
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group" style="display:flex;">
|
||||
<label class="ml-2 mt-4" style="width:150px; text-align:left;" for="bild" ><h4>Bild:</h4></label>
|
||||
|
||||
@if(file_exists (public_path ('img/user/'.$user->id.'.jpg')))
|
||||
<!--File exists -->
|
||||
|
||||
<a href="/img/user/{{$user->id}}_gross.jpg" data-lightbox="{{$user->id}}_gross.jpg" data-title="{{ $user->name }}">
|
||||
<img src="/img/user/{{$user->id}}.jpg" class="mt-3 ml-3" >
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
@else
|
||||
<img src="/img/placeholder/user64x96.jpg" class="mt-3 ml-3" >
|
||||
@endif
|
||||
|
|
|
|||
|
|
@ -9,12 +9,28 @@
|
|||
|
||||
<div class="form-group" style="display:flex;">
|
||||
<label class="ml-2 mt-4" style="width:150px; text-align:left;" for="name"><h4>Name:</h4></label>
|
||||
<input class="mt-3 mr-2 form-control" type="text" id="name" style="font-size:20px;" name="name" value="{{ $user->name }}" required readonly>
|
||||
<input class="mt-3 mr-2 form-control" type="text" id="name" style="font-size:20px;" name="name" value="{{ old('name') ?? $user->name }}" required >
|
||||
</div>
|
||||
|
||||
<div class="form-group" style="display:flex;">
|
||||
<label class="ml-2 mt-4" style="width:150px; text-align:left;" for="name" ><h4>EMail:</h4></label>
|
||||
<input type="text" class="mt-3 mr-2 form-control" id="lastname" style="font-size:20px;" name="email" value="{{ $user->email }}" required readonly>
|
||||
<input type="text" class="mt-3 mr-2 form-control" id="lastname" style="font-size:20px;" name="email" value="{{ old('email') ?? $user->email }}" required >
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="form-group" style="display:flex;">
|
||||
<label class="ml-2 mt-4" style="width:150px; text-align:left;" for="bild" ><h4>Bild:</h4></label>
|
||||
|
||||
@if(file_exists (public_path ('img/user/'.$user->id.'.jpg')))
|
||||
<!--File exists -->
|
||||
<a href="/img/user/{{$user->id}}_gross.jpg" data-lightbox="{{$user->id}}_gross.jpg" data-title="{{ $user->name }}">
|
||||
<img src="/img/user/{{$user->id}}.jpg" class="mt-3 ml-3" >
|
||||
</a>
|
||||
@else
|
||||
<img src="/img/placeholder/user64x96.jpg" class="mt-3 ml-3" >
|
||||
@endif
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-group" style="display:flex;">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue