Skip to content

Commit

Permalink
Minor UI Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-voorberg committed Sep 17, 2020
1 parent 48c619e commit a93282b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion views/correction/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<table class='table'>
<% for (let i = 0; i < corrections.length; i++) { %>
<tr class='clickable-row' data-href='/correction/<%=corrections[i].id%>'>
<td><%= corrections[i].date.getDate() %>/<%= corrections[i].date.getMonth() %>/<%= corrections[i].date.getFullYear() %></td>
<td><%= corrections[i].date.getDate() %>/<%= corrections[i].date.getMonth() + 1 %>/<%= corrections[i].date.getFullYear() %></td>
<td><%= id_to_name[corrections[i].corrector_id] %>
<td><%= corrections[i].amount %></td>
<td><%= corrections[i].description %></td>
Expand Down
6 changes: 2 additions & 4 deletions views/investment/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@
</div>

<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8">
<div class="col-md-12">
<table class="table">
<thead>
<tr>
Expand All @@ -106,7 +105,7 @@
<td style="max-width: 300px"><%=investments[i].description%></td>
<td><%= formatEuro(investments[i].amount) %></td>
<td><%= formatDate(investments[i].date) %></td>
<td class="icons">
<td class="icons" style="text-align: right;">
<button class='btn btn-secondary' onclick='openEditPopup(`<%=investments[i].id%>`, `<%=investments[i].description%>`, `<%=investments[i].amount%>`)'>
<i class='fa fa-edit'></i>
</button>
Expand All @@ -120,7 +119,6 @@
</tbody>
</table>
</div>
<div class="col-md-2"></div>
</div>

<div class="modal fade" id="deletionModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
Expand Down

0 comments on commit a93282b

Please sign in to comment.