forked from ceph/ceph
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from rhcs-dashboard/branding-4.0-about
Adds branding to about modal
- Loading branch information
Showing
7 changed files
with
85 additions
and
82 deletions.
There are no files selected for viewing
113 changes: 57 additions & 56 deletions
113
src/pybind/mgr/dashboard/frontend/src/app/core/navigation/about/about.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,61 @@ | ||
<div class="modal-header"> | ||
<button type="button" | ||
class="close pull-right" | ||
aria-label="Close" | ||
(click)="modalRef.hide()"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
</div> | ||
<div class="modal-body"> | ||
<h2> | ||
<img src="assets/Ceph_Logo_Stacked_RGB_120411_fa_348x348.png" | ||
class="ceph-logo" | ||
alt="{{ projectConstants.organization }}"> | ||
{{ projectConstants.organization }} | ||
</h2> | ||
<h3> | ||
<strong>{{ projectConstants.projectName }}</strong> | ||
</h3> | ||
<div class="product-versions"> | ||
<strong>Version</strong> | ||
<br> | ||
{{ versionNumber }} | ||
{{ versionHash }} | ||
<div class="about-modal-pf"> | ||
<div class="modal-header"> | ||
<button type="button" | ||
class="close pull-right" | ||
aria-label="Close" | ||
(click)="modalRef.hide()"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
</div> | ||
<div class="modal-body"> | ||
<h2> | ||
<img src="branding/assets/RHCSD-Login-Logo.svg" | ||
class="ceph-logo" | ||
alt="{{ projectConstants.projectName }}"> | ||
</h2> | ||
<br> | ||
{{ versionName }} | ||
<ul class="list-unstyled"> | ||
<li class="row"> | ||
<strong class="col-xs-6 col-sm-4">Version</strong> | ||
<span class="col-xs-4 col-sm-4">{{ projectConstants.version }}</span> | ||
</li> | ||
<li class="row"> | ||
<strong class="col-xs-6 col-sm-4">Ceph Manager</strong> | ||
<span class="col-xs-4 col-sm-4">{{ hostAddr }}</span> | ||
</li> | ||
<li class="row"> | ||
<strong class="col-xs-6 col-sm-4">User</strong> | ||
<span class="col-xs-4 col-sm-4">{{ modalVariables.user }}</span> | ||
</li> | ||
<li class="row"> | ||
<strong class="col-xs-6 col-sm-4">User Role</strong> | ||
<span class="col-xs-4 col-sm-4">{{ modalVariables.role }}</span> | ||
</li> | ||
<li class="row"> | ||
<strong class="col-xs-6 col-sm-4">Browser</strong> | ||
<span class="col-xs-4 col-sm-4">{{ modalVariables.browserName }}</span> | ||
</li> | ||
<li class="row"> | ||
<strong class="col-xs-6 col-sm-4">Browser Version</strong> | ||
<span class="col-xs-4 col-sm-4">{{ modalVariables.browserVersion }}</span> | ||
</li> | ||
<li class="row"> | ||
<strong class="col-xs-6 col-sm-4">Browser OS</strong> | ||
<span class="col-xs-4 col-sm-4">{{ modalVariables.browserOS }}</span> | ||
</li> | ||
</ul> | ||
<div class="trademark-pf"> | ||
<div class="text-left"> | ||
{{ copyright }} | ||
<br> | ||
{{ projectConstants.license }} | ||
<br> | ||
{{ projectConstants.licenseNumber }} | ||
</div> | ||
</div> | ||
</div> | ||
<br> | ||
<ul class="list-unstyled"> | ||
<li class="row"> | ||
<strong class="col-xs-6 col-sm-4">Ceph Manager</strong> | ||
<span class="col-xs-4 col-sm-4">{{ hostAddr }}</span> | ||
</li> | ||
<li class="row"> | ||
<strong class="col-xs-6 col-sm-4">User</strong> | ||
<span class="col-xs-4 col-sm-4">{{ modalVariables.user }}</span> | ||
</li> | ||
<li class="row"> | ||
<strong class="col-xs-6 col-sm-4">User Role</strong> | ||
<span class="col-xs-4 col-sm-4">{{ modalVariables.role }}</span> | ||
</li> | ||
<li class="row"> | ||
<strong class="col-xs-6 col-sm-4">Browser</strong> | ||
<span class="col-xs-4 col-sm-4">{{ modalVariables.browserName }}</span> | ||
</li> | ||
<li class="row"> | ||
<strong class="col-xs-6 col-sm-4">Browser Version</strong> | ||
<span class="col-xs-4 col-sm-4">{{ modalVariables.browserVersion }}</span> | ||
</li> | ||
<li class="row"> | ||
<strong class="col-xs-6 col-sm-4">Browser OS</strong> | ||
<span class="col-xs-4 col-sm-4">{{ modalVariables.browserOS }}</span> | ||
</li> | ||
</ul> | ||
</div> | ||
<div class="modal-footer"> | ||
<div class="text-left"> | ||
{{ copyright }} | ||
{{ projectConstants.license }} | ||
<div class="modal-footer"> | ||
<img class="redhat_logo" src="branding/assets/Logo_RH_RGB_Reverse.png" alt="{{ projectConstants.organization }}"> | ||
<img src="branding/assets/RHCSD-About-Corner.png" alt="{{ projectConstants.organization }}"> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 6 additions & 3 deletions
9
src/pybind/mgr/dashboard/frontend/src/app/shared/constants/app.constants.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
export class AppConstants { | ||
public static readonly organization = 'ceph'; | ||
public static readonly projectName = 'Ceph Manager Dashboard'; | ||
public static readonly license = 'Free software (LGPL 2.1).'; | ||
public static readonly version = '4.0'; | ||
public static readonly organization = 'Redhat'; | ||
public static readonly projectName = 'Red Hat Ceph Storage Dashboard'; | ||
public static readonly contributors = ' Red Hat Inc. and contributors'; | ||
public static readonly license = 'Licensed under Creative Commons Attribution Share Alike'; | ||
public static readonly licenseNumber = '3.0 (CC-BY-SA-3.0)'; | ||
} |
Binary file added
BIN
+22.4 KB
src/pybind/mgr/dashboard/frontend/src/branding/assets/RHCSD-About-Corner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters