button design changes, HTML syntax fixes etc.; updates #292

- improved design of download buttons in listing and search result view
- special improvements for MSIE, with separate style sheet
- use standard button design for "all countries" buttons in newcache/editcache
- fixed </option> tags in newcache/editcache pages
- set checkbox style for cache note coordinate input
- fixed cardinal direction input field sizes in Chrome
This commit is contained in:
following
2013-08-10 20:37:57 +02:00
parent 42f8bb6ce3
commit 2b46a32434
16 changed files with 73 additions and 42 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
$error_wrong_node = t('This cache has been created on another Opencaching website. The cache can only be edited there.');
$all_countries_submit = '<input type="submit" name="show_all_countries_submit" value="' . t('Show all') . '"/>';
$all_countries_submit = '<input type="submit" name="show_all_countries_submit" id="showallcountries" value="' . t('Show all') . '" class="formbutton" onclick="submitbutton(\'showallcountries\')" />';
$error_general = "<tr><td class='error' colspan='2'><b>" . t('Some errors occured, please check the marked fields.') . "</b></td></tr>";
$name_message = '&nbsp;<span class="errormsg">' . t('Cachename is invalid') . '</span>';
$date_message = '<span class="errormsg">' . t('date is invalid') . '</span>';
+3 -3
View File
@@ -162,7 +162,7 @@ function toggleAttr(id)
<tr>
<td valign="top">{t}Coordinates:{/t}</td>
<td>
<select name="latNS" class="input40">
<select name="latNS">
<option value="N"{selLatN}>{t}N{/t}</option>
<option value="S"{selLatS}>{t}S{/t}</option>
</select>
@@ -170,7 +170,7 @@ function toggleAttr(id)
°&nbsp;<input type="text" name="lat_min" maxlength="6" value="{lat_min}" class="input50" />&nbsp;'&nbsp;
{lat_message}
&nbsp;&nbsp;
<select name="lonEW" class="input40">
<select name="lonEW">
<option value="E"{selLonE}>{t}E{/t}</option>
<option value="W"{selLonW}>{t}W{/t}</option>
</select>
@@ -187,7 +187,7 @@ function toggleAttr(id)
<select name="country" class="input200">
{countryoptions}
</select>
{show_all_countries_submit}
&nbsp;{show_all_countries_submit}
</td>
</tr>
<tr><td class="spacer" colspan="2"></td></tr>
+3
View File
@@ -68,6 +68,9 @@
<link rel="apple-touch-icon" sizes="114x114" href="resource2/{style}/images/oclogo/apple-touch-icon-iphone-retina.png" />
<link rel="apple-touch-icon" sizes="144x144" href="resource2/{style}/images/oclogo/apple-touch-icon-ipad-retina.png" />
<link rel="stylesheet" type="text/css" media="screen,projection" href="resource2/{style}/css/style_screen.css?ft={screen_css_time}" />
<!--[if IE]>
<link rel="stylesheet" type="text/css" media="screen,projection" href="resource2/{style}/css/style_screen_msie.css?ft={screen_msie_css_time}" />
<![endif]-->
<script type="text/javascript">
<!--
<?php
+4 -4
View File
@@ -160,7 +160,7 @@ function toggleAttr(id)
<tr>
<td valign="top">{t}Coordinates:{/t}</td>
<td>
<select name="latNS" class="input40">
<select name="latNS">
<option value="N"{latNsel}>{t}N{/t}</option>
<option value="S"{latSsel}>{t}S{/t}</option>
</select>
@@ -168,7 +168,7 @@ function toggleAttr(id)
°&nbsp;<input type="text" name="lat_min" maxlength="6" value="{lat_min}" class="input50" />&nbsp;'&nbsp;
{lat_message}
&nbsp;&nbsp;
<select name="lonEW" class="input40">
<select name="lonEW">
<option value="E"{lonEsel}>{t}E{/t}</option>
<option value="W"{lonWsel}>{t}W{/t}</option>
</select>
@@ -184,7 +184,7 @@ function toggleAttr(id)
<select name="country" class="input200">
{countryoptions}
</select>
{show_all_countries_submit}
&nbsp;{show_all_countries_submit}
</td>
</tr>
<tr><td class="spacer" colspan="2"></td></tr>
@@ -364,7 +364,7 @@ function toggleAttr(id)
<td>{t}Publication:{/t}</td>
<td>
<input type="radio" class="radio" name="publish" id="publish_now" value="now2" {publish_now_checked} />&nbsp;<label for="publish_now">{t}Publish now{/t}</label><br />
<input type="radio" class="radio" name="publish" id="publish_later" value="later" {publish_later_checked} />&nbsp;<label for="publish_later">{t}Publish on{/t}</label>
<input type="radio" class="radio" name="publish" id="publish_later" value="later" {publish_later_checked} />&nbsp;<label for="publish_later">{t}Publish on{/t}</label>&nbsp;
<input class="input20" type="text" name="activate_day" maxlength="2" value="{activate_day}"/>.
<input class="input20" type="text" name="activate_month" maxlength="2" value="{activate_month}"/>.
<input class="input40" type="text" name="activate_year" maxlength="4" value="{activate_year}"/>&nbsp;
@@ -531,14 +531,14 @@ function switchAttributeCat2()
<tr>
<td valign="top">{t}Of coordinates:{/t}</td>
<td colspan="2" valign="top">
<select name="latNS" class="input40">
<select name="latNS">
<option value="N" {latN_sel}>{t}N{/t}</option>
<option value="S" {latS_sel}>{t}S{/t}</option>
</select>&nbsp;
<input type="text" name="lat_h" maxlength="2" value="{lat_h}" class="input30" />&nbsp;°&nbsp;
<input type="text" name="lat_min" maxlength="6" value="{lat_min}" class="input40" />&nbsp;'&nbsp;
<br>
<select name="lonEW" class="input40">
<select name="lonEW">
<option value="E" {lonE_sel}>{t}E{/t}</option>
<option value="W" {lonW_sel}>{t}W{/t}</option>
</select>&nbsp;