[9.0] [IMP] Web Environment Ribbon: support variables in ribbon name (eg db_name) (#621)

* [ADD] .eggs in gitignore

* [IMP] Web Environment Ribbon: add backend
This commit adds a simple bakend to facilitate inheritance

* [IMP] Web Environment Ribbon: add the databse name
This commit adds the database name under the ribbon name, in the ribbon

* [IMP] Web Environment Ribbon: prepare method for ribbon name

* [IMP] README: explain how to use db_name
This commit is contained in:
Thomas Binsfeld (ACSONE)
2017-05-31 11:25:59 +02:00
committed by Pedro M. Baeza
parent 20a8188dd4
commit f0a37faa69
9 changed files with 78 additions and 23 deletions

View File

@@ -1,12 +1,14 @@
/* Copyright 2015 Francesco OpenCode Apruzzese <cescoap@gmail.com>
Copyright 2017 Thomas Binsfeld <thomas.binsfeld@acsone.eu>
* License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). */
.test-ribbon{
width: 200px;
width: 300px;
top: 25px;
left: -50px;
left: -100px;
text-align: center;
line-height: 50px;
padding: 10px;
line-height: 20px;
letter-spacing: 1px;
color: #f0f0f0;
-webkit-transform: rotate(-45deg);