|
|
|
|
90
|
|
90
|
|
91
|
@section('included-js')
|
91
|
@section('included-js')
|
92
|
|
92
|
|
|
|
93
|
+ <!-- New Activity Modal -->
|
|
|
94
|
+ <div class="modal fade" id="newActivityModal" tabindex="-1" role="dialog" aria-labelledby="newActivityModalLabel" aria-hidden="true">
|
|
|
95
|
+ <div class="modal-dialog modal-sm">
|
|
|
96
|
+ <div class="modal-content">
|
|
|
97
|
+ <div class="modal-header">
|
|
|
98
|
+ <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
|
|
|
99
|
+ <h4 class="modal-title" id="newActivityModalLabel">New Activity</h4>
|
|
|
100
|
+ </div>
|
|
|
101
|
+ <div class="modal-body">
|
|
|
102
|
+ {{ Form::open(array('action' => array('ActivitiesController@create', $course->id))) }}
|
|
|
103
|
+ <div class="form-group">
|
|
|
104
|
+ {{ Form::label('name', 'Name') }}
|
|
|
105
|
+ {{ Form::text('name', Input::old('name'), array('class' => 'form-control')) }}
|
|
|
106
|
+ </div>
|
|
|
107
|
+ <div class="form-group">
|
|
|
108
|
+ {{ Form::label('description', 'Description') }}
|
|
|
109
|
+ {{ Form::textarea('description', Input::old('description'), array('class' => 'form-control', 'rows'=> 5, 'placeholder'=>'Minimum 10 characters')) }}
|
|
|
110
|
+ </div>
|
|
|
111
|
+ <div class="btn-group" role="group">
|
|
|
112
|
+ <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
|
113
|
+ <button type="submit" class="btn btn-default btn-primary">Submit</button>
|
|
|
114
|
+ </div>
|
|
|
115
|
+ {{ Form::close() }}
|
|
|
116
|
+ </div>
|
|
|
117
|
+ </div>
|
|
|
118
|
+ </div>
|
|
|
119
|
+ </div>
|
93
|
<!-- HighCharts -->
|
120
|
<!-- HighCharts -->
|
94
|
<script src="{{ asset('vendor/highcharts/highcharts.js') }}"></script>
|
121
|
<script src="{{ asset('vendor/highcharts/highcharts.js') }}"></script>
|
95
|
<!--script src="http://code.highcharts.com/modules/exporting.js"></script -->
|
122
|
<!--script src="http://code.highcharts.com/modules/exporting.js"></script -->
|