Merge pull request #4272 from erasche/uniform-titles

Uniform titles
This commit is contained in:
Dannon Baker
2017-07-05 17:00:09 -04:00
committed by GitHub
19 changed files with 70 additions and 25 deletions
@@ -87,7 +87,7 @@ class Library( BaseUIController ):
}
return trans.fill_template( 'galaxy.panels.mako',
config={
'title': 'Galaxy Data Libraries',
'title': 'Data Libraries',
'app': app } )
@web.expose
+7 -1
View File
@@ -13,7 +13,13 @@
## Force IE to standards mode, and prefer Google Chrome Frame if the user has already installed it
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>${self.title()}</title>
<title>
Galaxy
%if app.config.brand:
| ${app.config.brand}
%endif
| ${self.title()}
</title>
## relative href for site root
<link rel="index" href="${ h.url_for( '/' ) }"/>
${self.metas()}
+7 -5
View File
@@ -166,11 +166,13 @@
## Force IE to standards mode, and prefer Google Chrome Frame if the user has already installed it
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
%if app.config.brand:
<title>${self.title()} / ${app.config.brand}</title>
%else:
<title>${self.title()}</title>
%endif
<title>
Galaxy
%if app.config.brand:
| ${app.config.brand}
%endif
| ${self.title()}
</title>
## relative href for site root
<link rel="index" href="${ h.url_for( '/' ) }"/>
${self.stylesheets()}
+1 -1
View File
@@ -17,7 +17,7 @@
##
<%def name="title()">
Galaxy | ${iff( item.published, "Published ", iff( item.importable , "Accessible ", iff( item.users_shared_with, "Shared ", "Private " ) ) ) + get_class_display_name( item.__class__ )} | ${get_item_name( item ) | h}
${iff( item.published, "Published ", iff( item.importable , "Accessible ", iff( item.users_shared_with, "Shared ", "Private " ) ) ) + get_class_display_name( item.__class__ )} | ${get_item_name( item ) | h}
</%def>
<%def name="init()">
+6 -1
View File
@@ -9,7 +9,12 @@
## Force IE to standards mode, and prefer Google Chrome Frame if the user has already installed it
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>Galaxy</title>
<title>
Galaxy
%if app.config.brand:
| ${app.config.brand}
%endif
</title>
## relative href for site root
<link rel="index" href="${ h.url_for( '/' ) }"/>
## TODO: use loaders to move everything but the essentials below the fold
+1 -1
View File
@@ -32,7 +32,7 @@ def inherit(context):
</style>
</%def>
<%def name="title()">Galaxy :: Logout</%def>
<%def name="title()">Logout</%def>
<%def name="center_panel()">
${self.body()}
+1 -1
View File
@@ -1,7 +1,7 @@
<%inherit file="/base.mako"/>
<%namespace file="/message.mako" import="render_msg" />
<%def name="title()">Galaxy Administration</%def>
<%def name="title()">Administration</%def>
<h2>Administration</h2>
Please visit <a href="https://galaxyproject.org/admin" target="_blank">the Galaxy administration hub</a> to learn how to keep your Galaxy in best shape.
+1 -1
View File
@@ -3,7 +3,7 @@
<%namespace name="mod_masthead" file="/webapps/galaxy/galaxy.masthead.mako"/>
## Default title
<%def name="title()">Galaxy</%def>
<%def name="title()"></%def>
<%def name="javascripts()">
${parent.javascripts()}
@@ -44,7 +44,7 @@
</%def>
<%def name="title()">
Galaxy | ${get_class_display_name( item.__class__ )} | ${get_item_name( item ) | h}
${get_class_display_name( item.__class__ )} | ${get_item_name( item ) | h}
</%def>
<%def name="render_item_links( data )">
+7 -1
View File
@@ -1,7 +1,13 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Dataset generation errors</title>
<title>
Galaxy
%if app.config.brand:
| ${app.config.brand}
%endif
| Dataset generation errors
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/static/style/base.css" rel="stylesheet" type="text/css" />
<style>
+7 -3
View File
@@ -159,9 +159,13 @@
<meta http-equiv="x-ua-compatible" content="ie=edge,chrome=1">
<title>
%if self.galaxy_config['title']:
${self.galaxy_config['title']}
%endif
Galaxy
%if app.config.brand:
| ${app.config.brand}
%endif
%if self.galaxy_config['title']:
| ${self.galaxy_config['title']}
%endif
</title>
${self.stylesheets()}
@@ -10,7 +10,7 @@
</%def>
<%def name="title()">
Galaxy | Published Histories
Published Histories
</%def>
<%def name="stylesheets()">
+7 -1
View File
@@ -3,7 +3,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>${form.title}</title>
<title>
Galaxy
%if app.config.brand:
| ${app.config.brand}
%endif
${form.title}
</title>
<meta name="viewport" content="width=devicewidth; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
<link rel="apple-touch-icon" href="${h.url_for('/static/iui/iui-logo-touch-icon.png')}" />
<meta name="apple-touch-fullscreen" content="YES" />
+6 -1
View File
@@ -2,7 +2,12 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Galaxy</title>
<title>
Galaxy
%if app.config.brand:
| ${app.config.brand}
%endif
</title>
<style>
li > a > div {
@@ -1,7 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Galaxy</title>
<title>
Galaxy
%if app.config.brand:
| ${app.config.brand}
%endif
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="${h.url_for('/static/style/base.css')}" rel="stylesheet" type="text/css" />
<script type="text/javascript">
+1 -1
View File
@@ -7,7 +7,7 @@
## Default title
<%def name="title()">Galaxy Reports</%def>
<%def name="title()">Reports</%def>
## Masthead
<%def name="masthead()">
@@ -2,7 +2,7 @@
<%namespace file="/message.mako" import="render_msg" />
<%def name="title()">Galaxy Administration</%def>
<%def name="title()">Administration</%def>
%if message:
${render_msg( message, status )}
+1 -1
View File
@@ -1,7 +1,7 @@
<%inherit file="/base/base_panels.mako"/>
## Default title
<%def name="title()">Galaxy Tool Shed</%def>
<%def name="title()">Tool Shed</%def>
<%def name="javascripts()">
${parent.javascripts()}
@@ -11,7 +11,13 @@
<html>
<head>
<title>Galaxy tool preview</title>
<title>
Galaxy
%if app.config.brand:
| ${app.config.brand}
%endif
| Tool Preview
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
${h.css( "base" )}
</head>