blob: ffa46e123ca9e078cd6ae4734eb520ee1aec8a86 [file] [log] [blame]
Shivam Mishra823c7952019-05-19 16:01:45 +05301{% extends "templates/base.html" %}
2{% block title %}{{ education_settings.portal_title }}{% endblock %}
3
4{% block head_include %}
5 <meta name="description" content="{{ education_settings.description }}" />
6 <meta name="keywords" content="ERP Software, Cloud ERP, Open Source ERP, Accounting Software, Online ERP, Online Accounting, ERP for small business" />
7 <style>
8 div.card-hero-img {
9 height: 220px;
10 background-size: cover;
11 background-repeat: no-repeat;
12 background-position: center;
13 background-color: rgb(250, 251, 252);
14 }
15
16 .card-image-wrapper {
17 display: flex;
18 overflow: hidden;
19 height: 220px;
20 background-color: rgb(250, 251, 252);
21 justify-content: center;
22 }
23
24 .image-body {
25 align-self: center;
26 color: #d1d8dd;
27 font-size: 24px;
28 font-weight: 600;
29 line-height: 1;
30 padding: 20px;
31 }
32 </style>
33{% endblock %}
34
Shivam Mishra5aa8df82019-05-29 18:38:09 +053035{% macro card(program) %}
36<div class="col-sm mb-4 text-left">
Shivam Mishra63d8cab2019-05-29 15:16:59 +053037 <a href="/lms/program?name={{ program.name }}" class="no-decoration no-underline">
38 <div class="card h-100">
39 {% if program.hero_image %}
40 <div class="card-hero-img" style="background-image: url({{ program.hero_image }})"></div>
41 {% else %}
42 <div class="card-image-wrapper text-center">
43 <div class="image-body">{{ program.program_name }}</div>
44 </div>
45 {% endif %}
46 <div class='card-body'>
47 <h5 class='card-title'>{{ program.program_name }}</h5>
48 <div>{{ program.description }}</div>
49 </div>
50 <div class='card-footer'>
51 <span class='small'>Watch Intro</span>
52 </div>
Shivam Mishra823c7952019-05-19 16:01:45 +053053 </div>
Shivam Mishra63d8cab2019-05-29 15:16:59 +053054 </a>
Shivam Mishra823c7952019-05-19 16:01:45 +053055</div>
56{% endmacro %}
57
58{% block content %}
59<section class="top-section ">
60 <div class='container pb-5'>
61 <h1>{{ education_settings.portal_title }}</h1>
62 <p class='lead'>{{ education_settings.description }}</p>
63 <p class="mt-4">
Shivam Mishraae2871f2019-05-29 13:11:34 +053064 <a class="btn btn-primary btn-lg" style="width: 170px;" href="{{ '/login#signup' if frappe.session.user == 'Guest' else '/lms/all-programs' }}">Start Learning</a>
Shivam Mishra823c7952019-05-19 16:01:45 +053065 </p>
66 <a href="https://erpnext.com" target="blank" class="mt-0 small text-muted">Go to erpnext.com</a>
67 </div>
68 <div class='container'>
69 <div class="row mt-5">
70 {% for program in featured_programs %}
Shivam Mishra5aa8df82019-05-29 18:38:09 +053071 {{ card(program.program) }}
Shivam Mishra823c7952019-05-19 16:01:45 +053072 {% endfor %}
73 </div>
74 <p class='mt-4'>
75 <a href='/lms/all-programs' class='text-muted'>View All Programs</a>
76 </p>
77 </div>
78</section>
79<section class="section-padding section-bg">
80 <div class='container'>
81 <div class='card-deck'>
82 <div class="card">
83 <!-- <img class='mt-3' src="/assets/erpnext_com/img/balloon.svg" style='height: 150px'> -->
84 <div class='card-body'>
85 <h5 class='card-title'>Curated Courses</h5>
86 <div>Start with a 14 day trial to get instant access to your own ERPNext Instance. Get expert support and world class hosting too.</div>
87 </div>
88 </div>
89
90 <div class="card">
91 <!-- <img class='mt-3' src="/assets/erpnext_com/img/umbrella.svg" style='height: 150px'> -->
92 <div class='card-body'>
93 <h5 class='card-title'>Built by Experts</h5>
94 <div>For self hosted users, ERPNext Support provides you the priority support and bug fix guarantee, so you can stop worrying.</div>
95 </div>
96 </div>
97
98 <div class="card">
99 <!-- <img class='mt-3' src="/assets/erpnext_com/img/sun.svg" style='height: 150px'> -->
100 <div class='card-body'>
101 <h5 class='card-title'>Learn from the OEMs</h5>
102 <div>ERPNext is open source and infinitely extensible. Customize it, build upon it, add your own apps built with <a href="https://frappe.io/frappe" class="underline">Frappe Framework</a>.</div>
103 </div>
104 </div>
105 </div>
106 </div>
107</section>
108<section class='section-padding'>
109 <div class='container text-center'>
110 <h3 class='text-center'>About ERPNext</h3>
111 <p class='lead'>ERPNext is the world's best 100% open source ERP used by over 5000 companies worldwide.</p>
112 <div class='mt-4 '>
113 <a class="btn btn-primary btn-lg" href="/pricing">Start Learning</a>
114 </div>
115 </div>
116</section>
117{% endblock %}