aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-naplo/www/skin/ajax
diff options
context:
space:
mode:
authorM.Gergo2019-03-24 21:49:01 +0100
committerM.Gergo2019-03-24 21:49:01 +0100
commit6947bf23be62a729dadd99f1156ab3456483c204 (patch)
tree0ce45528e3f119b52210db2d7dadbc555f7c9363 /mayor-orig/mayor-naplo/www/skin/ajax
parentc0f79397dd75e03a7a40303f82926e8187697d07 (diff)
downloadmayor-6947bf23be62a729dadd99f1156ab3456483c204.tar.gz
mayor-6947bf23be62a729dadd99f1156ab3456483c204.zip
Rev: 4501
Diffstat (limited to 'mayor-orig/mayor-naplo/www/skin/ajax')
-rw-r--r--mayor-orig/mayor-naplo/www/skin/ajax/module-naplo/html/hibabejelento/admin.phtml22
1 files changed, 12 insertions, 10 deletions
diff --git a/mayor-orig/mayor-naplo/www/skin/ajax/module-naplo/html/hibabejelento/admin.phtml b/mayor-orig/mayor-naplo/www/skin/ajax/module-naplo/html/hibabejelento/admin.phtml
index c2d3b6a1..69585645 100644
--- a/mayor-orig/mayor-naplo/www/skin/ajax/module-naplo/html/hibabejelento/admin.phtml
+++ b/mayor-orig/mayor-naplo/www/skin/ajax/module-naplo/html/hibabejelento/admin.phtml
@@ -57,7 +57,7 @@
$_K = $ADAT['kerelmek'][$i];
$kerelemId = $_K['kerelemId'];
$_napja = round(((strtotime(date('Y-m-d H:i:s')) - strtotime($_K['rogzitesDt']))/(24*60*60)));
- if ($_napja>60) $_napjaBg = '#f00; outline: solid 2px orange;'; else if ($_napja>7) $_napjaBg = '#f44336; outline: solid 2px red; '; else $_napjaBg = '#aaa';
+
if ($_K['lezarasDt']!='') {
$_color = "#888";
$_class="icon-paper-clip-alt";
@@ -65,25 +65,27 @@
$_color = "#64ce64";
$_class="icon-ok-sign";
} else {
- $_color="#ce6464";
+ $_color='#ff5722';
$_class="icon-question-sign";
}
- echo '<div style="height:2px;"></div>';
- echo '<div style="width:90%; margin: 0px auto; border: solid 1px rgb(50,0,50);">';
- echo '<div style="font-size:10px; background-color: #3c3c64; color: white; font-weight: bold; border-bottom: solid 1px #dddddd; padding:3px 10px;">'.superdate($ADAT['kerelmek'][$i]['rogzitesDt']).'</div>';
- echo '<div style="background-color: #cccccc; padding:10px;border-bottom: solid 1px #dddddd; padding:3px 3px; min-height:30px;">';
+ echo '<div style="width:90%; margin: 0px auto; border: solid 1px #aaa; border-radius: 2px; ">';
+ echo '<div style="font-size:10px; background-color: #3c3c64; color: white; font-weight: normal; border-bottom: solid 1px #dddddd; padding:4px 10px;">Hangya - '.superdate($ADAT['kerelmek'][$i]['rogzitesDt']).'</div>';
+ echo '<div style="background-color: #eee; padding:10px;border-bottom: solid 0px #dddddd; padding:3px 3px; min-height:30px;">';
echo '<a style="color: black;" href="'.$_link.'">';
echo '<span class="'.$_class.'" style="color:'.$_color.'; float:left; font-size:30px; height:30px; line-height:30px; padding:0px 4px;"></span>';
- echo '<span style="float:right; height:30px; background-color: '.$_napjaBg.'; color:white; padding: 0px 5px 0px 5px; font-size:25px;">';
+ echo '<span style="float:right; height:30px; background-color: '.$_napjaBg.'; color:white; padding: 0px 4px 0px 4px; font-size:24px;">';
echo $_napja;
- echo '</span>';
+ echo ' napja</span>';
echo htmlspecialchars($ADAT['kerelmek'][$i]['szoveg']);
echo '</a>';
echo '</div>';
- echo '<div style="background-color: '.$_color.'; color: white; padding:10px; border-bottom: solid 1px #3c3c64; padding:3px 10px;">'.htmlspecialchars($ADAT['kerelmek'][$i]['valasz']).' '.$_K['jovahagyasAccount'].'</div>';
+// echo '<div style="background-color: '.$_color.';
+//color: white;
+//padding:10px; border-bottom: solid 1px #3c3c64; padding:3px 10px;">'.
+//htmlspecialchars($ADAT['kerelmek'][$i]['valasz']).' '.$_K['jovahagyasAccount'].'</div>';
echo '<style type="text/css">
- table.kerelemValasz {background-color:#ddd;}
+ table.kerelemValasz {background-color:#ddd;width:100%;}
table.kerelemValasz td {font-size:10px; background-color:white; padding:2px 4px; vertical-align:top;}
table.kerelemValasz td.dt {background-color: #eee;text-align: right;}
</style>';