--- a/client/app/annotationclient.html Fri Oct 10 17:08:31 2014 +0200
+++ b/client/app/annotationclient.html Mon Oct 13 12:43:47 2014 +0200
@@ -4,8 +4,8 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Mons by IRI</title>
- <link rel="stylesheet" href="{{ pre_static_path }}static/css/lib.css">
- <link rel="stylesheet" href="{{ pre_static_path }}static/css/app.css">
+ <link rel="stylesheet" href="{{ config['STATIC_URL'] }}/css/lib.css">
+ <link rel="stylesheet" href="{{ config['STATIC_URL'] }}/css/app.css">
</head>
<body ng-controller="homeCtrl" ng-app="mons" ng-cloak>
<div class="container">
@@ -46,7 +46,7 @@
</div>
<div class="mons-content">
<div ng-show="!selectedlevel">
- <div class="mons-button hand" ng-repeat="c in data.categories" style="background-color: {{ '{{' }} c.color {{ '}}' }}"
+ <div class="mons-button hand" ng-repeat="c in data.categories" style="background-color: {{ '{{' }} c.color {{ '}}' }}"
ng-click="selectLevel(c.label, c.code, c)" ng-class="{'success-border':c.sendSuccess}">
<div class="content">
<div class="table">
@@ -59,7 +59,7 @@
</div>
</div>
<div ng-show="selectedlevel">
- <div class="mons-button hand" ng-repeat="c in selectedlevel" style="background-color: {{ '{{' }} c.color {{ '}}' }}"
+ <div class="mons-button hand" ng-repeat="c in selectedlevel" style="background-color: {{ '{{' }} c.color {{ '}}' }}"
ng-click="sendAnnotation(c.label, c.code, c)" ng-class="{'success-border':c.sendSuccess}">
<div class="content">
<div class="table">
@@ -86,15 +86,15 @@
<div class="alert" ng-class="{'alert-success':showSuccessAlert, 'alert-danger':!showSuccessAlert}" role="alert" ng-show="showAlertDiv">{{ '{{' }} alertMessage {{ '}}' }}</div>
</div>
</div>
- <script type="text/javascript" src="{{ pre_static_path }}static/js/lib.js"></script>
+ <script type="text/javascript" src="{{ config['STATIC_URL'] }}/js/lib.js"></script>
<!--script type="text/javascript" src="{{ pre_static_path }}static/js/templates.js"></script-->
- <script type="text/javascript" src="{{ pre_static_path }}static/js/app.js"></script>
+ <script type="text/javascript" src="{{ config['STATIC_URL'] }}/js/app.js"></script>
<script type="text/javascript">
angular.module("mons")
.value('context', {
{% if logging %}logging: true,{% endif %}
urls: {
- dataUrl: "{{ pre_static_path }}static/data/categories.json"
+ dataUrl: "{{ config['STATIC_URL'] }}/data/categories.json"
}
});
</script>