Commit 824fc736 authored by Marc Duez's avatar Marc Duez

css : database

parent b0cce1b7
......@@ -908,7 +908,7 @@ span.logo {
float: left;
height: 100%;
width: 6px;
line-height: calc(99%);
line-height: calc(100% - 1px);
background: #333333;
cursor: pointer;
}
......@@ -923,22 +923,24 @@ span.logo {
cursor: pointer;
}
#db_div {
z-index: 3;
z-index: 5;
border: solid;
position: fixed;
top: 150px;
top: 20px;
left: 50% ;
width: 960px;
height: 450px;
width: 80%;
height: calc(100% - 50px);
font-size: 14px;
background: #000000;
display: none;
left: -moz-calc(50% - 480px);
left: -webkit-calc(50% - 480px);
left: calc(50% - 480px);
left: 10%;
}
#db_msg {
margin: 15px;
height: calc(100% - 30px);
}
#db_content {
height: calc(100% - 150px);
}
.db_table {
width: 100%;
......@@ -1024,7 +1026,7 @@ span.logo {
#db_table_container {
overflow-y: auto;
overflow-x: hidden;
max-height: 275px;
height: 100%;
position: relative;
}
#db_fixed_header {
......
......@@ -908,7 +908,7 @@ span.logo {
float: left;
height: 100%;
width: 6px;
line-height: calc(99%);
line-height: calc(100% - 1px);
background: #cccccc;
cursor: pointer;
}
......@@ -923,22 +923,24 @@ span.logo {
cursor: pointer;
}
#db_div {
z-index: 3;
z-index: 5;
border: solid;
position: fixed;
top: 150px;
top: 20px;
left: 50% ;
width: 960px;
height: 450px;
width: 80%;
height: calc(100% - 50px);
font-size: 14px;
background: #ffffff;
display: none;
left: -moz-calc(50% - 480px);
left: -webkit-calc(50% - 480px);
left: calc(50% - 480px);
left: 10%;
}
#db_msg {
margin: 15px;
height: calc(100% - 30px);
}
#db_content {
height: calc(100% - 150px);
}
.db_table {
width: 100%;
......@@ -1024,7 +1026,7 @@ span.logo {
#db_table_container {
overflow-y: auto;
overflow-x: hidden;
max-height: 275px;
height: 100%;
position: relative;
}
#db_fixed_header {
......
......@@ -1052,7 +1052,7 @@ span.logo
float: left;
height: 100%;
width: @margin;
line-height: calc(100% - 1px);
line-height: calc(~"100% - 1px");
background : @border;
cursor: pointer;
}
......@@ -1068,24 +1068,28 @@ span.logo
}
#db_div{
z-index:3;
z-index:5;
border:solid;
position: fixed;
top: 150px;
top: 20px;
left:50% ;
width:960px;
height :450px;
width:80%;
height: calc(~"100% - 50px");
font-size: 14px;
background: @background;
display:none;
left: -moz-calc(~"50% - 480px");
left: -webkit-calc(~"50% - 480px");
left: calc(~"50% - 480px");
left: 10%;
}
#db_msg{
margin : 15px;
height : calc(~"100% - 30px")
}
#db_content{
height : calc(~"100% - 150px");
}
.db_table{
width: 100%;
border-collapse: collapse;
......@@ -1180,9 +1184,9 @@ span.logo
}
#db_table_container{
overflow-y: auto;
overflow-y: scroll;
overflow-x: hidden;
max-height: 275px;
height: 100%;
position: relative;
}
......
......@@ -323,8 +323,7 @@
<div id="db_div">
<span class="closeButton" onclick="db.close()">X</span>
<div id="db_msg">
</div>
<div id="db_msg"></div>
</div>
<div id="flash_container"></div>
......
......@@ -10,3 +10,7 @@ if request.env.http_origin:
def index():
if auth.has_membership("admin"):
return dict(message=T(''))
def worker():
if auth.has_membership("admin"):
return dict(message=T(''))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment