scmmishra | 836a4b5 | 2018-10-08 15:26:05 +0530 | [diff] [blame^] | 1 | {% extends "frappe_theme/templates/base.html" %} |
| 2 | {% block title %}ERPNext Academy{% endblock %} |
| 3 | |
| 4 | {% from "templates/includes/media.html" import media %} |
| 5 | |
| 6 | {% block head_include %} |
| 7 | <meta name="description" content="ERPNext Academy is a learnig platform to gain expertise in the world's top 100% open source ERP software." /> |
| 8 | <meta name="keywords" content="ERP Software, Cloud ERP, Open Source ERP, Accounting Software, Online ERP, Online Accounting, ERP for small business, Learn ERP, ERPNext Academy, Learn ERPNext, Learn Accounting" /> |
| 9 | {% endblock %} |
| 10 | |
| 11 | {% macro featured_card(program_name, description, hero_image, code) %} |
| 12 | <div class='card-deck mt-5'> |
| 13 | <div class="card"> |
| 14 | <img src="{{ hero_image }}" style='height: 150px'> |
| 15 | <div class='card-body'> |
| 16 | <a href="/lms/program?code={{ code }}"> |
| 17 | <h5 class='card-title'>{{ program_name }}</h5> |
| 18 | </a> |
| 19 | <div>{{ description }}</div> |
| 20 | </div> |
| 21 | <div class='card-footer text-right'> |
| 22 | <!-- <a class='video-btn btn btn-secondary btn-sm' data-toggle="modal" data-src=" insert jinja stuff here " data-target="#myModal">Watch --> |
| 23 | <!-- Intro</a> --> |
| 24 | <a class='btn btn-secondary btn-sm' href="/enroll?course=user">Enroll Now</a> |
| 25 | </div> |
| 26 | </div> |
| 27 | </div> |
| 28 | {% endmacro %} |
| 29 | |
| 30 | {% block content %} |
| 31 | <section class='top-section'> |
| 32 | <div class='container'> |
| 33 | <div class='text-center'> |
| 34 | <!-- <img class="main-illustration" src='/assets/erpnext_com/img/erpnext_com_illustration.png' |
| 35 | style='width: 700px;'> --> |
| 36 | </div> |
| 37 | <h1>Become an ERPNext Expert</h1> |
| 38 | <ul class="list-group"> |
| 39 | </ul> |
| 40 | <p class='lead'> |
| 41 | A platform for enterpreneurs, developers and implementors to learn the world's leading 100% Open |
| 42 | Source ERP</p> |
| 43 | <p class="mt-4"> |
| 44 | <a class="btn btn-primary btn-lg" href="/enroll"> |
| 45 | Enroll Now</a> |
| 46 | </p> |
| 47 | </section> |
| 48 | |
| 49 | <section class='section-padding section-bg'> |
| 50 | <div class='container'> |
| 51 | <h3 class='text-center'>Featured Programs</h3> |
| 52 | <p class='lead text-center'>Master ERPNext with our Expert Learning Paths</p> |
| 53 | {% for program in featured %} |
| 54 | {{ featured_card(program.program_name, program.description, program.hero_image, program.program_code) }} |
| 55 | {% endfor %} |
| 56 | <div class='mt-4 text-center'> |
| 57 | <a class="btn btn-primary btn-lg" href="/program">View All</a> |
| 58 | </div> |
| 59 | </div> |
| 60 | </section> |
| 61 | |
| 62 | {% include "www/lms/templates/includes/highlights.html" %} |
| 63 | <div class="container"> |
| 64 | <!-- Modal --> |
| 65 | <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> |
| 66 | <div class="modal-dialog" role="document"> |
| 67 | <div class="modal-content"> |
| 68 | <div class="modal-body"> |
| 69 | <button type="button" class="close" data-dismiss="modal" aria-label="Close"> |
| 70 | <span aria-hidden="true">×</span> |
| 71 | </button> |
| 72 | <!-- 16:9 aspect ratio --> |
| 73 | <div class="embed-responsive embed-responsive-16by9"> |
| 74 | <iframe id="ytplayer" type="text/html" class="embed-responsive-item" allowscriptaccess="always"></iframe> |
| 75 | </div> |
| 76 | </div> |
| 77 | </div> |
| 78 | </div> |
| 79 | </div> |
| 80 | </div> |
| 81 | <style> |
| 82 | .footer-message { |
| 83 | display: none; |
| 84 | } |
| 85 | </style> |
| 86 | |
| 87 | {% endblock %} |