summaryrefslogtreecommitdiff
path: root/static/website
diff options
context:
space:
mode:
Diffstat (limited to 'static/website')
-rw-r--r--static/website/css/main.css26
-rw-r--r--static/website/templates/base.html12
-rw-r--r--static/website/templates/user-questions.html2
-rw-r--r--static/website/templates/user-replies.html2
4 files changed, 25 insertions, 17 deletions
diff --git a/static/website/css/main.css b/static/website/css/main.css
index 543de18..4280d57 100644
--- a/static/website/css/main.css
+++ b/static/website/css/main.css
@@ -1,4 +1,7 @@
/* override bootstrap */
+.container>.navbar-header {
+ height: 45px;
+}
.navbar>.container .navbar-brand {
margin-left: 0;
}
@@ -26,6 +29,10 @@ body {
#header-inner {
}
+#logo {
+ width: 25px;
+ margin-top: -3px;
+}
#content-wrapper {
position: relative;
max-width: 970px;
@@ -134,10 +141,14 @@ body {
max-width: 970px;
margin:0 auto;
background-color: #2d2d2d;
- min-height: 60px;
+ color: #ffffff;
}
#footer-inner {
-
+ padding-top: 10px;
+ padding-bottom: 10px;
+}
+#footer-inner a{
+ color: #ffffff;
}
.field_error {
border: 1px solid red;
@@ -168,14 +179,3 @@ body {
right: 5px;
bottom: 5px;
}
-#search-bar {
- display: none;
- min-height: 50px;
- padding-top: 15px;
- padding-bottom: 15px;
- background: #ffffff;
- border-bottom: 2px solid #f5f5f5;
- width: 970px;
- margin: 0 auto;
-}
-
diff --git a/static/website/templates/base.html b/static/website/templates/base.html
index dccb556..49c5f18 100644
--- a/static/website/templates/base.html
+++ b/static/website/templates/base.html
@@ -20,6 +20,7 @@
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{% url 'website:home' %}">
+ <img id="logo" src="http://spoken-tutorial.org/sites/all/themes/spoken/images/logo.png">
Spoken Tutorial Forums
</a>
</div> <!-- /.navbar-header -->
@@ -85,11 +86,18 @@
</div> <!-- /#content-inner -->
</div> <!-- /#content-wrapper -->
- <div id="footer-wrapper">
- <div id="footer-inner" class="container">
+ <div id="footer-wrapper" class="container">
+ <div id="footer-inner" class="col-lg-12 col-md-12 col-sm-12">
<div class="pull-left">
+ <!--[if lte IE 8]><span style="filter: FlipH; -ms-filter: "FlipH"; display: inline-block;"><![endif]-->
+ <span style="-moz-transform: scaleX(-1); -o-transform: scaleX(-1); -webkit-transform: scaleX(-1); transform: scaleX(-1); display: inline-block;">
+ <a href="http://www.gnu.org/copyleft/" target="_blank">&copy;</a>
+ </span>
+ <!--[if lte IE 8]></span><![endif]-->
+ 2013 <a href="http://spoken-tutorial.org" target="_blank">spoken-tutorial.org</a>
</div>
<div class="pull-right">
+ Developed at IIT Bombay
</div>
</div> <!-- /#footer-inner -->
</div> <!-- /#footer-wrapper -->
diff --git a/static/website/templates/user-questions.html b/static/website/templates/user-questions.html
index e3d2ab6..69b3b4b 100644
--- a/static/website/templates/user-questions.html
+++ b/static/website/templates/user-questions.html
@@ -5,7 +5,7 @@
{% for question in questions %}
<div class="my-question">
<span class="title">
- {{ question.title }}
+ <a href="{% url 'website:get_question' question.id %}">{{ question.title }}</a>
</span>
<br>
<span class="date">
diff --git a/static/website/templates/user-replies.html b/static/website/templates/user-replies.html
index c31b854..8be85fa 100644
--- a/static/website/templates/user-replies.html
+++ b/static/website/templates/user-replies.html
@@ -5,7 +5,7 @@
{% for reply in replies%}
<div class="my-reply">
<span class="body">
- {{ reply.body|safe }}
+ <a href="{% url 'website:get_question' reply.question.id %}#reply{{ reply.id }}">{{ reply.body|safe }}</a>
</span>
<br>
<span class="date">