Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (15 sloc) 728 Bytes
<!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="dutils.js"></script>
<script type="text/javascript" src="dutils.conf.urls.example.js"></script>
</body>
</html>