issue59, tag selection is now html-table free
authorAndreas Unterkircher <unki@netshadow.at>
Sun, 6 Jan 2008 09:30:32 +0000 (10:30 +0100)
committerAndreas Unterkircher <unki@netshadow.at>
Sun, 6 Jan 2008 09:30:32 +0000 (10:30 +0100)
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
themes/default/stylesheet.css
themes/default/templates/tags.tpl

index 3239fe3772e9dd0438648c9a5d2fe1e6294ef10f..cfc62236d9118db98f9b8bfe8f6958d20ed17723 100644 (file)
@@ -45,14 +45,6 @@ table, tr, td {
    padding:                0px;
 }
 
-td.available_tags,td.selected_tags {
-   border-bottom:          solid 1px #000000;
-   padding-top:            10px;
-   padding-bottom:         10px;
-   padding-right:          10px;
-   line-height:            21px;
-}
-
 td.searchfor {
    border-bottom:          solid 1px #000000;
    padding-top:            10px;
@@ -168,9 +160,14 @@ div.thumb a.thumblink:hover {
    z-index:                100;
 }
 
-#available_tags {
+#available_tags,#selected_tags {
    clip:                   auto;
    overflow:               auto;
+   border-bottom:          solid 1px #000000;
+   padding-top:            10px;
+   padding-bottom:         10px;
+   padding-right:          10px;
+   line-height:            21px;
 }
 
 table.calendar tr td {
@@ -217,4 +214,3 @@ input, select, textarea {
    border:                 1px solid #888888;
    border-collapse:        collapse;
 }
-
index 21469d887610116bf5d9b9627020b3d9986531b0..52c870cac95362828456345c9f7f66bc83ebc65e 100644 (file)
@@ -1,36 +1,11 @@
-<table>
- <tr>
-  <td style="vertical-align: middle; text-decoration: underline;">
-   <img src="resources/available_tags.png" alt="available tags" />Available Tags:
-  </td>
- </tr>
- <tr>
-  <td class="available_tags">
-   <div id="available_tags"></div>
-  </td>
- </tr>
- <tr>
-  <td>
-   <table style="width: 100%;">
-    <tr>
-     <td style="vertical-align: bottom; text-decoration: underline;">
-      <img src="resources/selected_tags.png" alt="selected tags" />Selected Tags:
-     </td>
-     <td style="vertical-align: bottom; white-space: nowrap;">
-      &nbsp;
-      <input type="radio" name="condition" value="or" onclick="Tags('condition', this);" {if $current_condition == "or" } checked="checked" { /if } title="OR condition" />||
-      <input type="radio" name="condition" value="and" onclick="Tags('condition', this);" {if $current_condition == "and" } checked="checked" { /if } title="AND condition" />&amp;&amp;
-     </td>
-    </tr>
-   </table>
-  </td>
- </tr>
- <tr>
-  <td class="selected_tags">
-   <div id="selected_tags">no tags selected</div>
-  </td>
- </tr>
- <tr>
-  <td>&nbsp;</td>
- </tr>
-</table>
+<span style="vertical-align: middle; text-decoration: underline;">
+ <img src="resources/available_tags.png" alt="available tags" />Available Tags:
+</span>
+<div id="available_tags"></div>
+<span style="vertical-align: middle; text-decoration: underline;">
+ <img src="resources/selected_tags.png" alt="selected tags" />Selected Tags:
+</span
+ &nbsp;
+ <input type="radio" name="condition" value="or" onclick="Tags('condition', this);" {if $current_condition == "or" } checked="checked" { /if } title="OR condition" />||
+ <input type="radio" name="condition" value="and" onclick="Tags('condition', this);" {if $current_condition == "and" } checked="checked" { /if } title="AND condition" />&amp;&amp;
+<div id="selected_tags">no tags selected</div>