Skip to content

Commit

Permalink
rename subtemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
lihongxun945 committed Oct 9, 2014
1 parent 749e70a commit 78f2b02
Show file tree
Hide file tree
Showing 55 changed files with 58 additions and 58 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Expand Up @@ -273,7 +273,7 @@ module.exports = function(grunt) {
{
expand: true,
cwd: '<%= docsRoot %>/templates',
src: ['**/*.jade', '!base.jade', '!sidenav.jade', '!header.jade', '!com-*', '!*-com.jade', '!discuss.jade', '!foot.jade', '!head.jade'],
src: ['**/*.jade', '!_*.jade'],
dest: '<%= docsRoot %>',
ext: '.html'
},
Expand Down
12 changes: 6 additions & 6 deletions docs/templates/base.jade → docs/templates/_base.jade
@@ -1,17 +1,17 @@
doctype html
include variables
include _variables
html(lang="en")
head
include head
include _head

block head

body
include header
include _header
block header
+header('demos')
mixin sidebar(highlight)
include sidenav
include _sidenav
block content_wrap
.sui-layout
.sui-msg.msg-success.msg-block.msg-large.remember#global-msg
Expand All @@ -24,12 +24,12 @@ html(lang="en")
.content
.content-inner
block content
include discuss
include _discuss
block footer
.footer
ul.unstyled
li @time 2014.03.07
li @author 商家业务事业部-电商服务支撑平台-UED团队

include foot
include _foot
block js_block
@@ -1,23 +1,23 @@
doctype html
include variables
include _variables
html(lang="en")
head
include head
include _head

block head

body
include header
include _header
block header
+header('demos')
mixin sidebar(highlight)
include sidenav
include _sidenav
block content_wrap
block footer
.footer
ul.unstyled
li @time 2014.03.07
li @author 商家业务事业部-电商服务支撑平台-UED团队

include foot
include _foot
block js_block
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions docs/templates/head.jade → docs/templates/_head.jade
Expand Up @@ -7,8 +7,8 @@ link(id='docs-css' href="assets/css/docs.css?r=2014.06.30" rel="stylesheet")
link(href="assets/js/google-code-prettify/prettify.css" rel="stylesheet")
link(rel="shortcut icon" href="pictures/logo.png?r=2014.06.18")
script(src="../js/lib/jquery.js")
include themes-js
include _themes-js
script(src="../.package/js/sui.js?r=2014.06.30")
include ga
include _ga

//[if lt IE 9]><script src="assets/js/html5shiv.js"></script><![endif]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/templates/about.jade
@@ -1,4 +1,4 @@
extends base_index
extends _base_index

block title
title 关于
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/autocomplete.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title autocomplete
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/breadcrumb.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title Breadcrumb 面包屑
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/button-groups.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 按钮组
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/buttons.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 按钮
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/carousel.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 幻灯片
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/changelog.jade
@@ -1,4 +1,4 @@
extends base_index
extends _base_index

block title
title 更新日志
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/checkbox.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 选框
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/customize.jade
@@ -1,4 +1,4 @@
extends base_index
extends _base_index

block title
title 自定义
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/datetimepicker.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title datepicker
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/dialog.jade
@@ -1,5 +1,5 @@
// vim: tabstop=2 shiftwidth=2 softtabstop=2
extends base
extends _base

block title
title 对话框
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/download.jade
@@ -1,4 +1,4 @@
extends base_index
extends _base_index

block title
title 下载
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/dropdown-js.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 下拉菜单
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/dropdown.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 下拉菜单
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/editor.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 富文本编辑器(beta)
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/examples.jade
@@ -1,4 +1,4 @@
extends base_index
extends _base_index

block title
title 案例
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/filesize.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title filesize
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/form-validate.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 表单校验
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/forms.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 表单
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/gallery.jade
@@ -1,4 +1,4 @@
extends base_index
extends _base_index

block title
title 组件库
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/global.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 全局样式
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/grid.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 12 栏栅格
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/icons.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 图标
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/index.jade
@@ -1,4 +1,4 @@
extends base_index
extends _base_index

block title
title SUI
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/intro.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 新手指引
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/label.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title Label
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/layout.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 左右定宽三栏布局
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/loading.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title Loading
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/msgs.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 提示消息
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/navbar.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 导航栏
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/pagination-js.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 分页器
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/pagination.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 分页器
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/progress.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 进度条
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/steps.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 步骤条
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/tab-js.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 标签页
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/tab.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 标签页
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/tables.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title 表格
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/tag.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title Tag
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/template.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title filesize
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/test.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title Label
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/themes.jade
@@ -1,4 +1,4 @@
extends base_index
extends _base_index

block title
title 下载
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/tooltip.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title tooltip
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/tree-js.jade
@@ -1,4 +1,4 @@
extends base
extends _base

block title
title TREE 级联选择
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/tutorial.jade
@@ -1,4 +1,4 @@
extends base_index
extends _base_index

block title
title 快速入门
Expand Down

0 comments on commit 78f2b02

Please sign in to comment.