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
ef52587c
Commit
ef52587c
authored
Dec 14, 2017
by
Viral Solani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Edit Profile Error
parent
6ed183d5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
63 deletions
+11
-63
mix-manifest.json
public/mix-manifest.json
+4
-4
profile-edit.blade.php
resources/views/backend/access/users/profile-edit.blade.php
+1
-52
form.blade.php
resources/views/backend/menus/form.blade.php
+0
-1
index.blade.php
resources/views/backend/menus/index.blade.php
+3
-3
index.blade.php
resources/views/vendor/generator/index.blade.php
+3
-3
No files found.
public/mix-manifest.json
View file @
ef52587c
{
{
"/js/frontend.js"
:
"/js/frontend.
945469bbbc12df3ad9e1
.js"
,
"/js/frontend.js"
:
"/js/frontend.
70ee44a92d84e7318a9d
.js"
,
"/js/backend.js"
:
"/js/backend.
79d9e4698dadbc0d93c7
.js"
,
"/js/backend.js"
:
"/js/backend.
9cdae6ab449e701ce881
.js"
,
"/mix.js"
:
"/mix.247ab120fe7680658924.js"
,
"/mix.js"
:
"/mix.247ab120fe7680658924.js"
,
"/css/frontend.css"
:
"/css/frontend.3af0a6cbd7d1d8d042f2a37e97008b7c.css"
,
"/css/frontend.css"
:
"/css/frontend.3af0a6cbd7d1d8d042f2a37e97008b7c.css"
,
"/css/backend.css"
:
"/css/backend.f8550f50504e5b8ef6055285205f223a.css"
,
"/css/backend.css"
:
"/css/backend.f8550f50504e5b8ef6055285205f223a.css"
,
"/css/backend-custom.css"
:
"/css/backend-custom.
6366f7137897ebe08267f74909121944
.css"
,
"/css/backend-custom.css"
:
"/css/backend-custom.
18e74fbe4c755b817a022d6d3d4e76b1
.css"
,
"/js/backend-custom.js"
:
"/js/backend-custom.
e6ea05e1824d0dd8e7c62027c135b7f2
.js"
,
"/js/backend-custom.js"
:
"/js/backend-custom.
694670b0d97bf54111bac3bd91ba3fcf
.js"
,
"/js/dataTable.js"
:
"/js/dataTable.f968d300a6a0b871f138f114361259c8.js"
"/js/dataTable.js"
:
"/js/dataTable.f968d300a6a0b871f138f114361259c8.js"
}
}
\ No newline at end of file
resources/views/backend/access/users/profile-edit.blade.php
View file @
ef52587c
...
@@ -83,57 +83,6 @@
...
@@ -83,57 +83,6 @@
<script type="
text
/
javascript
">
<script type="
text
/
javascript
">
$(document).ready(function() {
$(document).ready(function() {
Backend.Profile.init();
Backend.Profile.init();
//Getting States of default contry
ajaxCall("
{{
route
(
'admin.get.states'
)}}
");
//Getting Cities of select State
$("
#state").on("change", function() {
var
stateId
=
$
(
this
)
.
val
();
var
url
=
"
{
{route('admin.get.cities')}
}
"
;
ajaxCall
(
url
,
stateId
);
});
function
ajaxCall
(
url
,
data
=
null
)
{
$
.
ajax
({
url
:
url
,
type
:
"POST"
,
data
:
{
stateId
:
data
},
success
:
function
(
result
)
{
if
(
result
!=
null
)
{
if
(
result
.
status
==
"city"
)
{
var
userCity
=
"{{
$logged_in_user->city_id
}}"
;
var
options
;
$
.
each
(
result
.
data
,
function
(
key
,
value
)
{
if
(
key
==
userCity
)
options
+=
"<option value='"
+
key
+
"' selected>"
+
value
+
"</option>"
;
else
options
+=
"<option value='"
+
key
+
"'>"
+
value
+
"</option>"
;
});
$
(
"#city"
)
.
html
(
''
);
$
(
"#city"
)
.
append
(
options
);
}
else
{
var
userState
=
"{{
$logged_in_user->state_id
}}"
;
var
options
;
$
.
each
(
result
.
data
,
function
(
key
,
value
)
{
if
(
key
==
userState
)
options
+=
"<option value='"
+
key
+
"' selected>"
+
value
+
"</option>"
;
else
options
+=
"<option value='"
+
key
+
"'>"
+
value
+
"</option>"
;
});
$
(
"#state"
)
.
append
(
options
);
$
(
"#state"
)
.
trigger
(
'change'
);
}
}
}
});
}
});
});
</script>
</script>
@
endsection
@endsection
\ No newline at end of file
resources/views/backend/menus/form.blade.php
View file @
ef52587c
...
@@ -56,7 +56,6 @@
...
@@ -56,7 +56,6 @@
@section("after-scripts")
@section("after-scripts")
{{ Html::script('js/nestable2/jquery.nestable.js') }}
{{ Html::script('js/nestable2/jquery.nestable.js') }}
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
//FinBuilders.Blog.init();
var
formName
=
'
_add_custom_url_form
'
;
var
formName
=
'
_add_custom_url_form
'
;
var
lastId
=
null
;
var
lastId
=
null
;
$
(
'
#menu-items
'
).
nestable
({
$
(
'
#menu-items
'
).
nestable
({
...
...
resources/views/backend/menus/index.blade.php
View file @
ef52587c
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
@section('after-scripts')
@section('after-scripts')
{{-- For DataTables --}}
{{-- For DataTables --}}
@include('includes.datatables')
@include('includes.datatables')
<script>
<script>
$(function() {
$(function() {
var dataTable = $('#menus-table').dataTable({
var dataTable = $('#menus-table').dataTable({
...
@@ -94,7 +94,7 @@
...
@@ -94,7 +94,7 @@
}
}
});
});
FinBuilders
.DataTableSearch.init(dataTable);
Backend
.DataTableSearch.init(dataTable);
});
});
</script>
</script>
@endsection
@endsection
\ No newline at end of file
resources/views/vendor/generator/index.blade.php
View file @
ef52587c
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
@section('after-scripts')
@section('after-scripts')
{{-- For DataTables --}}
{{-- For DataTables --}}
{{ Html::script(mix('js/dataTable.js')) }}
{{ Html::script(mix('js/dataTable.js')) }}
<script>
<script>
$(function() {
$(function() {
var dataTable = $('#modules-table').dataTable({
var dataTable = $('#modules-table').dataTable({
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
}
}
});
});
FinBuilders
.DataTableSearch.init(dataTable);
Backend
.DataTableSearch.init(dataTable);
});
});
</script>
</script>
@endsection
@endsection
\ No newline at end of file
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