Skip to content
This repository was archived by the owner on Sep 27, 2021. It is now read-only.

Commit e5db7d1

Browse files
committed
better back button and centering
1 parent 91bf188 commit e5db7d1

File tree

1 file changed

+24
-12
lines changed

1 file changed

+24
-12
lines changed

www/index.html

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,30 @@ <h1 class="h3 mb-3 font-weight-normal">GitBackup</h1>
5353
<div v-if="repoList">
5454
<div class="card">
5555
<div class="card-header justify-content-between align-items-center">
56-
<a href="/"><i class="fas fa-long-arrow-alt-left"></i></a>
57-
<span><i class="fas fa-user"></i> {{repoList.user.username | truncateUsername}}</span>
58-
59-
<div class="btn-group float-right" role="group" aria-label="Basic example">
60-
<button type="button" class="btn btn-sm" v-bind:class="{
61-
'btn-outline-success': repoList.user.status === 'synced',
62-
'btn-outline-warning': repoList.user.status === 'syncing',
63-
'btn-outline-danger': repoList.user.status === 'unsynced',
64-
'btn-outline-dark': repoList.user.status === 'error'
65-
}">
66-
<i class="fas fa-sync-alt"></i> {{repoList.user.status | capitalize}}
67-
</button>
56+
<div class="row">
57+
<div class="col">
58+
<a class="btn btn-sm btn-outline-dark" href="/">
59+
<i class="fas fa-long-arrow-alt-left"></i>
60+
Back
61+
</a>
62+
</div>
63+
64+
<div class="col" style="text-align: center; padding-top: 3px;">
65+
<i class="fas fa-user"></i> {{repoList.user.username | truncateUsername}}
66+
</div>
67+
68+
<div class="col">
69+
<div class="btn-group float-right" role="group" aria-label="Basic example">
70+
<button type="button" class="btn btn-sm" v-bind:class="{
71+
'btn-outline-success': repoList.user.status === 'synced',
72+
'btn-outline-warning': repoList.user.status === 'syncing',
73+
'btn-outline-danger': repoList.user.status === 'unsynced',
74+
'btn-outline-dark': repoList.user.status === 'error'
75+
}">
76+
<i class="fas fa-sync-alt"></i> {{repoList.user.status | capitalize}}
77+
</button>
78+
</div>
79+
</div>
6880
</div>
6981
</div>
7082

0 commit comments

Comments
 (0)