From 8c757e1ec5c8038412f205d19c8a1e2095c5d997 Mon Sep 17 00:00:00 2001 From: kylefiedler Date: Tue, 3 Jan 2012 16:48:12 -0500 Subject: [PATCH 01/10] Started to refactor html --HG-- branch : kf-refactor --- accordion.html | 51 ++++++++++++++++++---------------- activation_complete.html | 4 +-- courseware.html | 55 ++++++++++++++++++------------------- info.html | 1 + main.html | 59 ++++++++++++++++++++-------------------- using.html | 20 ++++++++------ 6 files changed, 98 insertions(+), 92 deletions(-) diff --git a/accordion.html b/accordion.html index 857fa15f52..9c1a72533a 100644 --- a/accordion.html +++ b/accordion.html @@ -1,27 +1,32 @@ <%def name="make_chapter(chapter)"> -

${chapter['name']}

-
- -
- +

${chapter['name']}

+ + + % for chapter in toc: ${make_chapter(chapter)} diff --git a/activation_complete.html b/activation_complete.html index 2fba0f56ca..ae5781b9c6 100644 --- a/activation_complete.html +++ b/activation_complete.html @@ -1,3 +1,3 @@ -

Activation Complete

+

Activation Complete

-

Now go log in and try the course! +

Now go log in and try the course! diff --git a/courseware.html b/courseware.html index 780ba4065e..04bf2c8907 100644 --- a/courseware.html +++ b/courseware.html @@ -21,35 +21,34 @@ $('#hide_acc').click(function() { }); -

- Textbook - - Courseware - -Discussion - -Wiki - -Profile - -Help -Log out -
- +
+ Textbook + + Courseware + + Discussion + + Wiki + + Profile + + Help + Log out +
- - - -
-
- ${accordion} -
-
-
- ${content} -
-
- + + + + +
+
+ ${accordion} +
+
+
+ ${content} +
+
diff --git a/info.html b/info.html index af89db648d..ae45e6c736 100644 --- a/info.html +++ b/info.html @@ -2,6 +2,7 @@
+