forked from blakadder/templates
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
42 lines (42 loc) · 2.49 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
layout: page
title: Tasmota Device Templates Repository
---
<h3>Tasmota Device Templates Repository</h3>
<h3>{% assign counter = 0 %}{% for item in site.templates %}{% assign counter=counter | plus:1 %}{% endfor %}{{ counter }} devices submitted by the community</h3>
<div style="text-align:right;font-size:0.8em;vertical-align: sub;" class="float-right">See <a href="https://www.worldstandards.eu/electricity/spread-plug-types-map/" target="_blank">world map of plugs</a> for more information.</div>
<h4>Devices by electrical standard:</h4>
<p>
<a align="right" class="button button-large button-grey" href="all.html">ALL</a>
<a align="right" class="button button-large button-grey" href="eu.html">EU</a>
<a align="right" class="button button-large button-grey" href="us.html">US</a>
<a align="right" class="button button-large button-grey" href="uk.html">UK</a>
<a align="right" class="button button-large button-grey" href="anzac.html">AU-NZ-AR-CN</a>
<a align="right" class="button button-large button-grey" href="in.html">IN</a>
<a align="right" class="button button-large button-grey" href="il.html">IL</a>
<a align="right" class="button button-large button-grey" href="br.html">BR</a>
<a align="right" class="button button-large button-grey" href="za.html">ZA</a>
<a align="right" class="button button-large button-grey" href="ch.html">CH</a>
<a align="right" class="button button-large button-grey" href="global.html">GLOBAL</a>
<br>
<h4>Devices by type:</h4>
<a align="right" class="button button-large button-grey" href="bulb.html">BULBS</a>
<a align="right" class="button button-large button-grey" href="plug.html">PLUGS</a>
<a align="right" class="button button-large button-grey" href="light.html">LIGHTS</a>
<a align="right" class="button button-large button-grey" href="switch.html">SWITCHES</a>
<a align="right" class="button button-large button-grey" href="misc.html">MISCELLANEOUS</a>
<p></p>
<div><b>You can now easily copy the template to clipboard by using the copy button! </b></div>
<p>
<div><a class="button button-large button-grey" href="new.html">Add new template</a></div>
<p>
<h3>Recently added devices:</h3>
<ul>
{% assign sorted = site.templates | sort: "date_added" | reverse %}
{% for template in sorted limit:10 %}
<li><a class="menu" href="{{site.baseurl}}{{ template.url }}">{{ template.title }} {{ template.type }} {% assign standard_list = template.standard %}
{% for item_standard in standard_list %}
{{ item_standard | upcase }}
{% endfor %}</a></li>
{% endfor %}
</ul>