'aaSorting': [[1,'desc']]
});
- // wire up search box
- $('input.search-notes').keyup(function() {
- dataTable.fnFilter($(this).val());
- });
-
// wire up sort chooser
$('select.course-sort').change(function() {
dataTable.fnSort([[$(this).val(), 'desc']]);
{{ file_upload_form.fp_file }}
</div>
<div class="small-12 large-6 columns">
- <form class="search-notes adelle-sans" action="{% url 'note_search' %}" method="GET">
+ <form class="search-notes" action="{% url 'note_search' %}" method="GET">
<input name="query" class="search-notes" type="text" placeholder="Search Notes" />
- <input type="hidden" name="course_id" value="{{ course.id }}">
- <button type="submit" class="inline-button">Search</button>
+ <input type="hidden" name="course_id" value="{{ course.id }}" />
+ <button type="submit" class="inline-button"><i class="fa fa-search"></i></button>
</form>
</div>
<div class="large-4 columns show-for-large-up">
</div>
<div class="row">
<div class="small-12 columns">
- <button id="intro-video-button">Watch the video <i class='fa fa-caret-right'></i></button>
+ <a href="{% url 'about' %}">
+ <button id="intro-video-button">Watch the video <i class='fa fa-caret-right'></i></button>
+ </a>
</div>
</div>
</div>