base.html 3.94 KB
Newer Older
1 2
<%namespace name='static' file='static_content.html'/>

3 4 5 6 7
<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
8
    <title>
9
        <%block name="title"></%block> |
10 11
        % if context_course:
        <% ctx_loc = context_course.location %>
12
        ${context_course.display_name_with_default} |
13 14 15
        % endif
        edX Studio
    </title>
16 17 18

    <meta name="viewport" content="width=device-width,initial-scale=1">
    <meta name="path_prefix" content="${MITX_ROOT_URL}">
19

20
    <%static:css group='base-style'/>
21 22
    <link rel="stylesheet" type="text/css" href="${static.url('js/vendor/markitup/skins/simple/style.css')}" />
    <link rel="stylesheet" type="text/css" href="${static.url('js/vendor/markitup/sets/wiki/style.css')}" />
23
    <link rel="stylesheet" type="text/css" href="${static.url('css/vendor/symbolset.ss-symbolicons-block.css')}" />
24
    <link rel="stylesheet" type="text/css" href="${static.url('css/vendor/symbolset.ss-standard.css')}" />
25
    <link rel="stylesheet" type="text/css" href="${static.url('css/vendor/html5-input-polyfills/number-polyfill.css')}" />
26

27 28
    <%include file="widgets/segment-io.html" />

29
    <%block name="header_extras"></%block>
30 31
  </head>

32
  <body class="<%block name='bodyclass'></%block> hide-wip">
33
    <%include file="courseware_vendor_js.html"/>
34
    <script type="text/javascript" src="/jsi18n/"></script>
35 36 37 38
    <script type="text/javascript" src="${static.url('js/vendor/json2.js')}"></script>
    <script type="text/javascript" src="${static.url('js/vendor/underscore-min.js')}"></script>
    <script type="text/javascript" src="${static.url('js/vendor/backbone-min.js')}"></script>
    <script type="text/javascript" src="${static.url('js/vendor/markitup/jquery.markitup.js')}"></script>
39
    <script type="text/javascript" src="${static.url('js/vendor/markitup/sets/wiki/set.js')}"></script>
40
    <script src="${static.url('js/vendor/symbolset.ss-standard.js')}"></script>
41
    <script src="${static.url('js/vendor/symbolset.ss-symbolicons.js')}"></script>
42 43
    <script src="${static.url('js/vendor/html5-input-polyfills/number-polyfill.js')}"></script>

44

45
    <%static:js group='main'/>
46
    <%static:js group='module-js'/>
47 48 49 50
    <script src="${static.url('js/vendor/jquery.inlineedit.js')}"></script>
    <script src="${static.url('js/vendor/jquery.cookie.js')}"></script>
    <script src="${static.url('js/vendor/jquery.leanModal.min.js')}"></script>
    <script src="${static.url('js/vendor/jquery.tablednd.js')}"></script>
51
    <script src="${static.url('js/vendor/jquery.form.js')}"></script>
52
    <script src="${static.url('js/vendor/jquery.smooth-scroll.min.js')}"></script>
53 54
    <script type="text/javascript" src="${static.url('js/vendor/CodeMirror/htmlmixed.js')}"></script>
    <script type="text/javascript" src="${static.url('js/vendor/CodeMirror/css.js')}"></script>
55 56 57 58 59

    <!--TODO: not the right place-->
    <script type="text/javascript" src="${static.url('js/models/metadata_model.js')}"></script>
    <script type="text/javascript" src="${static.url('js/views/metadata_editor_view.js')}"></script>
    <script type="text/javascript" src="${static.url('js/template_loader.js')}"></script>
60
    <script type="text/javascript">
61 62
    document.write('\x3Cscript type="text/javascript" src="' +
      document.location.protocol + '//www.youtube.com/player_api">\x3C/script>');
63
    </script>
64

65
    <!-- view -->
66
    <div class="wrapper wrapper-view">
67
      <%include file="widgets/header.html" />
68

69
      <%block name="view_alerts"></%block>
70
      <%block name="view_banners"></%block>
71 72

      <%block name="content"></%block>
73 74 75 76 77

      % if user.is_authenticated():
      <%include file="widgets/sock.html" />
      % endif

78
      <%include file="widgets/footer.html" />
79
      <%include file="widgets/tender.html" />
80

81 82
      <%block name="view_notifications"></%block>
    </div>
83

84
    <%block name="view_prompts"></%block>
85
    <%block name="jsextra"></%block>
86
  </body>
87 88

  <%include file="widgets/qualaroo.html" />
89
</html>