]> git.quilime.com - clmpr.git/commitdiff
updated edit/delete icons so they read as text
authorGabriel Dunne <gdunne@quilime.com>
Wed, 21 Dec 2011 07:30:07 +0000 (23:30 -0800)
committerGabriel Dunne <gdunne@quilime.com>
Wed, 21 Dec 2011 07:30:07 +0000 (23:30 -0800)
get.php
head.html
style.css

diff --git a/get.php b/get.php
index 0eb9941205f6497acf00b978755ce565c7cdfd4a..057b13c877c16934c3adb1a587dc63a1bb402118 100644 (file)
--- a/get.php
+++ b/get.php
@@ -152,14 +152,18 @@ function deleteClump( id, elem ) {
 
 
         <span class="meta">
-            <span title="<?php echo date('r', strtotime($row['date'])); ?>"><?php echo approximate_time(date('U') - strtotime($row['date'])) ?> ago</a> by 
-            <a class="uname" href="/<?php echo $row['user'] ?>"><?php echo $row['user'] ?></a>
-        </span>        
+
+            <span title="<?php echo date('r', strtotime($row['date'])); ?>">
+                <?php echo approximate_time(date('U') - strtotime($row['date'])) ?> ago</a> by 
+                <a class="uname" href="/<?php echo $row['user'] ?>"><?php echo $row['user'] ?></a>
+            </span>
 
         <?php if ($user['user'] == $row['user']): ?>
-            <a href="/edit.php?id=<?php echo $row['clump_id'];?>" class="ui edit">&#x2710;</a>
-            <a href="#" title="Delete" onClick="return deleteClump(<?php echo $row['clump_id']; ?>, this.parentNode.parentNode);" class="ui delete">&times;</a>
-        <?php endif; ?>              
+            <a href="/edit.php?id=<?php echo $row['clump_id'];?>" class="ui edit">edit</a>
+            <a href="#" title="Delete" onClick="return deleteClump(<?php echo $row['clump_id']; ?>, this.parentNode.parentNode);" class="ui delete">delete</a>
+        <?php endif; ?>
+
+        </span>
 
     </li>
 
index 557f7f1b9efd42d413e3a321a89cf7a47bde0c45..dbdfa1e042d888bcaa6909e36620f6c84040dd73 100644 (file)
--- a/head.html
+++ b/head.html
@@ -2,3 +2,5 @@
 <script src="/jquery-1.3.2.min.js" language="javascript"></script>
 <link href="/style.css" rel="styleSheet" type="text/css" media="screen" />
 <link rel="shortcut icon" type="image/x-icon"  href="/favicon.ico" /> 
+
+<link rel="alternate" type="application/rss+xml" title="RSS" href="http://<?php echo BASE_URL; ?><?php echo $_SERVER['REQUEST_URI'] ?>/.xml"> 
index 6e2229c5185ac9e7516a966f38b52bfc1d0ab554..ed745b3a37cb1b69f40e433c9fc55e56486e37b6 100644 (file)
--- a/style.css
+++ b/style.css
@@ -81,15 +81,19 @@ ul.links li .tags {
 
 
 .ui {
-    color:#99f;
-    text-decoration:none;
+    color:#444 !important;
+    background:#e4e4e4;
+    display:inline-block;
+    font-style:normal;
+    font-size:11px;
+    line-height:1.3em;
+    padding:0.1em 0.5em 0.03em 0.5em;
 }
 .ui:hover {
-    text-decoration: none;
+    color:#333;
+    background:#eee;
 }
 .ui.delete {
-    font-weight:bold;
-    color:#f9e;
 }
 .ui.edit {
 }