main
header-blue
b-container(v-if="loading")
b-overlay(:show="true" spinner-large)
b-container(v-else)
.commit.no-hover
h1 {{ user }}/
span.secondary {{ name }}
b-button.open-github(
:href="'https://github.com/'+user+'/'+name"
variant="outline-dark" target="_new"
) Open on GitHub
i.fab.fa-github
section(v-if="commits.length > 0")
.commit.no-hover
h2 Commits found: {{ (commits.length == 1000)?"1000+":commits.length }}
commit-card(
v-for="i in commits" :key="i.hash" :data="i"
:author="emails[i.author_email]"
: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"
)
Add {{ user }}/{{ name }} on Gico!
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