blob: be536ffb2c94053e56844129b0d3889cb1ad175a [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
35
36{% macro card(program, is_enrolled) %}
37<div class="col-sm mb-4 text-left">
38 <div class="card">
39 <a href="/lms/program?name={{ program.name }}" class="no-decoration no-underline">
40 {% if program.hero_image %}
41 <div class="card-hero-img" style="background-image: url({{ program.hero_image }})"></div>
42 {% else %}
43 <div class="card-image-wrapper text-center">
44 <div class="image-body">{{ program.program_name }}</div>
45 </div>
46 {% endif %}
47 <div class='card-body'>
48 <h5 class='card-title'>{{ program.program_name }}</h5>
49 <div>{{ program.description }}</div>
50 </div>
51 <div class='card-footer'>
52 <a class='small'>Watch Intro</a>
53 </div>
54 </a>
55 </div>
56</div>
57{% endmacro %}
58
59{% block content %}
60<section class="top-section ">
61 <div class='container pb-5'>
62 <h1>{{ education_settings.portal_title }}</h1>
63 <p class='lead'>{{ education_settings.description }}</p>
64 <p class="mt-4">
Shivam Mishraae2871f2019-05-29 13:11:34 +053065 <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 +053066 </p>
67 <a href="https://erpnext.com" target="blank" class="mt-0 small text-muted">Go to erpnext.com</a>
68 </div>
69 <div class='container'>
70 <div class="row mt-5">
71 {% for program in featured_programs %}
72 {{ card(program.program, program.is_enrolled) }}
73 {% endfor %}
74 </div>
75 <p class='mt-4'>
76 <a href='/lms/all-programs' class='text-muted'>View All Programs</a>
77 </p>
78 </div>
79</section>
80<section class="section-padding section-bg">
81 <div class='container'>
82 <div class='card-deck'>
83 <div class="card">
84 <!-- <img class='mt-3' src="/assets/erpnext_com/img/balloon.svg" style='height: 150px'> -->
85 <div class='card-body'>
86 <h5 class='card-title'>Curated Courses</h5>
87 <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>
88 </div>
89 </div>
90
91 <div class="card">
92 <!-- <img class='mt-3' src="/assets/erpnext_com/img/umbrella.svg" style='height: 150px'> -->
93 <div class='card-body'>
94 <h5 class='card-title'>Built by Experts</h5>
95 <div>For self hosted users, ERPNext Support provides you the priority support and bug fix guarantee, so you can stop worrying.</div>
96 </div>
97 </div>
98
99 <div class="card">
100 <!-- <img class='mt-3' src="/assets/erpnext_com/img/sun.svg" style='height: 150px'> -->
101 <div class='card-body'>
102 <h5 class='card-title'>Learn from the OEMs</h5>
103 <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>
104 </div>
105 </div>
106 </div>
107 </div>
108</section>
109<section class='section-padding'>
110 <div class='container text-center'>
111 <h3 class='text-center'>About ERPNext</h3>
112 <p class='lead'>ERPNext is the world's best 100% open source ERP used by over 5000 companies worldwide.</p>
113 <div class='mt-4 '>
114 <a class="btn btn-primary btn-lg" href="/pricing">Start Learning</a>
115 </div>
116 </div>
117</section>
118{% endblock %}