mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Added "Click to update" banner to admin
Refs https://github.com/TryGhost/Team/issues/2400 - Adds a banner to the admin to indicate that a new version is available - This is just the UI that hasn't been wired up to the actual version check yet
This commit is contained in:
parent
4407e8e49e
commit
150a3a9c68
2 changed files with 18 additions and 0 deletions
|
@ -319,3 +319,17 @@
|
||||||
border-bottom: #e9ebb6 1px solid;
|
border-bottom: #e9ebb6 1px solid;
|
||||||
background: #fdffb6;
|
background: #fdffb6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Update banner
|
||||||
|
/* ---------------------------------------------------------- */
|
||||||
|
|
||||||
|
.gh-update-banner {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
padding: 12px;
|
||||||
|
background: var(--black);
|
||||||
|
color: #fff;
|
||||||
|
font-size: 1.45rem;
|
||||||
|
}
|
|
@ -1,6 +1,10 @@
|
||||||
<GhApp>
|
<GhApp>
|
||||||
<GhSkipLink @anchor=".gh-main">Skip to main content</GhSkipLink>
|
<GhSkipLink @anchor=".gh-main">Skip to main content</GhSkipLink>
|
||||||
|
|
||||||
|
{{!-- <div class="gh-update-banner">
|
||||||
|
<span>You're missing out on new features. <strong>Update to the latest version →</strong></span>
|
||||||
|
</div> --}}
|
||||||
|
|
||||||
<GhAlerts />
|
<GhAlerts />
|
||||||
|
|
||||||
<div class="gh-viewport {{if this.ui.showMobileMenu 'mobile-menu-expanded'}}">
|
<div class="gh-viewport {{if this.ui.showMobileMenu 'mobile-menu-expanded'}}">
|
||||||
|
|
Loading…
Add table
Reference in a new issue