-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
50 changed files
with
8,096 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
.nodester.appconfig | ||
node_modules/* | ||
*.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.concept.MD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# spark | ||
|
||
## modules | ||
|
||
* express | ||
* everyauth | ||
* coffee-script | ||
* less | ||
* jade | ||
|
||
## db structure | ||
- image | ||
- _id | ||
- url | ||
- name | ||
- owner | ||
- groups-get [public, owner-only, ] | ||
- groups-write | ||
- stories | ||
- username | ||
- title | ||
- tags | ||
- text | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
everyauth = module.exports = require 'everyauth' | ||
everyauth.debug = true | ||
everyauth.everymodule.moduleErrback (err) -> | ||
console.log err | ||
everyauth.twitter | ||
.consumerKey('umY6lNpuhh4B6I1BshJMLA') | ||
.consumerSecret('I4qEqVHgZM0LEVY61sE9w1tFW5lTATCxOy7CwaO0NA') | ||
.findOrCreateUser((session, token, secret, user) -> | ||
promise = @.Promise().fulfill user | ||
).redirectPath '/' | ||
|
||
#everyauth = module.exports = require 'everyauth' | ||
# | ||
#everyauth.twitter.consumerKey 'umY6lNpuhh4B6I1BshJMLA' | ||
#everyauth.twitter.consumerSecret 'I4qEqVHgZM0LEVY61sE9w1tFW5lTATCxOy7CwaO0NA' | ||
#everyauth.twitter.findOrCreateUser ( sess, accessToken, accessSecret, twitUser, reqres) -> | ||
# console.log twitUser.screen_name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# spark | ||
|
||
modules | ||
======= | ||
|
||
* express | ||
* everyauth | ||
* coffee-script | ||
* less | ||
* jade | ||
|
||
|
||
db structure | ||
============ | ||
|
||
- image | ||
- _id | ||
- url | ||
- name | ||
- stories | ||
- username | ||
- title | ||
- tags | ||
- text | ||
|
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// ACCORDION | ||
// --------- | ||
|
||
|
||
// Parent container | ||
.accordion { | ||
margin-bottom: @baseLineHeight; | ||
} | ||
|
||
// Group == heading + body | ||
.accordion-group { | ||
margin-bottom: 2px; | ||
border: 1px solid #e5e5e5; | ||
.border-radius(4px); | ||
} | ||
.accordion-heading { | ||
border-bottom: 0; | ||
} | ||
.accordion-heading .accordion-toggle { | ||
display: block; | ||
padding: 8px 15px; | ||
} | ||
|
||
// Inner needs the styles because you can't animate properly with any styles on the element | ||
.accordion-inner { | ||
padding: 9px 15px; | ||
border-top: 1px solid #e5e5e5; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
// ALERT STYLES | ||
// ------------ | ||
|
||
// Base alert styles | ||
.alert { | ||
padding: 8px 35px 8px 14px; | ||
margin-bottom: @baseLineHeight; | ||
text-shadow: 0 1px 0 rgba(255,255,255,.5); | ||
background-color: @warningBackground; | ||
border: 1px solid @warningBorder; | ||
.border-radius(4px); | ||
} | ||
.alert, | ||
.alert-heading { | ||
color: @warningText; | ||
} | ||
|
||
// Adjust close link position | ||
.alert .close { | ||
position: relative; | ||
top: -2px; | ||
right: -21px; | ||
line-height: 18px; | ||
} | ||
|
||
// Alternate styles | ||
// ---------------- | ||
|
||
.alert-success { | ||
background-color: @successBackground; | ||
border-color: @successBorder; | ||
} | ||
.alert-success, | ||
.alert-success .alert-heading { | ||
color: @successText; | ||
} | ||
.alert-danger, | ||
.alert-error { | ||
background-color: @errorBackground; | ||
border-color: @errorBorder; | ||
} | ||
.alert-danger, | ||
.alert-error, | ||
.alert-danger .alert-heading, | ||
.alert-error .alert-heading { | ||
color: @errorText; | ||
} | ||
.alert-info { | ||
background-color: @infoBackground; | ||
border-color: @infoBorder; | ||
} | ||
.alert-info, | ||
.alert-info .alert-heading { | ||
color: @infoText; | ||
} | ||
|
||
|
||
// Block alerts | ||
// ------------------------ | ||
.alert-block { | ||
padding-top: 14px; | ||
padding-bottom: 14px; | ||
} | ||
.alert-block > p, | ||
.alert-block > ul { | ||
margin-bottom: 0; | ||
} | ||
.alert-block p + p { | ||
margin-top: 5px; | ||
} |
Oops, something went wrong.