diff --git a/app/assets/stylesheets/favorites.scss b/app/assets/stylesheets/favorites.scss
index 6e8c764..a780c04 100644
--- a/app/assets/stylesheets/favorites.scss
+++ b/app/assets/stylesheets/favorites.scss
@@ -36,6 +36,14 @@
width: 3em;
}
+.table_buttons {
+ display: flex;
+
+ :nth-child(2) {
+ color: darkred;
+ }
+}
+
.table_wrapper {
overflow-x: auto;
@@ -48,6 +56,10 @@
}
}
+ td {
+ //display: flex;
+ }
+
table {
border-collapse: collapse;
width: 100%;
diff --git a/app/views/favorites/courses.html.erb b/app/views/favorites/courses.html.erb
index 8cd46c6..3bd3683 100644
--- a/app/views/favorites/courses.html.erb
+++ b/app/views/favorites/courses.html.erb
@@ -20,10 +20,12 @@
|
- <%= button_to 'Details', crawlers_courses_crawler_show_detail_url(:number => course['number'], :semester => course['semester']) %>
+
+ <%= button_to 'Details', crawlers_courses_crawler_show_detail_url(:number => course['number'], :semester => course['semester']) %>
+ <%= button_to 'Delete', {:action => "delete_course", :number => course['number'], :semester => course['semester']}, :method => 'delete' %>
+
|
- <%= button_to 'Delete', {:action => "delete_course", :number => course['number'], :semester => course['semester']}, :method => 'delete' %>
|
<% end %>
diff --git a/app/views/favorites/people.html.erb b/app/views/favorites/people.html.erb
index 28cfd0a..b8d9782 100644
--- a/app/views/favorites/people.html.erb
+++ b/app/views/favorites/people.html.erb
@@ -36,10 +36,10 @@
|
- <%= button_to 'Details', crawlers_people_crawler_show_detail_url(:tiss_id => person['tiss_id']) %>
- |
-
- <%= button_to "Delete", {:action => "delete_person", :tiss_id => person['tiss_id']}, :method => 'delete' %>
+
+ <%= button_to 'Details', crawlers_people_crawler_show_detail_url(:tiss_id => person['tiss_id']) %>
+ <%= button_to "Delete", {:action => "delete_person", :tiss_id => person['tiss_id']}, :method => 'delete' %>
+
|
|
|
diff --git a/app/views/favorites/projects.html.erb b/app/views/favorites/projects.html.erb
index 99e3a97..0af93e5 100644
--- a/app/views/favorites/projects.html.erb
+++ b/app/views/favorites/projects.html.erb
@@ -20,10 +20,10 @@
|
- <%= button_to 'Details', crawlers_projects_crawler_show_detail_url(:id => project['id']) %>
- |
-
- <%= button_to 'Delete', {:action => "delete_project", :id => project['id']}, :method => 'delete' %>
+
+ <%= button_to 'Details', crawlers_projects_crawler_show_detail_url(:id => project['id']) %>
+ <%= button_to 'Delete', {:action => "delete_project", :id => project['id']}, :method => 'delete' %>
+
|
<% end %>
diff --git a/app/views/favorites/theses.html.erb b/app/views/favorites/theses.html.erb
index 4383348..4d2deac 100644
--- a/app/views/favorites/theses.html.erb
+++ b/app/views/favorites/theses.html.erb
@@ -21,10 +21,10 @@
|
- <%= button_to 'Details', crawlers_theses_crawler_show_detail_url(:id => thesis['id']) %>
- |
-
- <%= button_to 'Delete', {:action => "delete_thesis", :id => thesis['id']}, :method => 'delete' %>
+
+ <%= button_to 'Details', crawlers_theses_crawler_show_detail_url(:id => thesis['id']) %>
+ <%= button_to 'Delete', {:action => "delete_thesis", :id => thesis['id']}, :method => 'delete' %>
+
|
<% end %>