Skip to content
This repository has been archived by the owner on Dec 30, 2017. It is now read-only.

Commit

Permalink
1.0 版本
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyCai committed Feb 23, 2014
0 parents commit c65f0b8
Show file tree
Hide file tree
Showing 15 changed files with 2,206 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
215 changes: 215 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
#################
## Eclipse
#################

*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# PDT-specific
.buildpath


#################
## Visual Studio
#################

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results

[Dd]ebug/
[Rr]elease/
x64/
build/
[Bb]in/
[Oo]bj/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.log
*.scc

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
*.ncrunch*
.*crunch*.local.xml

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.Publish.xml
*.pubxml

# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
#packages/

# Windows Azure Build Output
csx
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.[Pp]ublish.xml
*.pfx
*.publishsettings

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
App_Data/*.mdf
App_Data/*.ldf

#############
## Windows detritus
#############

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Mac crap
.DS_Store


#############
## Python
#############

*.py[co]

# Packages
*.egg
*.egg-info
dist/
build/
eggs/
parts/
var/
sdist/
develop-eggs/
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox

#Translations
*.mo

#Mr Developer
.mr.developer.cfg
15 changes: 15 additions & 0 deletions 404.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php $this->need('header.php'); ?>
<div class="content pure-u-1 pure-u-med-3-4">
<h1 class="content-subhead">
<a href="<?php $this->options->siteUrl(); ?>">
主页
</a>
&raquo; 404 - 打开的网址不存在
</h1>
<h2 class="text-center">
404 - 打开的网址不存在
</h2>
<p class="text-center">
大概是输入了一个错误的网址造成的,或者是原本在这里的文章被我移除了。
</p>
<?php $this->need('footer.php'); ?>
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Azure
=========
<img src="http://festivalfuck.ml/usr/uploads/2014/02/3609935291.png">
一个蔚蓝简洁的Typecho主题

特点:

- 自适应
- 简洁快速
- ...

更多介绍请查看<a href="http://jimmycai.org/Azure.html">发布页面</a>

39 changes: 39 additions & 0 deletions archive.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?php $this->need('header.php'); ?>
<div class="content pure-u-1 pure-u-med-3-4">
<h1 class="content-subhead"><?php $this->archiveTitle(array(
'category' => _t('分类 %s 下的文章'),
'search' => _t('包含关键字 %s 的文章'),
'tag' => _t('标签 %s 下的文章'),
'author' => _t('%s 发布的文章')
), '', ''); ?></h1>
<?php if ($this->have()): ?>
<?php while($this->next()): ?>
<article class="post">
<header class="post-header">
<a href="<?php $this->permalink() ?>" class="post-title">
<?php $this->title() ?>
</a>
<p class="post-meta">
<?php $this->date(); ?> | 分类:
<?php $this->category(); ?>
</p>
</header>
<div class="post-description">
<p>
<?php $this->content(); ?>
</p>
</div>
</article>
<hr>
<?php endwhile; ?>
<?php else: ?>
<article class="post">
<h1 class="content-subhead">
<?php _e( '没有找到内容'); ?>
</h1>
</article>
<?php endif; ?>
<div class="footer">
<?php $this->pageNav('上一页','下一页',10,'...');?>
</div>
<?php $this->need('footer.php'); ?>
36 changes: 36 additions & 0 deletions comments.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<div id="comments">
<?php $this->comments()->to($comments); ?>
<?php if ($comments->have()): ?>
<h4><?php $this->commentsNum(_t('快抢沙发'), _t('沙发被抢'), _t('已有 %d 条评论')); ?></h4>

<div style="float: right;" id="comments-nav"><?php $comments->pageNav(); ?></div>

<?php $comments->listComments(); ?>

<?php endif; ?>

<?php if($this->allow('comment')): ?>

<div id="<?php $this->respondId(); ?>" class="respond">

<div class="cancel-comment-reply">
<?php $comments->cancelReply(); ?>
</div>
<h4 id="comments"><?php _e('添加新评论'); ?> &raquo;</h4>
<form method="post" action="<?php $this->commentUrl() ?>" id="comment_form" class="pure-form">
<?php if($this->user->hasLogin()): ?>
<p>登陆为 <a href="<?php $this->options->profileUrl(); ?>"><?php $this->user->screenName(); ?></a>. <a href="<?php $this->options->logoutUrl(); ?>" title="Logout"><?php _e('退出'); ?> &raquo;</a></p>
<?php else: ?>
<input type="text" name="author" id="author" placeholder="称呼" value="<?php $this->remember('author'); ?>" />
<input type="text" name="mail" id="mail" placeholder="电子邮件" value="<?php $this->remember('mail'); ?>" />
<input type="text" name="url" id="url" placeholder="网站" value="<?php $this->remember('url'); ?>" />

<?php endif; ?>
<p><textarea rows="5" name="text" id="comment" placeholder="在这里输入你的评论..." style="resize:none;"><?php $this->remember('text'); ?></textarea></p>
<p><input type="submit" value="<?php _e('提交评论'); ?>" class="button" id="submit"></p>
</form>
</div>
<?php else: ?>
<?php _e('该文章的评论已关闭'); ?>
<?php endif; ?>
</div>
20 changes: 20 additions & 0 deletions footer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<footer id="footer">
&copy;
<?php echo date( 'Y'); ?>
<a href="<?php $this->options->siteUrl(); ?>">
<?php $this->options->title(); ?>
</a>
. 由
<a href="http://www.typecho.org">
Typecho
</a>
强力驱动 | Theme By
<a href="http://jimmycai.org">
Jimmy
</a>
</footer>
<!-- end #footer -->
</div>
<?php $this->footer(); ?>
</body>
</html>
Loading

0 comments on commit c65f0b8

Please sign in to comment.