From c2ab16d3a89df2075f2e0047766168e8b711fe86 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Wed, 24 Mar 2021 21:26:51 +0100 Subject: feat: add new repository --- src/views/Repository.vue | 53 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 52 insertions(+), 1 deletion(-) (limited to 'src/views/Repository.vue') diff --git a/src/views/Repository.vue b/src/views/Repository.vue index 0b9e2cf..abb40a9 100644 --- a/src/views/Repository.vue +++ b/src/views/Repository.vue @@ -21,6 +21,20 @@ :committer="emails[i.committer_email]" :expand="true" ) + section(v-else) + b-modal#new-repo( + @ok="add_new_repo()" + ok-title="Add" + ok-variant="outline-success" + cancel-variant="outline-dark" + ) + + b-form-group(label="Insert the branch name") + b-form-input(v-model="form.branch" placeholder="main") + .commit.no-hover + b-button(variant="outline-success" v-b-modal.new-repo) + | Add this repository on Gico + i.fas.fa-plus -- cgit v1.2.3-18-g5258