diff options
| author | Antony Lesuisse <al@openerp.com> | 2011-12-30 11:53:41 +0100 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2011-12-30 11:53:41 +0100 |
| commit | c1ffe4385f69efdd55f27324a71ca83a61d7db0f (patch) | |
| tree | d0a459fb7cb8ab96a8efc456230afa2f9ceea822 /addons/web_dashboard/static/src | |
| parent | f90d31a4d01a7efd5a00e83cd046922312796c48 (diff) | |
| parent | eaf85461354b642fe799d33c9d35cf7b6e06594a (diff) | |
[MERGE] style improvement by ahu
bzr revid: al@openerp.com-20111230105341-d26r8iaczoq1xx34
Diffstat (limited to 'addons/web_dashboard/static/src')
| -rw-r--r-- | addons/web_dashboard/static/src/css/dashboard.css | 35 | ||||
| -rw-r--r-- | addons/web_dashboard/static/src/xml/web_dashboard.xml | 21 |
2 files changed, 47 insertions, 9 deletions
diff --git a/addons/web_dashboard/static/src/css/dashboard.css b/addons/web_dashboard/static/src/css/dashboard.css index 0643c69711b..fe31f0a9a87 100644 --- a/addons/web_dashboard/static/src/css/dashboard.css +++ b/addons/web_dashboard/static/src/css/dashboard.css @@ -378,4 +378,39 @@ vertical-align: middle; } +.openerp .oe_welcome_message { + display:none; +} +.openerp .oe_initial_welcome_message { + width:30%; + text-align:center; + margin:10px 35% 0 35%; + padding: 5px 10px; + border: 1px solid #ccc; + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + background: #eeeded; + box-shadow: 0 1px 0 #fff; + -moz-box-shadow: 0 1px 0 #fff; + -webkit-box-shadow: 0 1px 0 #fff; + color: #8c8c8c; + font-size: 90%; + text-transform: uppercase; + font-weight: bold; + text-shadow: #fff 0 1px 0; +} +.openerp .oe_initial_welcome_message ul{ + padding:10px 0 0 0; + margin:0; + list-style-type: none; + padding: 7px 0 5px 5px; + background-position: 0 50%; + background-repeat: no-repeat; + cursor: pointer; +} +.openerp .oe_initial_welcome_message ul a, .openerp .initial_welcome_message ul a:hover, .openerp .initial_welcome_message ul a:active, .openerp .initial_welcome_message ul a:focus { + color:#222; + text-decoration:none; +} diff --git a/addons/web_dashboard/static/src/xml/web_dashboard.xml b/addons/web_dashboard/static/src/xml/web_dashboard.xml index 2c575957cfc..5d503d94f1e 100644 --- a/addons/web_dashboard/static/src/xml/web_dashboard.xml +++ b/addons/web_dashboard/static/src/xml/web_dashboard.xml @@ -105,19 +105,22 @@ </t> <t t-name="web_dashboard.ApplicationTiles"> - <div class="oe_applications_tiles"> - <h1>Welcome to OpenERP</h1> + <div> + <div class="oe_applications_tiles"> + <h1 class="oe_welcome_message">Welcome to OpenERP</h1> + </div> </div> </t> <div t-name="web_dashboard.ApplicationInstaller"> - <ul> - <li>Remember to bookmark this page.</li> - <li>Remember your login: <t t-esc="widget.session.username"/></li> - <li>Choose the first OpenERP Application you want to install..</li> - </ul> - <h3>Please choose the first application to install.</h3> + <div class="oe_initial_welcome_message"> + <ul> + <li>Remember to bookmark + <a class="oe_welcome_url" t-att-href="widget.session.origin">This url</a> + </li> + <li>Your login: <t t-esc="widget.session.username"/></li> + </ul> + </div> <div class="oe_installer" /> </div> - </template> |
