Skip to content

Commit

Permalink
fly
Browse files Browse the repository at this point in the history
  • Loading branch information
sentsin committed Oct 26, 2016
1 parent 000eaf0 commit 4579bec
Show file tree
Hide file tree
Showing 174 changed files with 6,752 additions and 39 deletions.
55 changes: 18 additions & 37 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,37 +1,18 @@
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules
jspm_packages

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history
*.iml
.idea/
.ipr
.iws
*~
~*
*.diff
*.patch
*.bak
.DS_Store
Thumbs.db
.svn/
*.swp
.nojekyll
.project
.settings/
node_modules/
_site/
31 changes: 29 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,29 @@
# Fly社区页面模版
正在整理中
该模版由Layui官方社区([http://fly.layui.com/](fly.layui.com))倾情提供,只为表明我们对 Layui 执着的信念、以及对未来持续加强的承诺。模版基于Layui搭建而成,可作为简约型问答社区的页面支撑。

# 目录说明
```
├─html 可直接预览的模版文件
│ ├─jie
│ ├─public
│ └─user
├─res 静态资源
│ ├─css
│ ├─images
│ │ ├─avatar
│ │ └─other
│ ├─layui
│ └─mods 模版业务模块
└─views Node.js动态模版
├─jie
└─user
```

# 全屏风格
模版提供了全屏风格,你可以打开 html/full.html预览效果
使用全屏风格只需在原有css的基础上,引入 css/full.css即可

# 开源协议
Fly模版采用MIT协议,也就是说几乎没有约束,你可以随便使用它

# 在线演示
[http://fly.layui.com/](http://fly.layui.com/)
90 changes: 90 additions & 0 deletions html/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>404 - Fly社区</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="keywords" content="fly,layui,前端社区">
<meta name="description" content="Fly社区是模块化前端UI框架Layui的官网社区,致力于为web开发提供强劲动力">
<link rel="stylesheet" href="../res/layui/css/layui.css">
<link rel="stylesheet" href="../res/css/global.css">
</head>
<body>

<div class="header">
<div class="main">
<a class="logo" href="/" title="Fly">Fly社区</a>
<div class="nav">
<a class="nav-this" href="jie/index.html">
<i class="iconfont icon-wenda"></i>问答
</a>
<a href="http://www.layui.com/" target="_blank">
<i class="iconfont icon-ui"></i>框架
</a>
</div>

<div class="nav-user">
<!-- 未登入状态 -->
<a class="unlogin" href="user/login.html"><i class="iconfont icon-touxiang"></i></a>
<span><a href="user/login.html">登入</a><a href="user/reg.html">注册</a></span>
<p class="out-login">
<a href="" onclick="layer.msg('正在通过QQ登入', {icon:16, shade: 0.1, time:0})" class="iconfont icon-qq" title="QQ登入"></a>
<a href="" onclick="layer.msg('正在通过微博登入', {icon:16, shade: 0.1, time:0})" class="iconfont icon-weibo" title="微博登入"></a>
</p>

<!-- 登入后的状态 -->
<!--
<a class="avatar" href="user/index.html">
<img src="http://tp4.sinaimg.cn/1345566427/180/5730976522/0">
<cite>贤心</cite>
<i>VIP2</i>
</a>
<div class="nav">
<a href="/user/set/"><i class="iconfont icon-shezhi"></i>设置</a>
<a href="/user/logout/"><i class="iconfont icon-tuichu" style="top: 0; font-size: 22px;"></i>退了</a>
</div> -->

</div>
</div>
</div>

<div class="main">
<div class="fly-none">
<h2><i class="iconfont icon-404"></i></h2>
<p>页面或者数据被<a href="http://fly.layui.com/u/336"> 纸飞机 </a>运到火星了,啥都看不到了…</p>
</div>
</div>



<div class="footer">
<p><a href="http://fly.layui.com/">Fly社区</a> 2016 &copy; <a href="http://www.layui.com/">layui.com</a></p>
<p>
<a href="http://fly.layui.com/auth/get" target="_blank">产品授权</a>
<a href="http://fly.layui.com/jie/3147.html" target="_blank">VIP说明</a>
<a href="http://www.layui.com/" target="_blank">商务合作</a>
<a href="http://weibo.com/SentsinXu" target="_blank" rel="nofollow">微博</a>
<a href="http://fly.layui.com/jie/2461.html" target="_blank">微信公众号</a>
</p>
</div>
<script src="../res/layui/layui.js"></script>
<script>
layui.cache.page = '';
layui.cache.user = {
username: '游客'
,uid: -1
,avatar: '../res/images/avatar/00.jpg'
,experience: 123
,sex: '男'
};
layui.config({
version: "1.0.0"
,base: '../res/mods/'
}).extend({
fly: 'index'
}).use('fly');
</script>

</body>
</html>
Loading

0 comments on commit 4579bec

Please sign in to comment.