Skip to content

Commit

Permalink
typo in flickr files names
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreDoneux committed Jan 19, 2024
1 parent 531c1e6 commit b25bb75
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
17 changes: 15 additions & 2 deletions inginious/frontend/templates/course_admin/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,10 @@ <h2>{{_("Course settings")}}</h2>
<div class="input-group-append" data-target="#accessible_start_picker" data-toggle="datetimepicker">
<div class="input-group-text"><i class="fa fa-calendar"></i></div>
</div>

<b>hey</b>
</div>
<input type="text" id="datetimePicker" placeholder="Select date and time">
</div>
</div>

</div>
<div class="col-xs-2 col-lg-2"><label class="control-label">{{ _("To") }}</label></div>
Expand All @@ -194,6 +195,18 @@ <h2>{{_("Course settings")}}</h2>
$('#accessible_end_picker').datetimepicker({locale: '{{user_manager.session_language()}}', timeZone: '{{user_manager.session_timezone()}}',
defaultDate: end_date, sideBySide: true, format:'YYYY-MM-DD HH:mm:ss'});

flatpickr("#datetimePicker", {
enableTime: true,
dateFormat: "Y-m-d H:i",
});

/*
$("#datetimePicker").flatpickr({
enableTime: true,
dateFormat: "Y-m-d H:i",
});
*/

});
</script>
</div>
Expand Down
1 change: 1 addition & 0 deletions inginious/frontend/templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
<script src="{{get_homepath(True)}}/static/js/libs/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
{% endif %}
<script src="{{get_homepath(True)}}/static/js/libs/bootstrap-datetimepicker.min.js" type="text/javascript" charset="utf-8"></script>
<script src="{{get_homepath(True)}}/static/js/libs/.min.js" type="text/javascript" charset="utf-8"></script>
<script src='{{get_homepath(True)}}/static/js/libs/Sortable.min.js' type="text/javascript" charset="utf-8"></script>
<script src="{{get_homepath(True)}}/static/js/libs/jquery.twbsPagination.min.js" type="text/javascript" charset="utf-8"></script>
<script src="{{get_homepath(True)}}/static/js/libs/selectize.min.js" type="text/javascript" charset="utf-8"></script>
Expand Down

0 comments on commit b25bb75

Please sign in to comment.