blob: ffb4419f36728cfb6c3ab1b7acd9f2aa195f05df [file] [log] [blame]
Shivam Mishra823c7952019-05-19 16:01:45 +05301{% extends "templates/base.html" %}
2{% block title %}{{ education_settings.portal_title }}{% endblock %}
Shivam Mishraf22793f2019-05-30 16:34:53 +05303{% from "www/lms/macros/card.html" import program_card %}
Shivam Mishra2a0483d2019-06-06 16:02:38 +05304{% from "www/lms/macros/card.html" import null_card %}
Shivam Mishra823c7952019-05-19 16:01:45 +05305
6{% block head_include %}
7 <meta name="description" content="{{ education_settings.description }}" />
8 <meta name="keywords" content="ERP Software, Cloud ERP, Open Source ERP, Accounting Software, Online ERP, Online Accounting, ERP for small business" />
9 <style>
10 div.card-hero-img {
11 height: 220px;
12 background-size: cover;
13 background-repeat: no-repeat;
14 background-position: center;
15 background-color: rgb(250, 251, 252);
16 }
17
18 .card-image-wrapper {
19 display: flex;
20 overflow: hidden;
21 height: 220px;
22 background-color: rgb(250, 251, 252);
23 justify-content: center;
24 }
25
26 .image-body {
27 align-self: center;
28 color: #d1d8dd;
29 font-size: 24px;
30 font-weight: 600;
31 line-height: 1;
32 padding: 20px;
33 }
Shivam Mishrab3127652019-06-06 14:03:01 +053034
35 section {
36 padding: 5rem 0 5rem 0;
37 }
Shivam Mishra823c7952019-05-19 16:01:45 +053038 </style>
39{% endblock %}
40
Shivam Mishra823c7952019-05-19 16:01:45 +053041{% block content %}
Shivam Mishrab3127652019-06-06 14:03:01 +053042<section class="top-section" style="padding: 6rem 0rem;">
Shivam Mishra823c7952019-05-19 16:01:45 +053043 <div class='container pb-5'>
44 <h1>{{ education_settings.portal_title }}</h1>
45 <p class='lead'>{{ education_settings.description }}</p>
46 <p class="mt-4">
Shivam Mishra2a0483d2019-06-06 16:02:38 +053047 {% if frappe.session.user == 'Guest' %}
Shivam Mishra8d1117c2019-06-06 19:27:21 +053048 <a class="btn btn-primary btn-lg" href="'/login#signup'">Sign Up</a>
Shivam Mishra2a0483d2019-06-06 16:02:38 +053049 {% endif %}
Shivam Mishra823c7952019-05-19 16:01:45 +053050 </p>
Shivam Mishra823c7952019-05-19 16:01:45 +053051 </div>
52 <div class='container'>
53 <div class="row mt-5">
54 {% for program in featured_programs %}
Shivam Mishra12579612019-05-30 17:19:11 +053055 {{ program_card(program.program, program.has_access) }}
Shivam Mishra823c7952019-05-19 16:01:45 +053056 {% endfor %}
Shivam Mishra2a0483d2019-06-06 16:02:38 +053057 {% if featured_programs %}
Shivam Mishra278ef4b2019-06-12 14:53:00 +053058 {% for n in range( (3 - (featured_programs|length)) %3) %}
Shivam Mishra2a0483d2019-06-06 16:02:38 +053059 {{ null_card() }}
60 {% endfor %}
61 {% endif %}
Shivam Mishra823c7952019-05-19 16:01:45 +053062 </div>
Shivam Mishra823c7952019-05-19 16:01:45 +053063 </div>
64</section>
Shivam Mishra823c7952019-05-19 16:01:45 +053065{% endblock %}