Browse Source

logout link position change

master
filesite 7 months ago
parent
commit
cd500f3a71
  1. 8
      themes/tajian/views/my/index.php
  2. 2
      www/css/tajian.css
  3. 5
      www/img/logout.svg

8
themes/tajian/views/my/index.php

@ -14,17 +14,17 @@ if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['use
<div class="vercenter"> <div class="vercenter">
<strong class="nickname"><?=htmlspecialchars($viewData['nickname'], ENT_QUOTES)?></strong> <strong class="nickname"><?=htmlspecialchars($viewData['nickname'], ENT_QUOTES)?></strong>
(<a href="<?=$linkPrefix?>/my/setnickname">修改</a>) (<a href="<?=$linkPrefix?>/my/setnickname">修改</a>)
<p class="mt10"> <p class="mt10 verright">
<a href="/site/logout">退出登录</a> <a href="/site/logout"><img src="/img/logout.svg" alt="logout" width="18" class="verTop"> 退出</a>
</p> </p>
</div> </div>
<hr> <hr>
<ul class="mg_menus"> <ul class="mg_menus">
<li><a href="<?=$linkPrefix?>/my/tags"><img src="/img/collection.svg" alt="collection" width="18"> 管理分类</a></li> <li><a href="<?=$linkPrefix?>/my/tags"><img src="/img/collection.svg" alt="collection" width="18"> 管理分类</a></li>
<li><a href="<?=$linkPrefix?>/my/favs"><img src="/img/favorite.png" alt="favorite" width="20"> 管理收藏</a></li> <li><a href="<?=$linkPrefix?>/my/favs"><img src="/img/favorite.png" alt="favorite" width="20"> 管理收藏</a></li>
<li><a href="<?=$linkPrefix?>/my/addtag"><img src="/img/edit.svg" alt="edit" width="18"> 添加分类</a></li> <li><a href="<?=$linkPrefix?>/my/addtag"><img src="/img/edit.svg" alt="add tag" width="18"> 添加分类</a></li>
<li><a href="<?=$linkPrefix?>/site/new"><img src="/img/addvideos.svg" alt="add favorite" width="20"> 添加收藏</a></li> <li><a href="<?=$linkPrefix?>/site/new"><img src="/img/addvideos.svg" alt="add favorite" width="20"> 添加收藏</a></li>
<li><a href="<?=$linkPrefix?>/my/share"><img src="/img/share-fill.svg" alt="add favorite" width="18"> 分享收藏</a></li> <li><a href="<?=$linkPrefix?>/my/share"><img src="/img/share-fill.svg" alt="share favorite" width="18"> 分享收藏</a></li>
</ul> </ul>
</div> </div>
</main> </main>

2
www/css/tajian.css

@ -14,8 +14,10 @@ a{color:#464c5c;}
.elementhidden{visibility:hidden !important;} .elementhidden{visibility:hidden !important;}
.verMiddle{vertical-align:middle !important;} .verMiddle{vertical-align:middle !important;}
.verBottom{vertical-align:bottom !important;} .verBottom{vertical-align:bottom !important;}
.verTop{vertical-align:top !important;}
.verBaseline{vertical-align:baseline !important;} .verBaseline{vertical-align:baseline !important;}
.vercenter{text-align:center !important;} .vercenter{text-align:center !important;}
.verright{text-align:right !important;}
.verbold{font-weight:bold !important;} .verbold{font-weight:bold !important;}
.opacityshow{opacity:1 !important;} .opacityshow{opacity:1 !important;}
a:hover{text-decoration:none;color:darkblue;} a:hover{text-decoration:none;color:darkblue;}

5
www/img/logout.svg

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-box-arrow-right" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M10 12.5a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v2a.5.5 0 0 0 1 0v-2A1.5 1.5 0 0 0 9.5 2h-8A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h8a1.5 1.5 0 0 0 1.5-1.5v-2a.5.5 0 0 0-1 0z"/>
<path fill-rule="evenodd" d="M15.854 8.354a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708.708L14.293 7.5H5.5a.5.5 0 0 0 0 1h8.793l-2.147 2.146a.5.5 0 0 0 .708.708z"/>
</svg>

After

Width:  |  Height:  |  Size: 587 B

Loading…
Cancel
Save