Skip to content

Commit f5a3c31

Browse files
committed
publish LightningUI
1 parent ea4f0fc commit f5a3c31

File tree

6,996 files changed

+240310
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,996 files changed

+240310
-0
lines changed

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
node_modules
2+
test/temp
3+
tmp
4+
.DS_Store
5+
npm-debug.log
6+
coverage
7+
report
8+
_gh_pages
9+
bower_components

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
language: node_js
2+
node_js:
3+
- '0.10'

CNAME.backup

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lightning-ui.com

Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source 'https://rubygems.org'
2+
3+
group :development, :test do
4+
gem 'jekyll', '~> 3.1.2'
5+
gem 'jekyll-sitemap', '~> 0.11.0'
6+
end

Gemfile.lock

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.4.0)
5+
colorator (0.1)
6+
ffi (1.9.14)
7+
ffi (1.9.14-x64-mingw32)
8+
ffi (1.9.14-x86-mingw32)
9+
jekyll (3.1.6)
10+
colorator (~> 0.1)
11+
jekyll-sass-converter (~> 1.0)
12+
jekyll-watch (~> 1.1)
13+
kramdown (~> 1.3)
14+
liquid (~> 3.0)
15+
mercenary (~> 0.3.3)
16+
rouge (~> 1.7)
17+
safe_yaml (~> 1.0)
18+
jekyll-sass-converter (1.4.0)
19+
sass (~> 3.4)
20+
jekyll-sitemap (0.11.0)
21+
addressable (~> 2.4.0)
22+
jekyll-watch (1.4.0)
23+
listen (~> 3.0, < 3.1)
24+
kramdown (1.11.1)
25+
liquid (3.0.6)
26+
listen (3.0.8)
27+
rb-fsevent (~> 0.9, >= 0.9.4)
28+
rb-inotify (~> 0.9, >= 0.9.7)
29+
mercenary (0.3.6)
30+
rb-fsevent (0.9.7)
31+
rb-inotify (0.9.7)
32+
ffi (>= 0.5.0)
33+
rouge (1.11.1)
34+
safe_yaml (1.0.4)
35+
sass (3.4.22)
36+
37+
PLATFORMS
38+
ruby
39+
x64-mingw32
40+
x86-mingw32
41+
42+
DEPENDENCIES
43+
jekyll (~> 3.1.2)
44+
jekyll-sitemap (~> 0.11.0)
45+
46+
BUNDLED WITH
47+
1.16.2

Gruntfile.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/*global module:false*/
2+
module.exports = function (grunt) {
3+
'use strict'
4+
5+
require('time-grunt')(grunt)
6+
7+
var config = {
8+
// Metadata.
9+
pkg: grunt.file.readJSON('package.json'),
10+
banner: '/*! <%= pkg.name %> - v<%= pkg.version %>\n' +
11+
' * Release on: <%= grunt.template.today("yyyy-mm-dd") %>\n' +
12+
'<%= pkg.homepage ? " * " + pkg.homepage + "\\n" : "" %>' +
13+
' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>\n' +
14+
' * Licensed <%= pkg.license %> */\n'
15+
}
16+
17+
var path = require('path')
18+
19+
require('load-grunt-config')(grunt, {
20+
init: true,
21+
configPath: path.join(process.cwd(), 'tasks'),
22+
config: config,
23+
jitGrunt: {
24+
changelog: 'grunt-conventional-changelog'
25+
}
26+
})
27+
}

