Template Definition

CKTool Project Structure

CKTool contains below file and folder:

"template" Folder: contains all template, created by CKTool,and full in CKTool global default templates,eg Button,DropDown...

"css" Folder: created when use some template, contains all style file

"css/main.css" File: created by CKTool when use some template,it's global css file,used by most pages in project;

"css/{pageName}.css" File: created by CKTool when use some template,it's single page's style file,only used to single page;

"js" Folder: created when use some template, contains all script file

"js/main.js" File: created by CKTool when use some template,it's global script file,used by most pages in project;

"js/{pageName}.js" File: created by CKTool when use some template,it's single page's script file,only used to single page;

"images"Folder: contains all image file

"fonts" Folder: contains all font file

"model" Folder: contains Model Data in Single Page Project

"view" Folder: contains View Html in Single Page Project

"js" Folder: contains Controller in Single Page Project

How to merge template's js/css to Main js/css?

1,Select "merge" mode in CKTool Panel Window,select "Page" will merge template code to Page's js/css, select "Main" will merge to Global Main js/css file;〈br/> 2,Set attribute "fixMergeTo" in template's js/css dom:
The second way is primary over first way;

How to Move template js/css file between Main and Page File

Only merge="No" resource can be moved;
<link href="css/test.css" merge="No"/> In CKTool Panel, Select "write mode" to "Move", and select "merge" target to move to,then click want to moved template;

How to remove template resource from Main or Page?

Only eraseble="true" resource can be removed;
<link href="css/test.css" eraseble="true"/> In CKTool Panel, Select "write mode" to "Erase", then click the template want to be removed;

How to copy template other resource file(except code file) to project?

The resource file used in template's css file will be copyed to project by ckTool dynamicaly;
The resource file not used in template's css file can be copyed by below way:
add file: add folder: