From 286d1c7fda572ae975fedbe3ba9033198a4791c5 Mon Sep 17 00:00:00 2001 From: Marcel Schwarz Date: Tue, 21 Jul 2020 21:26:49 +0200 Subject: [PATCH] Format Timerecord related things --- frontend/src/views/CreateTimerecord.vue | 184 ++++++++-------- frontend/src/views/EditTimerecord.vue | 183 ++++++++-------- frontend/src/views/TimeRecordItem.vue | 37 ++-- frontend/src/views/TimeRecords.vue | 219 ++++++++++---------- frontend/src/views/TimeTrackAccountItem.vue | 39 ++-- 5 files changed, 317 insertions(+), 345 deletions(-) diff --git a/frontend/src/views/CreateTimerecord.vue b/frontend/src/views/CreateTimerecord.vue index beff96a..2f473a0 100644 --- a/frontend/src/views/CreateTimerecord.vue +++ b/frontend/src/views/CreateTimerecord.vue @@ -1,7 +1,7 @@ - - - - + @@ -146,68 +142,65 @@ \ No newline at end of file + listen.addEventListener("keyup", e => { + if (e.keyCode === 13) { + e.preventDefault(); + this.addRecord(); + } + }); + } + }; + diff --git a/frontend/src/views/EditTimerecord.vue b/frontend/src/views/EditTimerecord.vue index 2e3d8c5..9ab41c0 100644 --- a/frontend/src/views/EditTimerecord.vue +++ b/frontend/src/views/EditTimerecord.vue @@ -1,9 +1,9 @@ - - - - + @@ -132,45 +130,46 @@ + \ No newline at end of file + }; + diff --git a/frontend/src/views/TimeRecordItem.vue b/frontend/src/views/TimeRecordItem.vue index c70eb46..970f0bd 100644 --- a/frontend/src/views/TimeRecordItem.vue +++ b/frontend/src/views/TimeRecordItem.vue @@ -2,16 +2,14 @@ - -

{{timeRecord.date}}

+

{{timeRecord.date}}

-
mdi-currency-usdmdi-currency-usd-off{{" " + timeRecord.type}}
+
+                mdi-currency-usd
+                mdi-currency-usd-off{{" " + timeRecord.type}}
+              
@@ -33,7 +31,7 @@
- +
mdi-account-tie{{" " + timeRecord.account}}
@@ -54,7 +52,8 @@ mdi-pencil - + mdi-file-document-edit @@ -67,16 +66,16 @@ \ No newline at end of file + .v-card { + border-color: #131313 !important; + border-width: 3px !important; + border-radius: 10000px !important; + } + diff --git a/frontend/src/views/TimeRecords.vue b/frontend/src/views/TimeRecords.vue index bf3c9e2..7830929 100644 --- a/frontend/src/views/TimeRecords.vue +++ b/frontend/src/views/TimeRecords.vue @@ -9,7 +9,7 @@ - + mdi-arrow-left @@ -18,147 +18,144 @@ mdi-arrow-right - + - + mdi-plus - \ No newline at end of file + diff --git a/frontend/src/views/TimeTrackAccountItem.vue b/frontend/src/views/TimeTrackAccountItem.vue index 37cdd2c..bc671e1 100644 --- a/frontend/src/views/TimeTrackAccountItem.vue +++ b/frontend/src/views/TimeTrackAccountItem.vue @@ -24,22 +24,19 @@ - + - + mdi-file-document-edit - + mdi-delete @@ -49,19 +46,19 @@ \ No newline at end of file + .v-card { + border-color: #131313 !important; + border-width: 3px !important; + border-radius: 10000px !important; + } +