A visually pleasing teacher page with currently not working modals, despite apparently correct code that was directly copied from the materialize.css examples.

This commit is contained in:
jcreek
2015-11-07 18:11:27 +00:00
parent d8ffe76357
commit 3739e56753
8 changed files with 443 additions and 44 deletions
+19
View File
@@ -5,3 +5,22 @@ Ractive.components.parent = Ractive.extend({
Ractive.components.teacher = Ractive.extend({
template:'#teacher'
});
// $(document).ready(function(){
// // the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered
// $('.modal-trigger').leanModal({
// dismissible: false, // Modal can be dismissed by clicking outside of the modal
// opacity: .5, // Opacity of modal background
// in_duration: 300, // Transition in duration
// out_duration: 200, // Transition out duration
// ready: function() { alert('Ready'); }, // Callback for Modal open
// complete: function() { alert('Closed'); } // Callback for Modal close
// }
// );
// });
$(document).ready(function(){
// the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered
$('.modal-trigger').leanModal();
});