Skip to content

Commit

Permalink
feat: minor style improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Mar 14, 2024
1 parent 050a1e0 commit e8d8135
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions frontend/src/pages/jobs/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
density="comfortable"
prepend-icon="mdi:mdi-source-branch"
:href="`https://github.com/AOSC-Dev/aosc-os-abbs/tree/${(item as Job).git_branch}`"
style="margin-right: 5px;"
style="margin-right: 5px; margin-bottom: 5px;"
>
{{ (item as Job).git_branch }}
</v-chip>
Expand All @@ -98,7 +98,7 @@
density="comfortable"
prepend-icon="mdi:mdi-source-commit"
:href="`https://github.com/AOSC-Dev/aosc-os-abbs/commit/${(item as Job).git_sha}`"
style="margin-right: 5px;"
style="margin-right: 5px; margin-bottom: 5px;"
>
{{ (item as Job).git_sha.substring(0, 8) }}
</v-chip>
Expand All @@ -108,14 +108,15 @@
prepend-icon="mdi:mdi-source-pull"
:href="`https://github.com/AOSC-Dev/aosc-os-abbs/pull/${(item as Job).github_pr}`"
v-if="(item as Job).github_pr"
style="margin-right: 5px;"
style="margin-right: 5px; margin-bottom: 5px;"
>
#{{ (item as Job).github_pr }}
</v-chip>
<v-chip
label
density="comfortable"
prepend-icon="mdi:mdi-cpu-64-bit"
style="margin-right: 5px; margin-bottom: 5px;"
>
{{ (item as Job).arch }}
</v-chip>
Expand All @@ -132,6 +133,9 @@
size="x-small"
v-if="(item as Job).log_url !== null && (item as Job).log_url !== undefined"
:to="{ path: (item as Job).log_url.replace('https://buildit.aosc.io/logs/', '/web-logs/') }">
<v-tooltip activator="parent" location="bottom">
View Log
</v-tooltip>
</v-btn>
</template>
</v-data-table-server>
Expand Down

0 comments on commit e8d8135

Please sign in to comment.