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
494d9875
Commit
494d9875
authored
Oct 28, 2014
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Giving some style to the pop up grid view
parent
dff5c662
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
16 deletions
+23
-16
grid.blade.php
Resources/views/admin/grid.blade.php
+23
-16
No files found.
Resources/views/admin/grid.blade.php
View file @
494d9875
<!doctype html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<title>
File picker
</title>
<link
href=
"{{{ Module::asset('core', 'css/vendor/bootstrap.min.css') }}}"
rel=
"stylesheet"
type=
"text/css"
/>
<script
src=
"{{{ Module::asset('core', 'js/vendor/jquery.min.js') }}}"
></script>
<meta
charset=
"UTF-8"
>
<title>
File picker
</title>
<link
href=
"{{{ Module::asset('core', 'css/vendor/bootstrap.min.css') }}}"
rel=
"stylesheet"
type=
"text/css"
/>
<script
src=
"{{{ Module::asset('core', 'js/vendor/jquery.min.js') }}}"
></script>
<style>
</style>
</head>
<body>
<h1>
Choose Image
</h1>
<?php
if
(
$files
)
:
?>
<ul>
<?php
foreach
(
$files
as
$file
)
:
?>
<li>
<img
src=
"{{ $file->path }}"
alt=
""
/>
<a
class=
"jsInsertImage btn btn-primary btn-flat"
href=
""
>
Insert
</a>
</li>
<?php
endforeach
;
?>
</ul>
<?php
endif
;
?>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-md-8"
>
<h1>
Choose Image
</h1>
<?php
if
(
$files
)
:
?>
<ul
class=
"list-unstyled"
>
<?php
foreach
(
$files
as
$file
)
:
?>
<li
class=
"pull-left"
style=
"margin-right: 20px"
>
<img
src=
"{{ $file->path }}"
alt=
""
class=
"img-thumbnail"
style=
"width: 250px;"
/>
<a
class=
"jsInsertImage btn btn-primary btn-flat"
href=
"#"
style=
"display: block"
>
Insert
</a>
</li>
<?php
endforeach
;
?>
</ul>
<?php
endif
;
?>
</div>
</div>
</div>
<script>
$
(
document
).
ready
(
function
()
{
$
(
'
.jsInsertImage
'
).
on
(
'
click
'
,
function
(
e
)
{
...
...
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