Browse code

Add device showcase module

Benjamin Roth authored on05/01/2016 15:52:24
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,17 @@
1
+<?php $this->extend('block_searchable'); ?>
2
+
3
+<?php $this->block('content'); ?>
4
+
5
+<style>
6
+  .mod_clientsProjectDevices .devices {
7
+    height: <?= $this->referenceHeight ?>px;
8
+  }
9
+</style>
10
+
11
+<section class="devices cf">
12
+<?php foreach($this->screenshots as $deviceType=>$screenshot): ?>
13
+  <?php $this->insert($this->esm_clients_devices_template, array('devicetype'=>$deviceType, 'pictures'=>$screenshot)); ?>
14
+<?php endforeach; ?>
15
+</section>
16
+
17
+<?php $this->endblock(); ?>
0 18
\ No newline at end of file