ocarina/html/index.html
Bryan Schumaker 7455b408e6 web: set_attr_once()
The set_attr_once() function is the same as set_attr(), only it will
only set the value once.  Attributes like "version" should use this,
since the ocarina version shouldn't change often.
2010-12-27 12:49:19 -05:00

21 lines
458 B
HTML

<html>
<head>
<script type="text/javascript" src="utils.js"></script>
</head>
<body>
<table>
<tr><td><a href="library.py">Library Browser</a></td></tr>
<tr><td><a href="library2.py">Library Browser 2</a></td></tr>
<tr><td><a href="controls.html">Remote Controls</a></td></tr>
<tr><td id="vers"></td><td id="up"></td></tr>
</table>
<script type="text/javascript">
set_attr_once("version", "vers");
set_attr("uptime", "up");
</script>
</body>
</html>