|
|
|
@ -1,8 +1,7 @@ |
|
|
|
<h1 class="mb-4">Meine Einträge</h1> |
|
|
|
|
|
|
|
<h1 class="mb-4">Meine Einträge</h1> |
|
|
|
|
|
|
|
<!-- 🔢 Zusammenfassung --> |
|
|
|
<div class="mb-4"> |
|
|
|
<!-- 🔢 Zusammenfassung --> |
|
|
|
<div class="container my-4 rounded border shadow-sm py-3 px-4"> |
|
|
|
<div class="row row-cols-1 row-cols-md-2 row-cols-lg-3 g-4"> |
|
|
|
|
|
|
|
<div class="col rounded border shadow-sm p-3"> |
|
|
|
@ -57,11 +56,11 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 📊 Übersicht je Kombination --> |
|
|
|
<div class="mb-4"> |
|
|
|
<!-- 📊 Übersicht je Kombination --> |
|
|
|
<div class="mb-4 rounded border shadow-sm p-3"> |
|
|
|
<h4>📊 Übersicht je Kombination</h4> |
|
|
|
<div class="table-responsive"> |
|
|
|
<table class="table table-bordered table-sm table-striped"> |
|
|
|
@ -99,9 +98,9 @@ |
|
|
|
</table> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="container my-4 rounded border shadow-sm p-3"> |
|
|
|
<div class="container my-4 rounded border shadow-sm p-3"> |
|
|
|
<h4 class="mb-4">⏱ Timer</h4> |
|
|
|
<% if @running_entry.present? %> |
|
|
|
<div class="alert alert-info d-flex justify-content-between align-items-center"> |
|
|
|
@ -117,7 +116,7 @@ |
|
|
|
</div> |
|
|
|
<% end %> |
|
|
|
|
|
|
|
<div class="mb-4 row" > |
|
|
|
<div class="mb-4 row"> |
|
|
|
|
|
|
|
|
|
|
|
<%= form_with url: start_timer_entries_path, method: :post, local: true do %> |
|
|
|
@ -139,21 +138,20 @@ |
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<%= link_to '➕ Neuer Eintrag', new_entry_path, class: 'btn btn-info mt-3 w-100 w-md-auto mb-3' %> |
|
|
|
<%= link_to '➕ Neuer Eintrag', new_entry_path, class: 'btn btn-info mt-3 w-100 w-md-auto mb-3' %> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 📋 Tabelle aller Einträge --> |
|
|
|
<div class="m-1"> |
|
|
|
<!-- 📋 Tabelle aller Einträge --> |
|
|
|
<div class="mb-4 rounded border shadow-sm p-3"> |
|
|
|
<h4 class="mb-3">📋 Einträge</h4> |
|
|
|
|
|
|
|
<div class="mb-3"> |
|
|
|
@ -212,7 +210,7 @@ |
|
|
|
</table> |
|
|
|
</div> |
|
|
|
<%= link_to "Export als CSV", export_csv_entries_path(format: :csv), class: "btn btn-outline-secondary mt-3 w-100 w-md-auto" %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|