adds template structure
This commit is contained in:
35
template/calendar.html
Normal file
35
template/calendar.html
Normal file
@ -0,0 +1,35 @@
|
||||
{% extends "sidebar.html" %}
|
||||
{% block body%}
|
||||
<div>
|
||||
<div style="width: 30%; float: left" align="center" >Calendar</div>
|
||||
<div style="width: 30%; float: left" align="center">Show on device</div>
|
||||
<div style="width: 30%; float: left" align="center">Color</div>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 50px">
|
||||
{% for item in calendars %}
|
||||
<div style="width: 30%; float: left" align="center" >{{ item.name }}</div>
|
||||
|
||||
<div style="width: 30%; float: left" align="center">
|
||||
<!-- Rounded switch -->
|
||||
<label class="switch">
|
||||
<input type="checkbox">
|
||||
<span class="slider round"></span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div style="width: 30%; float: left" align="center">
|
||||
<div>
|
||||
<input type="color" id="head" name="head"
|
||||
value="#e66465">
|
||||
<label for="head">Test</label>
|
||||
</div>
|
||||
<!--svg height="20" width="20">
|
||||
<circle cx="10" cy="10" r="10" stroke="black" stroke-width="0" fill={{ item.color }} />
|
||||
</svg-->
|
||||
</div>
|
||||
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user