Fixes in css
This commit is contained in:
parent
2e9fa5fa8d
commit
f5ccab3952
7 changed files with 85 additions and 39 deletions
|
|
@ -6,11 +6,7 @@
|
||||||
<%def name="help(help, name)">
|
<%def name="help(help, name)">
|
||||||
% if help:
|
% if help:
|
||||||
<i class="fa fa-question-circle tooltip" data-tooltip-content="#tooltip_${name}_content" style="cursor:pointer;"></i> \
|
<i class="fa fa-question-circle tooltip" data-tooltip-content="#tooltip_${name}_content" style="cursor:pointer;"></i> \
|
||||||
<div class="tooltip_templates" style="display:none;">
|
<div class="tooltip_templates" style="display:none;"><div id="tooltip_${name}_content">${help|n}</div></div>
|
||||||
<div id="tooltip_${name}_content">
|
|
||||||
${help|n}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
% endif
|
% endif
|
||||||
</%def>
|
</%def>
|
||||||
<div class="form">
|
<div class="form">
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,3 @@
|
||||||
<!--{% set header_js_list %}
|
|
||||||
<script language="Javascript">
|
|
||||||
/*alert('pepe');*/
|
|
||||||
</script>
|
|
||||||
{% endset %}
|
|
||||||
{{ header_js_list|add_header_home() }}-->
|
|
||||||
<%def name="select_field(field)">
|
<%def name="select_field(field)">
|
||||||
% if simplelist.search_field==field:
|
% if simplelist.search_field==field:
|
||||||
selected \
|
selected \
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
|
from html import escape
|
||||||
|
|
||||||
#Forms para python3
|
#Forms para python3
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -268,7 +268,7 @@ def login():
|
||||||
|
|
||||||
user_admin.conditions=['WHERE username=%s', [username]]
|
user_admin.conditions=['WHERE username=%s', [username]]
|
||||||
|
|
||||||
arr_user=user_admin.select_a_row_where(['id', 'password', 'privileges', 'lang', 'num_tries'])
|
arr_user=user_admin.select_a_row_where(['id', 'password', 'privileges', 'lang', 'num_tries', 'email'])
|
||||||
|
|
||||||
if arr_user==False:
|
if arr_user==False:
|
||||||
|
|
||||||
|
|
@ -293,6 +293,7 @@ def login():
|
||||||
s['login']=1
|
s['login']=1
|
||||||
s['privileges']=arr_user['privileges']
|
s['privileges']=arr_user['privileges']
|
||||||
s['lang']=arr_user['lang']
|
s['lang']=arr_user['lang']
|
||||||
|
s['email']=arr_user['email']
|
||||||
|
|
||||||
if s['lang']=='':
|
if s['lang']=='':
|
||||||
s['lang']=I18n.default_lang
|
s['lang']=I18n.default_lang
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,11 @@
|
||||||
|
|
||||||
body
|
body
|
||||||
{
|
{
|
||||||
|
|
||||||
margin:0px;
|
margin:0px;
|
||||||
background-color:#f7f6f1;
|
background-color:#f7f6f1;
|
||||||
font-family: "Helvetica", sans, sans-serif, serif;
|
font-family: "Roboto", sans, sans-serif, serif;
|
||||||
|
font-size: 16px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -28,7 +30,7 @@ a:hover
|
||||||
height:47px;
|
height:47px;
|
||||||
color:#000;
|
color:#000;
|
||||||
font-size:22px;
|
font-size:22px;
|
||||||
font-family:"Open Sans", sans, serif;
|
font-family:"Roboto", sans, serif;
|
||||||
/*background-image:url('../images/background.png');
|
/*background-image:url('../images/background.png');
|
||||||
background-position:top;
|
background-position:top;
|
||||||
background-repeat:repeat-x;*/
|
background-repeat:repeat-x;*/
|
||||||
|
|
@ -42,7 +44,7 @@ a:hover
|
||||||
font-size:28px;
|
font-size:28px;
|
||||||
padding-left:15px;
|
padding-left:15px;
|
||||||
color: #555555;
|
color: #555555;
|
||||||
font-family:"Open Sans", sans, serif;
|
font-family:"Roboto", sans, serif;
|
||||||
/*font-style:italic;*/
|
/*font-style:italic;*/
|
||||||
/*text-shadow:#000000 1px 1px 1px;
|
/*text-shadow:#000000 1px 1px 1px;
|
||||||
filter: progid:DXImageTransform.Microsoft.Shadow(color='#000000', Direction=130, Strength=4);*/
|
filter: progid:DXImageTransform.Microsoft.Shadow(color='#000000', Direction=130, Strength=4);*/
|
||||||
|
|
@ -63,12 +65,12 @@ a:hover
|
||||||
h1, h2
|
h1, h2
|
||||||
{
|
{
|
||||||
|
|
||||||
font-family:"Helvetica", sans, serif;
|
font-family:"Roboto", sans, serif;
|
||||||
border: solid #cbcbcb;
|
border: solid #cbcbcb;
|
||||||
border-width: 0px 0px 1px 1px;
|
border-width: 0px 0px 1px 1px;
|
||||||
font-size:26px;
|
font-size:26px;
|
||||||
color:#333333;
|
color:#333333;
|
||||||
margin:0px;
|
margin:0px 0px 20px 0px;
|
||||||
padding:5px 10px;
|
padding:5px 10px;
|
||||||
font-weight:normal;
|
font-weight:normal;
|
||||||
background: #e6e6e6;
|
background: #e6e6e6;
|
||||||
|
|
@ -86,6 +88,16 @@ h2 {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
|
||||||
|
-webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75);
|
||||||
|
-moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75);
|
||||||
|
box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75);
|
||||||
|
font-size:20px;
|
||||||
|
padding:3px 10px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
|
|
||||||
border: solid #cbcbcb;
|
border: solid #cbcbcb;
|
||||||
|
|
@ -124,23 +136,28 @@ p {
|
||||||
width:17%;
|
width:17%;
|
||||||
margin-right:0px;
|
margin-right:0px;
|
||||||
position:relative;
|
position:relative;
|
||||||
border:solid #cccccc;
|
/* border:solid #cccccc;
|
||||||
border-width:0px 1px 1px 0px;
|
border-width:0px 1px 1px 0px;*/
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding-bottom: 100px;
|
||||||
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu a
|
#menu a
|
||||||
{
|
{
|
||||||
|
|
||||||
font-size:14px;
|
font-size:16px;
|
||||||
/*font-family:arial, sans;*/
|
/*font-family:arial, sans;*/
|
||||||
text-decoration:none;
|
text-decoration:none;
|
||||||
color:#6183b0;
|
color:#ededed;
|
||||||
display:block;
|
display:block;
|
||||||
border:solid #cccccc;
|
border:solid #cccccc;
|
||||||
/*border-width:0px 1px 1px 1px;*/
|
/*border-width:0px 1px 1px 1px;*/
|
||||||
border-width:0px;
|
border-width:0px;
|
||||||
padding:5px;
|
padding:5px;
|
||||||
background: #ececec;
|
padding-top:10px;
|
||||||
|
padding-bottom:10px;
|
||||||
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu a:hover
|
#menu a:hover
|
||||||
|
|
@ -148,7 +165,7 @@ p {
|
||||||
|
|
||||||
text-decoration:underline;
|
text-decoration:underline;
|
||||||
color:#fbfbfb;
|
color:#fbfbfb;
|
||||||
background: #18788d;
|
background: #0fb1dd;
|
||||||
text-decoration:none;
|
text-decoration:none;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -167,7 +184,7 @@ p {
|
||||||
|
|
||||||
padding:5px;
|
padding:5px;
|
||||||
font-size:18px;
|
font-size:18px;
|
||||||
font-family:"Helvetica", sans, serif;
|
font-family:"Roboto", sans, serif;
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
/*background-image:url('../images/background_title.png');
|
/*background-image:url('../images/background_title.png');
|
||||||
background-position:top;
|
background-position:top;
|
||||||
|
|
@ -176,12 +193,15 @@ p {
|
||||||
/*border:solid #cccccc;
|
/*border:solid #cccccc;
|
||||||
border-width:0px 1px 1px 1px;*/
|
border-width:0px 1px 1px 1px;*/
|
||||||
color: #fbfbfb;
|
color: #fbfbfb;
|
||||||
|
overflow: hidden;
|
||||||
|
box-sizing: border-box;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.father_admin {
|
.father_admin {
|
||||||
|
|
||||||
font-family:"Helvetica", sans, serif;
|
font-family:"Roboto", sans, serif;
|
||||||
padding:5px;
|
padding:5px;
|
||||||
font-size:18px;
|
font-size:18px;
|
||||||
display: block;
|
display: block;
|
||||||
|
|
@ -218,24 +238,31 @@ p {
|
||||||
{
|
{
|
||||||
|
|
||||||
margin:auto;
|
margin:auto;
|
||||||
background-color:#ffffff;
|
background: rgba(18,47,59,1);
|
||||||
|
background: -moz-linear-gradient(left, rgba(18,47,59,1) 0%, rgba(18,47,59,1) 51%, rgba(18,47,59,1) 74%, rgba(8,59,77,1) 100%);
|
||||||
|
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(18,47,59,1)), color-stop(51%, rgba(18,47,59,1)), color-stop(74%, rgba(18,47,59,1)), color-stop(100%, rgba(8,59,77,1)));
|
||||||
|
background: -webkit-linear-gradient(left, rgba(18,47,59,1) 0%, rgba(18,47,59,1) 51%, rgba(18,47,59,1) 74%, rgba(8,59,77,1) 100%);
|
||||||
|
background: -o-linear-gradient(left, rgba(18,47,59,1) 0%, rgba(18,47,59,1) 51%, rgba(18,47,59,1) 74%, rgba(8,59,77,1) 100%);
|
||||||
|
background: -ms-linear-gradient(left, rgba(18,47,59,1) 0%, rgba(18,47,59,1) 51%, rgba(18,47,59,1) 74%, rgba(8,59,77,1) 100%);
|
||||||
|
background: linear-gradient(to right, rgba(18,47,59,1) 0%, rgba(18,47,59,1) 51%, rgba(18,47,59,1) 74%, rgba(8,59,77,1) 100%);
|
||||||
|
background-size: 17% 100%;
|
||||||
|
background-repeat:no-repeat;
|
||||||
padding:0px;
|
padding:0px;
|
||||||
border:solid #bcbcbc;
|
border:solid #bcbcbc;
|
||||||
border-width: 1px;
|
border-width: 0px;
|
||||||
font-size:14px;
|
font-size:16px;
|
||||||
position:relative;
|
position:relative;
|
||||||
overflow:auto;
|
overflow:auto;
|
||||||
/*background: linear-gradient(to right, #ababab , #cbcbcb);
|
border: solid #cbcbcb;
|
||||||
background-size:244px;
|
border-width: 0px 0px 1px 0px;
|
||||||
background-repeat: repeat-y;*/
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.contents
|
.contents
|
||||||
{
|
{
|
||||||
float:right;
|
float:right;
|
||||||
width:82%;
|
width:83%;
|
||||||
padding:0px 0px 0px 0px;
|
padding:0px 0px 0px 0px;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content
|
.content
|
||||||
|
|
@ -260,7 +287,7 @@ p {
|
||||||
background-color: #337ab7;
|
background-color: #337ab7;
|
||||||
border-radius: 8px 8px 0px 0px;
|
border-radius: 8px 8px 0px 0px;
|
||||||
border:solid #337ab7;
|
border:solid #337ab7;
|
||||||
border-width:1px 1px 1px 1px;
|
border-width:1px 0px 1px 0px;
|
||||||
margin-top:8px;
|
margin-top:8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -591,6 +618,7 @@ a:hover.no_choose_flag
|
||||||
|
|
||||||
top:8px;
|
top:8px;
|
||||||
right:5px;
|
right:5px;
|
||||||
|
height:10px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -601,7 +629,7 @@ a:hover.no_choose_flag
|
||||||
right:10px;
|
right:10px;
|
||||||
width:55px;
|
width:55px;
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
font-size:12px;
|
font-size:10px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
/*border: solid #000 1px;*/
|
/*border: solid #000 1px;*/
|
||||||
}
|
}
|
||||||
|
|
@ -730,6 +758,12 @@ a.form_button_tab:hover
|
||||||
|
|
||||||
@media only screen and (max-width: 800px) {
|
@media only screen and (max-width: 800px) {
|
||||||
|
|
||||||
|
.content_admin {
|
||||||
|
|
||||||
|
background: transparent;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
#toggle {
|
#toggle {
|
||||||
|
|
||||||
display:block;
|
display:block;
|
||||||
|
|
@ -753,6 +787,19 @@ a.form_button_tab:hover
|
||||||
width:100%;
|
width:100%;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#menu a {
|
||||||
|
|
||||||
|
background: rgba(18,47,59,1);
|
||||||
|
background: -moz-linear-gradient(left, rgba(18,47,59,1) 0%, rgba(18,47,59,1) 51%, rgba(18,47,59,1) 74%, rgba(8,59,77,1) 100%);
|
||||||
|
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(18,47,59,1)), color-stop(51%, rgba(18,47,59,1)), color-stop(74%, rgba(18,47,59,1)), color-stop(100%, rgba(8,59,77,1)));
|
||||||
|
background: -webkit-linear-gradient(left, rgba(18,47,59,1) 0%, rgba(18,47,59,1) 51%, rgba(18,47,59,1) 74%, rgba(8,59,77,1) 100%);
|
||||||
|
background: -o-linear-gradient(left, rgba(18,47,59,1) 0%, rgba(18,47,59,1) 51%, rgba(18,47,59,1) 74%, rgba(8,59,77,1) 100%);
|
||||||
|
background: -ms-linear-gradient(left, rgba(18,47,59,1) 0%, rgba(18,47,59,1) 51%, rgba(18,47,59,1) 74%, rgba(8,59,77,1) 100%);
|
||||||
|
background: linear-gradient(to right, rgba(18,47,59,1) 0%, rgba(18,47,59,1) 51%, rgba(18,47,59,1) 74%, rgba(8,59,77,1) 100%);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
#title_phango
|
#title_phango
|
||||||
{
|
{
|
||||||
font-size:18px;
|
font-size:18px;
|
||||||
|
|
|
||||||
|
|
@ -19,8 +19,15 @@ ${add_js_home_local('jquery.min.js', 'admin')}
|
||||||
${add_js_home_local('responsive-nav.min.js', 'admin')}
|
${add_js_home_local('responsive-nav.min.js', 'admin')}
|
||||||
${add_js_home_local('tooltipster.bundle.min.js', 'admin')}
|
${add_js_home_local('tooltipster.bundle.min.js', 'admin')}
|
||||||
${HeaderHTML.css_home()|n}
|
${HeaderHTML.css_home()|n}
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
|
||||||
|
<%block name="extra_css">
|
||||||
|
</%block>
|
||||||
${HeaderHTML.js_home()|n}
|
${HeaderHTML.js_home()|n}
|
||||||
|
<%block name="extra_js">
|
||||||
|
</%block>
|
||||||
${HeaderHTML.header_home()|n}
|
${HeaderHTML.header_home()|n}
|
||||||
|
<%block name="extra_header">
|
||||||
|
</%block>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="languages_general">
|
<div id="languages_general">
|
||||||
|
|
@ -32,7 +39,7 @@ ${HeaderHTML.header_home()|n}
|
||||||
<div id="center_body">
|
<div id="center_body">
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<a href="#nav" id="toggle"><i class="fa fa-bars" aria-hidden="true"></i><span>Menu</span></a>
|
<a href="#nav" id="toggle"><i class="fa fa-bars" aria-hidden="true"></i><span>Menu</span></a>
|
||||||
<span id="title_phango">Paramecio</span> <span id="title_framework">Framework!</span>
|
<%block name="title_admin"><span id="title_phango">Paramecio</span> <span id="title_framework">Framework!</span></%block>
|
||||||
<div id="languages_general">
|
<div id="languages_general">
|
||||||
<%def name="select_lang(i18n, lang_selected)">
|
<%def name="select_lang(i18n, lang_selected)">
|
||||||
% if i18n==lang_selected:
|
% if i18n==lang_selected:
|
||||||
|
|
@ -52,11 +59,11 @@ ${HeaderHTML.header_home()|n}
|
||||||
<div class="content_admin">
|
<div class="content_admin">
|
||||||
<nav id="menu" class="nav-collapse">
|
<nav id="menu" class="nav-collapse">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="menu_title"><i class="fa fa-gear" aria-hidden="true"></i> ${lang('admin', 'applications', 'Applications')}</li>
|
<li class="menu_title"><i class="fa fa-gear" aria-hidden="true"></i> ${lang('admin', 'applications', 'Applications')}</li>
|
||||||
% for module in menu:
|
% for module in menu:
|
||||||
% if type(menu[module]).__name__=='list':
|
% if type(menu[module]).__name__=='list':
|
||||||
% if menu[module][0]!="":
|
% if menu[module][0]!="":
|
||||||
<li><a href="${check_menu(module).strip()|n}"><i class="fa fa-circle-o" aria-hidden="true"></i> ${menu[module][0]}</a></li>
|
<li><a href="${check_menu(module).strip()|n}"><i class="fa fa-circle-o" aria-hidden="true"></i> ${menu[module][0]}</a></li>
|
||||||
% endif
|
% endif
|
||||||
% else:
|
% else:
|
||||||
% if menu[module]!="":
|
% if menu[module]!="":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue