diff options
author | silverwind <me@silverwind.io> | 2020-12-04 12:18:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-04 12:18:37 +0100 |
commit | bb50ab28613e9c39a57da98e873314e1739f4c14 (patch) | |
tree | d438d6c3fe63ea5d5d482acb50f4e4d0ef66b679 /templates/explore/code.tmpl | |
parent | 557479642d1d1381bede0a31c4b19eecf46c0363 (diff) | |
download | gitea-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/explore/code.tmpl')
-rw-r--r-- | templates/explore/code.tmpl | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/templates/explore/code.tmpl b/templates/explore/code.tmpl index 9c880e59f2..0495645576 100644 --- a/templates/explore/code.tmpl +++ b/templates/explore/code.tmpl @@ -49,15 +49,7 @@ </table> </div> </div> - <div class="ui bottom attached table segment"> - {{if $result.Language}} - <i class="color-icon" style="background-color: {{$result.Color}}"></i>{{$result.Language}} - {{end}} - - {{if not $result.UpdatedUnix.IsZero}} - <span class="ui small grey text pull right">{{$.i18n.Tr "explore.code_last_indexed_at" (TimeSinceUnix $result.UpdatedUnix $.i18n.Lang) | Safe}} </span> - {{end}} - </div> + {{template "shared/searchbottom" dict "root" $ "result" .}} </div> {{end}} </div> |