Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-adminpanel
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
laravel-adminpanel
Commits
ac42d212
Commit
ac42d212
authored
Jan 01, 2019
by
Vallabh Kansagara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding minified file.
Signed-off-by:
Vallabh Kansagara
<
vrkansagara@gmail.com
>
parent
c61d3d1e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
3 deletions
+11
-3
.gitignore
.gitignore
+2
-1
frontend.min.js
public/js/frontend/frontend.min.js
+3
-0
jquerysession.min.js
public/js/jquerysession.min.js
+4
-0
app.blade.php
resources/views/frontend/layouts/app.blade.php
+2
-2
No files found.
.gitignore
View file @
ac42d212
...
...
@@ -34,4 +34,5 @@ composer.lock
public/img/backend/blog_images/*
public/mix-manifest.json
public/access.log
public/error.log
\ No newline at end of file
public/error.log
!public/js/jquerysession.min.js
\ No newline at end of file
public/js/frontend/frontend.min.js
0 → 100755
View file @
ac42d212
var
Backend
=
{
Select2
:{
selectors
:{
select2
:
jQuery
(
"
.select2
"
)},
init
:
function
(){
this
.
addHandlers
()},
addHandlers
:
function
(){
this
.
selectors
.
select2
.
select2
()}},
tinyMCE
:{
init
:
function
(){
tinymce
.
init
({
path_absolute
:
"
/
"
,
selector
:
"
textarea
"
,
height
:
200
,
width
:
725
,
theme
:
"
modern
"
,
plugins
:[
"
advlist autolink lists link image charmap print preview hr anchor pagebreak
"
,
"
searchreplace wordcount visualblocks visualchars code fullscreen
"
,
"
insertdatetime nonbreaking save table contextmenu directionality
"
,
"
emoticons template paste textcolor colorpicker textpattern imagetools codesample toc
"
],
toolbar1
:
"
undo redo | insert | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image
"
,
image_advtab
:
!
0
,
relative_urls
:
!
1
,
file_browser_callback
:
function
(
a
,
b
,
d
,
c
){
b
=
window
.
innerWidth
||
document
.
documentElement
.
clientWidth
||
document
.
getElementsByTagName
(
"
body
"
)[
0
].
clientWidth
;
c
=
window
.
innerHeight
||
document
.
documentElement
.
clientHeight
||
document
.
getElementsByTagName
(
"
body
"
)[
0
].
clientHeight
;
a
=
"
/laravel-filemanager?field_name=
"
+
a
;
tinyMCE
.
activeEditor
.
windowManager
.
open
({
file
:
"
image
"
==
d
?
a
+
"
&type=Images
"
:
a
+
"
&type=Files
"
,
title
:
"
Filemanager
"
,
width
:.
8
*
b
,
height
:.
8
*
c
,
resizable
:
"
yes
"
,
close_previous
:
"
no
"
})},
content_css
:[
"
//fonts.googleapis.com/css?family=Lato:300,300i,400,400i
"
,
"
//www.tinymce.com/css/codepen.min.css
"
]})}}};
\ No newline at end of file
public/js/jquerysession.min.js
0 → 100755
View file @
ac42d212
(
function
(
e
){
e
.
session
=
{
_id
:
null
,
_cookieCache
:
void
0
,
_init
:
function
(){
window
.
name
||
(
window
.
name
=
Math
.
random
());
this
.
_id
=
window
.
name
;
this
.
_initCache
();
var
a
=
(
new
RegExp
(
this
.
_generatePrefix
()
+
"
=([^;]+);
"
)).
exec
(
document
.
cookie
);
if
(
a
&&
document
.
location
.
protocol
!==
a
[
1
]){
this
.
_clearSession
();
for
(
var
b
in
this
.
_cookieCache
)
try
{
window
.
sessionStorage
.
setItem
(
b
,
this
.
_cookieCache
[
b
])}
catch
(
c
){}}
document
.
cookie
=
this
.
_generatePrefix
()
+
"
=
"
+
document
.
location
.
protocol
+
"
;path=/;expires=
"
+
(
new
Date
((
new
Date
).
getTime
()
+
12
E4
)).
toUTCString
()},
_generatePrefix
:
function
(){
return
"
__session:
"
+
this
.
_id
+
"
:
"
},
_initCache
:
function
(){
var
a
=
document
.
cookie
.
split
(
"
;
"
);
this
.
_cookieCache
=
{};
for
(
var
b
in
a
){
var
c
=
a
[
b
].
split
(
"
=
"
);(
new
RegExp
(
this
.
_generatePrefix
()
+
"
.+
"
)).
test
(
c
[
0
])
&&
c
[
1
]
&&
(
this
.
_cookieCache
[
c
[
0
].
split
(
"
:
"
,
3
)[
2
]]
=
c
[
1
])}},
_setFallback
:
function
(
a
,
b
,
c
){
var
d
=
this
.
_generatePrefix
()
+
a
+
"
=
"
+
b
+
"
; path=/
"
;
c
&&
(
d
+=
"
; expires=
"
+
(
new
Date
(
Date
.
now
()
+
12
E4
)).
toUTCString
());
document
.
cookie
=
d
;
this
.
_cookieCache
[
a
]
=
b
;
return
this
},
_getFallback
:
function
(
a
){
this
.
_cookieCache
||
this
.
_initCache
();
return
this
.
_cookieCache
[
a
]},
_clearFallback
:
function
(){
for
(
var
a
in
this
.
_cookieCache
)
document
.
cookie
=
this
.
_generatePrefix
()
+
a
+
"
=; path=/; expires=Thu, 01 Jan 1970 00:00:01 GMT;
"
;
this
.
_cookieCache
=
{}},
_deleteFallback
:
function
(
a
){
document
.
cookie
=
this
.
_generatePrefix
()
+
a
+
"
=; path=/; expires=Thu, 01 Jan 1970 00:00:01 GMT;
"
;
delete
this
.
_cookieCache
[
a
]},
get
:
function
(
a
){
return
window
.
sessionStorage
.
getItem
(
a
)
||
this
.
_getFallback
(
a
)},
set
:
function
(
a
,
b
,
c
){
try
{
window
.
sessionStorage
.
setItem
(
a
,
b
)}
catch
(
d
){}
this
.
_setFallback
(
a
,
b
,
c
||!
1
);
return
this
},
"
delete
"
:
function
(
a
){
return
this
.
remove
(
a
)},
remove
:
function
(
a
){
try
{
window
.
sessionStorage
.
removeItem
(
a
)}
catch
(
b
){}
this
.
_deleteFallback
(
a
);
return
this
},
_clearSession
:
function
(){
try
{
window
.
sessionStorage
.
clear
()}
catch
(
b
){
for
(
var
a
in
window
.
sessionStorage
)
window
.
sessionStorage
.
removeItem
(
a
)}},
clear
:
function
(){
this
.
_clearSession
();
this
.
_clearFallback
();
return
this
}};
e
.
session
.
_init
()})(
jQuery
);
\ No newline at end of file
resources/views/frontend/layouts/app.blade.php
View file @
ac42d212
...
...
@@ -55,8 +55,8 @@
@yield('before-scripts')
{!! Html::script(mix('js/frontend.js')) !!}
@yield('after-scripts')
{{ Html::script('js/jquerysession.js') }}
{{ Html::script('js/frontend/frontend.js') }}
{{ Html::script('js/jquerysession.
min.
js') }}
{{ Html::script('js/frontend/frontend.
min.
js') }}
{!! Html::script('js/select2/select2.min.js') !!}
<script
type=
"text/javascript"
>
...
...
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