summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorJayaram Pai2014-04-19 21:13:22 +0530
committerJayaram Pai2014-04-19 21:13:22 +0530
commit4614a1fa876a5ee2b089879a5bc46d1ab0ae7294 (patch)
treece5263df49c4fa4c90a3bcf2f47da350fc72b909 /static
parent7d6be77f4961a0187f6d2646147f513dbc54c2c2 (diff)
downloadFOSSEE-Forum-4614a1fa876a5ee2b089879a5bc46d1ab0ae7294.tar.gz
FOSSEE-Forum-4614a1fa876a5ee2b089879a5bc46d1ab0ae7294.tar.bz2
FOSSEE-Forum-4614a1fa876a5ee2b089879a5bc46d1ab0ae7294.zip
added meta to answers, fixed video_path
Diffstat (limited to 'static')
-rw-r--r--static/website/css/main.css8
-rw-r--r--static/website/templates/get-question.html15
2 files changed, 12 insertions, 11 deletions
diff --git a/static/website/css/main.css b/static/website/css/main.css
index b07b73c..54fbd3f 100644
--- a/static/website/css/main.css
+++ b/static/website/css/main.css
@@ -160,7 +160,7 @@ body {
right: 0px;
bottom: 0px;
}
-#content .reply .meta{
+#content .answer .meta{
position: absolute;
right: 0px;
bottom: 0px;
@@ -226,9 +226,6 @@ table .title a {
.saved {
background: lightgreen;
}
-/* .answer-wrapper { */
-/* padding-left: 0px; */
-/* } */
#content .answer {
position: relative;
border-bottom: 1px solid #f5f5f5;
@@ -239,9 +236,6 @@ table .title a {
#content .answer .body {
}
#content .answer .user {
- position: absolute;
- right: 0px;
- bottom: 0px;
padding: 2px 7px;
background: #f5f5f5;
}
diff --git a/static/website/templates/get-question.html b/static/website/templates/get-question.html
index af9e4a2..b746f00 100644
--- a/static/website/templates/get-question.html
+++ b/static/website/templates/get-question.html
@@ -103,10 +103,17 @@
{{ answer.body|safe }}
</div>
- <span class="user">
- {{ answer.user }}
+ <span class="meta">
+ <small>
+ <i>
+ {{ answer.date_created|date:"d-m-y" }}, {{ answer.date_created|time }}
+ </i>
+ </small>
+
+ <span class="user">
+ {{ answer.user }}
+ </span>
</span>
-
{% if user|can_edit:answer %}
<span class="modify" style="display:block">
<a class="edit btn btn-xs btn-info vs" href="#body{{ answer.id}}" data-target="body{{ answer.id }}">Edit</a>
@@ -127,7 +134,7 @@
<span class="meta">
<small>
<i>
- {{ comment.date_created|date:"d-m-y" }}, {{ question.date_created|time }}
+ {{ comment.date_created|date:"d-m-y" }}, {{ comment.date_created|time }}
</i>
</small>