forked from Dimitri-Gnidash/django-js-utils
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathexample.html
More file actions
16 lines (15 loc) · 760 Bytes
/
example.html
File metadata and controls
16 lines (15 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>dutils - Django JS Utils</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>
<h2>Click the links to get the urls</h2>
<p><a href="#" onclick="alert(dutils.urls.resolve('dashboard'))">Dashboard</a></p>
<p><a href="#" onclick="alert(dutils.urls.resolve('time_edit', { project_id: 1, time_id: 2 }))">Edit time</a></p>
<script type="text/javascript" src="django_js_utils/static/django_js_utils.js"></script>
<script type="text/javascript" src="dutils.conf.urls.example.js"></script>
</body>
</html>