index.tpl 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <link rel="stylesheet" type="text/css" href="resources/css/style.css"/>
  2. {% if _u.is_admin %}
  3. <div class="row">
  4. <div class="col-md-12">
  5. <article class="jumbotron">
  6. <h3>{{ 'TitlePlugin'|get_plugin_lang('BuyCoursesPlugin') }}</h3>
  7. <p>{{ 'PluginPresentation'|get_plugin_lang('BuyCoursesPlugin') }}</p>
  8. <ul class="list-unstyled">
  9. <li>
  10. {{ 'Instructions'|get_plugin_lang('BuyCoursesPlugin') }}
  11. <ul>
  12. <li>{{ 'InstructionsStepOne'|get_plugin_lang('BuyCoursesPlugin') }}</li>
  13. <li>{{ 'InstructionsStepTwo'|get_plugin_lang('BuyCoursesPlugin') }}</li>
  14. <li>{{ 'InstructionsStepThree'|get_plugin_lang('BuyCoursesPlugin') }}</li>
  15. </ul>
  16. </li>
  17. </ul>
  18. </article>
  19. </div>
  20. </div>
  21. {% endif %}
  22. <div class="row">
  23. <div class="col-md-3">
  24. <div class="thumbnail">
  25. <a href="src/course_catalog.php">
  26. <img src="resources/img/128/buycourses.png">
  27. </a>
  28. <div class="caption">
  29. <p class="text-center">
  30. <a class="btn btn-default btn-sm"
  31. href="src/course_catalog.php">{{ 'BuyCourses'|get_plugin_lang('BuyCoursesPlugin') }}</a>
  32. </p>
  33. </div>
  34. </div>
  35. </div>
  36. {% if _u.is_admin %}
  37. <div class="col-md-3">
  38. <div class="thumbnail">
  39. <a href="src/list.php">
  40. <img src="resources/img/128/settings.png">
  41. </a>
  42. <div class="caption">
  43. <p class="text-center">
  44. <a class="btn btn-default btn-sm"
  45. href="src/list.php">{{ 'ConfigurationOfCoursesAndPrices'|get_plugin_lang('BuyCoursesPlugin') }}</a>
  46. </p>
  47. </div>
  48. </div>
  49. </div>
  50. <div class="col-md-3">
  51. <div class="thumbnail">
  52. <a href="src/paymentsetup.php">
  53. <img src="resources/img/128/paymentsettings.png">
  54. </a>
  55. <div class="caption">
  56. <p class="text-center">
  57. <a class="btn btn-default btn-sm"
  58. href="src/paymentsetup.php">{{ 'PaymentsConfiguration'|get_plugin_lang('BuyCoursesPlugin') }}</a>
  59. </p>
  60. </div>
  61. </div>
  62. </div>
  63. <div class="col-md-3">
  64. <div class="thumbnail">
  65. <a href="src/sales_report.php">
  66. <img src="resources/img/128/backlogs.png">
  67. </a>
  68. <div class="caption">
  69. <p class="text-center">
  70. <a class="btn btn-default btn-sm"
  71. href="src/sales_report.php"> {{ 'SalesReport'|get_plugin_lang('BuyCoursesPlugin') }}</a>
  72. </p>
  73. </div>
  74. </div>
  75. </div>
  76. {% endif %}
  77. </div>