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
f99670ec
Commit
f99670ec
authored
Oct 26, 2016
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding the table responsive wrapper by default around tables
parent
ac0af13a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
33 deletions
+35
-33
index-view.stub
Modules/Workshop/Scaffold/Module/stubs/index-view.stub
+35
-33
No files found.
Modules/Workshop/Scaffold/Module/stubs/index-view.stub
View file @
f99670ec
...
@@ -25,39 +25,41 @@
...
@@ -25,39 +25,41 @@
</div>
</div>
<!-- /.box-header -->
<!-- /.box-header -->
<div class="box-body">
<div class="box-body">
<table class="data-table table table-bordered table-hover">
<div class="table-responsive">
<thead>
<table class="data-table table table-bordered table-hover">
<tr>
<thead>
<th>{{ trans('core::core.table.created at') }}</th>
<tr>
<th data-sortable="false">{{ trans('core::core.table.actions') }}</th>
<th>{{ trans('core::core.table.created at') }}</th>
</tr>
<th data-sortable="false">{{ trans('core::core.table.actions') }}</th>
</thead>
</tr>
<tbody>
</thead>
<?php if (isset($$PLURAL_LOWERCASE_CLASS_NAME$)): ?>
<tbody>
<?php foreach ($$PLURAL_LOWERCASE_CLASS_NAME$ as $$LOWERCASE_CLASS_NAME$): ?>
<?php if (isset($$PLURAL_LOWERCASE_CLASS_NAME$)): ?>
<tr>
<?php foreach ($$PLURAL_LOWERCASE_CLASS_NAME$ as $$LOWERCASE_CLASS_NAME$): ?>
<td>
<tr>
<a href="{{ route('admin.$LOWERCASE_MODULE_NAME$.$LOWERCASE_CLASS_NAME$.edit', [$$LOWERCASE_CLASS_NAME$->id]) }}">
<td>
{{ $$LOWERCASE_CLASS_NAME$->created_at }}
<a href="{{ route('admin.$LOWERCASE_MODULE_NAME$.$LOWERCASE_CLASS_NAME$.edit', [$$LOWERCASE_CLASS_NAME$->id]) }}">
</a>
{{ $$LOWERCASE_CLASS_NAME$->created_at }}
</td>
</a>
<td>
</td>
<div class="btn-group">
<td>
<a href="{{ route('admin.$LOWERCASE_MODULE_NAME$.$LOWERCASE_CLASS_NAME$.edit', [$$LOWERCASE_CLASS_NAME$->id]) }}" class="btn btn-default btn-flat"><i class="fa fa-pencil"></i></a>
<div class="btn-group">
<button class="btn btn-danger btn-flat" data-toggle="modal" data-target="#modal-delete-confirmation" data-action-target="{{ route('admin.$LOWERCASE_MODULE_NAME$.$LOWERCASE_CLASS_NAME$.destroy', [$$LOWERCASE_CLASS_NAME$->id]) }}"><i class="fa fa-trash"></i></button>
<a href="{{ route('admin.$LOWERCASE_MODULE_NAME$.$LOWERCASE_CLASS_NAME$.edit', [$$LOWERCASE_CLASS_NAME$->id]) }}" class="btn btn-default btn-flat"><i class="fa fa-pencil"></i></a>
</div>
<button class="btn btn-danger btn-flat" data-toggle="modal" data-target="#modal-delete-confirmation" data-action-target="{{ route('admin.$LOWERCASE_MODULE_NAME$.$LOWERCASE_CLASS_NAME$.destroy', [$$LOWERCASE_CLASS_NAME$->id]) }}"><i class="fa fa-trash"></i></button>
</td>
</div>
</tr>
</td>
<?php endforeach; ?>
</tr>
<?php endif; ?>
<?php endforeach; ?>
</tbody>
<?php endif; ?>
<tfoot>
</tbody>
<tr>
<tfoot>
<th>{{ trans('core::core.table.created at') }}</th>
<tr>
<th>{{ trans('core::core.table.actions') }}</th>
<th>{{ trans('core::core.table.created at') }}</th>
</tr>
<th>{{ trans('core::core.table.actions') }}</th>
</tfoot>
</tr>
</table>
</tfoot>
</table>
</div>
<!-- /.box-body -->
<!-- /.box-body -->
</div>
</div>
<!-- /.box -->
<!-- /.box -->
...
...
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