aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/install.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-03-22 19:29:02 +0100
committerArthurHoaro <arthur@hoa.ro>2017-04-04 18:44:20 +0200
commita07373135e08d182314847bb7dfc5a0246610d06 (patch)
tree052d4c2eb99aa5ec9da89b167418cf292cfdbe52 /tpl/default/install.html
parentae3aa96898834ce3992790e1622541ce48fd78d3 (diff)
downloadShaarli-a07373135e08d182314847bb7dfc5a0246610d06.tar.gz
Shaarli-a07373135e08d182314847bb7dfc5a0246610d06.tar.zst
Shaarli-a07373135e08d182314847bb7dfc5a0246610d06.zip
Apply the new timezone template variables to the default theme
Diffstat (limited to 'tpl/default/install.html')
-rw-r--r--tpl/default/install.html40
1 files changed, 30 insertions, 10 deletions
diff --git a/tpl/default/install.html b/tpl/default/install.html
index 33f8a453..c5052a26 100644
--- a/tpl/default/install.html
+++ b/tpl/default/install.html
@@ -49,18 +49,16 @@
49 </div> 49 </div>
50 50
51 <div class="pure-g"> 51 <div class="pure-g">
52 <div class="pure-u-lg-{$ratioLabel} pure-u-1 "> 52 <div class="pure-u-lg-{$ratioLabel} pure-u-1">
53 <div class="form-label"> 53 <div class="form-label">
54 <label> 54 <label for="title">
55 <span class="label-name">{'Timezone'|t}</span> 55 <span class="label-name">{'Shaarli title'|t}</span>
56 </label> 56 </label>
57 </div> 57 </div>
58 </div> 58 </div>
59 <div class="pure-u-lg-{$ratioInput} pure-u-1 "> 59 <div class="pure-u-lg-{$ratioInput} pure-u-1">
60 <div class="form-input"> 60 <div class="form-input">
61 {ignore}FIXME! too hackish, needs to be fixed upstream{/ignore} 61 <input type="text" name="title" id="title" placeholder="{'My links'|t}">
62 <div class="timezone" id="timezone-remove">{$timezone_html}</div>
63 <div class="timezone" id="timezone-add"></div>
64 </div> 62 </div>
65 </div> 63 </div>
66 </div> 64 </div>
@@ -68,14 +66,36 @@
68 <div class="pure-g"> 66 <div class="pure-g">
69 <div class="pure-u-lg-{$ratioLabel} pure-u-1"> 67 <div class="pure-u-lg-{$ratioLabel} pure-u-1">
70 <div class="form-label"> 68 <div class="form-label">
71 <label for="title"> 69 <label>
72 <span class="label-name">{'Shaarli title'|t}</span> 70 <span class="label-name">{'Timezone'|t}</span><br>
71 <span class="label-desc">{'Continent'|t} &middot; {'City'|t}</span>
73 </label> 72 </label>
74 </div> 73 </div>
75 </div> 74 </div>
76 <div class="pure-u-lg-{$ratioInput} pure-u-1"> 75 <div class="pure-u-lg-{$ratioInput} pure-u-1">
77 <div class="form-input"> 76 <div class="form-input">
78 <input type="text" name="title" id="title" placeholder="{'My links'|t}"> 77 <div class="timezone">
78 <select id="continent" name="continent">
79 {loop="$continents"}
80 {if="$key !== 'selected'"}
81 <option value="{$value}" {if="$continents.selected === $value"}selected{/if}>
82 {$value}
83 </option>
84 {/if}
85 {/loop}
86 </select>
87 <select id="city" name="city">
88 {loop="$cities"}
89 {if="$key !== 'selected'"}
90 <option value="{$value.city}"
91 {if="$cities.selected === $value.city"}selected{/if}
92 data-continent="{$value.continent}">
93 {$value.city}
94 </option>
95 {/if}
96 {/loop}
97 </select>
98 </div>
79 </div> 99 </div>
80 </div> 100 </div>
81 </div> 101 </div>