templates/taggr.html
changeset 24 001f52cd057e
parent 23 10841abbc01f
--- a/templates/taggr.html	Thu Jan 17 01:56:04 2008 +0000
+++ b/templates/taggr.html	Sun Jan 20 01:07:02 2008 +0000
@@ -4,62 +4,14 @@
     <div id="taggr">
         <div id="tags">
             <table cellpadding="0" cellspacing="0" id="tag_table">
-                <tr>
-                    <td class="tag">
-                        otaniemi
-                    </td>
-                    <td class="tag_images" id="otaniemi">
-                        <img src="http://photos.marttila.de/otaniemi/2007-10-31/thumbs/PA315851.JPG" />
-                        <img src="http://photos.marttila.de/otaniemi/2007-10-31/thumbs/PA315859.JPG" />
-                    </td>
-                </tr>
-                <tr>
-                    <td class="tag">
-                        otaranta
-                    </td>
-                    <td class="tag_images" id="otaranta">
-                        <img src="http://photos.marttila.de/otaniemi/2007-10-31/thumbs/PA295785.JPG" />
-                        <img src="http://photos.marttila.de/otaniemi/2007-10-31/thumbs/PA295787.JPG" />
-                        <img src="http://photos.marttila.de/otaniemi/2007-10-31/thumbs/PA295806.JPG" />
-                    </td>
-                </tr>
-                <tr>
-                    <td class="tag">
-                        sik
-                    </td>
-                    <td class="tag_images" id="sik">
-                        <img src="http://photos.marttila.de/otaniemi/2007-10-31/thumbs/PA315851.JPG" />
-                        <img src="http://photos.marttila.de/otaniemi/2007-10-31/thumbs/PA315859.JPG" />
-                    </td>
-                </tr>   
-                <tr>
-                    <td class="tag">
-                        <ul>
-                            <li>sky</li>
-                            <li>clouds</li>
-                        </ul>
-                    </td>
-                    <td class="tag_images" id="sky/clouds">
-                        <img src="http://photos.marttila.de/otaniemi/2007-10-31/thumbs/PA295821.JPG" />
-                    </td>
-                </tr>   
-<!--                
-                <tr>
-                    <td class="tag">
-
-                    </td>
-                    <td class="tag_images">
-
-                    </td>
-                </tr>   
--->                
             </table>
-            <label for="tag_name">New tag</label>
-            <input type="text" name="new_tag" id="new_tag" />
-            <input type="button" value="Add" onclick="new_tag($F($('new_tag')))" />
-
         </div>
-
+        <div id="toolbar">
+            <ul>
+                <li><a href="#" onclick="selection_clear()">Clear selection</a></li>
+                <li><input type="text" name="new_tag" id="new_tag" /><a href="#" onclick="new_tag($F($('new_tag')))" class="draggable">Create Tag</a></li>
+            </ul>
+        </div>
         <div id="images">
             <%include file="taggr_dir.html" />
         </div>