From 4b6b59c8a750fe6408d5d0cbc0e584a737dd12c1 Mon Sep 17 00:00:00 2001
From: M.Gergo
Date: Mon, 2 Sep 2019 02:25:31 +0200
Subject: Rev: 4535
---
.../classic/module-naplo/css/haladasi/haladasi.css | 10 ++++-
.../module-naplo/css/intezmeny/oraCimke.css | 15 +++++++
.../classic/module-naplo/html/admin/settings.phtml | 11 +++++
.../module-naplo/html/haladasi/haladasi.phtml | 44 +++++++++++++++----
.../module-naplo/html/intezmeny/oraCimke.phtml | 49 ++++++++++++++++++++++
.../module-naplo/html/intezmeny/valtas.phtml | 6 ++-
.../module-naplo/html/orarend/orarend.phtml | 4 ++
.../classic/module-naplo/html/share/file.phtml | 2 +-
.../javascript/haladasi/haladasi.jquery.min.js | 4 +-
9 files changed, 131 insertions(+), 14 deletions(-)
create mode 100644 mayor-orig/mayor-naplo/www/skin/classic/module-naplo/css/intezmeny/oraCimke.css
create mode 100644 mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/admin/settings.phtml
create mode 100644 mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/oraCimke.phtml
(limited to 'mayor-orig/mayor-naplo/www/skin')
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/css/haladasi/haladasi.css b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/css/haladasi/haladasi.css
index 0bd630d9..063488d4 100644
--- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/css/haladasi/haladasi.css
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/css/haladasi/haladasi.css
@@ -169,9 +169,12 @@
border: solid 1px #999;
}
input.gomb:hover {
- background-color: #009900;
- color: white;
+ background-color: rgba(255,255,255,0.9);
+ }
+ input.gomb.DOA.processing {
+ border-color:orange;
}
+
/* input.rejtettGomb { border: solid 1px rgb(50,60,80);; background-color: rgb(50,60,80); }
input.rejtettGomb:hover { border: solid 1px orange; background-color: rgb(80,60,50); color: white }
*/
@@ -311,6 +314,9 @@
}
form.exportForm input:hover { color:black; border-color: black; background-color: white; opacity: 1; }
form.exportForm input:active { background-color: cornflowerblue; color:white; }
+
+ td.cimke { text-align:center; white-space: wrap; background-color: rgba(255,255,255,0.3);}
+ td.cimke span.cimke {background-color: orange; color:white; font-size:x-small; padding:0px 2px; border-radius: 2px; margin:2px;}
}
@media print {
table.haladasiBejegyzesek thead tr th { border-bottom: solid 1px black;}
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/css/intezmeny/oraCimke.css b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/css/intezmeny/oraCimke.css
new file mode 100644
index 00000000..cb91e123
--- /dev/null
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/css/intezmeny/oraCimke.css
@@ -0,0 +1,15 @@
+
+ div.terem { text-align: center; background-color: #ffffff; }
+ div.terem table { margin: auto; background-color: #555555; }
+ div.terem table th { background-color: white; padding: 2px 4px; font-size:large; background-color: #555555; color:white; border-bottom:solid 2px white; padding:1px 10px;}
+ div.terem table td { background-color: rgb(240,240,240); text-align: left; padding: 2px 4px; }
+ div.terem table tr:hover td { background-color: #826373; color: white; }
+ div.terem table tr td a { color: black; }
+ div.terem table tr:hover td a { color: white; }
+
+ form.terem h1 { background-color: #555555; color:white; margin:0px; padding:0.4em 0.2em; border-bottom: solid 2px lightgreen;}
+
+ form.terem { background-color: ; width: 80%; margin: auto; padding: 20px; text-align: center; }
+ form.terem label { margin-left: 10px; margin-right:1em; }
+ form.terem div.tipus { width: 200px; float: right; background-color: #dddddd; border-width: 0px 1px 1px 1px; border-style: solid; border-color: #555555;}
+/* form.terem label, form.terem input, form.terem select { vertical-align: top; }*/
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/admin/settings.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/admin/settings.phtml
new file mode 100644
index 00000000..eb19b314
--- /dev/null
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/admin/settings.phtml
@@ -0,0 +1,11 @@
+
\ No newline at end of file
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/haladasi/haladasi.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/haladasi/haladasi.phtml
index 0638edf6..27eb51f1 100644
--- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/haladasi/haladasi.phtml
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/haladasi/haladasi.phtml
@@ -53,7 +53,7 @@
echo ($ADAT['oraTerheles'][$ADAT['tanarId']]['ossz']['heti']);
}
echo '';
- echo '
';
+ echo ' | ';
if ($tanarId!='') {
echo ''.$title.'';
if ($ADAT['csakUres']==true) {
@@ -106,7 +106,7 @@
echo ($ADAT['oraTerheles'][$ADAT['tanarId']]['ossz']['heti']);
}
echo ' | ';
- echo '';
+ echo ' | ';
// if (_SHOW_DAYS_FROM > $_TANEV['kezdesDt']) echo ''."\n";
if (_SHOW_DAYS_FROM > $_TANEV['kezdesDt']) echo '';
@@ -189,7 +189,7 @@
if (__PLUSZBEIRHAT===true) echo '';
echo ' | '."\n";
// Az első cella a dátum/nap
- echo '';
+ echo ' | ';
echo str_replace('-','.',$dt) .'. ';
echo ''.$aHetNapjai[(date('w',$time)+6)%7].'';
if ($napInfo2['napszam']!='' || $napInfo['orarendiHet'] != 0) {
@@ -229,7 +229,7 @@
if (__PLUSZBEIRHAT===true) putUjOra(array('dt'=>$dt, 'ora'=>$j));
}
} else {
- echo ' | '._NINCS_ORAJA.' |
';
+ echo ''._NINCS_ORAJA.' |
';
// if ($tanitasiNap && strtotime(date('Y-m-d'))>=strtotime($dt)) {
// if (
// (strtotime(date('Y-m-d'))>=strtotime($dt)
@@ -272,7 +272,7 @@
for ($i=0;$i';
- echo '';
+ echo ' | ';
$href = href('index.php?page=naplo&sub=osztalyozo&f=dolgozat&dolgozatId='.$did);
echo '';
echo _BEJELENTETT_DOLGOZAT . ': '. $doga[$did]['dolgozatNev'];
@@ -484,6 +484,8 @@
echo '';
echo $dOra['oraszam'];
echo '';
+
+
} else { // itt kiírhatjuk a heti terhelését
//echo 'eheti:'.($ADAT['oraTerheles'][$dOra['feladatTipusId']]['db']-$SZLO[$dOra['feladatTipusId']])."/".($ADAT['oraTerheles'][$dOra['feladatTipusId']]['db']).'';
//echo 'eheti:'.($SZLO['sum']-$SZLO['sum_c'])."/".($SZLO['sum']).'';
@@ -492,16 +494,39 @@
}
echo ' | '."\n";
+ echo '';
+ if (__ORACIMKE_ENABLED === true) {
+ if ($modosithatoOra) {
+ if (count($ADAT['cimkek'])>0) {
+ echo '';
+ }
+ } else {
+ $_C = array();
+ for ($c = 0; $c0) echo ''.implode(' ',$_C).'';
+ }
+ }
+ echo ' | ';
// ----- Leírás ---------------------------------
if ($modosithatoOra) {
echo '';
+
+
if ($dOra['leiras']!='') { // beírva
- echo '';
- echo '';
+ echo '';
+ echo '';
echo '';
} else {
- echo '';
- echo '✓';
+ echo '';
+ echo '';
echo '';
}
echo '';
@@ -513,6 +538,7 @@
echo ' | '._NINCS_BEIRVA;
}
}
+
echo ' | '."\n";
// ----- Hiányzók -------------------------------
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/oraCimke.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/oraCimke.phtml
new file mode 100644
index 00000000..af3cd4c0
--- /dev/null
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/oraCimke.phtml
@@ -0,0 +1,49 @@
+';
+ echo ''."\n";
+
+ echo '
'."\n";
+
+ echo '
'."\n";
+
+ formEnd();
+
+ }
+
+
+?>
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/valtas.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/valtas.phtml
index 75e6f446..756ec408 100644
--- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/valtas.phtml
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/valtas.phtml
@@ -11,10 +11,14 @@ function putTanarLista($ADAT) {
echo '';
echo ''.$T['tanarNev'].'';
if ($T['titulus']!='') echo ' '.$T['titulus'].' ';
+ if ($T['statusz']=='külső óraadó') echo ''.$T['statusz'].' ';
+ if ($T['besorolas']=='Gyakornok') echo ''.kisbetus($T['besorolas']).' ';
+// if ($T['besorolas']=='Mesterpedagógus') echo ''.kisbetus($T['besorolas']).' ';
+
$osztalyai = ($ADAT['tanarOsztaly'][$T['tanarId']]);
for ($j=0; $josztályfőnök '.$ADAT['osztalyok'][$_osztalyId]['osztalyJel'];
+ echo ' osztályfőnök '.$ADAT['osztalyok'][$_osztalyId]['osztalyJel'];
echo ' ('.$ADAT['osztalyok'][$_osztalyId]['leiras'].') ';
}
$munkakozossegei = ($ADAT['tanarMunkakozosseg'][$T['tanarId']]); // vezetett
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/orarend/orarend.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/orarend/orarend.phtml
index 798c8e85..eccebf8a 100644
--- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/orarend/orarend.phtml
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/orarend/orarend.phtml
@@ -1,5 +1,9 @@
Nincs órarend!';
+ }
+
function csengetesiRend($csengetesiRendTipus, $telephelyId, $nap, $ora, $ADAT) {
$most = false;
if ($ADAT[$csengetesiRendTipus][$telephelyId][$nap][$ora]!='') $n = $nap;
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/share/file.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/share/file.phtml
index 1bb2f616..7720f2ba 100644
--- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/share/file.phtml
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/share/file.phtml
@@ -66,7 +66,7 @@
$SEL = array($RovatfejAttrs[$j] => ' selected="selected" ');
echo ' '."\n";
while(list($a,$txt) = each($attrs)) {
- echo ' '."\n";
+ echo ' '."\n";
}
echo ''."\n";
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/haladasi/haladasi.jquery.min.js b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/haladasi/haladasi.jquery.min.js
index 68881382..890b8b46 100644
--- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/haladasi/haladasi.jquery.min.js
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/haladasi/haladasi.jquery.min.js
@@ -23,8 +23,10 @@ $(function() { /* onload */
});
$('body').click(function(event) {
var x = $(event.target);
- if (x.hasClass('gomb DOA'))
+ if (x.hasClass('gomb DOA')) {
x.prop('disabled', false);
+ x.addClass('processing');
+ }
});
$('.exportForm').click(function(event) {
$('table.haladasiBejegyzesek input[type="text"].data').prop('readonly',true);
--
cgit v1.2.3
|