diff options
author | rtz12 <koenig@fagott.pw> | 2015-12-29 19:41:42 (UTC) |
---|---|---|
committer | rtz12 <koenig@fagott.pw> | 2015-12-29 19:41:42 (UTC) |
commit | c2498d562d3e30e4795056058fc3d8a5cec4ec11 (patch) | |
tree | f560375a0a6217edf7c9ac6e8753a09eb775b831 /views/dashboard.html | |
parent | 43e206d8627ccdb94ad729d9d48d66484faba117 (diff) |
Tagansicht hinzugefuegt
Diffstat (limited to 'views/dashboard.html')
-rw-r--r-- | views/dashboard.html | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/views/dashboard.html b/views/dashboard.html index 0551285..56be42b 100644 --- a/views/dashboard.html +++ b/views/dashboard.html | |||
@@ -13,23 +13,7 @@ | |||
13 | <h2>{{ $category.Title }}</h2> | 13 | <h2>{{ $category.Title }}</h2> |
14 | <div class="row"> | 14 | <div class="row"> |
15 | {{ range $card := $category.Cards }} | 15 | {{ range $card := $category.Cards }} |
16 | <div class="col s12 m6 l4"> | 16 | {{ template "card" $card }} |
17 | <div class="card white"> | ||
18 | <div class="card-content black-text"> | ||
19 | <span class="card-title">{{ $card.Title | html }}</span> | ||
20 | <p>{{ $card.Description | html }}</p> | ||
21 | </div> | ||
22 | <div class="card-action"> | ||
23 | {{ range $action := $card.Actions }} | ||
24 | {{ if $action.Disabled }} | ||
25 | <span>{{ $action.Name | html }}</span> | ||
26 | {{ else }} | ||
27 | <a href="{{ $action.Link }}">{{ $action.Name | html }}</a> | ||
28 | {{ end }} | ||
29 | {{ end }} | ||
30 | </div> | ||
31 | </div> | ||
32 | </div> | ||
33 | {{ end }} | 17 | {{ end }} |
34 | </div> | 18 | </div> |
35 | {{ end }} | 19 | {{ end }} |
@@ -37,4 +21,4 @@ | |||
37 | </div> | 21 | </div> |
38 | </body> | 22 | </body> |
39 | </html> | 23 | </html> |
40 | {{ end }} \ No newline at end of file | 24 | {{ end }} |