refactor: styling changes

This commit is contained in:
Shivam Mishra
2019-06-06 14:03:01 +05:30
parent 09cd46fa0b
commit b31276572b
9 changed files with 90 additions and 89 deletions

View File

@@ -2,6 +2,14 @@
{% block title %}Profile{% endblock %}
{% from "www/lms/macros/hero.html" import hero %}
{% block head_include %}
<style>
section {
padding: 5rem 0 5rem 0;
}
</style>
{% endblock %}
{% macro card(program) %}
<div class="col-sm-4 mb-4 text-left">
<a href="/lms/program?program={{ program.name }}" class="no-decoration no-underline">
@@ -15,7 +23,7 @@
{% elif course.started %} <span class="indicator orange">
{% else %} <span class="indicator blue">
{% endif %}
<a class="text-muted" href="/lms/course?program={{ program.name }}&name={{ course.course }}">{{ course.course }}</a>
<a class="text-muted" href="/lms/course?name={{ course.name }}&program={{ program.name }}">{{ course.course }}</a>
</span>
</li>
{% endfor %}
@@ -35,7 +43,7 @@
<div class="mb-3 row">
<div class="col-md-7">
<a href="/lms" class="text-muted">
<i class="fa fa-chevron-left"></i> Back to Home
Back to Home
</a>
</div>
<div class="col-md-5 text-right">