diff options
Diffstat (limited to 'view/theme/loozah')
-rw-r--r-- | view/theme/loozah/jot.tpl | 7 | ||||
-rw-r--r-- | view/theme/loozah/search_item.tpl | 2 | ||||
-rw-r--r-- | view/theme/loozah/style.css | 10 |
3 files changed, 18 insertions, 1 deletions
diff --git a/view/theme/loozah/jot.tpl b/view/theme/loozah/jot.tpl index 78cbecea8..9bda1868e 100644 --- a/view/theme/loozah/jot.tpl +++ b/view/theme/loozah/jot.tpl @@ -13,6 +13,7 @@ <input type="hidden" name="location" id="jot-location" value="$defloc" /> <input type="hidden" name="coord" id="jot-coord" value="" /> <input type="hidden" name="title" id="jot-title" value="" /> + <input type="hidden" name="preview" id="jot-preview" value="0" /> <input type="hidden" name="post_id" value="$post_id" /> <img id="profile-jot-text-loading" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" /> @@ -58,7 +59,13 @@ <div id="profile-jot-perms" class="profile-jot-perms" style="display: $pvisit;" > <a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon $lockstate" title="$permset" ></a>$bang </div> + + <span onclick="preview_post();" id="jot-preview-link" class="fakelink">$preview</span> + + <div id="profile-jot-perms-end"></div> + + <div id="jot-preview-content" style="display:none;"></div> <div style="display: none;"> <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;"> diff --git a/view/theme/loozah/search_item.tpl b/view/theme/loozah/search_item.tpl index 17dc6233c..5db19b4f8 100644 --- a/view/theme/loozah/search_item.tpl +++ b/view/theme/loozah/search_item.tpl @@ -1,4 +1,4 @@ -<div class="wall-item-outside-wrapper$indent" id="wall-item-outside-wrapper-$id" > +<div class="wall-item-outside-wrapper$indent$previewing" id="wall-item-outside-wrapper-$id" > <div class="wall-item-content-wrapper$indent" id="wall-item-content-wrapper-$id" > <div class="wall-item-info" id="wall-item-info-$id"> <div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-$id" diff --git a/view/theme/loozah/style.css b/view/theme/loozah/style.css index 54f4f24f2..73c8639b1 100644 --- a/view/theme/loozah/style.css +++ b/view/theme/loozah/style.css @@ -1216,6 +1216,16 @@ padding: 5px 10px 0px; font-size: 1.2em; } +#jot-preview-link { + margin-left: 45px; +} + +.preview { + background: #FFFFC8; +} + + + #profile-jot-perms-end { clear: both; } |