Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Platform
Commits
da074ce5
Commit
da074ce5
authored
Nov 30, 2015
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Publish new asgard views
parent
465e9cd3
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
156 additions
and
175 deletions
+156
-175
permissions.blade.php
...es/views/asgard/user/admin/partials/permissions.blade.php
+1
-1
create.blade.php
resources/views/asgard/user/admin/roles/create.blade.php
+2
-6
edit.blade.php
resources/views/asgard/user/admin/roles/edit.blade.php
+2
-6
index.blade.php
resources/views/asgard/user/admin/roles/index.blade.php
+16
-38
create.blade.php
resources/views/asgard/user/admin/users/create.blade.php
+0
-3
edit.blade.php
resources/views/asgard/user/admin/users/edit.blade.php
+1
-5
index.blade.php
resources/views/asgard/user/admin/users/index.blade.php
+15
-38
login.blade.php
resources/views/asgard/user/public/login.blade.php
+39
-26
register.blade.php
resources/views/asgard/user/public/register.blade.php
+31
-23
begin.blade.php
resources/views/asgard/user/public/reset/begin.blade.php
+25
-14
complete.blade.php
resources/views/asgard/user/public/reset/complete.blade.php
+24
-15
No files found.
resources/views/asgard/user/admin/partials/permissions.blade.php
View file @
da074ce5
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<div
class=
"checkbox"
>
<div
class=
"checkbox"
>
<label
for=
"
<?php
echo
"
$subPermissionTitle
.
$permissionAction
"
?>
"
>
<label
for=
"
<?php
echo
"
$subPermissionTitle
.
$permissionAction
"
?>
"
>
<input
name=
"permissions[
<?php
echo
"
$subPermissionTitle
.
$permissionAction
"
?>
]"
type=
"hidden"
value=
"false"
/>
<input
name=
"permissions[
<?php
echo
"
$subPermissionTitle
.
$permissionAction
"
?>
]"
type=
"hidden"
value=
"false"
/>
<input
id=
"
<?php
echo
"
$subPermissionTitle
.
$permissionAction
"
?>
"
name=
"permissions[
<?php
echo
"
$subPermissionTitle
.
$permissionAction
"
?>
]"
type=
"checkbox"
class=
"flat-blue"
<?php
echo
$model
->
hasAccess
(
"
$subPermissionTitle
.
$permissionAction
"
)
?
'checked'
:
''
?>
value=
"true"
/>
{{ ucfirst($permissionAction) }}
<input
id=
"
<?php
echo
"
$subPermissionTitle
.
$permissionAction
"
?>
"
name=
"permissions[
<?php
echo
"
$subPermissionTitle
.
$permissionAction
"
?>
]"
type=
"checkbox"
class=
"flat-blue"
<?php
echo
array_get
(
$model
->
permissions
,
"
$subPermissionTitle
.
$permissionAction
"
,
false
)
===
true
?
'checked'
:
''
?>
value=
"true"
/>
{{ ucfirst($permissionAction) }}
</label>
</label>
</div>
</div>
<?php
endforeach
;
?>
<?php
endforeach
;
?>
...
...
resources/views/asgard/user/admin/roles/create.blade.php
View file @
da074ce5
...
@@ -9,10 +9,6 @@
...
@@ -9,10 +9,6 @@
</ol>
</ol>
@stop
@stop
@section('styles')
{!! Theme::style('css/vendor/iCheck/flat/blue.css') !!}
@stop
@section('content')
@section('content')
{!! Form::open(['route' => 'admin.user.role.store', 'method' => 'post']) !!}
{!! Form::open(['route' => 'admin.user.role.store', 'method' => 'post']) !!}
<div class="
row
">
<div class="
row
">
...
@@ -29,14 +25,14 @@
...
@@ -29,14 +25,14 @@
<div class="
col
-
sm
-
6
">
<div class="
col
-
sm
-
6
">
<div class="
form
-
group
{{
$errors
->
has
(
'name'
)
?
' has-error'
:
''
}}
">
<div class="
form
-
group
{{
$errors
->
has
(
'name'
)
?
' has-error'
:
''
}}
">
{!! Form::label('name', trans('user::roles.form.name')) !!}
{!! Form::label('name', trans('user::roles.form.name')) !!}
{!! Form::text('name', Input::old('name'), ['class' => 'form-control
slugify
', 'placeholder' => trans('user::roles.form.name')]) !!}
{!! Form::text('name', Input::old('name'), ['class' => 'form-control
', 'data-slug' => 'source
', 'placeholder' => trans('user::roles.form.name')]) !!}
{!!
$errors->first
('name', '<span class="
help
-
block
">:message</span>') !!}
{!!
$errors->first
('name', '<span class="
help
-
block
">:message</span>') !!}
</div>
</div>
</div>
</div>
<div class="
col
-
sm
-
6
">
<div class="
col
-
sm
-
6
">
<div class="
form
-
group
{{
$errors
->
has
(
'slug'
)
?
' has-error'
:
''
}}
">
<div class="
form
-
group
{{
$errors
->
has
(
'slug'
)
?
' has-error'
:
''
}}
">
{!! Form::label('slug', trans('user::roles.form.slug')) !!}
{!! Form::label('slug', trans('user::roles.form.slug')) !!}
{!! Form::text('slug', Input::old('slug'), ['class' => 'form-control slug', 'placeholder' => trans('user::roles.form.slug')]) !!}
{!! Form::text('slug', Input::old('slug'), ['class' => 'form-control slug', '
data-slug' => 'target', '
placeholder' => trans('user::roles.form.slug')]) !!}
{!!
$errors->first
('slug', '<span class="
help
-
block
">:message</span>') !!}
{!!
$errors->first
('slug', '<span class="
help
-
block
">:message</span>') !!}
</div>
</div>
</div>
</div>
...
...
resources/views/asgard/user/admin/roles/edit.blade.php
View file @
da074ce5
...
@@ -11,10 +11,6 @@
...
@@ -11,10 +11,6 @@
</ol>
</ol>
@stop
@stop
@section('styles')
{!! Theme::style('css/vendor/iCheck/flat/blue.css') !!}
@stop
@section('content')
@section('content')
{!! Form::open(['route' => ['admin.user.role.update',
$role->id
], 'method' => 'put']) !!}
{!! Form::open(['route' => ['admin.user.role.update',
$role->id
], 'method' => 'put']) !!}
<div class="
row
">
<div class="
row
">
...
@@ -32,14 +28,14 @@
...
@@ -32,14 +28,14 @@
<div class="
col
-
sm
-
6
">
<div class="
col
-
sm
-
6
">
<div class="
form
-
group
{{
$errors
->
has
(
'name'
)
?
' has-error'
:
''
}}
">
<div class="
form
-
group
{{
$errors
->
has
(
'name'
)
?
' has-error'
:
''
}}
">
{!! Form::label('name', trans('user::roles.form.name')) !!}
{!! Form::label('name', trans('user::roles.form.name')) !!}
{!! Form::text('name', Input::old('name',
$role->name
), ['class' => 'form-control
slugify
', 'placeholder' => trans('user::roles.form.name')]) !!}
{!! Form::text('name', Input::old('name',
$role->name
), ['class' => 'form-control
', 'data-slug' => 'source
', 'placeholder' => trans('user::roles.form.name')]) !!}
{!!
$errors->first
('name', '<span class="
help
-
block
">:message</span>') !!}
{!!
$errors->first
('name', '<span class="
help
-
block
">:message</span>') !!}
</div>
</div>
</div>
</div>
<div class="
col
-
sm
-
6
">
<div class="
col
-
sm
-
6
">
<div class="
form
-
group
{{
$errors
->
has
(
'slug'
)
?
' has-error'
:
''
}}
">
<div class="
form
-
group
{{
$errors
->
has
(
'slug'
)
?
' has-error'
:
''
}}
">
{!! Form::label('slug', trans('user::roles.form.slug')) !!}
{!! Form::label('slug', trans('user::roles.form.slug')) !!}
{!! Form::text('slug', Input::old('slug',
$role->slug
), ['class' => 'form-control slug', 'placeholder' => trans('user::roles.form.slug')]) !!}
{!! Form::text('slug', Input::old('slug',
$role->slug
), ['class' => 'form-control slug', '
data-slug' => 'target', '
placeholder' => trans('user::roles.form.slug')]) !!}
{!!
$errors->first
('slug', '<span class="
help
-
block
">:message</span>') !!}
{!!
$errors->first
('slug', '<span class="
help
-
block
">:message</span>') !!}
</div>
</div>
</div>
</div>
...
...
resources/views/asgard/user/admin/roles/index.blade.php
View file @
da074ce5
...
@@ -28,9 +28,10 @@
...
@@ -28,9 +28,10 @@
<table
class=
"data-table table table-bordered table-hover"
>
<table
class=
"data-table table table-bordered table-hover"
>
<thead>
<thead>
<tr>
<tr>
<t
h>
{{ trans('user::users.table.created-at') }}
</th
>
<t
d>
Id
</td
>
<th>
{{ trans('user::roles.table.name') }}
</th>
<th>
{{ trans('user::roles.table.name') }}
</th>
<th>
Actions
</th>
<th>
{{ trans('user::users.table.created-at') }}
</th>
<th
data-sortable=
"false"
>
{{ trans('user::users.table.actions') }}
</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
...
@@ -39,7 +40,7 @@
...
@@ -39,7 +40,7 @@
<tr>
<tr>
<td>
<td>
<a
href=
"{{ URL::route('admin.user.role.edit', [$role->id]) }}"
>
<a
href=
"{{ URL::route('admin.user.role.edit', [$role->id]) }}"
>
{{ $role->
created_at
}}
{{ $role->
id
}}
</a>
</a>
</td>
</td>
<td>
<td>
...
@@ -47,10 +48,15 @@
...
@@ -47,10 +48,15 @@
{{ $role->name }}
{{ $role->name }}
</a>
</a>
</td>
</td>
<td>
<a
href=
"{{ URL::route('admin.user.role.edit', [$role->id]) }}"
>
{{ $role->created_at }}
</a>
</td>
<td>
<td>
<div
class=
"btn-group"
>
<div
class=
"btn-group"
>
<a
href=
"{{
URL::route('admin.user.role.edit', [$role->id]) }}"
class=
"btn btn-default btn-flat"
><i
class=
"glyphicon glyphicon
-pencil"
></i></a>
<a
href=
"{{
route('admin.user.role.edit', [$role->id]) }}"
class=
"btn btn-default btn-flat"
><i
class=
"fa fa
-pencil"
></i></a>
<button
class=
"btn btn-danger btn-flat"
data-toggle=
"modal"
data-target=
"#
confirmation-{{ $role->id }}"
><i
class=
"glyphicon glyphicon
-trash"
></i></button>
<button
class=
"btn btn-danger btn-flat"
data-toggle=
"modal"
data-target=
"#
modal-delete-confirmation"
data-action-target=
"{{ route('admin.user.role.destroy', [$role->id]) }}"
><i
class=
"fa fa
-trash"
></i></button>
</div>
</div>
</td>
</td>
</tr>
</tr>
...
@@ -59,9 +65,10 @@
...
@@ -59,9 +65,10 @@
</tbody>
</tbody>
<tfoot>
<tfoot>
<tr>
<tr>
<t
h>
{{ trans('user::users.table.created-at') }}
</th
>
<t
d>
Id
</td
>
<th>
{{ trans('user::roles.table.name') }}
</th>
<th>
{{ trans('user::roles.table.name') }}
</th>
<th>
Actions
</th>
<th>
{{ trans('user::users.table.created-at') }}
</th>
<th>
{{ trans('user::users.table.actions') }}
</th>
</tr>
</tr>
</tfoot>
</tfoot>
</table>
</table>
...
@@ -72,31 +79,7 @@
...
@@ -72,31 +79,7 @@
<!-- /.col (MAIN) -->
<!-- /.col (MAIN) -->
</div>
</div>
</div>
</div>
@include('core::partials.delete-modal')
<?php
if
(
isset
(
$roles
))
:
?>
<?php
foreach
(
$roles
as
$role
)
:
?>
<!-- Modal -->
<div
class=
"modal fade modal-danger"
id=
"confirmation-{{ $role->id }}"
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"
><span
aria-hidden=
"true"
>
×
</span><span
class=
"sr-only"
>
Close
</span></button>
<h4
class=
"modal-title"
id=
"myModalLabel"
>
{{ trans('core::core.modal.title') }}
</h4>
</div>
<div
class=
"modal-body"
>
{{ trans('core::core.modal.confirmation-message') }}
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-outline btn-flat"
data-dismiss=
"modal"
>
{{ trans('core::core.button.cancel') }}
</button>
{!! Form::open(['route' => ['admin.user.role.destroy', $role->id], 'method' => 'delete', 'class' => 'pull-left']) !!}
<button
type=
"submit"
class=
"btn btn-outline btn-flat"
><i
class=
"glyphicon glyphicon-trash"
></i>
{{ trans('core::core.button.delete') }}
</button>
{!! Form::close() !!}
</div>
</div>
</div>
</div>
<?php
endforeach
;
?>
<?php
endif
;
?>
@stop
@stop
@section('scripts')
@section('scripts')
...
@@ -120,12 +103,7 @@
...
@@ -120,12 +103,7 @@
"
order
"
:
[[
0
,
"
desc
"
]],
"
order
"
:
[[
0
,
"
desc
"
]],
"
language
"
:
{
"
language
"
:
{
"
url
"
:
'
<?php
echo
Module
::
asset
(
"core:js/vendor/datatables/
{
$locale
}
.json"
)
?>
'
"
url
"
:
'
<?php
echo
Module
::
asset
(
"core:js/vendor/datatables/
{
$locale
}
.json"
)
?>
'
},
}
"
columns
"
:
[
null
,
null
,
{
"
sortable
"
:
false
}
]
});
});
});
});
</script>
</script>
...
...
resources/views/asgard/user/admin/users/create.blade.php
View file @
da074ce5
...
@@ -11,9 +11,6 @@
...
@@ -11,9 +11,6 @@
</ol>
</ol>
@stop
@stop
@section('styles')
{!! Theme::style('css/vendor/iCheck/flat/blue.css') !!}
@stop
@section('footer')
@section('footer')
<a data-toggle="
modal
" data-target="
#keyboardShortcutsModal"><i class="fa fa-keyboard-o"></i></a>
<a data-toggle="
modal
" data-target="
#keyboardShortcutsModal"><i class="fa fa-keyboard-o"></i></a>
@
stop
@
stop
...
...
resources/views/asgard/user/admin/users/edit.blade.php
View file @
da074ce5
...
@@ -11,10 +11,6 @@
...
@@ -11,10 +11,6 @@
</ol>
</ol>
@stop
@stop
@section('styles')
{!! Theme::style('css/vendor/iCheck/flat/blue.css') !!}
@stop
@section('content')
@section('content')
{!! Form::open(['route' => ['admin.user.user.update',
$user->id
], 'method' => 'put']) !!}
{!! Form::open(['route' => ['admin.user.user.update',
$user->id
], 'method' => 'put']) !!}
<div class="
row
">
<div class="
row
">
...
@@ -65,7 +61,7 @@
...
@@ -65,7 +61,7 @@
{{
$user->id
===
$currentUser->id
? 'disabled' : '' }}
{{
$user->id
===
$currentUser->id
? 'disabled' : '' }}
{{ Input::old('activated',
$oldValue
) }}
{{ Input::old('activated',
$oldValue
) }}
value="
1
" />
value="
1
" />
{{ trans('user::users.form.
status
') }}
{{ trans('user::users.form.
is_activated
') }}
{!!
$errors->first
('activated', '<span class="
help
-
block
">:message</span>') !!}
{!!
$errors->first
('activated', '<span class="
help
-
block
">:message</span>') !!}
</label>
</label>
</div>
</div>
...
...
resources/views/asgard/user/admin/users/index.blade.php
View file @
da074ce5
...
@@ -28,11 +28,12 @@
...
@@ -28,11 +28,12 @@
<table
class=
"data-table table table-bordered table-hover"
>
<table
class=
"data-table table table-bordered table-hover"
>
<thead>
<thead>
<tr>
<tr>
<th>
{{ trans('user::users.table.created-at') }}
</th>
<th>
Id
</th>
<th>
{{ trans('user::users.table.first-name') }}
</th>
<th>
{{ trans('user::users.table.first-name') }}
</th>
<th>
{{ trans('user::users.table.last-name') }}
</th>
<th>
{{ trans('user::users.table.last-name') }}
</th>
<th>
{{ trans('user::users.table.email') }}
</th>
<th>
{{ trans('user::users.table.email') }}
</th>
<th>
{{ trans('user::users.table.actions') }}
</th>
<th>
{{ trans('user::users.table.created-at') }}
</th>
<th
data-sortable=
"false"
>
{{ trans('user::users.table.actions') }}
</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
...
@@ -41,7 +42,7 @@
...
@@ -41,7 +42,7 @@
<tr>
<tr>
<td>
<td>
<a
href=
"{{ URL::route('admin.user.user.edit', [$user->id]) }}"
>
<a
href=
"{{ URL::route('admin.user.user.edit', [$user->id]) }}"
>
{{ $user->
created_at
}}
{{ $user->
id
}}
</a>
</a>
</td>
</td>
<td>
<td>
...
@@ -59,11 +60,16 @@
...
@@ -59,11 +60,16 @@
{{ $user->email }}
{{ $user->email }}
</a>
</a>
</td>
</td>
<td>
<a
href=
"{{ URL::route('admin.user.user.edit', [$user->id]) }}"
>
{{ $user->created_at }}
</a>
</td>
<td>
<td>
<div
class=
"btn-group"
>
<div
class=
"btn-group"
>
<a
href=
"{{
URL::route('admin.user.user.edit', [$user->id]) }}"
class=
"btn btn-default btn-flat"
><i
class=
"glyphicon glyphicon
-pencil"
></i></a>
<a
href=
"{{
route('admin.user.user.edit', [$user->id]) }}"
class=
"btn btn-default btn-flat"
><i
class=
"fa fa
-pencil"
></i></a>
<?php
if
(
$user
->
id
!=
$currentUser
->
id
)
:
?>
<?php
if
(
$user
->
id
!=
$currentUser
->
id
)
:
?>
<button
class=
"btn btn-danger btn-flat"
data-toggle=
"modal"
data-target=
"#
confirmation-{{ $user->id }}"
><i
class=
"glyphicon glyphicon
-trash"
></i></button>
<button
class=
"btn btn-danger btn-flat"
data-toggle=
"modal"
data-target=
"#
modal-delete-confirmation"
data-action-target=
"{{ route('admin.user.user.destroy', [$user->id]) }}"
><i
class=
"fa fa
-trash"
></i></button>
<?php
endif
;
?>
<?php
endif
;
?>
</div>
</div>
</td>
</td>
...
@@ -73,10 +79,11 @@
...
@@ -73,10 +79,11 @@
</tbody>
</tbody>
<tfoot>
<tfoot>
<tr>
<tr>
<th>
{{ trans('user::users.table.created-at') }}
</th>
<th>
Id
</th>
<th>
{{ trans('user::users.table.first-name') }}
</th>
<th>
{{ trans('user::users.table.first-name') }}
</th>
<th>
{{ trans('user::users.table.last-name') }}
</th>
<th>
{{ trans('user::users.table.last-name') }}
</th>
<th>
{{ trans('user::users.table.email') }}
</th>
<th>
{{ trans('user::users.table.email') }}
</th>
<th>
{{ trans('user::users.table.created-at') }}
</th>
<th>
{{ trans('user::users.table.actions') }}
</th>
<th>
{{ trans('user::users.table.actions') }}
</th>
</tr>
</tr>
</tfoot>
</tfoot>
...
@@ -89,30 +96,7 @@
...
@@ -89,30 +96,7 @@
</div>
</div>
</div>
</div>
<?php
if
(
isset
(
$users
))
:
?>
@include('core::partials.delete-modal')
<?php
foreach
(
$users
as
$user
)
:
?>
<!-- Modal -->
<div
class=
"modal fade modal-danger"
id=
"confirmation-{{ $user->id }}"
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"
><span
aria-hidden=
"true"
>
×
</span><span
class=
"sr-only"
>
Close
</span></button>
<h4
class=
"modal-title"
id=
"myModalLabel"
>
{{ trans('core::core.modal.title') }}
</h4>
</div>
<div
class=
"modal-body"
>
{{ trans('core::core.modal.confirmation-message') }}
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-outline btn-flat"
data-dismiss=
"modal"
>
{{ trans('core::core.button.cancel') }}
</button>
{!! Form::open(['route' => ['admin.user.user.destroy', $user->id], 'method' => 'delete', 'class' => 'pull-left']) !!}
<button
type=
"submit"
class=
"btn btn-outline btn-flat"
><i
class=
"glyphicon glyphicon-trash"
></i>
{{ trans('core::core.button.delete') }}
</button>
{!! Form::close() !!}
</div>
</div>
</div>
</div>
<?php
endforeach
;
?>
<?php
endif
;
?>
@stop
@stop
@section('scripts')
@section('scripts')
...
@@ -136,14 +120,7 @@
...
@@ -136,14 +120,7 @@
"
order
"
:
[[
0
,
"
desc
"
]],
"
order
"
:
[[
0
,
"
desc
"
]],
"
language
"
:
{
"
language
"
:
{
"
url
"
:
'
<?php
echo
Module
::
asset
(
"core:js/vendor/datatables/
{
$locale
}
.json"
)
?>
'
"
url
"
:
'
<?php
echo
Module
::
asset
(
"core:js/vendor/datatables/
{
$locale
}
.json"
)
?>
'
},
}
"
columns
"
:
[
null
,
null
,
null
,
null
,
{
"
sortable
"
:
false
}
]
});
});
});
});
</script>
</script>
...
...
resources/views/asgard/user/public/login.blade.php
View file @
da074ce5
@
extends
(
'layouts.account'
)
@
extends
(
'layouts.account'
)
@
section
(
'title'
)
@
section
(
'title'
)
{{
trans
(
'user::auth.login'
)
}}
|
@
parent
{{
trans
(
'user::auth.login'
)
}}
|
@
parent
@
stop
@
stop
@
section
(
'content'
)
@
section
(
'content'
)
<
div
class
="
header
">{{ trans('user::auth.login') }}</div>
<
div
class
="
login
-
logo
">
@include('flash::message')
<a href="
{{
url
(
'/'
)
}}
">{{ setting('core::site-name') }}</a>
{!! Form::open(['route' => 'login.post']) !!}
<div class="
body
bg
-
gray
">
<div class="
form
-
group
{{
$errors
->
has
(
'email'
)
?
' has-error'
:
''
}}
">
<input type="
email
" name="
email
" class="
form
-
control
"
placeholder="
{{
trans
(
'user::auth.email'
)
}}
" value="
{{
Input
::
old
(
'email'
)}}
" autofocus />
{!!
$errors->first
('email', '<span class="
help
-
block
">:message</span>') !!}
</div>
<div class="
form
-
group
{{
$errors
->
has
(
'password'
)
?
' has-error'
:
''
}}
">
<input type="
password
" name="
password
"
class="
form
-
control
" placeholder="
Password
"
value="
{{
Input
::
old
(
'password'
)}}
"/>
{!!
$errors->first
('password', '<span class="
help
-
block
">:message</span>') !!}
</div>
<div class="
form
-
group
">
<input type="
checkbox
" name="
remember_me
" id="
remember_me
"/>
<label for="
remember_me
">{{ trans('user::auth.remember me') }}</label>
</div>
</div>
</div>
<div class="
footer
">
<!-- /.login-logo -->
<button type="
submit
" class="
btn
btn
-
info
btn
-
block
">{{ trans('user::auth.login') }}</button>
<div class="
login
-
box
-
body
">
<p><a href="
{{
URL
::
route
(
'reset'
)}}
">{{ trans('user::auth.forgot password') }}</a></p>
<p class="
login
-
box
-
msg
">{{ trans('user::auth.sign in welcome message') }}</p>
<a href="
{{
URL
::
route
(
'register'
)}}
" class="
text
-
center
">{{ trans('user::auth.register')}}</a>
@include('flash::message')
</div>
</form>
{!! Form::open(['route' => 'login.post']) !!}
<div class="
form
-
group
has
-
feedback
{{
$errors
->
has
(
'email'
)
?
' has-error'
:
''
}}
">
<input type="
email
" class="
form
-
control
"
name="
email
" placeholder="
{{
trans
(
'user::auth.email'
)
}}
" value="
{{
old
(
'email'
)}}
">
<span class="
glyphicon
glyphicon
-
envelope
form
-
control
-
feedback
"></span>
{!!
$errors->first
('email', '<span class="
help
-
block
">:message</span>') !!}
</div>
<div class="
form
-
group
has
-
feedback
{{
$errors
->
has
(
'password'
)
?
' has-error'
:
''
}}
">
<input type="
password
" class="
form
-
control
"
name="
password
" placeholder="
Password
" value="
{{
old
(
'password'
)}}
">
<span class="
glyphicon
glyphicon
-
lock
form
-
control
-
feedback
"></span>
{!!
$errors->first
('password', '<span class="
help
-
block
">:message</span>') !!}
</div>
<div class="
row
">
<div class="
col
-
xs
-
8
">
<div class="
checkbox
icheck
">
<label>
<input type="
checkbox
"> {{ trans('user::auth.remember me') }}
</label>
</div>
</div>
<div class="
col
-
xs
-
4
">
<button type="
submit
" class="
btn
btn
-
primary
btn
-
block
btn
-
flat
">
{{ trans('user::auth.login') }}
</button>
</div>
</div>
</form>
<a href="
{{
route
(
'reset'
)}}
">{{ trans('user::auth.forgot password') }}</a><br>
<a href="
{{
route
(
'register'
)}}
" class="
text
-
center
">{{ trans('user::auth.register')}}</a>
</div>
@stop
@stop
resources/views/asgard/user/public/register.blade.php
View file @
da074ce5
...
@@ -4,29 +4,37 @@
...
@@ -4,29 +4,37 @@
@
stop
@
stop
@
section
(
'content'
)
@
section
(
'content'
)
<
div
class
="
header
">{{ trans('user::auth.register') }}</div>
<
div
class
="
register
-
logo
">
@include('flash::message')
<a href="
{{
url
(
'/'
)
}}
">{{ setting('core::site-name') }}</a>
{!! Form::open(array('route' => 'register.post')) !!}
<div class="
body
bg
-
gray
">
<div class="
form
-
group
{{
$errors
->
has
(
'email'
)
?
' has-error has-feedback'
:
''
}}
">
{!! Form::label('email', trans('user::auth.email')) !!}
{!! Form::text('email', Input::old('email'), ['class' => 'form-control', 'placeholder' => trans('user::auth.email')]) !!}
{!!
$errors->first
('email', '<span class="
help
-
block
">:message</span>') !!}
</div>
<div class="
form
-
group
{{
$errors
->
has
(
'password'
)
?
' has-error has-feedback'
:
''
}}
">
{!! Form::label('password', trans('user::auth.password')) !!}
{!! Form::password('password', ['class' => 'form-control', 'placeholder' => trans('user::auth.password')]) !!}
{!!
$errors->first
('password', '<span class="
help
-
block
">:message</span>') !!}
</div>
<div class="
form
-
group
{{
$errors
->
has
(
'password_confirmation'
)
?
' has-error has-feedback'
:
''
}}
">
{!! Form::label('password_confirmation', trans('user::auth.password confirmation')) !!}
{!! Form::password('password_confirmation', ['class' => 'form-control', 'placeholder' => trans('user::auth.password confirmation')]) !!}
{!!
$errors->first
('password_confirmation', '<span class="
help
-
block
">:message</span>') !!}
</div>
</div>
</div>
<div class="
footer
">
<button type="
submit
" class="
btn
btn
-
info
btn
-
block
">{{ trans('user::auth.register me')}}</button>
<div class="
register
-
box
-
body
">
<a href="
{{
URL
::
route
(
'login'
)
}}
" class="
text
-
center
">{{ trans('user::auth.I already have a membership') }}</a>
<p class="
login
-
box
-
msg
">{{ trans('user::auth.register') }}</p>
{!! Form::open(['route' => 'register.post']) !!}
<div class="
form
-
group
has
-
feedback
{{
$errors
->
has
(
'email'
)
?
' has-error has-feedback'
:
''
}}
">
<input type="
email
" name="
email
" class="
form
-
control
"
placeholder="
{{
trans
(
'user::auth.email'
)
}}
" value="
{{
old
(
'email'
)
}}
">
<span class="
glyphicon
glyphicon
-
envelope
form
-
control
-
feedback
"></span>
{!!
$errors->first
('email', '<span class="
help
-
block
">:message</span>') !!}
</div>
<div class="
form
-
group
has
-
feedback
{{
$errors
->
has
(
'password'
)
?
' has-error has-feedback'
:
''
}}
">
<input type="
password
" name="
password
" class="
form
-
control
" placeholder="
{{
trans
(
'user::auth.password'
)
}}
">
<span class="
glyphicon
glyphicon
-
lock
form
-
control
-
feedback
"></span>
{!!
$errors->first
('password', '<span class="
help
-
block
">:message</span>') !!}
</div>
<div class="
form
-
group
has
-
feedback
{{
$errors
->
has
(
'password_confirmation'
)
?
' has-error has-feedback'
:
''
}}
">
<input type="
password
" name="
password_confirmation
" class="
form
-
control
" placeholder="
{{
trans
(
'user::auth.password confirmation'
)
}}
">
<span class="
glyphicon
glyphicon
-
log
-
in
form
-
control
-
feedback
"></span>
{!!
$errors->first
('password_confirmation', '<span class="
help
-
block
">:message</span>') !!}
</div>
<div class="
row
">
<div class="
col
-
xs
-
12
">
<button type="
submit
" class="
btn
btn
-
primary
btn
-
block
btn
-
flat
">{{ trans('user::auth.register me') }}</button>
</div>
</div>
{!! Form::close() !!}
<a href="
{{
route
(
'login'
)
}}
" class="
text
-
center
">{{ trans('user::auth.I already have a membership') }}</a>
</div>
</div>
{!! Form::close() !!}
@stop
@stop
resources/views/asgard/user/public/reset/begin.blade.php
View file @
da074ce5
...
@@ -5,20 +5,31 @@
...
@@ -5,20 +5,31 @@
@
stop
@
stop
@
section
(
'content'
)
@
section
(
'content'
)
<
div
class
="
header
">{{ trans('user::auth.reset password') }}</div>
<
div
class
="
login
-
logo
">
@include('flash::message')
<a href="
{{
url
(
'/'
)
}}
">{{ setting('core::site-name') }}</a>
{!! Form::open(array('route' => 'reset.post')) !!}
<div class="
body
bg
-
gray
">
<div class="
form
-
group
{{
$errors
->
has
(
'email'
)
?
' has-error'
:
''
}}
">
<input type="
email
" name="
email
" class="
form
-
control
"
placeholder="
{{
trans
(
'user::auth.email'
)
}}
" value="
{{
Input
::
old
(
'email'
)}}
" required=""/>
{!!
$errors->first
('email', '<span class="
help
-
block
">:message</span>') !!}
</div>
</div>
</div>
<div class="
footer
">
<!-- /.login-logo -->
<button type="
submit
" class="
btn
btn
-
info
btn
-
block
">{{ trans('user::auth.reset password') }}</button>
<div class="
login
-
box
-
body
">
<p><a href="
{{
URL
::
route
(
'login'
)}}
">{{ trans('user::auth.I remembered my password') }}</a></p>
<p class="
login
-
box
-
msg
">{{ trans('user::auth.to reset password complete this form') }}</p>
</div>
@include('flash::message')
{!! Form::close() !!}
{!! Form::open(['route' => 'reset.post']) !!}
<div class="
form
-
group
has
-
feedback
{{
$errors
->
has
(
'email'
)
?
' has-error'
:
''
}}
">
<input type="
email
" class="
form
-
control
"
name="
email
" placeholder="
{{
trans
(
'user::auth.email'
)
}}
" value="
{{
old
(
'email'
)}}
">
<span class="
glyphicon
glyphicon
-
envelope
form
-
control
-
feedback
"></span>
{!!
$errors->first
('email', '<span class="
help
-
block
">:message</span>') !!}
</div>
<div class="
row
">
<div class="
col
-
xs
-
12
">
<button type="
submit
" class="
btn
btn
-
primary
btn
-
block
btn
-
flat
pull
-
right
">
{{ trans('user::auth.reset password') }}
</button>
</div>
</div>
{!! Form::close() !!}
<a href="
{{
route
(
'login'
)
}}
" class="
text
-
center
">{{ trans('user::auth.I remembered my password') }}</a>
</div>
@stop
@stop
resources/views/asgard/user/public/reset/complete.blade.php
View file @
da074ce5
...
@@ -5,24 +5,33 @@
...
@@ -5,24 +5,33 @@
@
stop
@
stop
@
section
(
'content'
)
@
section
(
'content'
)
<
div
class
="
header
">{{ trans('user::auth.reset password') }}</div>
<
div
class
="
login
-
logo
">
@include('flash::message')
<a href="
{{
url
(
'/'
)
}}
">{{ setting('core::site-name') }}</a>
{!! Form::open() !!}
</div>
<div class="
body
bg
-
gray
">
<div class="
login
-
box
-
body
">
<div class="
form
-
group
{{
$errors
->
has
(
'password'
)
?
' has-error has-feedback'
:
''
}}
">
<p class="
login
-
box
-
msg
">{{ trans('user::auth.reset password') }}</p>
{!! Form::label('password', trans('user::auth.password')) !!}
@include('flash::message')
{!! Form::password('password', ['class' => 'form-control', 'placeholder' => trans('user::auth.password')]) !!}
{!! Form::open() !!}
<div class="
form
-
group
has
-
feedback
{{
$errors
->
has
(
'password'
)
?
' has-error'
:
''
}}
">
<input type="
password
" class="
form
-
control
"
name="
password
" placeholder="
{{
trans
(
'user::auth.password'
)
}}
">
<span class="
glyphicon
glyphicon
-
lock
form
-
control
-
feedback
"></span>
{!!
$errors->first
('password', '<span class="
help
-
block
">:message</span>') !!}
{!!
$errors->first
('password', '<span class="
help
-
block
">:message</span>') !!}
</div>
</div>
<div class="
form
-
group
{{
$errors
->
has
(
'password_confirmation'
)
?
' has-error has-feedback'
:
''
}}
">
<div class="
form
-
group
has
-
feedback
{{
$errors
->
has
(
'password_confirmation'
)
?
' has-error has-feedback'
:
''
}}
">
{!! Form::label('password_confirmation', trans('user::auth.password confirmation')) !!}
<input type="
password
" name="
password_confirmation
" class="
form
-
control
" placeholder="
{{
trans
(
'user::auth.password confirmation'
)
}}
">
{!! Form::password('password_confirmation', ['class' => 'form-control', 'placeholder' => trans('user::auth.password confirmation')]) !!}
<span class="
glyphicon
glyphicon
-
log
-
in
form
-
control
-
feedback
"></span>
{!!
$errors->first
('password_confirmation', '<span class="
help
-
block
">:message</span>') !!}
{!!
$errors->first
('password_confirmation', '<span class="
help
-
block
">:message</span>') !!}
</div>
</div>
</div>
<div class="
footer
">
<button type="
submit
" class="
btn
btn
-
info
btn
-
block
">{{ trans('user::auth.reset password') }}</button>
</div>
{!! Form::close() !!}
<div class="
row
">
<div class="
col
-
xs
-
12
">
<button type="
submit
" class="
btn
btn
-
primary
btn
-
block
btn
-
flat
pull
-
right
">
{{ trans('user::auth.reset password') }}
</button>
</div>
</div>
{!! Form::close() !!}
</div>
@stop
@stop
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment