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
|
||||||
|
|
|
@ -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>
|
||||||
<!-- -->
|
<!-- -->
|
||||||
|
|
||||||
|
@ -234,7 +234,7 @@ window.data = {
|
||||||
<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>
|
||||||
|
|
|
@ -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