From 0589a26ca7d5960d90b1bca0f63f4eca52063a2f Mon Sep 17 00:00:00 2001 From: Kier Borromeo Date: Tue, 5 May 2015 10:30:18 +0800 Subject: [PATCH 1/8] Changed karma path to use the local --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dc3f096..611f8b5 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "doc": "docs" }, "scripts": { - "test": "karma start --single-run", + "test": "./node_modules/.bin/karma start --single-run", "script": "babel --stage=0 --out-file dist/suleras.js scripts/", "style": "sass styles/main.scss dist/suleras.css", "build": "npm run script && npm run style", From 247a14ae6f9b23e8e8b8c292b5e5aa61dec9990d Mon Sep 17 00:00:00 2001 From: Kier Borromeo Date: Tue, 5 May 2015 10:52:52 +0800 Subject: [PATCH 2/8] Added karma-cli to run karma locally. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 611f8b5..6595ac8 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "eslint": "^0.20.0", "karma": "^0.12.31", "karma-chai": "^0.1.0", + "karma-cli": "0.0.4", "karma-mocha": "^0.1.10", "karma-phantomjs-launcher": "^0.1.4", "karma-sinon": "^1.0.4", From c4ca28dbc6fb38233ab93059a72351de9d3b2eff Mon Sep 17 00:00:00 2001 From: srph Date: Wed, 6 May 2015 02:01:16 +0800 Subject: [PATCH 3/8] Added login. --- examples/login/src/script.js | 208 +++---------------------- styles/{ => components}/_alert.scss | 0 styles/{ => components}/_btn.scss | 0 styles/{ => components}/_dropdown.scss | 0 styles/{ => components}/_label.scss | 0 styles/main.scss | 24 ++- styles/modules/_login.scss | 26 ++++ 7 files changed, 65 insertions(+), 193 deletions(-) rename styles/{ => components}/_alert.scss (100%) rename styles/{ => components}/_btn.scss (100%) rename styles/{ => components}/_dropdown.scss (100%) rename styles/{ => components}/_label.scss (100%) create mode 100644 styles/modules/_login.scss diff --git a/examples/login/src/script.js b/examples/login/src/script.js index 6b9eeca..ded08c1 100644 --- a/examples/login/src/script.js +++ b/examples/login/src/script.js @@ -2,197 +2,31 @@ require("babel/polyfill"); import React from 'react'; -import { Sidebar, Topbar, Content, Form } from '../../../'; +import { Sidebar, Topbar, Content, Form } from '../../../scripts/index'; var App = React.createClass({ render() { return ( -
- - - Main - - - - Dashboard - - - - - - - Manage Account - - - - - - - Manage Users - - - - - - - Messages - - - - - - - - More - - - - Maps - - - - - - - Calendar - - - - - - - List - - - - - - - -

Eidolon

-
- - HEY - -
- - - -

- Dashboard - This is a quick overview of some features -

-
- - - -
Typography
-

Heading 1

-

Heading 2

-

Heading 3

-

Heading 4

-
Heading 5
-
Heading 6
- -
- -
Buttons
- -
-   -   -   -   -   -
- -
-   -   -   -   -   -
- -
-   -   -   -   -   -
- -
-   -   -   -   -   -
- -
-   -   -   -   -   -
- -
-
-
Alert
-
Alert, alas hello to world!
-
Alert, it was successful!
-
Alert, it is invalid!
-
Alert, an error occured!
-
Alert, alas hello to world!
-
-
- -
Input
-
-