[gen] Added a i18n label used for the title of web pages and added a default favicon and the possibility to override it.

This commit is contained in:
Gaetan Delannay 2012-09-20 09:37:33 +02:00
parent d799398de1
commit 6367924b05
7 changed files with 10 additions and 4 deletions

View file

@ -115,8 +115,7 @@ img { border: 0; vertical-align: middle}
.objectTitle { font-size: 11pt; border-bottom: 3px solid grey;
font-weight: bold;}
.by { padding-top: 5px;}
.workflow { text-align: center; border-top: 1px solid grey;
background-color: #ececec }
.workflow { text-align: center; border-top: 1px solid grey }
.underTitle { background-color: #e9e9e9 }
.objectNavigate { margin-top: 3px;}
.underline { border-bottom: 1px dotted grey;}

BIN
gen/ui/close.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 B

BIN
gen/ui/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View file

@ -19,7 +19,8 @@
tal:attributes="dir python: tool.getLanguageDirection(lang)">
<head>
<title tal:content="tool/getAppName"></title>
<title tal:content="python: _('app_name')"></title>
<link rel="icon" type="image/x-icon" href="/favicon.ico"/>
<tal:link repeat="name tool/getGlobalCssJs">
<link tal:condition="python: name.endswith('.css') and not ((dir == 'ltr') and (name == 'appyrtl.css'))"
rel="stylesheet" type="text/css" tal:attributes="href string:$appUrl/ui/$name"/>