README.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# lightning-ui
2+
3+
lightning-ui is base on [bootstrap3.3](https://getbootstrap.com/docs/3.3/) and [slds](https://www.lightningdesignsystem.com/getting-started).
4+
You can use it on your python/nodejs/ruby/java/dotnet project.
5+
I build [salesforcexytools.heroku.com](https://salesforcexytools.heroku.com) by using Python(Flask) and this lightning-ui.
6+
7+
# Online document
8+
## Home
9+
http://salesforcexytools.com/lightning-ui/
10+
11+
## LightningUI Style
12+
http://salesforcexytools.com/lightning-ui/LightningUI/
13+
14+
## SLDS Style
15+
http://salesforcexytools.com/lightning-ui/examples/
16+
17+
## Download
18+
https://github.com/exiahuang/lightning-ui
19+
20+
# How to build source ?
21+
## Requirements
22+
* NodeJS
23+
* Grunt
24+
25+
## build source
26+
```
27+
npm install
28+
grunt --force
29+
```
30+
31+
# document
32+
If you want to view the document on your localhost ?
33+
You can follow the tips below:
34+
35+
## Requirements
36+
* Install Ruby Environment.
37+
* Install the [Jekyll](https://jekyllrb.com/)
38+
* Bundle
39+
* jekyll
40+
41+
```
42+
gem install jekyll
43+
44+
gem install bundler
45+
46+
bundle install
47+
```
48+
49+
## View localhost document.
50+
* Run `grunt --force`, build the source
51+
* Run the command `bundle exec jekyll serve`
52+
* `Home` : http://127.0.0.1:3003/lightning-ui/
53+
* `SLDS style` : http://localhost:3003/lightning-ui/examples/
54+
* `LightningUI style` : http://localhost:3003/lightning-ui/LightningUI/
55+
56+
## About Doc
57+
58+
#### docs/LightningUI
59+
Salesforce LightningUI
60+
61+
#### docs/examples
62+
SLDS examples, use `slds-layout`
63+
64+
65+
# usage
66+
67+
# License
68+
MIT
69+
70+
# Author Home page
71+
[Exia.Huang](http://salesforcexytools.com/)
72+
[GitHub](https://github.com/exiahuang)

Readme-Doc.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
some memo for me
2+
3+
# Home
4+
header : /_include/nav/main.html
5+
6+
# SLDS-Style
7+
header : /_include/nav/main.html
8+
SLDS-Style use jekyll template `slds-layout`
9+
10+
11+
# LightningUI
12+
header : /LightningUI/header.html
13+
LightningUI does not use jekyll template, `only html`
14+
15+
##
16+
```
17+
grunt serve
18+
grunt watch --force
19+
```
20+
21+
# Online document
22+
## Home
23+
http://salesforcexytools.com/lightning-ui/
24+
25+
## LightningUI Style
26+
http://salesforcexytools.com/lightning-ui/LightningUI/
27+
28+
## SLDS Style
29+
http://salesforcexytools.com/lightning-ui/examples/
30+
31+
## Download
32+
https://github.com/exiahuang/lightning-ui
33+
34+
# push to github
35+
git add -A
36+
git commit -m "..."
37+
git push origin master

_config.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Dependencies
2+
markdown: kramdown
3+
highlighter: rouge
4+
5+
# Permalinks
6+
permalink: pretty
7+
8+
# Server
9+
source: docs
10+
destination: _gh_pages
11+
host: 0.0.0.0
12+
port: 3003
13+
url: http://salesforcexytools.com
14+
baseurl: /lightning-ui
15+
encoding: UTF-8
16+
17+
# gems:
18+
# - jekyll-sitemap
19+
20+
# Custom vars
21+
current_version: 1.0.0
22+
repo: https://github.com/exiahuang/lightning-ui
23+
sass_repo: https://github.com/exiahuang/lightning-ui
24+
25+
# download:
26+
# source: https://github.com/twbs/bootstrap/archive/v3.4.0.zip
27+
# dist: https://github.com/twbs/bootstrap/releases/download/v3.4.0/bootstrap-3.4.0-dist.zip
28+
# sass: https://github.com/twbs/bootstrap-sass/archive/v3.4.0.tar.gz
29+
30+
# blog: http://blog.getbootstrap.com
31+
# expo: http://expo.getbootstrap.com
32+
# themes: http://themes.getbootstrap.com
33+
# jobs: http://jobs.getbootstrap.com
34+
35+

0 commit comments

Comments
 (0)