aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-12 16:43:59 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-12 16:43:59 -0700
commite0e2a032cfd5769f486b4b2abe58a54144b509c0 (patch)
tree27ba338ff9e3c70ac99dc0ee5f86a212b8376a9c /view
parentb0f8cd5fe684d5c03419838c2859a11ea6d6f8a0 (diff)
downloadvolse-hubzilla-e0e2a032cfd5769f486b4b2abe58a54144b509c0.tar.gz
volse-hubzilla-e0e2a032cfd5769f486b4b2abe58a54144b509c0.tar.bz2
volse-hubzilla-e0e2a032cfd5769f486b4b2abe58a54144b509c0.zip
mongo commit
Diffstat (limited to 'view')
-rw-r--r--view/comment_item.tpl10
-rw-r--r--view/head.tpl1
-rw-r--r--view/style.css18
-rw-r--r--view/wall_item.tpl5
4 files changed, 24 insertions, 10 deletions
diff --git a/view/comment_item.tpl b/view/comment_item.tpl
index f617bc1a0..d6dcd8e4a 100644
--- a/view/comment_item.tpl
+++ b/view/comment_item.tpl
@@ -1,16 +1,18 @@
-<div class="comment-edit" id="comment-edit-$id" onclick="openClose('comment-edit-wrapper-$id');" >Comments</div>
+
<div class="comment-edit-wrapper" id="comment-edit-wrapper-$id" style="display: block;">
<form class="comment-edit-form" id="comment-edit-form-$id" action="item" method="post" >
<input type="hidden" name="type" value="jot" />
<input type="hidden" name="profile_uid" value="$profile_uid" />
<input type="hidden" name="parent" value="$parent" />
- <textarea rows="2" cols="24" id="comment-edit-text-$id" name="body" onFocus="this.rows=5; this.cols=40; openMenu('comment-edit-submit-$id');" onBlur="this.rows=2; this.cols=24; closeMenu('comment-edit-submit-$id'); this.value='';"></textarea>
+
+ <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);" onBlur="commentClose(this,$id);" >Comment</textarea>
- <div class="comment-edit-submit-wrapper" id="comment-edit-submit-$id" style="display: none;" >
- <input type="submit" id="comment-edit-submit" name="submit" value="Submit" />
+ <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-$id" style="display: none;" >
+ <input type="submit" id="comment-edit-submit-$id" class="comment-edit-submit" name="submit" value="Submit" />
</div>
+
<div id="comment-edit-end"></div>
</form>
</div>
diff --git a/view/head.tpl b/view/head.tpl
index d520e45f0..8ffd63933 100644
--- a/view/head.tpl
+++ b/view/head.tpl
@@ -5,4 +5,5 @@
<!--[if IE]>
<script type="text/javascript" src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
+<script type="text/javascript" src="$baseurl/include/jquery.js" ></script>
<script type="text/javascript" src="$baseurl/include/main.js" ></script>
diff --git a/view/style.css b/view/style.css
index a2089aab2..f54810740 100644
--- a/view/style.css
+++ b/view/style.css
@@ -442,11 +442,9 @@ input#dfrn-url {
border: none;
}
-.comment-edit {
- font-size: 0.8em;
- cursor: pointer;
- color: #3172BD;
+.comment-edit-wrapper {
margin-top: 15px;
+ margin-left: 100px;
}
@@ -756,4 +754,16 @@ input#dfrn-url {
#profile-tabs-end {
clear: both;
+}
+
+.comment-edit-text-empty {
+ color: gray;
+ height: 30px;
+ width: 175px;
+}
+
+.comment-edit-text-full {
+ color: black;
+ height: 150px;
+ width: 350px;
} \ No newline at end of file
diff --git a/view/wall_item.tpl b/view/wall_item.tpl
index e483d74db..3babc8ead 100644
--- a/view/wall_item.tpl
+++ b/view/wall_item.tpl
@@ -8,10 +8,11 @@
<span class="wall-item-body" id="wall-item-body-$id" >$body</span>
<div class="wall-item-ago" id="wall-item-ago-$id">$ago</div>
-<div class="wall-item-comment-separator"></div>
-$comment
</div>
<div class="wall-item-wrapper-end"></div>
+<div class="wall-item-comment-separator"></div>
+$comment
</div>
+
<div class="wall-item-$indentoutside-wrapper-end" ></div>