-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# This file contains information which helps Meteor properly upgrade your | ||
# app when you run 'meteor update'. You should check it into version control | ||
# with your project. | ||
|
||
notices-for-0.9.0 | ||
notices-for-0.9.1 | ||
0.9.4-platform-file | ||
notices-for-facebook-graph-api-2 | ||
1.2.0-standard-minifiers-package | ||
1.2.0-meteor-platform-split | ||
1.2.0-cordova-changes | ||
1.2.0-breaking-changes | ||
1.3.0-split-minifiers-package |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
local |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# This file contains a token that is unique to your project. | ||
# Check it into your repository along with the rest of this directory. | ||
# It can be used for purposes such as: | ||
# - ensuring you don't accidentally deploy one app on top of another | ||
# - providing package authors with aggregated statistics | ||
|
||
13b1yi71jis8gxb3ceye |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Meteor packages used by this project, one per line. | ||
# Check this file (and the other files in this directory) into your repository. | ||
# | ||
# 'meteor add' and 'meteor remove' will edit this file for you, | ||
# but you can also edit it by hand. | ||
|
||
meteor-base # Packages every Meteor app needs to have | ||
mobile-experience # Packages for a great mobile UX | ||
mongo # The database Meteor supports right now | ||
blaze-html-templates # Compile .html files into Meteor Blaze views | ||
reactive-var # Reactive variable for tracker | ||
jquery # Helpful client-side library | ||
tracker # Meteor's client-side reactive programming library | ||
|
||
standard-minifier-css # CSS minifier run for production mode | ||
standard-minifier-js # JS minifier run for production mode | ||
es5-shim # ECMAScript 5 compatibility for older browsers. | ||
ecmascript # Enable ECMAScript2015+ syntax in app code | ||
|
||
autopublish # Publish all data to the clients (for prototyping) | ||
insecure # Allow all DB writes from clients (for prototyping) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
server | ||
browser |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
METEOR@1.3.2.4 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
allow-deny@1.0.4 | ||
autopublish@1.0.7 | ||
autoupdate@1.2.9 | ||
babel-compiler@6.6.4 | ||
babel-runtime@0.1.8 | ||
base64@1.0.8 | ||
binary-heap@1.0.8 | ||
blaze@2.1.7 | ||
blaze-html-templates@1.0.4 | ||
blaze-tools@1.0.8 | ||
boilerplate-generator@1.0.8 | ||
caching-compiler@1.0.4 | ||
caching-html-compiler@1.0.6 | ||
callback-hook@1.0.8 | ||
check@1.2.1 | ||
ddp@1.2.5 | ||
ddp-client@1.2.7 | ||
ddp-common@1.2.5 | ||
ddp-server@1.2.6 | ||
deps@1.0.12 | ||
diff-sequence@1.0.5 | ||
ecmascript@0.4.3 | ||
ecmascript-runtime@0.2.10 | ||
ejson@1.0.11 | ||
es5-shim@4.5.10 | ||
fastclick@1.0.11 | ||
geojson-utils@1.0.8 | ||
hot-code-push@1.0.4 | ||
html-tools@1.0.9 | ||
htmljs@1.0.9 | ||
http@1.1.5 | ||
id-map@1.0.7 | ||
insecure@1.0.7 | ||
jquery@1.11.8 | ||
launch-screen@1.0.11 | ||
livedata@1.0.18 | ||
logging@1.0.12 | ||
meteor@1.1.14 | ||
meteor-base@1.0.4 | ||
minifier-css@1.1.11 | ||
minifier-js@1.1.11 | ||
minimongo@1.0.16 | ||
mobile-experience@1.0.4 | ||
mobile-status-bar@1.0.12 | ||
modules@0.6.1 | ||
modules-runtime@0.6.3 | ||
mongo@1.1.7 | ||
mongo-id@1.0.4 | ||
npm-mongo@1.4.43 | ||
observe-sequence@1.0.11 | ||
ordered-dict@1.0.7 | ||
promise@0.6.7 | ||
random@1.0.9 | ||
reactive-var@1.0.9 | ||
reload@1.1.8 | ||
retry@1.0.7 | ||
routepolicy@1.0.10 | ||
spacebars@1.0.11 | ||
spacebars-compiler@1.0.11 | ||
standard-minifier-css@1.0.6 | ||
standard-minifier-js@1.0.6 | ||
templating@1.1.9 | ||
templating-tools@1.0.4 | ||
tracker@1.0.13 | ||
ui@1.0.11 | ||
underscore@1.0.8 | ||
url@1.0.9 | ||
webapp@1.2.8 | ||
webapp-hashing@1.0.9 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
body { | ||
font-family: sans-serif; | ||
background-color: #315481; | ||
background-image: linear-gradient(to bottom, #315481, #918e82 100%); | ||
background-attachment: fixed; | ||
|
||
position: absolute; | ||
top: 0; | ||
bottom: 0; | ||
left: 0; | ||
right: 0; | ||
|
||
padding: 0; | ||
margin: 0; | ||
|
||
font-size: 14px; | ||
} | ||
|
||
.container { | ||
max-width: 600px; | ||
margin: 0 auto; | ||
min-height: 100%; | ||
background: white; | ||
} | ||
|
||
header { | ||
background: #d2edf4; | ||
background-image: linear-gradient(to bottom, #d0edf5, #e1e5f0 100%); | ||
padding: 20px 15px 15px 15px; | ||
position: relative; | ||
} | ||
|
||
#login-buttons { | ||
display: block; | ||
} | ||
|
||
h1 { | ||
font-size: 1.5em; | ||
margin: 0; | ||
margin-bottom: 10px; | ||
display: inline-block; | ||
margin-right: 1em; | ||
} | ||
|
||
form { | ||
margin-top: 10px; | ||
margin-bottom: -10px; | ||
position: relative; | ||
} | ||
|
||
.new-task input { | ||
box-sizing: border-box; | ||
padding: 10px 0; | ||
background: transparent; | ||
border: none; | ||
width: 100%; | ||
padding-right: 80px; | ||
font-size: 1em; | ||
} | ||
|
||
.new-task input:focus{ | ||
outline: 0; | ||
} | ||
|
||
ul { | ||
margin: 0; | ||
padding: 0; | ||
background: white; | ||
} | ||
|
||
.delete { | ||
float: right; | ||
font-weight: bold; | ||
background: none; | ||
font-size: 1em; | ||
border: none; | ||
position: relative; | ||
} | ||
|
||
li { | ||
position: relative; | ||
list-style: none; | ||
padding: 15px; | ||
border-bottom: #eee solid 1px; | ||
} | ||
|
||
li .text { | ||
margin-left: 10px; | ||
} | ||
|
||
li.checked { | ||
color: #888; | ||
} | ||
|
||
li.checked .text { | ||
text-decoration: line-through; | ||
} | ||
|
||
li.private { | ||
background: #eee; | ||
border-color: #ddd; | ||
} | ||
|
||
header .hide-completed { | ||
float: right; | ||
} | ||
|
||
.toggle-private { | ||
margin-left: 5px; | ||
} | ||
|
||
@media (max-width: 600px) { | ||
li { | ||
padding: 12px 15px; | ||
} | ||
|
||
.search { | ||
width: 150px; | ||
clear: both; | ||
} | ||
|
||
.new-task input { | ||
padding-bottom: 5px; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<head> | ||
<title>Todo List</title> | ||
</head> | ||
|
||
<body> | ||
<div id="app"></div> | ||
</body> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import App from '../imports/components/app.jsx'; | ||
import { Provider } from 'react-redux' | ||
import store from '../imports/store'; | ||
|
||
Meteor.startup(() => { | ||
ReactDOM.render( | ||
<Provider store={store}><App /></Provider>, | ||
document.getElementById('app')); | ||
}); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { createAction } from 'redux-actions'; | ||
|
||
let nextTodoId = 0; | ||
|
||
export const ADD_TODO = 'ADD_TODO'; | ||
export const addTodo = createAction(ADD_TODO, text => ({ text, id: nextTodoId++ })); | ||
|
||
export const REMOVE_TODO = 'REMOVE_TODO'; | ||
export const removeTodo = createAction(REMOVE_TODO, id => ({ id })); | ||
|
||
export const TOGGLE_TODO = 'TOGGLE_TODO'; | ||
export const toggleTodo = createAction(TOGGLE_TODO, id => ({ id })); | ||
|
||
export const TOGGLE_VISIBILITY_FILTER = 'TOGGLE_VISIBILITY_FILTER'; | ||
export const toggleVisibilityFilter = createAction(TOGGLE_VISIBILITY_FILTER); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { Mongo } from 'meteor/mongo'; | ||
|
||
const Tasks = new Mongo.Collection('tasks'); | ||
|
||
export default Tasks; |