lp.tpl 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {% extends app.template_style ~ "/layout/no_layout.tpl" %}
  2. {% block body %}
  3. {% include app.template_style ~ "/learnpath/lp_js.tpl" %}
  4. <div id="learning_path_main">
  5. {% if api_is_allowed_to_edit %}
  6. <div class="row">
  7. <div id="learning_path_breadcrumb_zone" class="col-md-12">
  8. {{ breadcrumb }}
  9. </div>
  10. </div>
  11. {% endif %}
  12. <div class="row">
  13. <div id="learning_path_left_zone" class="col-md-2">
  14. <div id="header">
  15. <a href="{{ _p.web_code_path }}lp_controller.php?action=return_to_course_homepage&{{ course_url }}" target="_self" onclick="javascript: window.parent.API.save_asset();">
  16. <img src="{{ _p.web_img_path }}lp_arrow.gif" />
  17. </a>
  18. {% if api_is_allowed_to_edit %}
  19. {% set course_home_url = _p.web_code_path ~ 'newscorm/lp_controller.php?isStudentView=false&action=return_to_course_homepage&' ~ course_url %}
  20. {% else %}
  21. {% set course_home_url = _p.web_code_path ~ 'newscorm/lp_controller.php?action=return_to_course_homepage&' ~ course_url %}
  22. {% endif %}
  23. <a class="btn btn-default" href="{{ course_home_url }}" target="_self" onclick="javascript: window.parent.API.save_asset();">
  24. {{ 'CourseHomepageLink' | trans }}
  25. </a>
  26. </div>
  27. <div id="toc_id" name="toc_name">
  28. <div id="learning_path_toc" class="panel panel-default">
  29. <div id="scorm_title" class="panel-heading">
  30. {{ lp_name }}
  31. </div>
  32. <div class="panel-body">
  33. <ul class="media-list">
  34. <li class="media">
  35. <a class="pull-left" href="#">
  36. <img class="media-object" src="{{ picture }}">
  37. </a>
  38. <div class="media-body">
  39. {{ navigation_bar }}
  40. {{ progress_bar }}
  41. </div>
  42. </li>
  43. </ul>
  44. {{ author }}
  45. {% if mediaplayer %}
  46. <div id="lp_media_file">
  47. {{ mediaplayer }}
  48. </div>
  49. {% endif %}
  50. </div>
  51. <ul id="inner_lp_toc" class="list-group" style="overflow: auto; padding:0;margin-top:0px;width:100%;float:left">
  52. {{ table_of_contents }}
  53. </ul>
  54. </div>
  55. </div>
  56. </div>
  57. <div id="learning_path_right_zone" class="col-md-10" style="height: 100%;overflow: hidden;">
  58. <div id="learning_path_right_zone2" style="
  59. overflow: hidden;
  60. width: 100%;
  61. height: 100%;
  62. min-height: 100%;
  63. background: #eed3d7;
  64. display: block; ">
  65. </div>
  66. {{ iframe }}
  67. </div>
  68. </div>
  69. </div>
  70. {% endblock %}