summaryrefslogtreecommitdiff
path: root/templates/dashboard.twig
diff options
context:
space:
mode:
Diffstat (limited to 'templates/dashboard.twig')
-rw-r--r--templates/dashboard.twig40
1 files changed, 35 insertions, 5 deletions
diff --git a/templates/dashboard.twig b/templates/dashboard.twig
index 31f2353..97534bf 100644
--- a/templates/dashboard.twig
+++ b/templates/dashboard.twig
@@ -4,9 +4,39 @@
Dashboard
{% endblock %}
{% block main %}
- <p>Home?</p>
- <p>Updates to own cards?</p>
- <p>Card of the day?</p>
- <p>Events?</p>
- <p>News?</p>
+ <div class="content content-header">
+ <h3>Hello World</h3>
+ </div>
+ <div class="content content-header">
+ <h3>Cards</h3>
+ </div>
+ <div class="content">
+ <h4>Card of the day</h4>
+ <div class="row">
+ <div class="column column-5">
+ <button class="vote"><i class="fa fa-thumbs-o-up" aria-hidden="true"></i></button>
+ {{ cardOfTheDay.getVotesTotal() }}
+ <button class="vote"><i class="fa fa-thumbs-o-down" aria-hidden="true"></i></button>
+ </div>
+ <div class="column column-95">
+ {% for meta in cardOfTheDay.meta %}
+ <p>
+ <label>{{ meta.key }}</label><br>
+ <input type="text" name="{{ meta.key }}" value="{{ meta.value }}" disabled>
+ </p>
+ {% endfor %}
+ </div>
+ <button onclick="location.href='/card/{{ cardOfTheDay.id }}'">Card</button>
+ <button onclick="location.href='/card/{{ cardOfTheDay.id }}/artworks'">Artworks</button>
+ </div>
+ </div>
+ <div class="content">
+ <h4>Updates to my cards</h4>
+ </div>
+ <div class="content content-header">
+ <h3>Events</h3>
+ </div>
+ <div class="content content-header">
+ <h3>News</h3>
+ </div>
{% endblock %}