summaryrefslogtreecommitdiffstats
path: root/templates/shared
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-12-04 12:18:37 +0100
committerGitHub <noreply@github.com>2020-12-04 12:18:37 +0100
commitbb50ab28613e9c39a57da98e873314e1739f4c14 (patch)
treed438d6c3fe63ea5d5d482acb50f4e4d0ef66b679 /templates/shared
parent557479642d1d1381bede0a31c4b19eecf46c0363 (diff)
downloadgitea-bb50ab28613e9c39a57da98e873314e1739f4c14.tar.gz
gitea-bb50ab28613e9c39a57da98e873314e1739f4c14.zip
Style and template tweaks (#13828)
* Style and template tweaks - Get red and green buttons on arc green closer to base theme - EasyMDE adjustments, toolbar and focus border - Fix header on 404 repo page - Tweaks to frontpage search, add 'Create Repo' button - Fix misaligned box headers - Fix pagination on arc-green - Fix background and footer on explore and repo search * better fix for header button alignment * add label hover for reactions
Diffstat (limited to 'templates/shared')
-rw-r--r--templates/shared/searchbottom.tmpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/shared/searchbottom.tmpl b/templates/shared/searchbottom.tmpl
new file mode 100644
index 0000000000..5680c8d2a9
--- /dev/null
+++ b/templates/shared/searchbottom.tmpl
@@ -0,0 +1,12 @@
+<div class="ui bottom attached table segment df ac sb">
+ <div class="ml-3">
+ {{if .result.Language}}
+ <i class="color-icon" style="background-color: {{.result.Color}}"></i>{{.result.Language}}
+ {{end}}
+ </div>
+ <div class="mr-3">
+ {{if not .result.UpdatedUnix.IsZero}}
+ <span class="ui grey text">{{.root.i18n.Tr "explore.code_last_indexed_at" (TimeSinceUnix .result.UpdatedUnix .root.i18n.Lang) | Safe}}</span>
+ {{end}}
+ </div>
+</div>