fonts added, minor changes

parent 25cf47e4
...@@ -152,10 +152,8 @@ class PDFCreator extends ControllerBase { ...@@ -152,10 +152,8 @@ class PDFCreator extends ControllerBase {
], Response::HTTP_INTERNAL_SERVER_ERROR); ], Response::HTTP_INTERNAL_SERVER_ERROR);
} }
$this->fontLight = "open-sans.light"; $this->fontLight = "Ubuntu-Light";
$this->fontBold = "open-sans.bold"; $this->fontBold = "Ubuntu-Bold";
//$this->fontLight = "test2";
//$this->fontBold = "test2";
$this->fontSizeHeader = 14; $this->fontSizeHeader = 14;
$this->fontSizeRegular = 11; $this->fontSizeRegular = 11;
...@@ -196,10 +194,10 @@ class PDFCreator extends ControllerBase { ...@@ -196,10 +194,10 @@ class PDFCreator extends ControllerBase {
$this->pdf->AliasNbPages(); $this->pdf->AliasNbPages();
$this->pdf->AddPage(); $this->pdf->AddPage();
$this->pdf->AddFont($this->fontLight, '', 'open-sans.light.php'); //$this->pdf->AddFont($this->fontLight, '', 'open-sans.light.php');
$this->pdf->AddFont($this->fontBold, '', 'open-sans.bold.php'); //$this->pdf->AddFont($this->fontBold, '', 'open-sans.bold.php');
//$this->pdf->AddFont($this->fontLight, '', 'test2.php'); $this->pdf->AddFont($this->fontLight, '', 'Ubuntu-Light.php');
//$this->pdf->AddFont($this->fontBold, '', 'test2.php'); $this->pdf->AddFont($this->fontBold, '', 'Ubuntu-Bold.php');
$this->crypt = new Crypt(); $this->crypt = new Crypt();
......
<?php
$type = 'TrueType';
$name = 'Ubuntu-Bold';
$desc = array('Ascent'=>776,'Descent'=>-185,'CapHeight'=>693,'Flags'=>32,'FontBBox'=>'[-170 -221 3475 962]','ItalicAngle'=>0,'StemV'=>120,'MissingWidth'=>500);
$up = -123;
$ut = 120;
$cw = array(
chr(0)=>500,chr(1)=>500,chr(2)=>500,chr(3)=>500,chr(4)=>500,chr(5)=>500,chr(6)=>500,chr(7)=>500,chr(8)=>500,chr(9)=>500,chr(10)=>500,chr(11)=>500,chr(12)=>500,chr(13)=>500,chr(14)=>500,chr(15)=>500,chr(16)=>500,chr(17)=>500,chr(18)=>500,chr(19)=>500,chr(20)=>500,chr(21)=>500,
chr(22)=>500,chr(23)=>500,chr(24)=>500,chr(25)=>500,chr(26)=>500,chr(27)=>500,chr(28)=>500,chr(29)=>500,chr(30)=>500,chr(31)=>500,' '=>240,'!'=>286,'"'=>465,'#'=>699,'$'=>568,'%'=>918,'&'=>705,'\''=>247,'('=>356,')'=>356,'*'=>502,'+'=>568,
','=>246,'-'=>340,'.'=>246,'/'=>437,'0'=>568,'1'=>568,'2'=>568,'3'=>568,'4'=>568,'5'=>568,'6'=>568,'7'=>568,'8'=>568,'9'=>568,':'=>246,';'=>246,'<'=>568,'='=>568,'>'=>568,'?'=>455,'@'=>974,'A'=>721,
'B'=>672,'C'=>648,'D'=>737,'E'=>606,'F'=>574,'G'=>702,'H'=>734,'I'=>316,'J'=>529,'K'=>684,'L'=>563,'M'=>897,'N'=>756,'O'=>790,'P'=>644,'Q'=>790,'R'=>667,'S'=>582,'T'=>614,'U'=>707,'V'=>722,'W'=>948,
'X'=>675,'Y'=>661,'Z'=>610,'['=>371,'\\'=>437,']'=>371,'^'=>568,'_'=>500,'`'=>286,'a'=>553,'b'=>604,'c'=>500,'d'=>604,'e'=>584,'f'=>422,'g'=>594,'h'=>589,'i'=>289,'j'=>289,'k'=>579,'l'=>316,'m'=>862,
'n'=>589,'o'=>607,'p'=>604,'q'=>604,'r'=>422,'s'=>485,'t'=>444,'u'=>589,'v'=>550,'w'=>784,'x'=>554,'y'=>547,'z'=>500,'{'=>371,'|'=>322,'}'=>371,'~'=>568,chr(127)=>500,chr(128)=>568,chr(129)=>500,chr(130)=>243,chr(131)=>422,
chr(132)=>454,chr(133)=>1000,chr(134)=>494,chr(135)=>494,chr(136)=>500,chr(137)=>1320,chr(138)=>500,chr(139)=>327,chr(140)=>500,chr(141)=>500,chr(142)=>500,chr(143)=>500,chr(144)=>500,chr(145)=>243,chr(146)=>243,chr(147)=>454,chr(148)=>454,chr(149)=>364,chr(150)=>500,chr(151)=>1000,chr(152)=>500,chr(153)=>854,
chr(154)=>500,chr(155)=>327,chr(156)=>500,chr(157)=>500,chr(158)=>500,chr(159)=>500,chr(160)=>240,chr(161)=>615,chr(162)=>721,chr(163)=>568,chr(164)=>568,chr(165)=>568,chr(166)=>302,chr(167)=>515,chr(168)=>536,chr(169)=>796,chr(170)=>500,chr(171)=>597,chr(172)=>568,chr(173)=>340,chr(174)=>796,chr(175)=>1000,
chr(176)=>363,chr(177)=>568,chr(178)=>363,chr(179)=>363,chr(180)=>448,chr(181)=>594,chr(182)=>710,chr(183)=>246,chr(184)=>747,chr(185)=>875,chr(186)=>457,chr(187)=>597,chr(188)=>889,chr(189)=>878,chr(190)=>861,chr(191)=>871,chr(192)=>309,chr(193)=>721,chr(194)=>672,chr(195)=>593,chr(196)=>693,chr(197)=>606,
chr(198)=>610,chr(199)=>734,chr(200)=>790,chr(201)=>316,chr(202)=>684,chr(203)=>722,chr(204)=>897,chr(205)=>756,chr(206)=>558,chr(207)=>790,chr(208)=>730,chr(209)=>644,chr(210)=>500,chr(211)=>595,chr(212)=>614,chr(213)=>661,chr(214)=>870,chr(215)=>675,chr(216)=>845,chr(217)=>783,chr(218)=>316,chr(219)=>661,
chr(220)=>618,chr(221)=>515,chr(222)=>589,chr(223)=>309,chr(224)=>593,chr(225)=>618,chr(226)=>637,chr(227)=>557,chr(228)=>607,chr(229)=>515,chr(230)=>500,chr(231)=>589,chr(232)=>615,chr(233)=>309,chr(234)=>582,chr(235)=>547,chr(236)=>594,chr(237)=>550,chr(238)=>556,chr(239)=>607,chr(240)=>593,chr(241)=>612,
chr(242)=>500,chr(243)=>631,chr(244)=>483,chr(245)=>593,chr(246)=>790,chr(247)=>554,chr(248)=>814,chr(249)=>842,chr(250)=>309,chr(251)=>593,chr(252)=>607,chr(253)=>593,chr(254)=>842,chr(255)=>500);
$enc = 'cp1253';
$diff = '136 /.notdef 138 /.notdef 140 /.notdef 142 /.notdef 152 /.notdef 154 /.notdef 156 /.notdef 158 /.notdef /.notdef 161 /dieresistonos /Alphatonos 170 /.notdef 175 /afii00208 180 /tonos 184 /Epsilontonos /Etatonos /Iotatonos 188 /Omicrontonos 190 /Upsilontonos /Omegatonos /iotadieresistonos /Alpha /Beta /Gamma /Delta /Epsilon /Zeta /Eta /Theta /Iota /Kappa /Lambda /Mu /Nu /Xi /Omicron /Pi /Rho /.notdef /Sigma /Tau /Upsilon /Phi /Chi /Psi /Omega /Iotadieresis /Upsilondieresis /alphatonos /epsilontonos /etatonos /iotatonos /upsilondieresistonos /alpha /beta /gamma /delta /epsilon /zeta /eta /theta /iota /kappa /lambda /mu /nu /xi /omicron /pi /rho /sigma1 /sigma /tau /upsilon /phi /chi /psi /omega /iotadieresis /upsilondieresis /omicrontonos /upsilontonos /omegatonos /.notdef';
$uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),137=>8240,139=>8249,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),153=>8482,155=>8250,160=>160,161=>array(901,2),163=>array(163,7),171=>array(171,4),175=>8213,176=>array(176,4),180=>900,181=>array(181,3),184=>array(904,3),187=>187,188=>908,189=>189,190=>array(910,20),211=>array(931,44));
$file = 'Ubuntu-Bold.z';
$originalsize = 35180;
$subsetted = true;
?>
<?php
$type = 'TrueType';
$name = 'Ubuntu-Light';
$desc = array('Ascent'=>776,'Descent'=>-185,'CapHeight'=>693,'Flags'=>32,'FontBBox'=>'[-157 -196 3521 958]','ItalicAngle'=>0,'StemV'=>70,'MissingWidth'=>500);
$up = -105;
$ut = 56;
$cw = array(
chr(0)=>500,chr(1)=>500,chr(2)=>500,chr(3)=>500,chr(4)=>500,chr(5)=>500,chr(6)=>500,chr(7)=>500,chr(8)=>500,chr(9)=>500,chr(10)=>500,chr(11)=>500,chr(12)=>500,chr(13)=>500,chr(14)=>500,chr(15)=>500,chr(16)=>500,chr(17)=>500,chr(18)=>500,chr(19)=>500,chr(20)=>500,chr(21)=>500,
chr(22)=>500,chr(23)=>500,chr(24)=>500,chr(25)=>500,chr(26)=>500,chr(27)=>500,chr(28)=>500,chr(29)=>500,chr(30)=>500,chr(31)=>500,' '=>228,'!'=>274,'"'=>392,'#'=>653,'$'=>564,'%'=>831,'&'=>648,'\''=>240,'('=>310,')'=>310,'*'=>472,'+'=>564,
','=>246,'-'=>282,'.'=>246,'/'=>359,'0'=>564,'1'=>564,'2'=>564,'3'=>564,'4'=>564,'5'=>564,'6'=>564,'7'=>564,'8'=>564,'9'=>564,':'=>246,';'=>246,'<'=>564,'='=>564,'>'=>564,'?'=>380,'@'=>940,'A'=>641,
'B'=>630,'C'=>609,'D'=>702,'E'=>555,'F'=>520,'G'=>658,'H'=>692,'I'=>248,'J'=>487,'K'=>599,'L'=>502,'M'=>865,'N'=>709,'O'=>774,'P'=>592,'Q'=>774,'R'=>618,'S'=>517,'T'=>548,'U'=>680,'V'=>624,'W'=>921,
'X'=>608,'Y'=>569,'Z'=>560,'['=>310,'\\'=>359,']'=>310,'^'=>564,'_'=>490,'`'=>376,'a'=>509,'b'=>583,'c'=>460,'d'=>583,'e'=>548,'f'=>376,'g'=>573,'h'=>569,'i'=>237,'j'=>237,'k'=>495,'l'=>255,'m'=>863,
'n'=>569,'o'=>582,'p'=>583,'q'=>583,'r'=>374,'s'=>428,'t'=>387,'u'=>569,'v'=>480,'w'=>775,'x'=>499,'y'=>474,'z'=>455,'{'=>319,'|'=>262,'}'=>319,'~'=>564,chr(127)=>500,chr(128)=>564,chr(129)=>500,chr(130)=>230,chr(131)=>376,
chr(132)=>392,chr(133)=>996,chr(134)=>469,chr(135)=>469,chr(136)=>500,chr(137)=>1184,chr(138)=>500,chr(139)=>275,chr(140)=>500,chr(141)=>500,chr(142)=>500,chr(143)=>500,chr(144)=>500,chr(145)=>230,chr(146)=>230,chr(147)=>392,chr(148)=>392,chr(149)=>360,chr(150)=>496,chr(151)=>996,chr(152)=>500,chr(153)=>713,
chr(154)=>500,chr(155)=>275,chr(156)=>500,chr(157)=>500,chr(158)=>500,chr(159)=>500,chr(160)=>228,chr(161)=>376,chr(162)=>641,chr(163)=>564,chr(164)=>564,chr(165)=>564,chr(166)=>262,chr(167)=>482,chr(168)=>376,chr(169)=>826,chr(170)=>500,chr(171)=>452,chr(172)=>564,chr(173)=>282,chr(174)=>826,chr(175)=>996,
chr(176)=>318,chr(177)=>564,chr(178)=>359,chr(179)=>359,chr(180)=>376,chr(181)=>575,chr(182)=>616,chr(183)=>246,chr(184)=>618,chr(185)=>760,chr(186)=>316,chr(187)=>452,chr(188)=>799,chr(189)=>874,chr(190)=>695,chr(191)=>805,chr(192)=>253,chr(193)=>641,chr(194)=>630,chr(195)=>482,chr(196)=>630,chr(197)=>555,
chr(198)=>560,chr(199)=>692,chr(200)=>774,chr(201)=>248,chr(202)=>599,chr(203)=>624,chr(204)=>865,chr(205)=>709,chr(206)=>551,chr(207)=>774,chr(208)=>685,chr(209)=>592,chr(210)=>500,chr(211)=>552,chr(212)=>548,chr(213)=>569,chr(214)=>860,chr(215)=>608,chr(216)=>802,chr(217)=>780,chr(218)=>248,chr(219)=>569,
chr(220)=>598,chr(221)=>498,chr(222)=>568,chr(223)=>253,chr(224)=>568,chr(225)=>598,chr(226)=>599,chr(227)=>472,chr(228)=>582,chr(229)=>498,chr(230)=>423,chr(231)=>568,chr(232)=>594,chr(233)=>253,chr(234)=>506,chr(235)=>492,chr(236)=>575,chr(237)=>480,chr(238)=>459,chr(239)=>582,chr(240)=>571,chr(241)=>588,
chr(242)=>449,chr(243)=>607,chr(244)=>428,chr(245)=>568,chr(246)=>758,chr(247)=>499,chr(248)=>760,chr(249)=>835,chr(250)=>253,chr(251)=>568,chr(252)=>582,chr(253)=>568,chr(254)=>835,chr(255)=>500);
$enc = 'cp1253';
$diff = '136 /.notdef 138 /.notdef 140 /.notdef 142 /.notdef 152 /.notdef 154 /.notdef 156 /.notdef 158 /.notdef /.notdef 161 /dieresistonos /Alphatonos 170 /.notdef 175 /afii00208 180 /tonos 184 /Epsilontonos /Etatonos /Iotatonos 188 /Omicrontonos 190 /Upsilontonos /Omegatonos /iotadieresistonos /Alpha /Beta /Gamma /Delta /Epsilon /Zeta /Eta /Theta /Iota /Kappa /Lambda /Mu /Nu /Xi /Omicron /Pi /Rho /.notdef /Sigma /Tau /Upsilon /Phi /Chi /Psi /Omega /Iotadieresis /Upsilondieresis /alphatonos /epsilontonos /etatonos /iotatonos /upsilondieresistonos /alpha /beta /gamma /delta /epsilon /zeta /eta /theta /iota /kappa /lambda /mu /nu /xi /omicron /pi /rho /sigma1 /sigma /tau /upsilon /phi /chi /psi /omega /iotadieresis /upsilondieresis /omicrontonos /upsilontonos /omegatonos /.notdef';
$uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),137=>8240,139=>8249,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),153=>8482,155=>8250,160=>160,161=>array(901,2),163=>array(163,7),171=>array(171,4),175=>8213,176=>array(176,4),180=>900,181=>array(181,3),184=>array(904,3),187=>187,188=>908,189=>189,190=>array(910,20),211=>array(931,44));
$file = 'Ubuntu-Light.z';
$originalsize = 58540;
$subsetted = true;
?>
<?php
$type = 'TrueType';
$name = 'Ubuntu-Regular';
$desc = array('Ascent'=>776,'Descent'=>-185,'CapHeight'=>693,'Flags'=>32,'FontBBox'=>'[-167 -189 3480 962]','ItalicAngle'=>0,'StemV'=>70,'MissingWidth'=>500);
$up = -123;
$ut = 79;
$cw = array(
chr(0)=>500,chr(1)=>500,chr(2)=>500,chr(3)=>500,chr(4)=>500,chr(5)=>500,chr(6)=>500,chr(7)=>500,chr(8)=>500,chr(9)=>500,chr(10)=>500,chr(11)=>500,chr(12)=>500,chr(13)=>500,chr(14)=>500,chr(15)=>500,chr(16)=>500,chr(17)=>500,chr(18)=>500,chr(19)=>500,chr(20)=>500,chr(21)=>500,
chr(22)=>500,chr(23)=>500,chr(24)=>500,chr(25)=>500,chr(26)=>500,chr(27)=>500,chr(28)=>500,chr(29)=>500,chr(30)=>500,chr(31)=>500,' '=>231,'!'=>276,'"'=>418,'#'=>667,'$'=>564,'%'=>858,'&'=>666,'\''=>241,'('=>324,')'=>324,'*'=>480,'+'=>564,
','=>246,'-'=>299,'.'=>246,'/'=>384,'0'=>564,'1'=>564,'2'=>564,'3'=>564,'4'=>564,'5'=>564,'6'=>564,'7'=>564,'8'=>564,'9'=>564,':'=>246,';'=>246,'<'=>564,'='=>564,'>'=>564,'?'=>404,'@'=>950,'A'=>663,
'B'=>643,'C'=>620,'D'=>713,'E'=>571,'F'=>537,'G'=>672,'H'=>705,'I'=>269,'J'=>500,'K'=>629,'L'=>519,'M'=>871,'N'=>728,'O'=>778,'P'=>608,'Q'=>778,'R'=>629,'S'=>532,'T'=>565,'U'=>688,'V'=>656,'W'=>929,
'X'=>631,'Y'=>598,'Z'=>573,'['=>329,'\\'=>384,']'=>329,'^'=>564,'_'=>492,'`'=>376,'a'=>522,'b'=>589,'c'=>465,'d'=>589,'e'=>559,'f'=>386,'g'=>578,'h'=>571,'i'=>253,'j'=>253,'k'=>522,'l'=>273,'m'=>861,
'n'=>574,'o'=>590,'p'=>589,'q'=>589,'r'=>386,'s'=>446,'t'=>402,'u'=>574,'v'=>502,'w'=>777,'x'=>511,'y'=>497,'z'=>471,'{'=>333,'|'=>279,'}'=>333,'~'=>564,chr(127)=>500,chr(128)=>564,chr(129)=>500,chr(130)=>235,chr(131)=>386,
chr(132)=>417,chr(133)=>996,chr(134)=>476,chr(135)=>476,chr(136)=>500,chr(137)=>1227,chr(138)=>500,chr(139)=>291,chr(140)=>500,chr(141)=>500,chr(142)=>500,chr(143)=>500,chr(144)=>500,chr(145)=>235,chr(146)=>235,chr(147)=>417,chr(148)=>417,chr(149)=>360,chr(150)=>496,chr(151)=>996,chr(152)=>500,chr(153)=>759,
chr(154)=>500,chr(155)=>291,chr(156)=>500,chr(157)=>500,chr(158)=>500,chr(159)=>500,chr(160)=>231,chr(161)=>376,chr(162)=>663,chr(163)=>564,chr(164)=>564,chr(165)=>564,chr(166)=>279,chr(167)=>492,chr(168)=>376,chr(169)=>814,chr(170)=>500,chr(171)=>499,chr(172)=>564,chr(173)=>299,chr(174)=>814,chr(175)=>996,
chr(176)=>332,chr(177)=>564,chr(178)=>359,chr(179)=>359,chr(180)=>376,chr(181)=>580,chr(182)=>646,chr(183)=>246,chr(184)=>634,chr(185)=>773,chr(186)=>337,chr(187)=>499,chr(188)=>803,chr(189)=>874,chr(190)=>724,chr(191)=>806,chr(192)=>273,chr(193)=>663,chr(194)=>643,chr(195)=>509,chr(196)=>651,chr(197)=>571,
chr(198)=>573,chr(199)=>705,chr(200)=>778,chr(201)=>269,chr(202)=>629,chr(203)=>652,chr(204)=>871,chr(205)=>728,chr(206)=>552,chr(207)=>778,chr(208)=>699,chr(209)=>608,chr(210)=>500,chr(211)=>563,chr(212)=>565,chr(213)=>598,chr(214)=>864,chr(215)=>631,chr(216)=>815,chr(217)=>784,chr(218)=>269,chr(219)=>598,
chr(220)=>606,chr(221)=>503,chr(222)=>574,chr(223)=>273,chr(224)=>576,chr(225)=>606,chr(226)=>611,chr(227)=>503,chr(228)=>589,chr(229)=>503,chr(230)=>443,chr(231)=>574,chr(232)=>602,chr(233)=>273,chr(234)=>537,chr(235)=>509,chr(236)=>580,chr(237)=>502,chr(238)=>470,chr(239)=>590,chr(240)=>578,chr(241)=>595,
chr(242)=>448,chr(243)=>613,chr(244)=>445,chr(245)=>576,chr(246)=>770,chr(247)=>511,chr(248)=>776,chr(249)=>838,chr(250)=>273,chr(251)=>576,chr(252)=>590,chr(253)=>576,chr(254)=>838,chr(255)=>500);
$enc = 'cp1253';
$diff = '136 /.notdef 138 /.notdef 140 /.notdef 142 /.notdef 152 /.notdef 154 /.notdef 156 /.notdef 158 /.notdef /.notdef 161 /dieresistonos /Alphatonos 170 /.notdef 175 /afii00208 180 /tonos 184 /Epsilontonos /Etatonos /Iotatonos 188 /Omicrontonos 190 /Upsilontonos /Omegatonos /iotadieresistonos /Alpha /Beta /Gamma /Delta /Epsilon /Zeta /Eta /Theta /Iota /Kappa /Lambda /Mu /Nu /Xi /Omicron /Pi /Rho /.notdef /Sigma /Tau /Upsilon /Phi /Chi /Psi /Omega /Iotadieresis /Upsilondieresis /alphatonos /epsilontonos /etatonos /iotatonos /upsilondieresistonos /alpha /beta /gamma /delta /epsilon /zeta /eta /theta /iota /kappa /lambda /mu /nu /xi /omicron /pi /rho /sigma1 /sigma /tau /upsilon /phi /chi /psi /omega /iotadieresis /upsilondieresis /omicrontonos /upsilontonos /omegatonos /.notdef';
$uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),137=>8240,139=>8249,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),153=>8482,155=>8250,160=>160,161=>array(901,2),163=>array(163,7),171=>array(171,4),175=>8213,176=>array(176,4),180=>900,181=>array(181,3),184=>array(904,3),187=>187,188=>908,189=>189,190=>array(910,20),211=>array(931,44));
$file = 'Ubuntu-Regular.z';
$originalsize = 44684;
$subsetted = true;
?>
uuid: 8388eb87-a026-4ccb-8401-ae0c814b9c77
langcode: el langcode: el
status: true status: true
dependencies: { } dependencies: { }
...@@ -6,36 +7,31 @@ label: applicant ...@@ -6,36 +7,31 @@ label: applicant
weight: 3 weight: 3
is_admin: null is_admin: null
permissions: permissions:
- 'add applicant users entities'
- 'add epal student class entities' - 'add epal student class entities'
- 'add epal student entities'
- 'add epal student course field entities' - 'add epal student course field entities'
- 'add epal student entities'
- 'add epal student epal chosen entities' - 'add epal student epal chosen entities'
- 'add epal student sector field entities' - 'add epal student sector field entities'
- 'add applicant users entities' - 'add gel student choices entities'
- 'add gel student entities'
- 'delete applicant users entities'
- 'delete epal student class entities' - 'delete epal student class entities'
- 'delete epal student entities'
- 'delete epal student course field entities' - 'delete epal student course field entities'
- 'delete epal student entities'
- 'delete epal student epal chosen entities' - 'delete epal student epal chosen entities'
- 'delete epal student sector field entities' - 'delete epal student sector field entities'
- 'delete applicant users entities' - 'delete gel student choices entities'
- 'delete gel student entities'
- 'edit applicant users entities'
- 'edit epal student class entities' - 'edit epal student class entities'
- 'edit epal student entities'
- 'edit epal student course field entities' - 'edit epal student course field entities'
- 'edit epal student entities'
- 'edit epal student epal chosen entities' - 'edit epal student epal chosen entities'
- 'edit epal student sector field entities' - 'edit epal student sector field entities'
- 'edit applicant users entities' - 'edit gel student choices entities'
- 'view published epal student class entities' - 'edit gel student entities'
- 'view published epal student entities'
- 'view published epal student course field entities'
- 'view published epal student epal chosen entities'
- 'view published epal student sector field entities'
- 'view published applicant users entities' - 'view published applicant users entities'
- 'view unpublished epal student class entities'
- 'view unpublished epal student entities'
- 'view unpublished epal student course field entities'
- 'view unpublished epal student epal chosen entities'
- 'view unpublished epal student sector field entities'
- 'view unpublished applicant users entities'
- 'view published eepal admin area entities' - 'view published eepal admin area entities'
- 'view published eepal prefecture entities' - 'view published eepal prefecture entities'
- 'view published eepal region entities' - 'view published eepal region entities'
...@@ -44,6 +40,19 @@ permissions: ...@@ -44,6 +40,19 @@ permissions:
- 'view published eepal sectors in epal entities' - 'view published eepal sectors in epal entities'
- 'view published eepal specialties in epal entities' - 'view published eepal specialties in epal entities'
- 'view published eepal specialty entities' - 'view published eepal specialty entities'
- 'view published epal student class entities'
- 'view published epal student course field entities'
- 'view published epal student entities'
- 'view published epal student epal chosen entities'
- 'view published epal student sector field entities'
- 'view published gel admin area entities'
- 'view published gel choices entities'
- 'view published gel class choices entities'
- 'view published gel classes entities'
- 'view published gel region entities'
- 'view published gel student choices entities'
- 'view published gel student entities'
- 'view unpublished applicant users entities'
- 'view unpublished eepal admin area entities' - 'view unpublished eepal admin area entities'
- 'view unpublished eepal prefecture entities' - 'view unpublished eepal prefecture entities'
- 'view unpublished eepal region entities' - 'view unpublished eepal region entities'
...@@ -52,3 +61,15 @@ permissions: ...@@ -52,3 +61,15 @@ permissions:
- 'view unpublished eepal sectors in epal entities' - 'view unpublished eepal sectors in epal entities'
- 'view unpublished eepal specialties in epal entities' - 'view unpublished eepal specialties in epal entities'
- 'view unpublished eepal specialty entities' - 'view unpublished eepal specialty entities'
- 'view unpublished epal student class entities'
- 'view unpublished epal student course field entities'
- 'view unpublished epal student entities'
- 'view unpublished epal student epal chosen entities'
- 'view unpublished epal student sector field entities'
- 'view unpublished gel admin area entities'
- 'view unpublished gel choices entities'
- 'view unpublished gel class choices entities'
- 'view unpublished gel classes entities'
- 'view unpublished gel region entities'
- 'view unpublished gel student choices entities'
- 'view unpublished gel student entities'
...@@ -534,6 +534,7 @@ public function getperfecture() { ...@@ -534,6 +534,7 @@ public function getperfecture() {
->setDisplayConfigurable('form', TRUE) ->setDisplayConfigurable('form', TRUE)
->setDisplayConfigurable('view', TRUE); ->setDisplayConfigurable('view', TRUE);
/*
$fields['students_added_class_a'] = BaseFieldDefinition::create('integer') $fields['students_added_class_a'] = BaseFieldDefinition::create('integer')
->setLabel(t('Επιπλέον αριθμός μαθητών για εγγραφή')) ->setLabel(t('Επιπλέον αριθμός μαθητών για εγγραφή'))
->setDescription(t('Δώσε τον επιπλέον αριθμό μαθητών για εγγραφή.')) ->setDescription(t('Δώσε τον επιπλέον αριθμό μαθητών για εγγραφή.'))
...@@ -554,6 +555,7 @@ public function getperfecture() { ...@@ -554,6 +555,7 @@ public function getperfecture() {
)) ))
->setDisplayConfigurable('form', TRUE) ->setDisplayConfigurable('form', TRUE)
->setDisplayConfigurable('view', TRUE); ->setDisplayConfigurable('view', TRUE);
*/
$fields['special_case'] = BaseFieldDefinition::create('boolean') $fields['special_case'] = BaseFieldDefinition::create('boolean')
->setLabel(t('Ειδική περίπτωση')) ->setLabel(t('Ειδική περίπτωση'))
......
...@@ -264,6 +264,7 @@ class EepalSectorsInEpal extends ContentEntityBase implements EepalSectorsInEpal ...@@ -264,6 +264,7 @@ class EepalSectorsInEpal extends ContentEntityBase implements EepalSectorsInEpal
->setDisplayConfigurable('form', TRUE) ->setDisplayConfigurable('form', TRUE)
->setDisplayConfigurable('view', TRUE); ->setDisplayConfigurable('view', TRUE);
/*
$fields['students_added_class_sector'] = BaseFieldDefinition::create('integer') $fields['students_added_class_sector'] = BaseFieldDefinition::create('integer')
->setLabel(t('Επιπλέον αριθμός μαθητών για εγγραφή')) ->setLabel(t('Επιπλέον αριθμός μαθητών για εγγραφή'))
->setDescription(t('Δώσε τον επιπλέον αριθμό μαθητών για εγγραφή.')) ->setDescription(t('Δώσε τον επιπλέον αριθμό μαθητών για εγγραφή.'))
...@@ -284,7 +285,7 @@ class EepalSectorsInEpal extends ContentEntityBase implements EepalSectorsInEpal ...@@ -284,7 +285,7 @@ class EepalSectorsInEpal extends ContentEntityBase implements EepalSectorsInEpal
)) ))
->setDisplayConfigurable('form', TRUE) ->setDisplayConfigurable('form', TRUE)
->setDisplayConfigurable('view', TRUE); ->setDisplayConfigurable('view', TRUE);
*/
......
...@@ -284,6 +284,7 @@ class EepalSpecialtiesInEpal extends ContentEntityBase implements EepalSpecialti ...@@ -284,6 +284,7 @@ class EepalSpecialtiesInEpal extends ContentEntityBase implements EepalSpecialti
->setDisplayConfigurable('form', TRUE) ->setDisplayConfigurable('form', TRUE)
->setDisplayConfigurable('view', TRUE); ->setDisplayConfigurable('view', TRUE);
/*
$fields['students_added_class_specialty'] = BaseFieldDefinition::create('integer') $fields['students_added_class_specialty'] = BaseFieldDefinition::create('integer')
->setLabel(t('Επιπλέον αριθμός μαθητών για εγγραφή')) ->setLabel(t('Επιπλέον αριθμός μαθητών για εγγραφή'))
->setDescription(t('Δώσε τον επιπλέον αριθμό μαθητών για εγγραφή.')) ->setDescription(t('Δώσε τον επιπλέον αριθμό μαθητών για εγγραφή.'))
...@@ -325,6 +326,7 @@ class EepalSpecialtiesInEpal extends ContentEntityBase implements EepalSpecialti ...@@ -325,6 +326,7 @@ class EepalSpecialtiesInEpal extends ContentEntityBase implements EepalSpecialti
)) ))
->setDisplayConfigurable('form', TRUE) ->setDisplayConfigurable('form', TRUE)
->setDisplayConfigurable('view', TRUE); ->setDisplayConfigurable('view', TRUE);
*/
$fields['approved_speciality'] = BaseFieldDefinition::create('boolean') $fields['approved_speciality'] = BaseFieldDefinition::create('boolean')
->setLabel(t('Εγκεκριμένο')) ->setLabel(t('Εγκεκριμένο'))
......
...@@ -118,8 +118,8 @@ class PDFCreator extends ControllerBase { ...@@ -118,8 +118,8 @@ class PDFCreator extends ControllerBase {
], Response::HTTP_INTERNAL_SERVER_ERROR); ], Response::HTTP_INTERNAL_SERVER_ERROR);
} }
$this->fontLight = "open-sans.light"; $this->fontLight = "Ubuntu-Light";
$this->fontBold = "open-sans.bold"; $this->fontBold = "Ubuntu-Bold";
$this->fontSizeHeader = 14; $this->fontSizeHeader = 14;
$this->fontSizeRegular = 11; $this->fontSizeRegular = 11;
...@@ -159,8 +159,8 @@ class PDFCreator extends ControllerBase { ...@@ -159,8 +159,8 @@ class PDFCreator extends ControllerBase {
$this->pdf->AliasNbPages(); $this->pdf->AliasNbPages();
$this->pdf->AddPage(); $this->pdf->AddPage();
$this->pdf->AddFont($this->fontLight, '', 'open-sans.light.php'); $this->pdf->AddFont($this->fontLight, '', 'Ubuntu-Light.php');
$this->pdf->AddFont($this->fontBold, '', 'open-sans.bold.php'); $this->pdf->AddFont($this->fontBold, '', 'Ubuntu-Bold.php');
$this->crypt = new Crypt(); $this->crypt = new Crypt();
...@@ -352,7 +352,7 @@ class PDFCreator extends ControllerBase { ...@@ -352,7 +352,7 @@ class PDFCreator extends ControllerBase {
$this->pdf->SetFont($this->fontLight, '', $this->fontSizeRegular); $this->pdf->SetFont($this->fontLight, '', $this->fontSizeRegular);
$this->pdf->Cell($width+15, $height, $this->prepareString('Τάξη τελευταίας φοίτησης:'), 0, 'L'); $this->pdf->Cell($width+15, $height, $this->prepareString('Τάξη τελευταίας φοίτησης:'), 0, 'L');
$this->pdf->SetFont($this->fontBold, '', $this->fontSizeRegular); $this->pdf->SetFont($this->fontBold, '', $this->fontSizeRegular);
$this->pdf->Cell($width, $height, $this->prepareString($this->retrieveClassName($student->lastschool_class->value)), 0, 'L'); $this->pdf->Cell($width, $height, $this->prepareString($this->retrieveClassName($student->lastschool_class->value)), 0, 'L');
$this->pdf->Ln(); $this->pdf->Ln();
$this->pdf->SetFont($this->fontLight, '', $this->fontSizeRegular); $this->pdf->SetFont($this->fontLight, '', $this->fontSizeRegular);
...@@ -378,12 +378,12 @@ class PDFCreator extends ControllerBase { ...@@ -378,12 +378,12 @@ class PDFCreator extends ControllerBase {
$this->pdf->SetFont($this->fontBold, '', $this->fontSizeHeader); $this->pdf->SetFont($this->fontBold, '', $this->fontSizeHeader);
$this->pdf->SetFillColor(255,178,102); $this->pdf->SetFillColor(255,178,102);
$this->pdf->MultiCell(0, $height, $this->prepareString('Επιλογές Μαθητή'), 0, 'C',true); $this->pdf->MultiCell(0, $height, $this->prepareString('Επιλογές Μαθητή'), 0, 'C',true);
$this->pdf->Ln(4); $this->pdf->Ln(4);
$this->pdf->SetFont($this->fontLight, '', $this->fontSizeRegular); $this->pdf->SetFont($this->fontLight, '', $this->fontSizeRegular);
$this->pdf->Cell($width, $height, $this->prepareString('Τάξη εγγραφής:'), 0, 'L'); $this->pdf->Cell($width, $height, $this->prepareString('Τάξη εγγραφής:'), 0, 'L');
$this->pdf->SetFont($this->fontBold, '', $this->fontSizeRegular); $this->pdf->SetFont($this->fontBold, '', $this->fontSizeRegular);
//$this->pdf->Cell($width, $height, $this->prepareString($this->retrieveGelClassName($student->nextclass->entity->get('id')->value )), 0, 'L'); //$this->pdf->Cell($width, $height, $this->prepareString($this->retrieveGelClassName($student->nextclass->entity->get('id')->value )), 0, 'L');
//both work //both work
$this->pdf->Cell($width, $height, $this->prepareString($this->retrieveGelClassName($student->nextclass->getString() )), 0, 'L'); $this->pdf->Cell($width, $height, $this->prepareString($this->retrieveGelClassName($student->nextclass->getString() )), 0, 'L');
...@@ -392,7 +392,7 @@ class PDFCreator extends ControllerBase { ...@@ -392,7 +392,7 @@ class PDFCreator extends ControllerBase {
if ($student->nextclass->getString() === "2" || $student->nextclass->getString() === "3" || $student->nextclass->getString() === "6"|| $student->nextclass->getString() === "7" ) if ($student->nextclass->getString() === "2" || $student->nextclass->getString() === "3" || $student->nextclass->getString() === "6"|| $student->nextclass->getString() === "7" )
$this->createOrientationGroupChoice($student); $this->createOrientationGroupChoice($student);
if ($student->nextclass->getString() === "1" || $student->nextclass->getString() === "3" || $student->nextclass->getString() === "4" ) if ($student->nextclass->getString() === "1" || $student->nextclass->getString() === "3" || $student->nextclass->getString() === "4" )
$this->createElectiveCourseChoices($student); $this->createElectiveCourseChoices($student);
} }
...@@ -429,7 +429,7 @@ class PDFCreator extends ControllerBase { ...@@ -429,7 +429,7 @@ class PDFCreator extends ControllerBase {
->sort('order_id') ->sort('order_id')
->execute(); ->execute();
$ElectiveCourses = \Drupal::entityTypeManager()->getStorage('gel_student_choices')->loadMultiple($result); $ElectiveCourses = \Drupal::entityTypeManager()->getStorage('gel_student_choices')->loadMultiple($result);
$this->pdf->Ln(); $this->pdf->Ln();
$this->pdf->SetFont($this->fontBold, '', $this->fontSizeRegular); $this->pdf->SetFont($this->fontBold, '', $this->fontSizeRegular);
$this->pdf->Cell(35, $height, $this->prepareString('Μάθημα Επιλογής:'), 0, 'L'); $this->pdf->Cell(35, $height, $this->prepareString('Μάθημα Επιλογής:'), 0, 'L');
......
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
"@types/d3-axis": "1.0.9", "@types/d3-axis": "1.0.9",
"@types/d3-brush": "1.0.7", "@types/d3-brush": "1.0.7",
"@types/d3-chord": "1.0.6", "@types/d3-chord": "1.0.6",
"@types/d3-collection": "1.0.5", "@types/d3-collection": "1.0.6",
"@types/d3-color": "1.0.5", "@types/d3-color": "1.0.5",
"@types/d3-dispatch": "1.0.5", "@types/d3-dispatch": "1.0.5",
"@types/d3-drag": "1.2.0", "@types/d3-drag": "1.2.0",
...@@ -144,8 +144,8 @@ ...@@ -144,8 +144,8 @@
"@types/d3-queue": "3.0.5", "@types/d3-queue": "3.0.5",
"@types/d3-random": "1.1.0", "@types/d3-random": "1.1.0",
"@types/d3-request": "1.0.2", "@types/d3-request": "1.0.2",
"@types/d3-scale": "1.0.11", "@types/d3-scale": "2.0.0",
"@types/d3-selection": "1.2.0", "@types/d3-selection": "1.3.0",
"@types/d3-shape": "1.2.2", "@types/d3-shape": "1.2.2",
"@types/d3-time": "1.0.7", "@types/d3-time": "1.0.7",
"@types/d3-time-format": "2.1.0", "@types/d3-time-format": "2.1.0",
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
"resolved": "https://registry.npmjs.org/@types/d3-axis/-/d3-axis-1.0.9.tgz", "resolved": "https://registry.npmjs.org/@types/d3-axis/-/d3-axis-1.0.9.tgz",
"integrity": "sha512-fNUnI2a0F3xiE/nGrTdDpZG4sdcRIB4X59p9jgY8O7RQiKrVqyb433YCCYSqVID4CVyoq5v3bSFliUEk0FOMsw==", "integrity": "sha512-fNUnI2a0F3xiE/nGrTdDpZG4sdcRIB4X59p9jgY8O7RQiKrVqyb433YCCYSqVID4CVyoq5v3bSFliUEk0FOMsw==",
"requires": { "requires": {
"@types/d3-selection": "1.2.0" "@types/d3-selection": "1.3.0"
} }
}, },
"@types/d3-brush": { "@types/d3-brush": {
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
"resolved": "https://registry.npmjs.org/@types/d3-brush/-/d3-brush-1.0.7.tgz", "resolved": "https://registry.npmjs.org/@types/d3-brush/-/d3-brush-1.0.7.tgz",
"integrity": "sha1-BcMEQPTVN/0j+Xaw5sS6IjAB70U=", "integrity": "sha1-BcMEQPTVN/0j+Xaw5sS6IjAB70U=",
"requires": { "requires": {
"@types/d3-selection": "1.2.0" "@types/d3-selection": "1.3.0"
} }
}, },
"@types/d3-chord": { "@types/d3-chord": {
...@@ -182,9 +182,9 @@ ...@@ -182,9 +182,9 @@
"integrity": "sha1-BYnrl6MZH07a8Xt73kmEYokM4ew=" "integrity": "sha1-BYnrl6MZH07a8Xt73kmEYokM4ew="
}, },
"@types/d3-collection": { "@types/d3-collection": {
"version": "1.0.5", "version": "1.0.6",
"resolved": "https://registry.npmjs.org/@types/d3-collection/-/d3-collection-1.0.5.tgz", "resolved": "https://registry.npmjs.org/@types/d3-collection/-/d3-collection-1.0.6.tgz",
"integrity": "sha1-ux86qXzcjYgWRVQbnWz4ft/um8M=" "integrity": "sha512-UHBvaU2wT5GlJN6rRVQm42211uAyZtp7m0jpQFuMuX7hTuivc0tcF0cjx5Ny5eQkhIolEyKwWgvJexw4e8g4+A=="
}, },
"@types/d3-color": { "@types/d3-color": {
"version": "1.0.5", "version": "1.0.5",
...@@ -201,7 +201,7 @@ ...@@ -201,7 +201,7 @@
"resolved": "https://registry.npmjs.org/@types/d3-drag/-/d3-drag-1.2.0.tgz", "resolved": "https://registry.npmjs.org/@types/d3-drag/-/d3-drag-1.2.0.tgz",
"integrity": "sha512-AePmm0sXj0Tpl0uQWvwmbAf1QR3yCy9aRhjJ9mRDDSZlHBdY0SCpUtdZC9uG9Q+pyHT/dEt1R2FT/sj+5k/bVA==", "integrity": "sha512-AePmm0sXj0Tpl0uQWvwmbAf1QR3yCy9aRhjJ9mRDDSZlHBdY0SCpUtdZC9uG9Q+pyHT/dEt1R2FT/sj+5k/bVA==",
"requires": { "requires": {
"@types/d3-selection": "1.2.0" "@types/d3-selection": "1.3.0"
} }
}, },
"@types/d3-dsv": { "@types/d3-dsv": {
...@@ -279,17 +279,17 @@ ...@@ -279,17 +279,17 @@
} }
}, },
"@types/d3-scale": { "@types/d3-scale": {
"version": "1.0.11", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-1.0.11.tgz", "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-2.0.0.tgz",
"integrity": "sha512-W7Rir91wwuVYDFesVqlFdwmbsr4QYk+Ens7oEoMruX2zx2GB5BS71g1EDQ90doJgyWRmlglptEd0nPjwRkpgfg==", "integrity": "sha512-fFLSdP3p9qQQ3W6ouO3GBI4Qg94CSykTWVc61U8SI1V62dfBWtOigBj5voxDcOniwh9MjKzTHldMSsGJ5qAFpA==",
"requires": { "requires": {
"@types/d3-time": "1.0.7" "@types/d3-time": "1.0.7"
} }
}, },
"@types/d3-selection": { "@types/d3-selection": {
"version": "1.2.0", "version": "1.3.0",
"resolved": "https://registry.npmjs.org/@types/d3-selection/-/d3-selection-1.2.0.tgz", "resolved": "https://registry.npmjs.org/@types/d3-selection/-/d3-selection-1.3.0.tgz",
"integrity": "sha512-QPmtQnzJA8dtKEd1+FbtirI6ENncf52I754Jidnvnozo+bqJpl3oaZADth7gDamQWx0bJmFrajvxkPxfh88+Ow==" "integrity": "sha512-1SJhi3kTk/SHHIE6XkHuHU2REYkbSOjkQuo3HT71FOTs8/tjeGcvtXMsX4N3kU1UE1nVG+A5pg7TSjuJ4zUN3A=="
}, },
"@types/d3-shape": { "@types/d3-shape": {
"version": "1.2.2", "version": "1.2.2",
...@@ -319,7 +319,7 @@ ...@@ -319,7 +319,7 @@
"resolved": "https://registry.npmjs.org/@types/d3-transition/-/d3-transition-1.1.1.tgz", "resolved": "https://registry.npmjs.org/@types/d3-transition/-/d3-transition-1.1.1.tgz",
"integrity": "sha512-GHTghl0YYB8gGgbyKxVLHyAp9Na0HqsX2U7M0u0lGw4IdfEaslooykweZ8fDHW13T+KZeZAuzhbmqBZVFO+6kg==", "integrity": "sha512-GHTghl0YYB8gGgbyKxVLHyAp9Na0HqsX2U7M0u0lGw4IdfEaslooykweZ8fDHW13T+KZeZAuzhbmqBZVFO+6kg==",
"requires": { "requires": {
"@types/d3-selection": "1.2.0" "@types/d3-selection": "1.3.0"
} }
}, },
"@types/d3-voronoi": { "@types/d3-voronoi": {
...@@ -333,7 +333,7 @@ ...@@ -333,7 +333,7 @@
"integrity": "sha512-eIivt2ehMUXqS0guuVzRSMr5RGhO958g9EKxIJv3Z23suPnX4VQI9k1TC/bLuwKq0IWp9a1bEEcIy+PNJv9BtA==", "integrity": "sha512-eIivt2ehMUXqS0guuVzRSMr5RGhO958g9EKxIJv3Z23suPnX4VQI9k1TC/bLuwKq0IWp9a1bEEcIy+PNJv9BtA==",
"requires": { "requires": {
"@types/d3-interpolate": "1.1.6", "@types/d3-interpolate": "1.1.6",
"@types/d3-selection": "1.2.0" "@types/d3-selection": "1.3.0"
} }
}, },
"@types/file-saver": { "@types/file-saver": {
......
...@@ -15,6 +15,7 @@ export class ChartCreator { ...@@ -15,6 +15,7 @@ export class ChartCreator {
private xAxis: any; private xAxis: any;
private yAxis: any; private yAxis: any;
createChart() { createChart() {
let element = this.chartContainer.nativeElement; let element = this.chartContainer.nativeElement;
this.width = element.offsetWidth - this.margin.left - this.margin.right; this.width = element.offsetWidth - this.margin.left - this.margin.right;
...@@ -95,4 +96,6 @@ export class ChartCreator { ...@@ -95,4 +96,6 @@ export class ChartCreator {
.attr("height", d => this.height - this.yScale(d[1])); .attr("height", d => this.height - this.yScale(d[1]));
} }
} }
...@@ -81,7 +81,7 @@ import { ReportsSchema, TableColumn } from "./reports-schema"; ...@@ -81,7 +81,7 @@ import { ReportsSchema, TableColumn } from "./reports-schema";
<option *ngFor="let CourseSelection$ of CourseSelections$ | async; let i=index" [value] = "CourseSelection$.id"> {{CourseSelection$.name}}</option> <option *ngFor="let CourseSelection$ of CourseSelections$ | async; let i=index" [value] = "CourseSelection$.id"> {{CourseSelection$.name}}</option>
</select> </select>
</div> </div>
<button type="submit" class="btn btn-alert" (click)="createReport(regsel)" [hidden]="minedu_userName === ''" > <button type="submit" class="btn btn-alert" (click)="createReport(regsel)" [hidden]="minedu_userName === ''" >
<i class="fa fa-file-text"></i> <i class="fa fa-file-text"></i>
...@@ -94,7 +94,7 @@ import { ReportsSchema, TableColumn } from "./reports-schema"; ...@@ -94,7 +94,7 @@ import { ReportsSchema, TableColumn } from "./reports-schema";
<div *ngIf="validCreator === 1 "> <div *ngIf="validCreator === 1 ">
<input #search class="search" type="text" placeholder="Αναζήτηση..." (keydown.enter)="onSearch(search.value)"> <input #search class="search" type="text" placeholder="Αναζήτηση..." (keydown.enter)="onSearch(search.value)">
<div class="smart-table-container table table-hover table-striped"> <div class="smart-table-container table table-hover table-striped">
<ng2-smart-table [settings]="settings" [source]="source"></ng2-smart-table>