Added basic design

Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
This commit is contained in:
Polonkai Gergely
2012-06-18 23:26:40 +02:00
parent f5280125f3
commit 1424061fed
9 changed files with 242 additions and 0 deletions

View File

@@ -11,4 +11,25 @@ class DefaultController extends Controller
{
return $this->render('GergelyPolonkaiFrontBundle:Default:index.html.twig', array());
}
public function disclaimerAction()
{
return $this->render('GergelyPolonkaiFrontBundle:Default:disclaimer.html.twig', array());
}
public function resumeAction($_format)
{
if ($_format == 'pdf')
{
return $this->get('io_tcpdf')->quick_pdf($this->renderView('GergelyPolonkaiFrontBundle:Default:resume.html.twig', array(
'format' => $_format,
)));
}
else
{
return $this->render('GergelyPolonkaiFrontBundle:Default:resume.html.twig', array(
'format' => $_format,
));
}
}
}