aboutsummaryrefslogtreecommitdiff
path: root/views/pages
diff options
context:
space:
mode:
Diffstat (limited to 'views/pages')
-rw-r--r--views/pages/list.html33
1 files changed, 31 insertions, 2 deletions
diff --git a/views/pages/list.html b/views/pages/list.html
index 71f25fd..6d4d112 100644
--- a/views/pages/list.html
+++ b/views/pages/list.html
@@ -19,9 +19,19 @@
19 <h1>{{ $list.Name }} <small>von <a href="/user/{{ $list.Owner.ID }}/{{ $list.Owner.GetName}}">{{ $list.Owner.GetName }}</a></small></h1> 19 <h1>{{ $list.Name }} <small>von <a href="/user/{{ $list.Owner.ID }}/{{ $list.Owner.GetName}}">{{ $list.Owner.GetName }}</a></small></h1>
20 {{ if .isOwner }}</div> 20 {{ if .isOwner }}</div>
21 <div class="col s2 right-align"> 21 <div class="col s2 right-align">
22 <a class="waves-effect waves-light purple lighten-4 btn" style="margin-top: 8px; width: auto"href="/list/{{ $list.ID }}/settings"> 22 <a class="waves-effect waves-light purple lighten-4 btn" style="margin-top: 8px; width: auto" href="/list/{{ $list.ID }}/settings">
23 <i class="material-icons">settings</i> 23 <i class="material-icons">settings</i>
24 </a> 24 </a>
25 {{ if $user.HasExternalServices }}
26 <a class="waves-effect waves-light green lighten-4 dropdown-button btn" data-constrainwidth="false" data-beloworigin="true" data-activates="import-dropdown" style="margin-top: 8px; width: auto">
27 <i class="material-icons">file_download</i>
28 </a>
29 <ul id="import-dropdown" class="dropdown-content">
30 {{ if and $user.AnilistClient $user.AnilistClient.IsCoupled }}
31 <li><a id="import-from-anilist">Von Anilist importieren</a></li>
32 {{ end }}
33 </ul>
34 {{ end }}
25 </div> 35 </div>
26 </div>{{ end }} 36 </div>{{ end }}
27 <blockquote>{{ $list.Description }}</blockquote><br /> 37 <blockquote>{{ $list.Description }}</blockquote><br />
@@ -62,6 +72,25 @@
62 {{ end }} 72 {{ end }}
63 </div> 73 </div>
64 </div> 74 </div>
75 <div id="gril-merge-modal" class="modal">
76 <div class="modal-content">
77 <h4>Gril zuordnen</h4>
78 <p>Bitte Ordne deinem Anilist Favoriten ein Gril auf Grilist zu.</p>
79 <div class="row center-align">
80 <img id="gril-merge-modal-image">
81 </div>
82 <h4 id="gril-merge-modal-name"></h4>
83 <div id="gril-merge-modal-template">
84 {{ template "card" .mergeTemplateCard }}
85 </div>
86 <div id="gril-merge-modal-targets" class="row">
87 </div>
88 </div>
89 <div class="modal-footer">
90 <a class=" modal-action modal-close waves-effect waves-green btn-flat">Abbrechen</a>
91 </div>
92 </div>
93 {{ template "materialize_js" }}
65 </body> 94 </body>
66</html> 95</html>
67{{ end }} 96{{ end }}