Commit 94f76633 by Pavel Yushchenko

fixes dependency; fixes footer and navigation bar

parent c5da3da2
...@@ -35,42 +35,23 @@ ...@@ -35,42 +35,23 @@
</li> </li>
</ol> </ol>
</nav> </nav>
<div class="colophon-about">
<img src="${MITX_ROOT_URL}/static/images/header-logo.png" />
<p>${_("{platform_name} is a non-profit created by founding partners {Harvard} and {MIT} whose mission is to bring the best of higher education to students of all ages anywhere in the world, wherever there is Internet access. {platform_name}'s free online MOOCs are interactive and subjects include computer science, public health, and artificial intelligence.").format(platform_name="EdX", Harvard="Harvard", MIT="MIT")}</p>
</div>
</div> </div>
<div class="references"> <div class="references">
<nav class="nav-social"> <nav class="nav-social">
<ul> <ul>
<li class="nav-social-01"> <li class="nav-legal-01">
<a href="http://www.meetup.com/edX-Global-Community/" rel="external"> <a href="http://olimpiada.ru/">Olimpiada.ru</a>
<img src="${MITX_ROOT_URL}/static/images/social/ico-social-meetup.png" alt="edX on Meetup" /> </li>
</a> <li class="nav-legal-02">
</li> <a href="http://fizteh2013.ru/">Олимпиада Физтех-2013</a>
<li class="nav-social-02"> </li>
<a href="http://www.facebook.com/EdxOnline" rel="external"> <li class="nav-legal-03">
<img src="${MITX_ROOT_URL}/static/images/social/ico-social-facebook.png" alt="edX on Facebook" /> <a href="http://lomonosov.msu.ru/">Олимпиада школьников ломоносов</a>
</a> </li>
</li> <li class="nav-legal-04">
<li class="nav-social-03"> <a href="http://info.olimpiada.ru/calendar">Календарь олимпиад</a>
<a href="https://twitter.com/edXOnline" rel="external"> </li>
<img src="${MITX_ROOT_URL}/static/images/social/ico-social-twitter.png" alt="edX on Twitter" />
</a>
</li>
<li class="nav-social-04">
<a href="https://plus.google.com/108235383044095082735/posts" rel="external">
<img src="${MITX_ROOT_URL}/static/images/social/ico-social-google.png" alt="edX on Google+" />
</a>
</li>
<li class="nav-social-05">
<a href="http://youtube.com/user/edxonline" rel="external">
<img src="${MITX_ROOT_URL}/static/images/social/ico-social-youtube.png" alt="edX on YouTube" />
</a>
</li>
</ul> </ul>
</nav> </nav>
...@@ -78,9 +59,6 @@ ...@@ -78,9 +59,6 @@
<nav class="nav-legal"> <nav class="nav-legal">
<ul> <ul>
<li class="nav-legal-01">
<a href="${marketing_link('TOS')}">${_("Terms of Service and Honor Code")}</a>
</li>
<li class="nav-legal-02"> <li class="nav-legal-02">
<a href="${marketing_link('PRIVACY')}">${_("Privacy Policy")}</a> <a href="${marketing_link('PRIVACY')}">${_("Privacy Policy")}</a>
</li> </li>
......
...@@ -47,6 +47,17 @@ site_status_msg = get_site_status_msg(course_id) ...@@ -47,6 +47,17 @@ site_status_msg = get_site_status_msg(course_id)
<img src="${static.url(branding.get_logo_url(request.META.get('HTTP_HOST')))}" alt="${_('{settings.PLATFORM_NAME} home')}" /> <img src="${static.url(branding.get_logo_url(request.META.get('HTTP_HOST')))}" alt="${_('{settings.PLATFORM_NAME} home')}" />
</%block> </%block>
</a> </a>
<span style="
display: inline-block;
/* margin-top: 20px; */
margin-left: 130px;
/* float: left; */
font-size: initial;
/* font-weight: 800; */
white-space: nowrap;
">Департамент образования города Москвы<br>
центр педагогического мастерства<br>
курсы повышения квалификации учителей</span>
</h1> </h1>
% if course: % if course:
......
...@@ -35,17 +35,18 @@ html, body { ...@@ -35,17 +35,18 @@ html, body {
} }
.wrapper { .wrapper {
min-height: 100%; min-height: 100%;
margin-bottom: -100px; margin-bottom: -85px;
} }
.wrapper:after { .wrapper:after {
content: ""; content: "";
display: block; display: block;
} }
.footer-short, .wrapper:after { .footer-short, .wrapper:after {
height:100px; height:85px;
} }
.footer-short { .footer-short {
border-top: 1px solid #c4c5c7; border-top: 1px solid #c4c5c7;
padding: 0;
} }
footer .colophon .nav-colophon li a { footer .colophon .nav-colophon li a {
...@@ -65,10 +66,7 @@ footer a:hover { ...@@ -65,10 +66,7 @@ footer a:hover {
} }
footer .references .copyright { footer .references .copyright {
margin: -2px 0 8px 0; margin: 0;
font-size: 0.6875em;
color: #c4c5c7;
text-align: right;
} }
footer .colophon { footer .colophon {
...@@ -139,9 +137,9 @@ float: right; ...@@ -139,9 +137,9 @@ float: right;
</div> </div>
</div> </div>
</div> </div>
<div class="wrapper footer-wrapper fpoter-short"> <div class="wrapper-footer footer-short">
<footer class="footer-short"> <footer>
<div class="colophon"> <div class="colophon" style="padding-top: 10px;">
<nav class="nav-colophon"> <nav class="nav-colophon">
<ol> <ol>
<li class="nav-colophon-01"> <li class="nav-colophon-01">
...@@ -153,7 +151,7 @@ float: right; ...@@ -153,7 +151,7 @@ float: right;
<a id="faq" href="/help"> <a id="faq" href="/help">
FAQ, ЧаВо FAQ, ЧаВо
</a> </a>
</li>--> </li>
<li class="nav-colophon-05"> <li class="nav-colophon-05">
<a id="contact" href="/contact"> <a id="contact" href="/contact">
Контакты Контакты
...@@ -162,9 +160,9 @@ float: right; ...@@ -162,9 +160,9 @@ float: right;
</ol> </ol>
</nav> </nav>
</div> </div>
<div class="references"> <div class="references" style="margin: 10px 0 0 0;">
<span>Полезные ссылки</span> <span style="text-align: right;display: block;">Полезные ссылки</span>
<nav class="nav-legal"> <nav class="nav-legal">
<ul> <ul>
<li class="nav-legal-01"> <li class="nav-legal-01">
......
...@@ -91,3 +91,4 @@ nose-ignore-docstring ...@@ -91,3 +91,4 @@ nose-ignore-docstring
nose-exclude nose-exclude
git+https://github.com/mfogel/django-settings-context-processor.git git+https://github.com/mfogel/django-settings-context-processor.git
git+https://github.com/brosner/django-announcements.git
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment