diff --git a/app/Resources/public/css/themes/rainbow/default.css b/app/Resources/public/css/themes/rainbow/default.css index 03360a4493..0641b47b84 100755 --- a/app/Resources/public/css/themes/rainbow/default.css +++ b/app/Resources/public/css/themes/rainbow/default.css @@ -102,6 +102,30 @@ hr{ padding-top: 5px; padding-bottom: 5px; } +#demo-home{ + text-align: center; + margin-top: 1rem; + margin-bottom: 1rem; + padding: 1rem 0; +} +#demo-home .btn-demo{ + background-color: #96BD0D; + border-color: #96BD0D; + text-transform: uppercase; + font-weight: bold; + width: 250px; + margin-top: 1.5rem; + padding: 1rem 2rem; + font-size: 1.6rem; +} +#demo-home .btn-demo:hover{ + background-color: #6B1D82; + border-color: #6B1D82; +} +#carousel-announcement { + min-height: auto; + margin-bottom: 3rem; +} .title{ position: static; font-size: 25px; diff --git a/main/template/rainbow/layout/footer.tpl b/main/template/rainbow/layout/footer.tpl index 8e0c18ec9f..55ac8bec74 100755 --- a/main/template/rainbow/layout/footer.tpl +++ b/main/template/rainbow/layout/footer.tpl @@ -19,9 +19,6 @@ - - - diff --git a/main/template/rainbow/layout/layout_2_col.tpl b/main/template/rainbow/layout/layout_2_col.tpl index f158d7231a..cf89b3a684 100755 --- a/main/template/rainbow/layout/layout_2_col.tpl +++ b/main/template/rainbow/layout/layout_2_col.tpl @@ -46,11 +46,7 @@ {% endif %} {% endblock %} - {% if announcements_block %} -
- {{ announcements_block }} -
- {% endif %} + {% if course_category_block %}
@@ -175,45 +171,26 @@ {% if section_name == 'section-mycampus' %}
- - -
-
-
-
    -
  • -
  • -

    {{ total_users }}

    -

    {{ "RegisteredUsers"|get_lang }}

    -
  • -
-
-
-
    -
  • -
  • -

    {{ total_courses }}

    -

    {{ "OpenCourses"|get_lang }}

    -
  • -
-
-
-
    -
  • -
  • -

    {{ total_exercises }}

    -

    {{ "Exercises"|get_lang }}

    -
  • -
-
-
-
- + {% if announcements_block %} +
+ {{ announcements_block }} +
+ {% endif %} {% include 'layout/hot_courses.tpl'|get_template %} + + +
+

{{ 'Curieuse/curieux ? Essaye la démo' | get_lang }}

+ +
{#{% include template ~ "/layout/cms.tpl" %}#} diff --git a/main/template/rainbow/layout/page_footer.tpl b/main/template/rainbow/layout/page_footer.tpl index 60a4c106bb..d9315ec8d7 100644 --- a/main/template/rainbow/layout/page_footer.tpl +++ b/main/template/rainbow/layout/page_footer.tpl @@ -14,9 +14,6 @@ - - -