* judges menu removed
* awardees reactored into awards, judges are now included on a per year basis * lots of minor style adjustments to follow the design guideline
This commit is contained in:
@@ -8,4 +8,6 @@
|
||||
<div class="description"><?= $this->batch($awardee->getText(), 'excerpt|mdtohtml') ?></div>
|
||||
</a>
|
||||
<?php endforeach; ?>
|
||||
<?php $this->insert('app::judges.inc', ['judges' => $judges, 'year' => $year]) ?>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -5,6 +5,19 @@
|
||||
<img class="simg2" src="<?= $this->serverurl('/img/home_3.png') ?>">
|
||||
<article>
|
||||
<h1>The Gran Prize</h1>
|
||||
<p>is an annual prize awarded for outstandingly innovative solutions in response to the most pressing issues of our planet, in the field of environmental protection, sustainable development, design, medicine, health preservation and development and education.</p>
|
||||
<p>is an annual prize awarded for outstandingly innovative solutions in response to the most pressing issues of
|
||||
our planet, in the field of environmental protection, sustainable development, design, medicine, health
|
||||
preservation and development and education.</p>
|
||||
</article>
|
||||
<section class="download">
|
||||
<h1>2018 call for entry</h1>
|
||||
<p>
|
||||
<a class="download" href="<?= $this->serverurl('/downloads/granprize_entry_2018.pdf') ?>"><img
|
||||
src="<?= $this->serverurl('/img/icon/downloadx2.png') ?>">Gran Prize Innovative Interdisciplinary
|
||||
Award Call for Entry 2018</a>
|
||||
<a class="download" href="<?= $this->serverurl('/downloads/granprize_kiiras_2018.pdf') ?>"><img
|
||||
src="<?= $this->serverurl('/img/icon/downloadx2.png') ?>">Gran Prize Interdiszciplináris Innovatív
|
||||
Díj Pályázati kiírás 2018</a>
|
||||
</p>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
10
templates/app/judges.inc.phtml
Normal file
10
templates/app/judges.inc.phtml
Normal file
@@ -0,0 +1,10 @@
|
||||
<section class="judges">
|
||||
<h1><?=$year?> judges</h1>
|
||||
<?php foreach ($judges as $judge): ?>
|
||||
<section class="judge">
|
||||
<img class="profile" src="<?= $this->serverurl(sprintf('/img/judges/%s.jpg', $judge['image'])) ?>">
|
||||
<span class="title"><?= $judge['name']?></span><br>
|
||||
<span class="description"><?= $judge['desc']?></span>
|
||||
</section>
|
||||
<?php endforeach; ?>
|
||||
</section>
|
||||
Reference in New Issue
Block a user