commit 6d19fe49d66c623ed50260bf79b60e230780e343
parent 399d1699941a698db30ed02e645c78722dfb3248
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Wed, 12 Aug 2015 21:29:39 +0200
add checkbox which isn't currently working
Diffstat:
3 files changed, 25 insertions(+), 15 deletions(-)
diff --git a/js/init.js b/js/init.js
@@ -1,11 +1,10 @@
(function($){
- $(function(){
+ $(function(){
- $('.button-collapse').sideNav();
+ // Plugin initialization
+ $('.button-collapse').sideNav();
+ $('select').material_select();
+ //$('select').not('.disabled').material_select();
- }); // end of document ready
-
- $(document).ready(function() {
- $('select').material_select();
- });
+ }); // end of document ready
})(jQuery); // end of jQuery name space
diff --git a/pages/front.html b/pages/front.html
@@ -44,7 +44,6 @@
</div>
<div class="section">
- asdf
</div>
diff --git a/pages/history.html b/pages/history.html
@@ -137,16 +137,28 @@
</div>
<div class="row">
- <b>Please fill out the following Captcha challenge</b><br>
- asdf
+ <b>To verify that this is not an automated request, please
+ select the relevant meaning of the acronym TCN</b><br>
+ <div class="input-field col s12">
+ <select>
+ <option value="" disabled selected>Choose an option</option>
+ <option value="1">The Comedy Network</option>
+ <option value="2">The Cronicles of Narnia</option>
+ <option value="3">Terrestrial Cosmogenic Nuclides</option>
+ </select>
+ <label>Acronym meaning</label>
+ </div>
</div>
- <div class="right">
- <button class="btn waves-effect waves-light"
- type="submit" name="action">Submit
- <i class="material-icons right">send</i>
- </button>
+ <div class="row">
+ <div class="right">
+ <button class="btn waves-effect waves-light"
+ type="submit" name="action">Submit
+ <i class="material-icons right">send</i>
+ </button>
+ </div>
</div>
+
</form>
</div>