diff options
author | Max Magorsch <arzano@gentoo.org> | 2020-05-11 21:40:37 +0200 |
---|---|---|
committer | Max Magorsch <arzano@gentoo.org> | 2020-05-11 21:40:37 +0200 |
commit | d3308b62561922cf8b45644809cdd3448edff7bf (patch) | |
tree | c12fabcf17f3e7fc2093614c70d83ac4a925d233 /views | |
parent | Start the migration to Tyrian v2 (diff) | |
download | frontend-d3308b62561922cf8b45644809cdd3448edff7bf.tar.gz frontend-d3308b62561922cf8b45644809cdd3448edff7bf.tar.bz2 frontend-d3308b62561922cf8b45644809cdd3448edff7bf.zip |
Fix some stylesheets due to Bootstrap 4
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'views')
-rw-r--r-- | views/layout.erb | 2 | ||||
-rw-r--r-- | views/lists.erb | 14 | ||||
-rw-r--r-- | views/message.erb | 8 |
3 files changed, 14 insertions, 10 deletions
diff --git a/views/layout.erb b/views/layout.erb index c2dbdd7..5aee2dd 100644 --- a/views/layout.erb +++ b/views/layout.erb @@ -88,7 +88,7 @@ <div class="container"> <div class="row"> - <div class="col-12"> + <div class="col-12 pb-4"> <%= yield %> </div> </div> diff --git a/views/lists.erb b/views/lists.erb index aae8cdb..dcc6b08 100644 --- a/views/lists.erb +++ b/views/lists.erb @@ -7,8 +7,10 @@ <div class="list-group"> <% $config['active_lists'].each do |list| %> <a href="<%= h list %>/" class="list-group-item list-group-item-action d-flex justify-content-between align-items-center"> - <span class="fa fa-fw fa-archive"></span> - <%= h list %> + <span> + <span class="fa fa-fw fa-archive"></span> + <%= h list %> + </span> <h4 class="mb-0"> <span class="badge badge-secondary badge-pill"><%= MessageCountCache.instance[list] %></span> </h4> @@ -27,13 +29,15 @@ <h2 class="mt-5">Frozen Archives</h2> -<div class="row mb-5"> +<div class="row"> <div class="col-12 col-md-6"> <div class="list-group"> <% $config['frozen_lists'].each do |list| %> <a href="<%= h list %>/" class="list-group-item list-group-item-action d-flex justify-content-between align-items-center"> - <span class="fa fa-fw fa-archive"></span> - <%= h list %> + <span> + <span class="fa fa-fw fa-archive"></span> + <%= h list %> + </span> <h4 class="mb-0"> <span class="badge badge-secondary badge-pill"><%= MessageCountCache.instance[list] %></span> </h4> diff --git a/views/message.erb b/views/message.erb index b912445..c7c98c3 100644 --- a/views/message.erb +++ b/views/message.erb @@ -80,9 +80,9 @@ <% end %> <div class="ag-message-actions"> - <a href="/<%= h list %>/report/<%= message['_id'] %>" class="btn btn-danger btn-xs"><span class="fa fa-fw fa-ban"></span> Report Message</a> - <div class="btn-group btn-group-xs"> - <a href="<%= msgid_to_marc(message['_source']['raw_message_id']) %>" class="btn btn-default"><span class="fa fa-fw fa-share-square"></span>Find on MARC</a> - <a href="<%= msgid_to_googlegroup(message['_source']['raw_message_id']) %>" class="btn btn-default"><span class="fa fa-fw fa-share-square"></span>Find on Google Groups</a> + <a href="/<%= h list %>/report/<%= message['_id'] %>" class="btn btn-danger btn-sm"><span class="fa fa-fw fa-ban"></span> Report Message</a> + <div class="btn-group btn-group-sm ml-3"> + <a href="<%= msgid_to_marc(message['_source']['raw_message_id']) %>" class="btn btn-outline-secondary"><span class="fa fa-fw fa-share-square"></span>Find on MARC</a> + <a href="<%= msgid_to_googlegroup(message['_source']['raw_message_id']) %>" class="btn btn-outline-secondary"><span class="fa fa-fw fa-share-square"></span>Find on Google Groups</a> </div> </div> |