diff options
Diffstat (limited to 'templates/select_backend.html.ep')
-rw-r--r-- | templates/select_backend.html.ep | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/select_backend.html.ep b/templates/select_backend.html.ep index 4eb4cc9..0a76fda 100644 --- a/templates/select_backend.html.ep +++ b/templates/select_backend.html.ep @@ -16,19 +16,19 @@ % } % for my $backend (@{ stash('backends') // [] }) { <div class="row"> - <div class="col s12 m4 l4 center-align"> - <button class="btn waves-effect waves-light <%= $backend->{id} == $user->{backend_id} ? 'disabled' : q{} %>" type="submit" name="backend" value="<%= $backend->{id} %>"> - <%= $backend->{name} %> (<%= $backend->{type} %>) - </button> - </div> - <div class="col s12 m8 l8"> + <div class="col s8 m6 l6 right-align"> % if ($backend->{longname}) { - <%= $backend->{longname} %> + <a href="<%= $backend->{homepage} %>"><%= $backend->{longname} %></a> % } % if ($backend->{id} == $user->{backend_id}) { (aktuell ausgewählt) % } </div> + <div class="col s4 m6 l6 left-align"> + <button class="btn waves-effect waves-light <%= $backend->{id} == $user->{backend_id} ? 'disabled' : q{} %>" type="submit" name="backend" value="<%= $backend->{id} %>"> + <%= $backend->{name} %> (<%= $backend->{type} %>) + </button> + </div> </div> % } %= end |