flask gpio test
This commit is contained in:
		@@ -19,5 +19,13 @@
 | 
			
		||||
      <a href="/{{pin}}/on" class="btn btn-block btn-lg btn-primary" role="button">Turn on</a></div></div>
 | 
			
		||||
   {% endif %}
 | 
			
		||||
   {% endfor %}
 | 
			
		||||
   {% for pin in pins_in %}
 | 
			
		||||
    <h3>{{ pins_in[pin].name }}
 | 
			
		||||
    {% if pins_in[pin].state == true %}
 | 
			
		||||
        ist gerade <strong>an</strong></h2><div class="row"><div class="col-md-2">
 | 
			
		||||
    {% else %}
 | 
			
		||||
        ist gerade <strong>aus</strong></h2><div class="row"><div class="col-md-2">
 | 
			
		||||
    {% endif %}
 | 
			
		||||
   {% endfor %}
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user