Skip to content
Snippets Groups Projects
Commit fea9ce95 authored by jkerdreu's avatar jkerdreu
Browse files

Add support for custom profile and empty template

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2578 b32b6428-25c9-4566-ad07-03861ab6144f
parent 5fe924ba
No related branches found
No related tags found
No related merge requests found
<%inherit file="base.mako"/>
<div class="content">
<h1>HTTP Information</h1>
<h2>Headers</h2>
<table>
<tr><th>Key</th><th>value</th></tr>
% for k in headers:
<tr><td>${k}</td><td>${headers[k]|h}</td></tr>
% endfor
</table>
<h2>Query</h2>
<table>
<tr><th>Key</th><th>value</th></tr>
% for k in query:
<tr><td>${k}</td><td>${query[k]|h}</td></tr>
% endfor
</table>
<h2>Environ</h2>
<table>
<tr><th>Key</th><th>value</th></tr>
% for k in environ:
<tr><td>${k}</td><td>${environ[k]|h}</td></tr>
% endfor
</table>
<h2>User profile</h2>
${profile}
</div>
<%inherit file="base.mako"/>
\ No newline at end of file
<%inherit file="base.mako"/>
<%namespace name="widgets" file="widgets.mako" />
<link href="./static/css/btns.css" rel="stylesheet">
<div class="grid-background">
<div class="grid">
<div class="grid-box">
<b>QTRobot</b>
${widgets.list_devices_addr(['6265eb30-8c59-11e9-98b1-b827ebe99201','6265eb30-8c59-11e9-98b1-b827ebe99202',])}
</div>
</div> <!-- end of grid -->
</div><!-- end of grib background -->
<script type="riot/tag" src="./static/tags/powerrelay.tag"></script>
<script type="riot/tag" src="./static/tags/hygrometer.tag"></script>
<script type="riot/tag" src="./static/tags/thermometer.tag"></script>
<script type="riot/tag" src="./static/tags/powermeter.tag"></script>
<script type="riot/tag" src="./static/tags/lamp.tag"></script>
<script type="riot/tag" src="./static/tags/shutter.tag"></script>
<script type="riot/tag" src="./static/tags/barometer.tag"></script>
<script type="riot/tag" src="./static/tags/co2meter.tag"></script>
<script type="riot/tag" src="./static/tags/motion.tag"></script>
<script type="riot/tag" src="./static/tags/door.tag"></script>
<script type="riot/tag" src="./static/tags/contact.tag"></script>
<script type="riot/tag" src="./static/tags/generic_attrs.tag"></script>
<script type="riot/tag" src="./static/tags/clock.tag"></script>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment