From 293af4fcc716fba56f26f3490443b6ba3ff2c440 Mon Sep 17 00:00:00 2001 From: Sanmugasundaram K Date: Thu, 8 Jan 2015 12:32:18 +0530 Subject: all tables linked with new website --- static/website/css/main.css | 8 ++++++++ static/website/images/Advanced-C++.jpg | Bin 1855 -> 0 bytes static/website/images/Advanced-C++.png | Bin 3972 -> 0 bytes static/website/images/Advanced-Cpp.jpg | Bin 0 -> 1855 bytes static/website/images/Advanced-Cpp.png | Bin 0 -> 3972 bytes static/website/images/C-and-C++.jpg | Bin 1449 -> 0 bytes static/website/images/C-and-Cpp.jpg | Bin 0 -> 1449 bytes static/website/templates/ajax-duration.html | 4 ++-- static/website/templates/ajax-tutorials.html | 4 ++-- static/website/templates/index.html | 8 +++++++- 10 files changed, 19 insertions(+), 5 deletions(-) delete mode 100644 static/website/images/Advanced-C++.jpg delete mode 100644 static/website/images/Advanced-C++.png create mode 100644 static/website/images/Advanced-Cpp.jpg create mode 100644 static/website/images/Advanced-Cpp.png delete mode 100644 static/website/images/C-and-C++.jpg create mode 100644 static/website/images/C-and-Cpp.jpg (limited to 'static/website') diff --git a/static/website/css/main.css b/static/website/css/main.css index d1e7e52..9e7ed71 100644 --- a/static/website/css/main.css +++ b/static/website/css/main.css @@ -359,3 +359,11 @@ table .title a { background: #FDF5E6; transition: background 2.5s ease; } +.category-title{ + height: 100px; + text-shadow: 1px 1px 1px #000, 3px 3px 5px blue; + line-height: 100px; + text-align: center; + font-size: 22px; + overflow: hidden; +} diff --git a/static/website/images/Advanced-C++.jpg b/static/website/images/Advanced-C++.jpg deleted file mode 100644 index 4550d61..0000000 Binary files a/static/website/images/Advanced-C++.jpg and /dev/null differ diff --git a/static/website/images/Advanced-C++.png b/static/website/images/Advanced-C++.png deleted file mode 100644 index 5f41a18..0000000 Binary files a/static/website/images/Advanced-C++.png and /dev/null differ diff --git a/static/website/images/Advanced-Cpp.jpg b/static/website/images/Advanced-Cpp.jpg new file mode 100644 index 0000000..4550d61 Binary files /dev/null and b/static/website/images/Advanced-Cpp.jpg differ diff --git a/static/website/images/Advanced-Cpp.png b/static/website/images/Advanced-Cpp.png new file mode 100644 index 0000000..5f41a18 Binary files /dev/null and b/static/website/images/Advanced-Cpp.png differ diff --git a/static/website/images/C-and-C++.jpg b/static/website/images/C-and-C++.jpg deleted file mode 100644 index b1e972b..0000000 Binary files a/static/website/images/C-and-C++.jpg and /dev/null differ diff --git a/static/website/images/C-and-Cpp.jpg b/static/website/images/C-and-Cpp.jpg new file mode 100644 index 0000000..b1e972b Binary files /dev/null and b/static/website/images/C-and-Cpp.jpg differ diff --git a/static/website/templates/ajax-duration.html b/static/website/templates/ajax-duration.html index 22fe04f..e02fcff 100644 --- a/static/website/templates/ajax-duration.html +++ b/static/website/templates/ajax-duration.html @@ -1,14 +1,14 @@ {% load count_tags %}
- + {% for i in minutes|inc|get_range %} {% endfor %}
- + {% for i in seconds|get_range:"0,10" %} {% endfor %} diff --git a/static/website/templates/ajax-tutorials.html b/static/website/templates/ajax-tutorials.html index c19fe3c..62192bb 100644 --- a/static/website/templates/ajax-tutorials.html +++ b/static/website/templates/ajax-tutorials.html @@ -1,5 +1,5 @@ - + {% for tutorial in tutorials %} - + {% endfor %} diff --git a/static/website/templates/index.html b/static/website/templates/index.html index 7f4a497..63890fd 100644 --- a/static/website/templates/index.html +++ b/static/website/templates/index.html @@ -10,7 +10,13 @@ {% for category in categories %}
- + {% with file=category|get_category_image %} + {% if file %} + + {% else %} +
{{category}}
+ {% endif %} + {% endwith %}
{{ category }} -- cgit