add course url to partial form and start moving thankyou text
authorSeth Woodworth <seth@sethish.com>
Mon, 25 Mar 2013 17:08:33 +0000 (13:08 -0400)
committerSeth Woodworth <seth@sethish.com>
Mon, 25 Mar 2013 17:08:33 +0000 (13:08 -0400)
karmaworld/templates/courses/course_detail.html
karmaworld/templates/partial/add_course.html

index f0e18ebca034176be777fa6eb8661c4bf952128d..4ac79d76b666ca23de6dfc7cbcd646d1f2d05a4f 100644 (file)
 
       {% include 'partial/add_note.html' %}
 
+      {% if request.GET.thankyou == '' %}
+      <div class="row">
+        <div class="ten columns offset-by-one">
+          <div id="thankyou">
+            <p>
+              Thank you for uploading
+              <a href="{{ request.GET.url }}">{{ request.GET.name }}</a>
+              Share another or take a
+              <a href="https://docs.google.com/a/finalsclub.org/spreadsheet/viewform?usp=sharing&formkey=dFg1WnI2cUVfckZyYnJpZ0ExQmUxSnc6MQ#gid=0" target="_blank">quick survey</a> to help us make KarmaNotes even better.
+            </p>
+            <script>
+            // when showing the thankyou button, flash it orangered first
+            $(function() {
+              $("#thankyou").effect("highlight", {'color': '#f05a28'}, 3000);
+            });
+            </script>
+
+          </div><!-- /thankyou -->
+        </div>
+      </div> <!-- .row -->
+      {% endif %}
+
       <div class="row">
         <div class="three columns centered">
           <div id="add-note-btn" data-id="{{ course.id }}">
 
     </div><!-- /course_header -->
 
-    {% if request.GET.thankyou == '' %}
-    <div class="row">
-      <div class="ten columns offset-by-one">
-        <div id="thankyou">
-          <p>
-            Thank you for uploading
-            <a href="{{ request.GET.url }}">{{ request.GET.name }}</a>
-            Share another or take a
-            <a href="https://docs.google.com/a/finalsclub.org/spreadsheet/viewform?usp=sharing&formkey=dFg1WnI2cUVfckZyYnJpZ0ExQmUxSnc6MQ#gid=0" target="_blank">quick survey</a> to help us make KarmaNotes even better.
-          </p>
-          <script>
-          // when showing the thankyou button, flash it orangered first
-          $(function() {
-            $("#thankyou").effect("highlight", {'color': '#f05a28'}, 3000);
-          });
-          </script>
-
-        </div><!-- /thankyou -->
-      </div>
-    </div> <!-- .row -->
-    {% endif %}
 
     <div id="course_container">
       <div class="row">
index edfcb979054255fda1bd5e8d6991dc719c254a6f..7a6f5c329ba623f57dc7dec5f446e7870c0f4d39 100644 (file)
@@ -23,7 +23,7 @@
 
     <div class="row">
       <div class="ten columns offset-by-one end">
-        <legend> Title of Course: </legend>
+        <legend>Course Name: </legend>
         <input id="id_name" class="" type="text" name="name" maxlength="255" />
       </div>
     </div> <!-- .row -->
       </div><!--  -->
     </div> <!-- .row .lightbox_row -->
 
+    <div class="row">
+      <div class="ten columns offset-by-one end">
+        <legend>Course url:</legend>
+        <input id="id_url" class="" type="text" name="url" maxlength="255" />
+      </div>
+    </div> <!-- .row -->
+
     <div class="row">
       <div class="three columns centered">
         <button id="save-btn">