* NOTE: successfully running the tests depends on an updated version of
django-pipeline, which fixes a unicode bug (efaba4ac63)
Config changes:
* Use separate db for the cms
* Run collectstatic before running tests--needed to get everything in the right place for loading pages
* fix some paths related to this
* Turn off JS compressor for CMS
* add empty test_root/uploads dir
Code changes:
* Add cms tests to check that home page and signup pages load
* Add cms account creation test
* Make github sync tests clean out repo dirs before running.
48 lines
1.9 KiB
HTML
48 lines
1.9 KiB
HTML
<%namespace name='static' file='static_content.html'/>
|
|
|
|
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
|
% if settings.MITX_FEATURES['USE_DJANGO_PIPELINE']:
|
|
<%static:css group='base-style'/>
|
|
% else:
|
|
<link rel="stylesheet" href="${static.url('css/base-style.css')}">
|
|
% endif
|
|
<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')}" />
|
|
<title><%block name="title"></%block></title>
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<%include file="widgets/header.html"/>
|
|
|
|
<script type="text/javascript" src="${static.url('js/vendor/jquery.min.js')}"></script>
|
|
<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>
|
|
<script type="text/javascript" src="${static.url('js/vendor/markitup/sets/wiki/set.js')}"></script>
|
|
% if settings.MITX_FEATURES['USE_DJANGO_PIPELINE']:
|
|
<%static:js group='main'/>
|
|
% else:
|
|
<script src="${ STATIC_URL }/js/main.js"></script>
|
|
% endif
|
|
|
|
<%static:js group='module-js'/>
|
|
<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>
|
|
|
|
<%block name="content"></%block>
|
|
|
|
</body>
|
|
</html>
|
|
|
|
|