mirror of
https://github.com/suk-ws/ph-Bookshelf.git
synced 2024-12-05 09:26:52 +08:00
完成 books 和 links 列出,更新页尾声明
- 使 books 和 links 以特殊的链接组的样式显示 - 页尾添加了文章作者版权声明部分 - 现在版本号显示更加丰富了 - SiteMeta 添加获取当前版本的方法 - 更改了项目的 CHANNEL 名
This commit is contained in:
parent
0024f32fb9
commit
d5bad3949c
@ -423,6 +423,22 @@ body {
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#sidebar > .menu-container > .menu#menu-metas > .menu-item-parent > *:first-child {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar > .menu-container > .menu#menu-metas > .menu-item-parent > *:first-child:after {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
margin-left: -1rem;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar > .menu-container > .menu#menu-metas > .menu-item-parent > .children {
|
||||||
|
padding-left: 0;
|
||||||
|
border-left-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
/*
|
/*
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
const APP_NAME = "ph-Bookshelf";
|
const APP_NAME = "ph-Bookshelf";
|
||||||
|
|
||||||
const VERSION = "0.3.0.1";
|
const VERSION = "0.3.0.1";
|
||||||
const CHANNEL = "workshop-origin";
|
const CHANNEL = "suk-ws";
|
||||||
const BRANCH = "master";
|
const BRANCH = "master";
|
||||||
|
@ -11,6 +11,10 @@ class SiteMeta {
|
|||||||
return APP_NAME." ".VERSION;
|
return APP_NAME." ".VERSION;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function getProgramVersion(): string {
|
||||||
|
return sprintf("%s @%s/%s", VERSION, CHANNEL, BRANCH);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
|
@ -1,10 +1,30 @@
|
|||||||
|
<? require_once "./src/Data/SiteMeta.php"; ?>
|
||||||
<div id="nav-container"><nav id="sidebar">
|
<div id="nav-container"><nav id="sidebar">
|
||||||
<noscript id="noscript-warn">For now, javascript must be enabled to view this site!!</noscript>
|
<noscript id="noscript-warn">For now, javascript must be enabled to view this site!!</noscript>
|
||||||
<address id="site-title">ph-Bookshelf BEDROCK Demo supports looooooooog title</address>
|
<address id="site-title">ph-Bookshelf BEDROCK Demo supports looooooooog title</address>
|
||||||
<div id="menu-container" class="menu-container sidebar-card">
|
<div id="menu-container" class="menu-container sidebar-card">
|
||||||
<div id="menu-links" class="menu">
|
<div id="menu-metas" class="menu">
|
||||||
<a class="no-style menu-item" href="https://sukazyo.cc/" target="_blank">Workshop MetaBoard</a>
|
<div class="menu-item-parent">
|
||||||
<a class="no-style menu-item" href="https://srv.sukazyo.cc/" target="_blank">Workshop Services</a>
|
<a class="no-style menu-item" href="#">Links</a>
|
||||||
|
<div class="children">
|
||||||
|
<a class="no-style menu-item" href="https://sukazyo.cc/" target="_blank">Workshop MetaBoard</a>
|
||||||
|
<a class="no-style menu-item" href="https://srv.sukazyo.cc/" target="_blank">Workshop Services</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="menu-item-parent">
|
||||||
|
<a class="no-style menu-item" href="#">Books</a>
|
||||||
|
<div class="children">
|
||||||
|
<a class="no-style menu-item" href="https://sukazyo.cc/" target="_blank">Template Book</a>
|
||||||
|
<a class="no-style menu-item" href="https://srv.sukazyo.cc/" target="_blank">phBookshelf Documentation</a>
|
||||||
|
<div class="menu-item-parent">
|
||||||
|
<a class="no-style menu-item" href="#">Some other Links</a>
|
||||||
|
<div class="children">
|
||||||
|
<a class="no-style menu-item current" href="https://sukazyo.cc/" target="_blank">Template Book</a>
|
||||||
|
<a class="no-style menu-item" href="https://srv.sukazyo.cc/" target="_blank">phBookshelf Documentation</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="menu-pages" class="menu">
|
<div id="menu-pages" class="menu">
|
||||||
<a class="no-style menu-item" href="#">Something?</a>
|
<a class="no-style menu-item" href="#">Something?</a>
|
||||||
@ -38,9 +58,17 @@
|
|||||||
<a class="no-style menu-item" href="#">Something?</a>
|
<a class="no-style menu-item" href="#">Something?</a>
|
||||||
</div>
|
</div>
|
||||||
<div id="menu-about" class="menu">
|
<div id="menu-about" class="menu">
|
||||||
|
<a class="no-style menu-item" href="https://sukazyo.cc" target="_blank">
|
||||||
|
<span>hosted by Sukazyo Workshop</span><br>
|
||||||
|
<small> | @author A.C.Sukazyo Eyre</small><br>
|
||||||
|
<small> <object><a class="no-style" href="https://laple.me/">| @author Lapis Apple</a></object></small><br>
|
||||||
|
<small> | @author github contributors&~&</small><br>
|
||||||
|
<small> | CC BY-NC-SA</small><br>
|
||||||
|
<small> | CC statement just for testing</small>
|
||||||
|
</a>
|
||||||
<a class="no-style menu-item" href="https://github.com/suk-ws/ph-Bookshelf" target="_blank">
|
<a class="no-style menu-item" href="https://github.com/suk-ws/ph-Bookshelf" target="_blank">
|
||||||
<span>Published by ph-Bookshelf</span><br>
|
<span>published with ph-Bookshelf</span><br>
|
||||||
<small>0.3-dev</small>
|
<small><?=SiteMeta::getProgramVersion()?></small>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user