mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 09:39:23 +00:00
Using checkboxes & add/remove icons, prettier
This commit is contained in:
parent
c979d24dac
commit
d25710a760
3 changed files with 4 additions and 4 deletions
BIN
app/assets/images/add.png
Normal file
BIN
app/assets/images/add.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2 KiB |
BIN
app/assets/images/remove.png
Normal file
BIN
app/assets/images/remove.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
|
|
@ -1,16 +1,16 @@
|
|||
<!-- Habits -->
|
||||
<% if (habit_type==1) { %>
|
||||
<a href="#" class="vote-up">+</a>
|
||||
<a href="#" class="vote-down">-</a>
|
||||
<a href="#" class="vote-up"><img src="assets/add.png" /></a>
|
||||
<a href="#" class="vote-down"><img src="assets/remove.png" /></a>
|
||||
<%= name %>
|
||||
<% } else { %>
|
||||
|
||||
<!-- Daily & Todos -->
|
||||
<% if (done) { %>
|
||||
<a href="#" class="vote-down">[X]</a>
|
||||
<input class="vote-down" type="checkbox" checked="checked"/>
|
||||
<strike><%= name %></strike>
|
||||
<% } else { %>
|
||||
<a href="#" class="vote-up">[ ]</a>
|
||||
<input class="vote-up" type="checkbox"/>
|
||||
<%= name %>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
|
|
|||
Loading…
Reference in a new issue