This commit is contained in:
Martin Müller 2014-04-29 23:51:16 +02:00
parent 1ed7dfcc3c
commit 52cd8ff380
14 changed files with 22 additions and 28 deletions

View File

@ -15,7 +15,7 @@ class XTCPDF extends TCPDF{
$this->Cell(0,0, $this->title, array('B'=>array('width' => 1,'color'=>array(157,18,22))),1,'L');
$this->SetY(22);
if($this->title=='')
$this->Image(WWW_ROOT.DS.'img'.DS.'pdf-logo-lang.png',0,10,85,20,'','','','',300,'R');
$this->Image(WWW_ROOT.DS.'img'.DS.'pdf-logo-lang.png',0,15,64,15,'','','','',300,'R');
else
$this->Image(WWW_ROOT.DS.'img'.DS.'pdf-logo.png',0,10,20,20,'','','','',300,'R');
}

View File

@ -29,9 +29,9 @@ $tcpdf->SetTextColor(0, 0, 0);
$tcpdf->SetFont($tcpdf->font);
$tcpdf->Image(WWW_ROOT.DS.'uploads'.DS.$application['AppUserWorker']['avatar'],0,40,0,140,'','','','',300,'L');
$tcpdf->SetY(185);
$tcpdf->SetFont($tcpdf->font,'B',$tcpdf->fontsize);
$tcpdf->SetFont($tcpdf->font,'B',$tcpdf->fontsize+4);
$tcpdf->Cell(0,0, __('dreamjob.application'), 0,1,'L');
$tcpdf->SetFont($tcpdf->font);
$tcpdf->SetFont($tcpdf->font,'',$tcpdf->fontsize);
$tcpdf->Cell(0,0, __('dreamjob.application.for').' '.$application['DreamjobJobOpening']['title'], 0,1,'L');
$tcpdf->SetY(255);

View File

@ -8,9 +8,10 @@ header("Content-type: application/pdf");
$cvinhalt = $this->element('user_worker_cv',array('toPDF'=>true,'profil'=>$WORKER));
$cvinhalt .= '<style>span{font-style:italic;font-size:10px;}h1,h2,h3,h4,h5{
border-bottom:1px solid grey;
margin-bottom:3px;
padding:0px;
width:100%;
}</style>';
}
</style>';
$dev = 0;
$tcpdf = new XTCPDF();
@ -28,9 +29,9 @@ $tcpdf->SetTextColor(0, 0, 0);
$tcpdf->SetFont($tcpdf->font);
$tcpdf->Image(WWW_ROOT.DS.'uploads'.DS.$WORKER['AppUser']['avatar'],0,40,0,140,'','','','',300,'L');
$tcpdf->SetY(185);
$tcpdf->SetFont($tcpdf->font,'B',$tcpdf->fontsize);
$tcpdf->SetFont($tcpdf->font,'B',$tcpdf->fontsize+4);
$tcpdf->Cell(0,0, __('dreamjob.application.mappe'), 0,1,'L');
$tcpdf->SetFont($tcpdf->font);
$tcpdf->SetFont($tcpdf->font,'',$tcpdf->fontsize);
$tcpdf->SetY(255);
$tcpdf->Cell(0,0, $WORKER['Mannerofaddress']['name'].' '.$WORKER['AppUser']['first_name'].' '.$WORKER['AppUser']['last_name'], 0,1,'R');

View File

@ -12,7 +12,7 @@
$a['novalidate'] = true;
echo $this->Form->create('DreamjobJobOpening',$a);
?>
<h1><?=__('dreamjob.search.academy');?></h1>
<h3><?=__('dreamjob.search.academy');?></h3>
<?php
$a = $default_hForm['inputDefaults'];
$a['inputDefaults']['between'] = false;

View File

@ -7,7 +7,7 @@
<?php
echo $this->element('search_navbar',array('SEARCH_auto'=>true));
?>
<h1><?=__('dreamjob.search.auto');?></h1>
<h3><?=__('dreamjob.search.auto');?></h3>
<?=__('dreamjob.search.auto.text');?>
</div>
<div class="box">

