|
119 | 119 | <div v-if="repos.length" class="ui attached table segment rounded-bottom">
|
120 | 120 | <ul class="repo-owner-name-list">
|
121 | 121 | <li v-for="repo in repos" :class="{'private': repo.private || repo.internal}">
|
122 |
| - <a class="df ac sb" :href="suburl + '/' + repo.full_name"> |
| 122 | + <a class="repo-list-link df ac sb" :href="suburl + '/' + repo.full_name"> |
123 | 123 | <div class="f1">
|
124 | 124 | <component v-bind:is="repoIcon(repo)" size="16"></component>
|
125 | 125 | <strong class="text truncate item-name">${repo.full_name}</strong>
|
|
129 | 129 | </div>
|
130 | 130 | <div class="text light grey df ac">
|
131 | 131 | ${repo.stars_count}
|
132 |
| - {{svg "octicon-star" 16 "rear ml-2"}} |
| 132 | + {{svg "octicon-star" 16 "ml-2"}} |
133 | 133 | </div>
|
134 | 134 | </a>
|
135 | 135 | </li>
|
136 |
| - <li v-if="showMoreReposLink"> |
137 |
| - <div class="center"> |
138 |
| - <div class="ui borderless pagination menu narrow"> |
139 |
| - <a class="item navigation" :class="{'disabled': page === 1}" |
140 |
| - @click="changePage(1)" title="{{$.i18n.Tr "admin.first_page"}}"> |
141 |
| - {{svg "gitea-double-chevron-left" 16 "mr-2"}} |
142 |
| - </a> |
143 |
| - <a class="item navigation" :class="{'disabled': page === 1}" |
144 |
| - @click="changePage(page - 1)" title="{{$.i18n.Tr "repo.issues.previous"}}"> |
145 |
| - {{svg "octicon-chevron-left" 16 "mr-2"}} |
146 |
| - </a> |
147 |
| - <a class="active item">${page}</a> |
148 |
| - <a class="item navigation" :class="{'disabled': page === finalPage}" |
149 |
| - @click="changePage(page + 1)" title="{{$.i18n.Tr "repo.issues.next"}}"> |
150 |
| - {{svg "octicon-chevron-right" 16 "ml-2"}} |
151 |
| - </a> |
152 |
| - <a class="item navigation" :class="{'disabled': page === finalPage}" |
153 |
| - @click="changePage(finalPage)" title="{{$.i18n.Tr "admin.last_page"}}"> |
154 |
| - {{svg "gitea-double-chevron-right" 16 "ml-2"}} |
155 |
| - </a> |
156 |
| - </div> |
157 |
| - </div> |
158 |
| - </li> |
159 | 136 | </ul>
|
| 137 | + <div v-if="showMoreReposLink" class="center py-3 border-secondary-top"> |
| 138 | + <div class="ui borderless pagination menu narrow"> |
| 139 | + <a class="item navigation py-2" :class="{'disabled': page === 1}" |
| 140 | + @click="changePage(1)" title="{{$.i18n.Tr "admin.first_page"}}"> |
| 141 | + {{svg "gitea-double-chevron-left" 16 "mr-2"}} |
| 142 | + </a> |
| 143 | + <a class="item navigation py-2" :class="{'disabled': page === 1}" |
| 144 | + @click="changePage(page - 1)" title="{{$.i18n.Tr "repo.issues.previous"}}"> |
| 145 | + {{svg "octicon-chevron-left" 16 "mr-2"}} |
| 146 | + </a> |
| 147 | + <a class="active item py-2">${page}</a> |
| 148 | + <a class="item navigation" :class="{'disabled': page === finalPage}" |
| 149 | + @click="changePage(page + 1)" title="{{$.i18n.Tr "repo.issues.next"}}"> |
| 150 | + {{svg "octicon-chevron-right" 16 "ml-2"}} |
| 151 | + </a> |
| 152 | + <a class="item navigation py-2" :class="{'disabled': page === finalPage}" |
| 153 | + @click="changePage(finalPage)" title="{{$.i18n.Tr "admin.last_page"}}"> |
| 154 | + {{svg "gitea-double-chevron-right" 16 "ml-2"}} |
| 155 | + </a> |
| 156 | + </div> |
| 157 | + </div> |
160 | 158 | </div>
|
161 | 159 | </div>
|
162 | 160 | <div v-if="!isOrganization" v-show="tab === 'organizations'" class="ui tab active list dashboard-orgs">
|
|
173 | 171 | <div v-if="organizations.length" class="ui attached table segment rounded-bottom">
|
174 | 172 | <ul class="repo-owner-name-list">
|
175 | 173 | <li v-for="org in organizations">
|
176 |
| - <a class="df ac sb" :href="suburl + '/' + org.name"> |
| 174 | + <a class="repo-list-link df ac sb" :href="suburl + '/' + org.name"> |
177 | 175 | <div class="f1">
|
178 | 176 | {{svg "octicon-organization" 16 "mr-2"}}
|
179 | 177 | <strong class="text truncate item-name">${org.name}</strong>
|
180 | 178 | </div>
|
181 | 179 | <div class="text light grey df ac">
|
182 | 180 | ${org.num_repos}
|
183 |
| - {{svg "octicon-repo" 16 "rear ml-2 mt-1"}} |
| 181 | + {{svg "octicon-repo" 16 "ml-2 mt-1"}} |
184 | 182 | </div>
|
185 | 183 | </a>
|
186 | 184 | </li>
|
|
0 commit comments