summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-21 03:01:49 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-21 03:01:49 +0000
commit9312be91380282904521d9cef2f63e437c38c8a2 (patch)
treec0279caef39a112d846e16bb42d6b1351fd90b64
parenta87232e123682cf49ed86a1d431a922b951286c9 (diff)
Adding highlighting for tr.active rows in tables. For example, used to show which line is being edited out of several.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2293 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r--UI/Contact/contact.html14
-rw-r--r--css/ledgersmb.css4
2 files changed, 11 insertions, 7 deletions
diff --git a/UI/Contact/contact.html b/UI/Contact/contact.html
index bf58c51e..e1b92cb0 100644
--- a/UI/Contact/contact.html
+++ b/UI/Contact/contact.html
@@ -740,13 +740,6 @@ problems with multi-word single-quoted constructs in PI tags. -CT -->
</div>
<div id="notes_div">
<div class="listtop"><?lsmb text('Notes') ?></div>
-<?lsmb FOREACH n = notes ?>
-<div class="note">
-<div class="timestamp"><?lsmb text('Entered at: [_1]', n.created) ?></div>
-<div class="author"><?lsmb text("Author: [_1]", n.created_by) ?></div>
-<div class="note_contents"><?lsmb n.note ?></div>
-</div>
-<?lsmb END ?>
<form action="<?lsmb script ?>" method="post">
<?lsmb PROCESS input element_data = {
type="hidden"
@@ -782,6 +775,13 @@ problems with multi-word single-quoted constructs in PI tags. -CT -->
} ?>
</form>
+<?lsmb FOREACH n = notes ?>
+<div class="note">
+<div class="timestamp"><?lsmb text('Entered at: [_1]', n.created) ?></div>
+<div class="author"><?lsmb text("Author: [_1]", n.created_by) ?></div>
+<div class="note_contents"><?lsmb n.note ?></div>
+</div>
+<?lsmb END ?>
</div>
<?lsmb END ?>
</body>
diff --git a/css/ledgersmb.css b/css/ledgersmb.css
index 652e5a12..573c590e 100644
--- a/css/ledgersmb.css
+++ b/css/ledgersmb.css
@@ -207,6 +207,10 @@ div.note:hover {
overflow: auto;
}
+tr.active {
+ background-color: #ddd;
+}
+
/* media stuff */
@media screen {