Browse Source

fix issue

pull/731/head
zhoupzh 3 years ago
parent
commit
99f4bc4958
2 changed files with 41 additions and 0 deletions
  1. +33
    -0
      public/img/git-logo.svg
  2. +8
    -0
      templates/base/head_navbar.tmpl

+ 33
- 0
public/img/git-logo.svg View File

@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 107.5 17.3" style="enable-background:new 0 0 107.5 17.3;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;}
</style>
<g id="图层_2_00000100368338528644228740000007878527297716436140_">
<g id="图层_1-2">
<path class="st0" d="M0,16.5l6-15l1.7,0.7l-6,15L0,16.5z M3.2,12.2v-1.9h8.4v1.9L3.2,12.2z M6.9,2.7H5.2V0.8h3l6.2,15.6l-1.7,0.7
L6.9,2.7z"/>
<path class="st0" d="M17.9,17V0.9h1.9V17H17.9z"/>
<path class="st0" d="M28.8,5.5h-2V3.7h2V0.3h1.7v3.5h1.9v1.7h-1.9v11.8h-1.7V5.5z M35.2,7.1c-0.2,0.7-0.4,1.4-0.7,2
c-0.3,0.6-0.6,1.1-0.8,1.6c-0.2,0.4-0.4,0.7-0.7,1.1l-0.3,0.4l-0.7-0.6L31.3,11c0.3-0.4,0.6-0.8,0.9-1.2c0.2-0.4,0.5-0.9,0.7-1.4
c0.3-0.6,0.5-1.1,0.7-1.7L35.2,7.1z M41.8,14.7V4.3h-3.8V7c0,1-0.1,1.9-0.3,2.8c-0.2,0.8-0.5,1.7-0.8,2.5c-0.3,0.7-0.7,1.4-1.1,2
c-0.4,0.6-0.8,1.1-1.1,1.6c-0.3,0.4-0.6,0.7-0.9,1l-0.4,0.4L32,16c0.4-0.4,0.7-0.8,1.1-1.2c0.3-0.4,0.6-0.8,1-1.4
c0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3.2
H92.2V15.4z"/>
<rect x="17.4" y="0.9" class="st0" width="3" height="1.8"/>
<rect x="17.4" y="15.2" class="st0" width="3" height="1.8"/>
</g>
</g>
</svg>

+ 8
- 0
templates/base/head_navbar.tmpl View File

@@ -7,6 +7,14 @@
<i class="sidebar icon"></i>
</div>
</div>
<div style="width:1px;background:#606266;height:80%;margin:auto 0.5rem"></div>
<div class="item brand" style="margin-left: 0.9rem;">
<a href="/">
<img class="ui mini image" style="height: 1.3rem;" src="{{StaticUrlPrefix}}/img/git-logo.svg">
</a>
</div>


{{if .IsSigned}}
<a class="item {{if .PageIsDashboard}}active{{end}}" href="/dashboard">{{.i18n.Tr "index"}}</a>


Loading…
Cancel
Save