From abd8cfdf391410090842081422f711779978f473 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Sun, 27 Oct 2019 02:17:37 +0100 Subject: Rev: 4554 --- .../module-naplo/css/import/tantargyFelosztas.css | 0 .../html/import/tantargyFelosztas.phtml | 139 +++++++++++++++++++++ .../html/intezmeny/munkakozosseg.phtml | 3 + .../module-naplo/html/tanev/tankorCsoport.phtml | 31 +++++ .../import/tantargyFelosztas.jquery.min.js | 11 ++ .../intezmeny/munkakozosseg.jquery.min.js | 15 +++ 6 files changed, 199 insertions(+) create mode 100644 mayor-orig/mayor-naplo/www/skin/classic/module-naplo/css/import/tantargyFelosztas.css create mode 100644 mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/import/tantargyFelosztas.phtml create mode 100644 mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/import/tantargyFelosztas.jquery.min.js create mode 100644 mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/intezmeny/munkakozosseg.jquery.min.js (limited to 'mayor-orig/mayor-naplo/www/skin') diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/css/import/tantargyFelosztas.css b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/css/import/tantargyFelosztas.css new file mode 100644 index 00000000..e69de29b diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/import/tantargyFelosztas.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/import/tantargyFelosztas.phtml new file mode 100644 index 00000000..3cd8691b --- /dev/null +++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/import/tantargyFelosztas.phtml @@ -0,0 +1,139 @@ +'; + echo ''; + echo ''; + formEnd(); + + formBegin(array('enctype'=>"multipart/form-data",'class'=>'diak')); + echo '
'.''."\n"; + echo ''; + echo ''; + echo ''; + echo ''; + echo '
'; + formEnd(); + */ + + echo ''; + + // FILTEREZÉS + + + + formBegin(); + + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + + for ($i=0; $i'; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + } + echo '
'; + echo 'Csoportnév'; + echo ''; + echo "Névsor"; + echo ''; + echo '
'; + foreach ( array('tankorHozzarendel','tankorHozzarendel2','tankorHozzarendel3','done','createTankor') as $k => $v) { + echo ''; + } + echo '
'.$D['csoportNev'].''; + echo '
'; + for ($j=0;$j'; + } + echo '
'; + + echo '
'.$D[2].' '.'('.$D['targyId'].')'.$D[3].' '.''.$D[4].' ('.$D['tanarId'].')'; + + if (in_array($D['action'],array('tankorHozzarendel','tankorHozzarendel2','tankorHozzarendel3'))) { + + + echo ''; + echo '
'; + for ($j=0; $j'.$D['displayTankor'][$j]['tankorNev'].''; + echo '('.$_tankorId.') tag: '.count($ADAT['tankorDiak'][$_tankorId]); + + echo " -- diff:" .$_diffCount; + if ($_diffCount == 0) echo '*******'; + } + echo '
'; + // ha ezt összehasonlítom a mayorban rögzített névsorral, akkor eldönhető lehet, hogy melyik a jó választás! + echo ' Új tankör:'; + echo ''; + } elseif ($D['action'] == 'createTankor') { + echo 'Új tankör létrehozása: '; + } else { + echo '
'.$D['tankorId'].'
'; + } + + echo '
'; + formEnd(); + + } + + +?> \ No newline at end of file diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/munkakozosseg.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/munkakozosseg.phtml index b35f799e..2b2c8c9f 100644 --- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/munkakozosseg.phtml +++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/munkakozosseg.phtml @@ -147,6 +147,9 @@ echo '
  • '; echo _KIRTARGY.': '; putKirTargySelect($ADAT['kirTargyak'],$ADAT['targyAdat']['kirTargyId']); + echo '
  • '; + echo _TARGY_KRETA_NEV.': '."\n"; + echo ' '; echo '
  • '; echo ''; formEnd(); diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/tanev/tankorCsoport.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/tanev/tankorCsoport.phtml index e6bd23f8..dda6a6dc 100644 --- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/tanev/tankorCsoport.phtml +++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/tanev/tankorCsoport.phtml @@ -119,4 +119,35 @@ } + function putTankorCsoportAdat($ADAT) { + + formBegin(array('class'=>'csoportKereses')); + + echo ''."\n"; + echo ''."\n"; + + echo ''."\n"; + echo ''; + echo ''; + echo ''; + echo ''."\n"; + foreach ($ADAT['tankorCsoportAdat'] as $csoportId => $TANKORCSOPORT) { + echo ''."\n"; + echo ''; + echo ''; + echo ''; + echo ''."\n"; + } + echo '
    '._CSOPORTNEV.''._TANKOROK.'
    '.$TANKORCSOPORT[0]['csoportNev'].''.$csoportId.''; + for ($i=0; $i'.$D['tankorNev'].''; + + } + echo '
    '."\n"; + + formEnd(); + + } + ?> diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/import/tantargyFelosztas.jquery.min.js b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/import/tantargyFelosztas.jquery.min.js new file mode 100644 index 00000000..f1a2f730 --- /dev/null +++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/import/tantargyFelosztas.jquery.min.js @@ -0,0 +1,11 @@ + +$(function() { + $('table.ttf thead input[type="checkbox"]').bind('click', function(event) { + element = $(event.target); + // Az összes elem kiválasztása... + cls = element.val(); + $('table.ttf tr.'+element.val()).toggle(); + }); +}); + + diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/intezmeny/munkakozosseg.jquery.min.js b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/intezmeny/munkakozosseg.jquery.min.js new file mode 100644 index 00000000..f2d0e6ef --- /dev/null +++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/intezmeny/munkakozosseg.jquery.min.js @@ -0,0 +1,15 @@ + + +$(function() { + + $('body').click(function(event) { + + element = $(event.target); + if (element.hasClass('icon-refresh')) { + targyNev=($(element).data('targynev')); + $('#kretaTargyNev').val ( targyNev ); + } + + }); + +}); \ No newline at end of file -- cgit v1.2.3