* [gentoo-commits] proj/ag-web:master commit in: public/css/, views/
@ 2015-02-22 0:20 Alex Legler
0 siblings, 0 replies; 2+ messages in thread
From: Alex Legler @ 2015-02-22 0:20 UTC (permalink / raw
To: gentoo-commits
commit: 47d4d4fa804e4062898edbcb84bd4ff327af4da6
Author: Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Sun Feb 22 00:19:27 2015 +0000
Commit: Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Sun Feb 22 00:19:46 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/ag-web.git;a=commit;h=47d4d4fa
add a little border
---
public/css/main.css | 5 +++++
views/message.erb | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/public/css/main.css b/public/css/main.css
index 2827892..f04d4f3 100644
--- a/public/css/main.css
+++ b/public/css/main.css
@@ -53,6 +53,11 @@
width: 10em;
}
+.ag-header-msgid-col {
+ width: 10em;
+ border-left: 1px solid #ddd;
+}
+
.ag-pager {
margin: 0;
}
diff --git a/views/message.erb b/views/message.erb
index 7c5be12..d9c1c66 100644
--- a/views/message.erb
+++ b/views/message.erb
@@ -22,7 +22,7 @@
<tr>
<th>Date:</th>
<td><%= date_format message['_source']['date'] %></td>
- <th class="ag-header-name-col">Message-Id:</th>
+ <th class="ag-header-msgid-col">Message-Id:</th>
<td><%= message['_source']['raw_message_id'] %></td>
</tr>
<% unless parent == nil %>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/ag-web:master commit in: public/css/, views/
@ 2015-02-22 11:11 Alex Legler
0 siblings, 0 replies; 2+ messages in thread
From: Alex Legler @ 2015-02-22 11:11 UTC (permalink / raw
To: gentoo-commits
commit: 20e4eafc838f3cb68850e9e903a2eee2b78107f6
Author: Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Sun Feb 22 11:10:58 2015 +0000
Commit: Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Sun Feb 22 11:10:58 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/ag-web.git;a=commit;h=20e4eafc
Responsiveness fix #3: Finally nice buttons
---
public/css/main.css | 5 ++---
views/message.erb | 54 ++++++++++++++++++++++++++++++-----------------------
2 files changed, 33 insertions(+), 26 deletions(-)
diff --git a/public/css/main.css b/public/css/main.css
index f04d4f3..67488de 100644
--- a/public/css/main.css
+++ b/public/css/main.css
@@ -53,9 +53,8 @@
width: 10em;
}
-.ag-header-msgid-col {
- width: 10em;
- border-left: 1px solid #ddd;
+.ag-message-actions {
+ line-height: 2em;
}
.ag-pager {
diff --git a/views/message.erb b/views/message.erb
index b1b4fee..78823c2 100644
--- a/views/message.erb
+++ b/views/message.erb
@@ -44,37 +44,45 @@
<% if message['_source']['attachments'] and not message['_source']['attachments'].empty? %>
<h3>Attachments</h3>
-<table class="table table-condensed ag-attachment-table">
- <tr>
- <th>File name</th>
- <th>MIME type</th>
- </tr>
- <% message['_source']['attachments'].each do |attachment| %>
+<div class="table-responsive">
+ <table class="table table-condensed ag-attachment-table">
<tr>
- <td><%= h attachment['filename'] %></td>
- <td><%= h attachment['mime'] %></td>
+ <th>File name</th>
+ <th>MIME type</th>
</tr>
- <% end %>
-</table>
+ <% message['_source']['attachments'].each do |attachment| %>
+ <tr>
+ <td><%= h attachment['filename'] %></td>
+ <td><%= h attachment['mime'] %></td>
+ </tr>
+ <% end %>
+ </table>
+</div>
<% end %>
<% unless children == nil %>
<h3>Replies</h3>
-<table class="table table-condensed ag-replies-table">
- <tr>
- <th>Subject</th>
- <th>Author</th>
- </tr>
- <% children.each do |child| %>
+<div class="table-responsive">
+ <table class="table table-condensed ag-replies-table">
<tr>
- <td><a href="<%= child['_id'] %>"><%= h child['_source']['subject'] %></a></td>
- <td><%= h strip_email_domain(child['_source']['from']) %></td>
+ <th>Subject</th>
+ <th>Author</th>
</tr>
- <% end %>
-</table>
+ <% children.each do |child| %>
+ <tr>
+ <td><a href="<%= child['_id'] %>"><%= h child['_source']['subject'] %></a></td>
+ <td><%= h strip_email_domain(child['_source']['from']) %></td>
+ </tr>
+ <% end %>
+ </table>
+</div>
<% end %>
-<a href="/<%= h list %>/report/<%= message['_id'] %>" class="btn btn-danger btn-xs"><span class="fa fa-fw fa-ban"></span> Report Message</a>
-<a href="<%= msgid_to_gmane(message['_source']['raw_message_id']) %>" class="btn btn-default btn-xs"><span class="fa fa-fw fa-share-square"></span>Find on GMANE</a>
-<a href="<%= msgid_to_marc(message['_source']['raw_message_id']) %>" class="btn btn-default btn-xs"><span class="fa fa-fw fa-share-square"></span>Find on MARC</a>
\ No newline at end of file
+<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_gmane(message['_source']['raw_message_id']) %>" class="btn btn-default"><span class="fa fa-fw fa-share-square"></span>Find on GMANE</a>
+ <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>
+ </div>
+</div>
\ No newline at end of file
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-22 11:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-22 0:20 [gentoo-commits] proj/ag-web:master commit in: public/css/, views/ Alex Legler
-- strict thread matches above, loose matches on Subject: below --
2015-02-22 11:11 Alex Legler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox