Some cleanup
This commit is contained in:
parent
d0612f3a67
commit
1375b6ef52
|
@ -1,7 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Priviledged mode for running docker inside docker.
|
# Priviledged mode for running docker inside docker.
|
||||||
docker run -p 8080:80 -h hps -d --rm --privileged -v $PWD/../:/data/ -v /etc/letsencrypt/archive/oer.hps.vi4io.org/:/data/ssl kunkel/oer # -d
|
if [[ $HOSTNAME == "kunkel-ThinkPad-X1-Carbon-5th" ]] ; then
|
||||||
|
docker run -p 8080:80 -h hps -it --rm --privileged -v $PWD/../:/data/ kunkel/oer # -d
|
||||||
|
else # SSL mode
|
||||||
|
docker run -p 8080:80 -h hps -it --rm --privileged -v $PWD/../:/data/ -v /etc/letsencrypt/archive/oer.hps.vi4io.org/:/data/ssl kunkel/oer # -d
|
||||||
|
fi
|
||||||
|
|
||||||
# local mode:
|
# local mode:
|
||||||
# docker run -p 127.0.0.1:8080:80 -h hps -it --rm --privileged -v $PWD/../:/data/ kunkel/oer # -d
|
# docker run -p 127.0.0.1:8080:80 -h hps -it --rm --privileged -v $PWD/../:/data/ kunkel/oer # -d
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
<!-- code editor syntax highligh -->
|
<!-- code editor syntax highligh -->
|
||||||
<link rel="stylesheet" href="{% static 'lib/codemirror' %}/lib/codemirror.css">
|
<link rel="stylesheet" href="{% static 'lib/codemirror' %}/lib/codemirror.css">
|
||||||
<script src="{% static 'lib/codemirror' %}/lib/codemirror.js"></script>
|
<script src="{% static 'lib/codemirror' %}/lib/codemirror.js"></script>
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
<!-- -->
|
<!-- -->
|
||||||
<div id="head-container" style="position: relative; top: -2em;">
|
<div id="head-container" style="position: relative; top: -2em;">
|
||||||
<div id="dummy" style="margin-top: 8px;"></div>
|
<div id="dummy" style="margin-top: 8px;"></div>
|
||||||
<div id="element" style="background-image: url({% static 'frontend/drawing_nocredit.png' %}); background-size: 50% auto; background-repeat: repeat-x;"> </div>
|
<div id="element" style="background-color:#d61926;"> </div>
|
||||||
</div>
|
</div>
|
||||||
<!-- -->
|
<!-- -->
|
||||||
|
|
||||||
|
@ -154,7 +154,7 @@ slide_data: {{ slide_data }}</br>
|
||||||
<input type="submit" class="btn btn-default btn-lg" value="Continue »" id="continue" {% if slide.grading %}disabled{% else %}{% endif %} />
|
<input type="submit" class="btn btn-default btn-lg" value="Continue »" id="continue" {% if slide.grading %}disabled{% else %}{% endif %} />
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
{% if slide.grading %}
|
{% if slide.grading %}
|
||||||
{% block exercise_buttons %}
|
{% block exercise_buttons %}
|
||||||
|
@ -227,19 +227,19 @@ window.data = {
|
||||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
||||||
<script src="{% static 'lib/bootstrap/assets/js/ie10-viewport-bug-workaround.js' %}"></script>
|
<script src="{% static 'lib/bootstrap/assets/js/ie10-viewport-bug-workaround.js' %}"></script>
|
||||||
|
|
||||||
<!-- addition libraries -->
|
<!-- addition libraries -->
|
||||||
<script src="{% static 'lib/json2.js' %}"></script>
|
<script src="{% static 'lib/json2.js' %}"></script>
|
||||||
|
|
||||||
<!-- custom javascript for courseware -->
|
<!-- custom javascript for courseware -->
|
||||||
<script src="{% static 'misc/jquery-django-csrf-fix.js' %}"></script>
|
<script src="{% static 'misc/jquery-django-csrf-fix.js' %}"></script>
|
||||||
<script src="{% static 'courses/offcanvas.js' %}"></script>
|
<script src="{% static 'courses/offcanvas.js' %}"></script>
|
||||||
<script src="{% static 'courses/eventstream.js' %}"></script>
|
<script src="{% static 'courses/eventstream.js' %}"></script>
|
||||||
<script src="{% static 'misc/youtube_api.js' %}"></script>
|
<!-- <script src="{% static 'misc/youtube_api.js' %}"></script> -->
|
||||||
|
|
||||||
{% block exercise_script %}
|
{% block exercise_script %}
|
||||||
<script type="text/javascript" src="{% static 'generated_exercises' %}/{{ slide.slide_type }}/script.js"></script>
|
<script type="text/javascript" src="{% static 'generated_exercises' %}/{{ slide.slide_type }}/script.js"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*! Generated by Live LESS Theme Customizer */
|
/*! Generated by Live LESS Theme Customizer */
|
||||||
|
|
||||||
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic");
|
/*@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic");*/
|
||||||
/*!
|
/*!
|
||||||
* Bootstrap v3.3.5 (https://getbootstrap.com)
|
* Bootstrap v3.3.5 (https://getbootstrap.com)
|
||||||
* Copyright 2011-2015 Twitter, Inc.
|
* Copyright 2011-2015 Twitter, Inc.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*! Generated by Live LESS Theme Customizer */
|
/*! Generated by Live LESS Theme Customizer */
|
||||||
|
|
||||||
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic");
|
/* @import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic"); */
|
||||||
/*!
|
/*!
|
||||||
* Bootstrap v3.3.5 (http://getbootstrap.com)
|
* Bootstrap v3.3.5 (http://getbootstrap.com)
|
||||||
* Copyright 2011-2015 Twitter, Inc.
|
* Copyright 2011-2015 Twitter, Inc.
|
||||||
|
|
Loading…
Reference in New Issue