Page MenuHomeGRNET

No OneTemporary

File Metadata

Created
Sun, May 18, 10:07 PM
diff --git a/app/views/admin/clients/logs.html.erb b/app/views/admin/clients/logs.html.erb
index 2b4f2b4..9172d1e 100644
--- a/app/views/admin/clients/logs.html.erb
+++ b/app/views/admin/clients/logs.html.erb
@@ -1,42 +1,42 @@
<%= render partial: 'header' %>
<div class='row'>
<div class='col-xs-3'>
<h3>Logs <small>(<%= @logs.count %>)</small></h3>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<%= bootstrap_form_tag(url: '', method: :get, layout: :inline) do |form| %>
- <%= form.date_field :start_date, value: @dates[:start],
+ <%= form.text_field :start_date, value: @dates[:start],
class: 'datepicker' %>
<%= form.text_field :end_date, value: @dates[:end],
class: 'datepicker' %>
<%= form.submit 'Show Logs', class: 'btn btn-default' %>
<% end %>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<div class="datatable-wrapper">
<div class="table-responsive">
<table id="logs" class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>LogId</th>
<th>JobId</th>
<th>Job</th>
<th>Time</th>
<th class="no-order">Text</th>
</tr>
</thead>
<tbody>
<%= render partial: 'log', collection: @logs %>
</tbody>
</table>
</div>
</div>
</div>
</div>
diff --git a/app/views/clients/logs.html.erb b/app/views/clients/logs.html.erb
index 2b4f2b4..9172d1e 100644
--- a/app/views/clients/logs.html.erb
+++ b/app/views/clients/logs.html.erb
@@ -1,42 +1,42 @@
<%= render partial: 'header' %>
<div class='row'>
<div class='col-xs-3'>
<h3>Logs <small>(<%= @logs.count %>)</small></h3>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<%= bootstrap_form_tag(url: '', method: :get, layout: :inline) do |form| %>
- <%= form.date_field :start_date, value: @dates[:start],
+ <%= form.text_field :start_date, value: @dates[:start],
class: 'datepicker' %>
<%= form.text_field :end_date, value: @dates[:end],
class: 'datepicker' %>
<%= form.submit 'Show Logs', class: 'btn btn-default' %>
<% end %>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<div class="datatable-wrapper">
<div class="table-responsive">
<table id="logs" class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>LogId</th>
<th>JobId</th>
<th>Job</th>
<th>Time</th>
<th class="no-order">Text</th>
</tr>
</thead>
<tbody>
<%= render partial: 'log', collection: @logs %>
</tbody>
</table>
</div>
</div>
</div>
</div>

Event Timeline