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
c4deb0b8
Unverified
Commit
c4deb0b8
authored
Sep 18, 2017
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding a new admin navigation bar
parent
7e9e9164
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
2 deletions
+42
-2
changelog.yml
Themes/Flatly/changelog.yml
+4
-0
master.blade.php
Themes/Flatly/views/layouts/master.blade.php
+3
-1
admin-bar.blade.php
Themes/Flatly/views/partials/admin-bar.blade.php
+34
-0
navigation.blade.php
Themes/Flatly/views/partials/navigation.blade.php
+1
-1
No files found.
Themes/Flatly/changelog.yml
View file @
c4deb0b8
url
:
https://github.com/AsgardCms/Platform
versions
:
"
3.1.0"
:
added
:
-
New css and js stack in master template
-
New admin navigation bar
"
2.4.0"
:
added
:
-
Moved to using laravel.mix
...
...
Themes/Flatly/views/layouts/master.blade.php
View file @
c4deb0b8
...
...
@@ -16,7 +16,9 @@
</head>
<body>
@include('partials.top-nav')
@auth
@include('partials.admin-bar')
@endauth
@include('partials.navigation')
<div
class=
"container"
>
...
...
Themes/Flatly/views/partials/admin-bar.blade.php
0 → 100644
View file @
c4deb0b8
<style>
.admin-nav-bar.navbar
{
height
:
30px
;
min-height
:
30px
;
background-color
:
#3c8dbc
;
border-bottom
:
1px
solid
#fff
;
}
@media
(
min-width
:
768px
)
{
.admin-nav-bar
.navbar-nav
>
li
>
a
{
padding-top
:
5px
;
padding-bottom
:
3.5px
;
font-size
:
11px
;
}
}
</style>
<nav
class=
"admin-nav-bar navbar navbar-default navbar-fixed-top"
>
<div
class=
"container"
>
<div
class=
"navbar-header"
>
<button
type=
"button"
class=
"navbar-toggle"
data-toggle=
"collapse"
data-target=
".navbar-responsive-collapse"
>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
</button>
</div>
<div
id=
""
class=
"collapse navbar-collapse"
>
<ul
class=
"nav navbar-nav navbar-right"
>
@if(isset($page))
<li
class=
""
><a
href=
"{{ $page->getEditUrl() }}"
>
Edit page
</a></li>
@endif
<li
class=
""
><a
href=
"{{ route('dashboard.index') }}"
>
Back to backend
</a></li>
</ul>
</div>
</div>
</nav>
Themes/Flatly/views/partials/navigation.blade.php
View file @
c4deb0b8
<nav
class=
"navbar navbar-default
navbar-fixed-top
"
>
<nav
class=
"navbar navbar-default
@guest navbar-fixed-top @endguest"
style=
"@auth margin-top: -52px @endauth
"
>
<div
class=
"container"
>
<div
class=
"navbar-header"
>
<button
type=
"button"
class=
"navbar-toggle"
data-toggle=
"collapse"
data-target=
".navbar-responsive-collapse"
>
...
...
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