This commit is contained in:
Dany De Bontridder 2015-08-14 13:30:12 +02:00
parent db82308b02
commit 92c8841454
6 changed files with 37 additions and 35 deletions

View file

@ -26,9 +26,9 @@ require_once NOALYSS_INCLUDE.'/class_database.php';
require_once NOALYSS_INCLUDE.'/class_user.php';
require_once NOALYSS_INCLUDE.'/class_periode.php';
echo '<div style="float:left;">'.HtmlInput::print_window();
html_page_start($_SESSION['g_theme']);
echo '<div style="float:left;">';
global $g_user;
if ( basename($_GET['ajax']) == 'ajax_history.php' )
{
@ -69,10 +69,13 @@ if ( basename($_GET['ajax']) == 'ajax_history.php' )
$href_csv="export.php?".$href.'&f_id='.$_GET['f_id'].'&ople=0&type=poste&'.$from_periode.'&'.$to_periode."&act=CSV:fichedetail";
$href_pdf="export.php?".$href.'&f_id='.$_GET['f_id'].'&ople=0&type=poste&'.$from_periode.'&'.$to_periode."&act=PDF:fichedetail";
}
echo HtmlInput::print_window();
echo '<a class="smallbutton" href="'.$href_csv.'">'._("Export CSV").'</a>';
echo '<a class="smallbutton" href="'.$href_pdf.'">'._("Export PDF").'</a>';
}
else {
echo HtmlInput::print_window();
}
echo '</div>';
echo HtmlInput::hidden('inpopup',1);
load_all_script();

View file

