Changeset 1c25bcf for resources/views
- Timestamp:
- 10/25/21 21:49:53 (3 years ago)
- Branches:
- develop, master
- Children:
- e756bd9
- Parents:
- 05e57e2
- Location:
- resources/views
- Files:
-
- 1 added
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
resources/views/auth/create_password.blade.php
r05e57e2 r1c25bcf 7 7 <!-- logo --> 8 8 <div id="logo"> 9 <img class="logo" src="{{ url('assets/media/images/logo.png') }}" alt="image"> 10 <img class="logo-dark" src="{{ url('assets/media/images/logo-dark.png') }}" alt="image"> 9 <img class="logo" width="150" src="{{ url('assets/media/images/logo.png') }}" alt="image"> 11 10 </div> 12 11 <!-- ./ logo --> … … 17 16 <form action="{{ route("auth.create-password", ["id" => $id, "token" => $token]) }}" method="post"> 18 17 @csrf 19 @if ($errors->any()) 20 <div class="alert alert-danger"> 21 <ul class="m-0 pl-2"> 22 @foreach ($errors->all() as $error) 23 <li>{{ $error }}</li> 24 @endforeach 25 </ul> 26 </div> 27 @endif 18 28 19 <div class="form-group"> 29 20 <input id="password" type="password" name="password" class="form-control" placeholder="Password" autocomplete="off" required autofocus> -
resources/views/auth/forgot.blade.php
r05e57e2 r1c25bcf 7 7 <!-- logo --> 8 8 <div id="logo"> 9 <img class="logo" src="{{ url('assets/media/images/logo.png') }}" alt="image">9 <img class="logo" width="150" src="{{ url('assets/media/images/logo.png') }}" alt="image"> 10 10 </div> 11 11 <!-- ./ logo --> … … 16 16 <form action="{{ route("auth.forgot") }}" method="post"> 17 17 @csrf 18 @if ($errors->any())19 <div class="alert alert-danger">20 <ul class="m-0 pl-2">21 @foreach ($errors->all() as $error)22 <li>{{ $error }}</li>23 @endforeach24 </ul>25 </div>26 @endif27 18 28 @if(Session::has('forgotInfo'))29 <div class="alert alert-success fade show" role="alert">30 <strong> {{ Session::get('forgotInfo') }} </strong>31 <button type="button" class="close" data-dismiss="alert" aria-label="Close">32 </button>33 </div>34 @endif35 19 <div class="form-group"> 36 <input type="email" name="email" class="form-control" id="" aria-describedby="emailHelp" placeholder=" Username" required autofocus>20 <input type="email" name="email" class="form-control" id="" aria-describedby="emailHelp" placeholder="Email" required autofocus> 37 21 </div> 38 22 <button type="submit" class="btn btn-primary btn-block">Submit</button> 39 23 <hr> 40 <p class="text-muted"> Take a different action.</p>41 <a href="{{ route("auth.loginShow") }}" class="btn btn-sm btn-outline-light ml-1">Login !</a>24 <p class="text-muted">I remember my password</p> 25 <a href="{{ route("auth.loginShow") }}" class="btn btn-sm btn-outline-light ml-1">Login</a> 42 26 </form> 43 27 <!-- ./ form --> -
resources/views/auth/login.blade.php
r05e57e2 r1c25bcf 7 7 <!-- logo --> 8 8 <div id="logo"> 9 <img class="logo" src="{{ url('assets/media/images/logo.png') }}" alt="image">9 <img class="logo" width="150" src="{{ url('assets/media/images/logo.png') }}" alt="image"> 10 10 </div> 11 11 <!-- ./ logo --> … … 15 15 <!-- form --> 16 16 <form action="{{ route("auth.login") }}" method="post" accept-charset="utf-8"> 17 17 18 @csrf 18 @if(Session::has('isActiveError'))19 <div class="alert alert-danger alert-dismissible fade show" role="alert">20 <strong> {{ Session::get('isActiveError') }} </strong>21 <button type="button" class="close" data-dismiss="alert" aria-label="Close"></button>22 </div>23 @endif24 19 25 @if(Session::has('loginError'))26 20 <div class="alert alert-error fade show" role="alert"> 27 <strong> {{ Session::get('loginError') }} </strong>28 21 <button type="button" class="close" data-dismiss="alert" aria-label="Close"> 29 22 </button> 30 23 </div> 31 @endif32 24 <div class="form-group"> 33 <input id="username" type="text" tabindex="1" class="form-control{{ Session::has('usernameError') ? ' is-invalid' : '' }}" value="{{ old('username') }}" name="username" placeholder="Username" autocomplete="off" required autofocus> 34 @if(Session::has('usernameError')) 25 <input id="username" type="text" tabindex="1" class="form-control" value="{{ old('username') }}" name="username" placeholder="Username" autocomplete="off" required autofocus> 35 26 <span class="invalid-feedback" role="alert"> 36 <strong>{{ Session::get('usernameError') }}</strong>37 27 </span> 38 @endif39 28 </div> 40 29 41 30 <div class="form-group"> 42 <input id="password" type="password" tabindex="2" class="form-control{{ Session::has('passwordError') ? ' is-invalid' : '' }}" name="password" autocomplete="off" placeholder="Password" required> 43 @if(Session::has('passwordError')) 31 <input id="password" type="password" tabindex="2" class="form-control" name="password" autocomplete="off" placeholder="Password" required> 44 32 <span class="invalid-feedback" role="alert"> 45 <strong>{{ Session::get('passwordError') }}</strong>46 33 </span> 47 @endif48 34 </div> 49 35 -
resources/views/dashboard/users/index.blade.php
r05e57e2 r1c25bcf 98 98 </td> 99 99 @if(auth()->user()->hasPermission('manage_all_users')) 100 @if($user->hasRole("Referent") && $user->is_confirmed)100 @if($user->hasRole("Referent") || $user->hasRole("Viewer") && $user->is_confirmed) 101 101 <td> 102 102 <a href="javascript:void(0)" class="text-secondary" data-toggle="modal" data-target="#editModal_{{$user->id}}" title="Edit"> -
resources/views/layouts/app.blade.php
r05e57e2 r1c25bcf 93 93 <div class="header-logo"> 94 94 <a href="{{ url('dashboard') }}"> 95 <img class="logo" src="{{ url('assets/media/images/logo-small.png') }}" alt="logo">95 <img class="logo" width="80" src="{{ url('assets/media/images/logo.png') }}" alt="logo"> 96 96 </a> 97 97 </div> … … 160 160 </a> 161 161 </li> 162 @if(auth()->user()->hasPermission(" manage_all_users"))162 @if(auth()->user()->hasPermission("view_all_users")) 163 163 <li> 164 164 <a href="{{ route("dashboard.users.index") }}" class="nav-link {{ request()->is(['dashboard/users', 'dashboard/users/*']) ? 'active' : '' }}" data-toggle="tooltip"
Note:
See TracChangeset
for help on using the changeset viewer.