Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added first set of templates for smarthome "autogeneration hacks"
  • Loading branch information
msinn committed Aug 28, 2016
1 parent acf26e8 commit 7f71580
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 28 deletions.
15 changes: 15 additions & 0 deletions pages/base/tpl/heading.html
@@ -0,0 +1,15 @@
<div class="preblock">
<table width="100%">
<tr>
<td align="left">
{{ visu_heading_left }}
</td>
<td align="center">
{{ visu_heading_center }}
</td>
<td align="right">
{{ visu_heading_right }}
</td>
</tr>
</table>
</div>
17 changes: 9 additions & 8 deletions pages/base/tpl/navi.html 100644 → 100755
@@ -1,8 +1,9 @@
<li data-icon="false">
<a href="index.php?page={{ visu_page }}">
<img class="icon" src="{{ icon0 }}{{ visu_img }}" />

<h3>{{ visu_name }}</h3>
</a>
</li>

<li data-icon="false">
<a href="index.php?page={{ visu_page }}">
<img class="icon" src="{{ icon0 }}{{ visu_img }}" />

<h3>{{ visu_name }}</h3>
<div class="ui-li-aside">{{ visu_aside }}<br/>{{ visu_aside2 }}</div>
</a>
</li>

1 change: 1 addition & 0 deletions pages/base/tpl/navi_sep.html
@@ -0,0 +1 @@
<li data-role="list-divider">{{ name }}</li>
41 changes: 21 additions & 20 deletions pages/base/tpl/room.html 100644 → 100755
@@ -1,20 +1,21 @@
/**
* -----------------------------------------------------------------------------
* @package smartVISU
* @author Martin Gleiß
* @copyright 2012 - 2015
* @license GPL [http://www.gnu.de]
* -----------------------------------------------------------------------------
*/


{% extends "rooms.html" %}

{% block content %}

<h1><img class="icon" src='{{ icon0 }}{{ visu_img }}' />{{ visu_name }}</h1>

{{ visu_widgets }}

{% endblock %}

/**
* -----------------------------------------------------------------------------
* @package smartVISU
* @author Martin Gleiß
* @copyright 2012 - 2015
* @license GPL [http://www.gnu.de]
* -----------------------------------------------------------------------------
*/


{% extends "rooms.html" %}

{% block content %}

<h1><img class="icon" src='{{ icon0 }}{{ visu_img }}' />{{ visu_name }}</h1>

{{ visu_heading }}
{{ visu_widgets }}

{% endblock %}

0 comments on commit 7f71580

Please sign in to comment.