forked from tangled.org/core
Monorepo for Tangled

appview: pages/templates: consistent buttons for new issues/pulls

Changed files
+7 -7
appview
pages
templates
fragments
repo
issues
pulls
+3 -3
appview/pages/templates/fragments/repoActions.html
··· 20 20 {{ else }} 21 21 {{ i "star" "w-4 h-4" }} 22 22 {{ end }} 23 - <span> 23 + <span class="text-sm"> 24 24 {{ .Stats.StarCount }} 25 25 </span> 26 26 </div> 27 27 </button> 28 28 {{ if .DisableFork }} 29 - <button class="btn no-underline hover:no-underline flex items-center gap-2 disabled:opacity-50 disabled:cursor-not-allowed" disabled title="Empty repositories cannot be forked"> 29 + <button class="btn text-sm no-underline hover:no-underline flex items-center gap-2 disabled:opacity-50 disabled:cursor-not-allowed" disabled title="Empty repositories cannot be forked"> 30 30 {{ i "git-fork" "w-4 h-4"}} 31 31 fork 32 32 </button> 33 33 {{ else }} 34 - <a class="btn no-underline hover:no-underline flex items-center gap-2" href="/{{ .FullName }}/fork"> 34 + <a class="btn text-sm no-underline hover:no-underline flex items-center gap-2" href="/{{ .FullName }}/fork"> 35 35 {{ i "git-fork" "w-4 h-4"}} 36 36 fork 37 37 </a>
+2 -2
appview/pages/templates/repo/issues/issues.html
··· 13 13 <a 14 14 href="/{{ .RepoInfo.FullName }}/issues/new" 15 15 class="btn text-sm flex items-center gap-2 no-underline hover:no-underline"> 16 - {{ i "plus" "w-4 h-4" }} 17 - <span>new issue</span> 16 + {{ i "circle-plus" "w-4 h-4" }} 17 + <span>new</span> 18 18 </a> 19 19 </div> 20 20 <div class="error" id="issues"></div>
+2 -2
appview/pages/templates/repo/pulls/pulls.html
··· 24 24 href="/{{ .RepoInfo.FullName }}/pulls/new" 25 25 class="btn text-sm flex items-center gap-2 no-underline hover:no-underline dark:text-white dark:bg-gray-700 dark:hover:bg-gray-600" 26 26 > 27 - {{ i "git-pull-request" "w-4 h-4" }} 28 - <span>new pull request</span> 27 + {{ i "git-pull-request-create" "w-4 h-4" }} 28 + <span>new</span> 29 29 </a> 30 30 </div> 31 31 <div class="error" id="pulls"></div>