Javascript basics

This commit is contained in:
Ruud committed 2011-02-14 18:55:19 +01:00
1 parent f72ad06c6f
commit f16ccf7905
13 files changed
+5166 -18

No files matched your search

+21 -12
View File
@@ -1,14 +1,23 @@
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="{{ url_for('.static', filename='style/main.css') }}">
<title>CouchPotato</title>
</head>
<body>
<div id="content">{% block content %}{% endblock %}</div>
<div id="footer">
{% block footer %}
Footer
{% endblock %}
</div>
</body>
<head>
<link rel="stylesheet" href="{{ url_for('.static', filename='style/main.css') }}">
<script type="text/javascript" src="{{ url_for('.static', filename='scripts/mootools.js') }}"></script>
<script type="text/javascript" src="{{ url_for('.static', filename='scripts/mootools_more.js') }}"></script>
<script type="text/javascript" src="{{ url_for('.static', filename='scripts/couchpotato.js') }}"></script>
<script type="text/javascript" src="{{ url_for('.static', filename='scripts/history.js') }}"></script>
<script type="text/javascript" src="{{ url_for('.static', filename='scripts/pages.js') }}"></script>
<link href="{{ url_for('.static', filename='images/favicon.ico') }}" rel="icon" type="image/x-icon" />
<script type="text/javascript">
window.addEvent('domready', function() {
var cp = new CouchPotato({
'url': '{{ request.path }}',
'api_url': '{{ url_for('api.index') }}'
});
})
</script>
<title>CouchPotato</title>
</head>
<body></body>
</html>
-5
View File
@@ -1,6 +1 @@
{% extends "_desktop.html" %}
{% block content %}
{{ url_for('.static', filename='style/main.css') }}
{{ url_for('api.index') }}
{% endblock %}