Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
[Update] Version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bakaomg committed Apr 7, 2019
1 parent 7ebb5f1 commit cc04ebf
Show file tree
Hide file tree
Showing 146 changed files with 3,185 additions and 4 deletions.
53 changes: 53 additions & 0 deletions 404.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<?php
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('includes/header.php');
?>
<style>footer{display:none;}header{display:none;}.mdui-appbar-with-toolbar{padding-top: 0px;}</style>
<div class="moe-404-body">
<div class="mdui-card moe-card-404">
<div class="mdui-card-media moe-card-media">
<main class="moe-card-img" data-original="<?php echo themeResource('others/img/404.jpg'); ?>" style="background-image: url('<?php echo themeResource('others/img/loading.gif'); ?>');"></main>
<div class="mdui-card-media-covered">
<div class="mdui-card-primary">
<div class="mdui-card-primary-title moe-card-title moe-text-ellipsis"><?php $this->options->title(); ?></div>
</div>
</div>
</div>

<div class="moe-404-content">
<div class="moe-title">404 Not Found</div>
<div class="moe-des">或许你可以试着搜索一下?</div>

<form id="search" method="post" action="<?php $this->options->siteUrl(); ?>" role="search">
<div class="mdui-textfield moe-search-p">
<input class="mdui-textfield-input" type="text" name="s" id="searchOuO" placeholder="输入你想搜索的内容吧!"/>
</div>
<button class="mdui-btn mdui-btn-icon mdui-color-theme-accent mdui-ripple moe-btn mdui-btn-raised"><i class="mdui-icon material-icons">search</i></button>
</form>
</div>

<div class="moe-404-btn">
<ul class="mdui-list">
<li class="mdui-list-item mdui-ripple">
<i class="mdui-list-item-icon mdui-icon material-icons">home</i>
<div class="mdui-list-item-content">首页</div>
</li>

<li class="mdui-list-item mdui-ripple">
<i class="mdui-list-item-icon mdui-icon material-icons">account_circle</i>
<div class="mdui-list-item-content">登录</div>
</li>

<li class="mdui-list-item mdui-ripple">
<i class="mdui-list-item-icon mdui-icon material-icons">lock</i>
<div class="mdui-list-item-content">注册</div>
</li>
</ul>
</div>
</div>
</div>
<script>
$(document).attr("title","<?php echo lang('404', 'title')?>");
var Search404URL = '<?php $this->options->siteUrl(); ?>';
</script>
<?php $this->need('includes/footer.php'); ?>
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Castle-Typecho-Theme
一个不怎么样但是很用心写的Typecho主题<br>
主题因为个人原因 一气之下删除了。<br>
目前正在重构主题...<br>
实时(可能是吧)Demo https://demo.ohmyga.net/castle
Version 0.1.0
## LICENSE
GPL V3
## 链接
Blog https://ohmyga.cn
## 提示
目前版本为非稳定版本,如有发现BUG请发起issues<br>
此版本仅有基础的功能,但设置项并非完善,这些将在下个版本解决。(时间太赶了)<br>
~~ 懒得写ReadME,目前就保持这样子吧。~~
Loading

0 comments on commit cc04ebf

Please sign in to comment.