summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/main.html.ep7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/main.html.ep b/templates/main.html.ep
index 30240ed..de634f9 100644
--- a/templates/main.html.ep
+++ b/templates/main.html.ep
@@ -138,7 +138,12 @@ kind.
<div class="field">
<div class="desc">Frontend</div>
<div>
- %= select_field frontend => [['LED board (PNG)' => 'png'], ['LED board (HTML)' => 'html'], ['App / Infoscreen' => 'infoscreen'], ['JSON' => 'json']]
+ % if ($self->browser->mobile) {
+ %= select_field frontend => [['App / Infoscreen' => 'infoscreen'], ['LED board (PNG)' => 'png'], ['LED board (HTML)' => 'html'], ['JSON' => 'json']]
+ % }
+ % else {
+ %= select_field frontend => [['LED board (PNG)' => 'png'], ['LED board (HTML)' => 'html'], ['App / Infoscreen' => 'infoscreen'], ['JSON' => 'json']]
+ % }
</div>
</div>
<div class="field">