From 06f028bf5aefba7d93a7a00373ea820f4537bfd3 Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 28 May 2021 17:27:29 +0200 Subject: Added a clone-dropdown & made multiple small frontend improvements --- src/frontend/components/HomeHeader.vue | 2 +- .../components/RepositoryCloneDropdown.vue | 71 ++++++++++++++++++ src/frontend/components/RepositoryHeader.vue | 3 +- src/frontend/components/RepositoryNavbar.vue | 30 ++++++-- src/frontend/scss/abstracts/_colors.scss | 5 +- src/frontend/scss/style.scss | 83 +++++++++++++++++++++- src/frontend/util/worker.js | 6 ++ src/frontend/views/Home.vue | 4 +- src/frontend/views/RepositoryCommit.vue | 2 +- src/frontend/views/RepositoryLog.vue | 2 +- 10 files changed, 192 insertions(+), 16 deletions(-) create mode 100644 src/frontend/components/RepositoryCloneDropdown.vue create mode 100644 src/frontend/util/worker.js (limited to 'src') diff --git a/src/frontend/components/HomeHeader.vue b/src/frontend/components/HomeHeader.vue index 8c27c93..9a0688d 100644 --- a/src/frontend/components/HomeHeader.vue +++ b/src/frontend/components/HomeHeader.vue @@ -18,7 +18,7 @@ export default { name: "HomeHeader", setup() { - const state = reactive({ title: String, about: String }); + const state = reactive({ title: "", about: "" }); watch(() => { diff --git a/src/frontend/components/RepositoryCloneDropdown.vue b/src/frontend/components/RepositoryCloneDropdown.vue new file mode 100644 index 0000000..aaef5ef --- /dev/null +++ b/src/frontend/components/RepositoryCloneDropdown.vue @@ -0,0 +1,71 @@ + + + \ No newline at end of file diff --git a/src/frontend/components/RepositoryHeader.vue b/src/frontend/components/RepositoryHeader.vue index b074d15..61b8d20 100644 --- a/src/frontend/components/RepositoryHeader.vue +++ b/src/frontend/components/RepositoryHeader.vue @@ -4,7 +4,7 @@
{{ title }} -

+

{{ about }}

@@ -14,6 +14,7 @@