dcdd3bebbe
* feat: new fields in quiz doctypes * feat: timer in lms quiz * fix: variable initialisation * fix: context, exception fix * fix:sider * fix:sider * fix: indentation * fix: timer * fix: sider * fix: return value and format * fix: show time taken only after all attempts are over * fix: sider Co-authored-by: pateljannat <jannatpatel@MacBook-Air.local> Co-authored-by: Marica <maricadsouza221197@gmail.com>
70 lines
1.9 KiB
HTML
70 lines
1.9 KiB
HTML
{% extends "templates/base.html" %}
|
|
{% block title %}{{ education_settings.portal_title }}{% endblock %}
|
|
{% from "www/lms/macros/card.html" import program_card %}
|
|
{% from "www/lms/macros/card.html" import null_card %}
|
|
|
|
{% block head_include %}
|
|
<meta name="description" content="{{ education_settings.description }}" />
|
|
<meta name="keywords" content="ERP Software, Cloud ERP, Open Source ERP, Accounting Software, Online ERP, Online Accounting, ERP for small business" />
|
|
<style>
|
|
div.card-hero-img {
|
|
height: 220px;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
background-color: rgb(250, 251, 252);
|
|
}
|
|
|
|
.card-image-wrapper {
|
|
display: flex;
|
|
overflow: hidden;
|
|
height: 220px;
|
|
background-color: rgb(250, 251, 252);
|
|
justify-content: center;
|
|
}
|
|
|
|
.image-body {
|
|
align-self: center;
|
|
color: #d1d8dd;
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
line-height: 1;
|
|
padding: 20px;
|
|
}
|
|
|
|
section {
|
|
padding: 5rem 0 5rem 0;
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<section class="top-section" style="padding: 6rem 0rem;">
|
|
<div class='container pb-5'>
|
|
<h1>{{ education_settings.portal_title }}</h1>
|
|
{% if education_settings.description %}
|
|
<p class='lead'>{{ education_settings.description }}</p>
|
|
{% endif %}
|
|
<p class="mt-4">
|
|
{% if frappe.session.user == 'Guest' %}
|
|
<a class="btn btn-primary btn-lg" href="/login#signup">{{_('Sign Up')}}</a>
|
|
{% endif %}
|
|
</p>
|
|
</div>
|
|
<div class='container'>
|
|
<div class="row mt-5">
|
|
{% if featured_programs %}
|
|
{% for program in featured_programs %}
|
|
{{ program_card(program.program, program.has_access) }}
|
|
{% endfor %}
|
|
{% for n in range( (3 - (featured_programs|length)) %3) %}
|
|
{{ null_card() }}
|
|
{% endfor %}
|
|
{% else %}
|
|
<p class="lead">You have not enrolled in any program. Contact your Instructor.</p>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{% endblock %}
|