Merge branch 'master' of /home/git/git/icp

This commit is contained in:
root 2018-05-07 02:00:01 +00:00
commit 902a364185
4 changed files with 13 additions and 9 deletions

View File

@ -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

View File

@ -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;">&nbsp;</div> <div id="element" style="background-color:#d61926;">&nbsp;</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>

View File

@ -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.

View File

@ -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.