Resolved the logo issue.

For some unknown reason, font-mfizz was showing the slonik icon in
italic. Even after upgrading it to the latest version of font-mfizz, the
problem was not resolved.

So - instead of using the vector font, using the PostgreSQL SVG logo as
the application icon, and documentation link on dashboard now.
This commit is contained in:
Ashesh Vashi 2017-09-29 11:07:22 +05:30
parent bcce574e83
commit 9c6c32e936
5 changed files with 27 additions and 7 deletions

View File

@ -35,7 +35,7 @@ from pgadmin.utils import env, IS_PY2, IS_WIN, fs_short_path
# Name of the application to display in the UI
APP_NAME = 'pgAdmin 4'
APP_ICON = 'icon-postgres-alt'
APP_ICON = 'pg-icon'
##########################################################################
# Application settings

View File

@ -62,7 +62,6 @@
"exports-loader": "~0.6.4",
"flotr2": "^0.1.0",
"font-awesome": "^4.7.0",
"font-mfizz": "^2.4.1",
"hard-source-webpack-plugin": "^0.4.9",
"immutability-helper": "^2.2.0",
"imports-loader": "^0.7.1",

View File

@ -47,7 +47,7 @@
<div class="row">
<div class="col-xs-3 dashboard-link">
<a href="http://www.postgresql.org/docs" target="_new">
<span class="fa fa-4x dashboard-icon icon-postgres" aria-hidden="true"></span><br/>
<span class="fa fa-4x dashboard-icon dashboard-pg-doc" aria-hidden="true"></span><br/>
{{ _('PostgreSQL Documentation') }}
</a>
</div>

File diff suppressed because one or more lines are too long

View File

@ -2899,10 +2899,6 @@ font-awesome@^4.7.0:
version "4.7.0"
resolved "https://registry.yarnpkg.com/font-awesome/-/font-awesome-4.7.0.tgz#8fa8cf0411a1a31afd07b06d2902bb9fc815a133"
font-mfizz@^2.4.1:
version "2.4.1"
resolved "https://registry.yarnpkg.com/font-mfizz/-/font-mfizz-2.4.1.tgz#f2921705ab75c0f095df2a088e2d42811d98e49b"
for-in@^0.1.3:
version "0.1.8"
resolved "https://registry.yarnpkg.com/for-in/-/for-in-0.1.8.tgz#d8773908e31256109952b1fdb9b3fa867d2775e1"