Skip to content
This repository has been archived by the owner on Aug 16, 2018. It is now read-only.

Commit

Permalink
Update to 0.9.1, added timezone and theme select to configure
Browse files Browse the repository at this point in the history
  • Loading branch information
stoeps13 committed Dec 30, 2017
1 parent 9774aec commit 95baf17
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 9 deletions.
44 changes: 39 additions & 5 deletions configure.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,44 @@ <h1>Configuration</h1>
<td><input type="text" name="titleLink" id="titleLink" size="50" value="{$titleLink}"></td>
</tr>

<tr>
<td valign="top"><b>Timezone</b></td>
<td valign="top">{$timezone_form}</td>
</tr>
<tr>
<td>
<b>{'Theme'|t}</b>
</td>
<td>
<select name="theme" id="theme" class="align">
{loop="$theme_available"}
<option value="{$value}"{if="$value===$theme"} selected="selected" {/if}>{$value|ucfirst}</option>
{/loop}
</select>
</td>
</tr>

<tr>
<td><b>Timezone</b></td>
<td>
<select id="continent" name="continent">
{loop="$continents"}
{if="$key !== 'selected'"}
<option value="{$value}" {if="$continents.selected === $value"}selected{/if}>
{$value}
</option>
{/if}
{/loop}
</select>
<select id="city" name="city">
{loop="$cities"}
{if="$key !== 'selected'"}
<option value="{$value.city}"
{if="$cities.selected === $value.city"}selected{/if}
data-continent="{$value.continent}">
{$value.city}
</option>
{/if}
{/loop}
</select>
</td>
</tr>

<tr>
<td valign="top"><b>Redirector</b></td>
Expand Down Expand Up @@ -110,4 +144,4 @@ <h1>Configuration</h1>
{include="page.footer"}
{$timezone_js}
</body>
</html>
</html>
21 changes: 18 additions & 3 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ a {

a:hover {
text-decoration: none;
color: #db2020;
color: #4882B1;
}

strong,
Expand Down Expand Up @@ -486,7 +486,7 @@ article img {

.com-alert {
font-weight: bold;
color: #db2020;
color: #4882B1;
}

/* ---------- PAGING ---------- */
Expand Down Expand Up @@ -1351,4 +1351,19 @@ div.awesomplete li[aria-selected="true"] mark {
#launchsettings pre {
max-height: 250px;
overflow: scroll;
}
}
#theme,#city,#continent{
height: 30px;
line-height: 1.3em;
padding: 0 6px;
border: 1px solid #bbb;
}
#theme {
width: 395px;
}
#city {
width: 195px;
}
#continent {
width: 195px;
}
2 changes: 1 addition & 1 deletion launch.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h2>
{/if}
{if="isLoggedIn()"}
<li class="">
<a class="icon-entry link-icon bright-icon" title="Logout" li="static-shaare" href="?do=addlink"></a>
<a class="icon-entry link-icon bright-icon" title="Shaare" li="static-shaare" href="?do=addlink"></a>
</li>
{/if}
<li class="">
Expand Down

0 comments on commit 95baf17

Please sign in to comment.