View File

@ -13,7 +13,7 @@
echo $this->Form->create('DreamjobCompany',$a);
?>
<h1><?=__('dreamjob.search.company');?></h1>
<h3><?=__('dreamjob.search.company');?></h3>
<?php
$a = $default_hForm['inputDefaults'];
$a['inputDefaults']['between'] = false;

View File

@ -12,7 +12,7 @@
$a['novalidate'] = true;
echo $this->Form->create('DreamjobJobOpening',$a);
?>
<h1><?=__('dreamjob.search.education');?></h1>
<h3><?=__('dreamjob.search.education');?></h3>
<?php
$a = $default_hForm['inputDefaults'];
$a['inputDefaults']['between'] = false;

View File

@ -12,7 +12,7 @@
$a['novalidate'] = true;
echo $this->Form->create('DreamjobJobOpening',$a);
?>
<h1><?=__('dreamjob.search.internship');?></h1>
<h3><?=__('dreamjob.search.internship');?></h3>
<?php
$a = $default_hForm['inputDefaults'];
$a['inputDefaults']['between'] = false;

View File

@ -12,7 +12,7 @@
$a['novalidate'] = true;
echo $this->Form->create('DreamjobJobOpening',$a);
?>
<h1><?=__('dreamjob.search.opening');?></h1>
<h3><?=__('dreamjob.search.opening');?></h3>
<?php
$a = $default_hForm['inputDefaults'];
$a['between'] = false;
@ -44,4 +44,4 @@
}
?>
</div>
</div>
</div>

View File

@ -11,7 +11,7 @@
$a['novalidate'] = true;
echo $this->Form->create('DreamjobWorker',$a);
?>
<h1><?=__('dreamjob.search.worker');?></h1>
<h3><?=__('dreamjob.search.worker');?></h3>
<?php
$a = $default_hForm['inputDefaults'];
$a['between'] = false;

View File

@ -29,7 +29,7 @@ if($profil['AppUser']['take_systemwide']){
?>
</ul>
</div>
<h1><?=__("dreamjob.settings");?></h1>
<h3><?=__("dreamjob.settings");?></h3>
<?php
echo $this->Form->create(false,$default_Form);
?>

View File

@ -19,7 +19,7 @@ if($profil['AppUser']['take_systemwide']){
<li class="active"><?=$this->Html->link(__("dreamjob.settings.isearch"),array('controller'=>'user','action'=>'settings_isearch'));?></li>
</ul>
</div>
<h1><?=__("dreamjob.settings.isearch");?></h1>
<h3><?=__("dreamjob.settings.isearch");?></h3>
<?php
echo $this->Form->create("DreamjobISearch",$default_hForm);
?>

View File

@ -49,9 +49,9 @@ if($profil['AppUser']['take_systemwide']){
</div>
<?php if(!empty($WORKER) and count($WORKER)>0){ ?>
<h1><?=__("dreamjob.settings.pages");?></h1>
<h3><?=__("dreamjob.settings.pages");?></h3>
<?php }else{ ?>
<h1><?=__("dreamjob.settings.pages.company");?></h1>
<h3><?=__("dreamjob.settings.pages.company");?></h3>
<?php } ?>
<ul class="nav nav-pills">

View File

@ -11,12 +11,6 @@ body{
padding:0px;
margin:0px;
}
/*
h1,h2,h3,h4,h5{
border-bottom:2px solid grey;
width:100%;
}
*/
a {
color: #428BCA;
text-decoration: none;
@ -45,7 +39,7 @@ textarea {
color:grey;
}
h4{
color:grey;
border-bottom:1px solid grey;
margin-top:30px;
}
.box img{
@ -456,12 +450,11 @@ fieldset.search .form-group{
text-align:left;
width:250px;
display:block;
margin:0px 20px;
margin-right:30px;
float:left;
}
fieldset.search .submit.form-group{
padding-top:40px;
margin:0px 20px;
}
fieldset.search .submit.form-group .btn{