mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
Edit Material Design Dashboard
This commit is contained in:
@@ -64,7 +64,11 @@
|
||||
},
|
||||
events: '/api/schedule/events',
|
||||
eventClick: function(info) {
|
||||
alert('Event: ' + info.event.title);
|
||||
console.log(info.event.id)
|
||||
$.get( "/api/schedule/events/"+info.event.id+"/modal", function( data ) {
|
||||
$( "#schedulemodal" ).html( data );
|
||||
});
|
||||
$('#schedulemodal').modal('toggle')
|
||||
}
|
||||
});
|
||||
|
||||
@@ -72,6 +76,25 @@
|
||||
});
|
||||
|
||||
</script>
|
||||
<div class="modal fade" id="schedulemodal" tabindex="-1" role="dialog" aria-labelledby="schedulemodal" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="exampleModalLabel">Modal title</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
...
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
||||
<button type="button" class="btn btn-primary">Save changes</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user