@ -13,7 +13,7 @@
}
BODY {
background-color: #FDFDFD;
background-color: #F8F8FF;
font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
font-family: 'openSansRegular';
padding: 0px 0px 0px 0px ;
@ -414,19 +414,20 @@ tr.even:hover td
background-color: #a9d6e4;
color:#FFFFFF;
}
td.mtitle:hover
td.mtitle:hover , td.selectedcell:hover,div.menu2 td.mtitle:hover
{
color:#FFFFFF;
border-radius: 0px;
border-bottom-color: red;
border-bottom-style: solid;
border-bottom-width: 4px;
color:#FFFFFF;
border-radius: 0px;
background: #5D90CD;
border-top: 4px solid #5D90CD;
border-bottom: 4px solid #5D90CD;
}
div.menu2 td.mtitle:hover
{
color:#FFFFFF;
border-radius: 10px 10px 0px 0px;
background-color: #5D90CD;
border-bottom-color: red;
border-bottom-style: solid;
border-bottom-width: 4px;
@ -933,20 +934,20 @@ a#smallanchorbutton, .smallbutton, a.smallbutton,div.content a.smallbutton {
border-style: solid ;
border-color: #605D5D;
border-width:1px;
padding-bottom: 3px;
padding-top: 3px;
padding-right: 3px;
padding-left: 3px;
margin-top:3px;
padding-bottom: 2px;
padding-top: 2px;
padding-right: 2px;
padding-left: 2px;
margin-top:2px;
cursor:pointer;
margin:1px 2px 1px 2px;
border-radius: 4px;
moz-border-radius:4px;
border-radius: 2px;
moz-border-radius:2px;
}
a#smallanchorbutton:hover, .smallbutton:hover,a.smallbutton:hover,div.content a.smallbutton:hover {
cursor:pointer;
color: white;
background-color : black;
background-color: #515E7B;
color: red;
/* border-style: inset ; */
margin:1px 2px 1px 2px;
@ -1291,7 +1292,7 @@ a.line:hover,div_content a.line
{
color:white;
text-decoration:none;
border:1px solid #605D5D;
border:0px;
margin-left: 2px;
margin-right:2px;
margin-top:2px;
@ -2016,3 +2017,5 @@ ul.aligned-block li {
#menu_manager{} #menu_manager> img {vertical-align:top;height:20px;width:20px;background-image:url('image/empty.gif')}
#menu_cfgdefmenu{} #menu_cfgdefmenu> img {vertical-align:top;height:20px;width:20px;background-image:url('image/empty.gif')}
#menu_agenda{} #menu_agenda> img {vertical-align:top;height:20px;width:20px;background-image:url('image/empty.gif')}
td.toolselected {background-color: #909BA7; }

View file

@ -1173,11 +1173,13 @@ a.line:hover,div_content a.line
text-decoration:none;
margin-left: 2px;
margin-right:2px;
margin-top:0px;
margin-top:3px;
font-size:12px;
font-size:0.90rem;
cursor: pointer;
cursor: pointer;
border:0px;
font-size:20px;
}
#close_div:hover
{
@ -1457,8 +1459,8 @@ div.bxbutton
float:right;
height:10px;
display:block;
margin-top:0.48%;
margin-right:0.48%;
margin-top:3px;
}
div.inner_box tr.odd {
}

View file

@ -18,8 +18,7 @@ BODY {
padding : 0px;
margin:0px;
color:#0000FF;
font-size:1.2em;
font-size:1.2rem;
font-size:100%;
}
.notice {
color:#FF0000;
@ -169,8 +168,7 @@ td.tool a.mtitle:hover {
text-align:right;
padding:0px;
margin: 0px;
font-size:13px;
font-size:0.86rem;
font-size:70%:
}
div.u_subt2menu {
background-color:#EDF3FF;
@ -220,10 +218,7 @@ div.content{
width:100%;
font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
font-family: 'openSansRegular';
font-size:14px;
font-size:1.1rem;
}
}
div.content30{
float:left;
@ -952,8 +947,7 @@ td.toolselected a.mtitle {
background-color:#FF0000;
}
div.topmenu {
font-size:14.6px;
font-size:1.1rem;
font-size:85%;
}

View file

@ -7,7 +7,7 @@
{
$callback=$_SERVER['PHP_SELF'];
$str=$_SERVER['QUERY_STRING']."&act=de&ajax=$callback";
echo '<A id="close_div" HREF="javascript:void(0)" onclick="var a=window.open(\'popup.php?'.$str.'\',\'\',\'fullscreen=yes,location=no,toolbar=no,scrollbars=yes,resizable=yes,status=no,location=no\'); a.focus();removeDiv(\''.$div.'\')">&#11036
echo '<A id="close_div" HREF="javascript:void(0)" onclick="var a=window.open(\'popup.php?'.$str.'\',\'\',\'fullscreen=yes,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,statusbar=no,menubar=no,status=no,location=no\'); a.focus();removeDiv(\''.$div.'\')">&#11036
</A>';
echo '<A id="close_div" HREF="javascript:void(0)" onclick="removeDiv(\''.$div.'\');">&#10761;</A>';
}

View file

@ -1,7 +1,7 @@
<?php
//This file is part of NOALYSS and is under GPL
//see licence.txt
?><div style="position:absolute;right:2px;height:10px;display:block;margin-top:0.48%;margin-right:0.48%">
?><div class="bxbutton">
<?php
if ($div != "popup") {
$callback=$_SERVER['PHP_SELF'];
@ -9,7 +9,7 @@
$msg_close=_('Fermer');
$msg_pop=_('Ouvrir dans une fenêtre séparée');
echo '<A id="close_div" title="'.$msg_pop.'" onclick="var a=window.open(\'popup.php?'.$str.'\',\'\',\'location=no,toolbar=no,fullscreen=yes,scrollbars=yes,resizable=yes,status=no\'); a.focus();removeDiv(\''.$div.'\')">&#11036;
echo '<A id="close_div" title="'.$msg_pop.'" onclick="var a=window.open(\'popup.php?'.$str.'\',\'\',\'titlebar=no,location=no,statusbar=no,menubar=no,toolbar=no,fullscreen=yes,scrollbars=yes,resizable=yes,status=no\'); a.focus();removeDiv(\''.$div.'\')">&#11036;
</A>';
echo '<A id="close_div" title="'.$msg_close.'" onclick="removeDiv(\''.$div.'\');">&#10761;</A>';
}