Page MenuHomeGRNET

No OneTemporary

File Metadata

Created
Mon, Nov 25, 2:51 AM
diff --git a/app/views/domains/show.html.erb b/app/views/domains/show.html.erb
index 492b698..ec738f4 100644
--- a/app/views/domains/show.html.erb
+++ b/app/views/domains/show.html.erb
@@ -1,31 +1,31 @@
-<table class="table table-striped">
+<table class="table table-striped table-hover">
<thead>
<tr>
<th colspan="5">Records</th>
<th colspan="3">Controls</th>
</tr>
</thead>
<tbody>
<% @domain.records.each do |record| %>
<tr class="<%= record.disabled? ? 'warning' : '' %>">
<td><%= record.name %></td>
<td>IN</td>
<td><%= record.type %></td>
<td><%= record.supports_prio? ? record.prio : '' %></td>
<td><%= record.content %></td>
<td>
<% if record.disabled? %>
<%= link_to 'Enable', enable_domain_record_path(@domain, record), method: :put %>
<% else %>
<%= link_to 'Disable', disable_domain_record_path(@domain, record), method: :put %>
<% end %>
</td>
<td><%= link_to 'Edit', edit_domain_record_path(@domain, record) %></td>
<td><%= link_to 'Remove', [@domain, record], method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</tbody>
</table>
<p><%= link_to 'New Record', new_domain_record_path(@domain) %></p>
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 2d72ed7..6330f7a 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -1,30 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
- <title>Base</title>
+ <title>WebDNS</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<!--[if lt IE 9]>
- <%= javascript_include_tag 'html5shiv.min' %>
- <![endif]-->
+ <%= javascript_include_tag 'html5shiv.min' %>
+ <![endif]-->
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<%= render "shared/nav" %>
- <div class="container-fluid">
+ <div class="container">
<div class="row">
<div class="col-xs-12">
<%= flash_messages %>
<%= render "shared/breadcrumbs" %>
<%= yield %>
</div> <!-- /layout-col -->
</div> <!-- /layout-row -->
</div> <!-- /container -->
</body>
</html>

Event Timeline