update home

pull/3063/head
Alex Aragón 7 years ago
parent e7dc0d3c8d
commit 97cfba058d
  1. 24
      app/Resources/public/css/themes/rainbow/default.css
  2. 3
      main/template/rainbow/layout/footer.tpl
  3. 55
      main/template/rainbow/layout/layout_2_col.tpl
  4. 3
      main/template/rainbow/layout/page_footer.tpl

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

@ -19,9 +19,6 @@
<a href="http://www.cavilam.com" target="_blank">
<img src="{{ _p.web_css_theme }}images/logo_cavilam.png"/>
</a>
<a href="http://www.dw.com" target="_blank">
<img src="{{ _p.web_css_theme }}images/logo-dw.png"/>
</a>
<a href="https://www.cdc.de/" target="_blank">
<img src="{{ _p.web_css_theme }}images/carlduisberg.png"/>
</a>

@ -46,11 +46,7 @@
{% endif %}
{% endblock %}
{% if announcements_block %}
<article id="homepage-announcements">
{{ announcements_block }}
</article>
{% endif %}
{% if course_category_block %}
<article id="homepage-course-category">
@ -175,45 +171,26 @@
{% if section_name == 'section-mycampus' %}
<div id="latest_blocks"></div>
<!-- block statistics -->
<div class="statistics">
<div class="row">
<div class="col-xs-4 col-md-4">
<ul class="items">
<li><i class="fa fa-user fa-4x icon-color" aria-hidden="true"></i></li>
<li>
<h2 class="number">{{ total_users }}</h2>
<p class="text">{{ "RegisteredUsers"|get_lang }}</p>
</li>
</ul>
</div>
<div class="col-xs-4 col-md-4">
<ul class="items">
<li><i class="fa fa-book fa-4x icon-color" aria-hidden="true"></i></li>
<li>
<h2 class="number">{{ total_courses }}</h2>
<p class="text">{{ "OpenCourses"|get_lang }}</p>
</li>
</ul>
</div>
<div class="col-xs-4 col-md-4">
<ul class="items">
<li><i class="fa fa-signal fa-4x icon-color" aria-hidden="true"></i></li>
<li>
<h2 class="number">{{ total_exercises }}</h2>
<p class="text">{{ "Exercises"|get_lang }}</p>
</li>
</ul>
</div>
</div>
</div>
<!-- end block statistics -->
{% if announcements_block %}
<article id="homepage-announcements">
{{ announcements_block }}
</article>
{% endif %}
<!-- HOT COURSE -->
{% include 'layout/hot_courses.tpl'|get_template %}
<!-- END HOT COURSE -->
<!-- MESSAGE -->
<section id="demo-home">
<h3>{{ 'Curieuse/curieux ? Essaye la démo' | get_lang }} </h3>
<div class="demostration">
<a href="{{ _p.web }}web/page-de-dmo-francais" class="btn btn-primary btn-demo">
{{ 'demo' | get_lang }}
</a>
</div>
</section>
<!-- CMS -->
{#{% include template ~ "/layout/cms.tpl" %}#}

@ -14,9 +14,6 @@
<a href="http://www.cavilam.com" target="_blank">
<img src="{{ _p.web_css_theme }}images/logo_cavilam.png"/>
</a>
<a href="http://www.dw.com" target="_blank">
<img src="{{ _p.web_css_theme }}images/logo-dw.png"/>
</a>
<a href="https://www.cdc.de/" target="_blank">
<img src="{{ _p.web_css_theme }}images/carlduisberg.png"/>
</a>

Loading…
Cancel
Save