소스 검색

Work in progress, layout

Benoit Sida 3 년 전
부모
커밋
67bdd87e6d
15개의 변경된 파일214개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      .gitignore
  2. 16
    0
      .meteor/.finished-upgraders
  3. 1
    0
      .meteor/.gitignore
  4. 7
    0
      .meteor/.id
  5. 22
    0
      .meteor/packages
  6. 2
    0
      .meteor/platforms
  7. 1
    0
      .meteor/release
  8. 73
    0
      .meteor/versions
  9. 0
    0
      client/main.css
  10. 7
    0
      client/main.html
  11. 7
    0
      client/main.jsx
  12. 40
    0
      imports/ui/App.css
  13. 19
    0
      imports/ui/App.jsx
  14. 13
    0
      package.json
  15. 5
    0
      server/main.js

+ 1
- 0
.gitignore 파일 보기

1
+node_modules/

+ 16
- 0
.meteor/.finished-upgraders 파일 보기

1
+# This file contains information which helps Meteor properly upgrade your
2
+# app when you run 'meteor update'. You should check it into version control
3
+# with your project.
4
+
5
+notices-for-0.9.0
6
+notices-for-0.9.1
7
+0.9.4-platform-file
8
+notices-for-facebook-graph-api-2
9
+1.2.0-standard-minifiers-package
10
+1.2.0-meteor-platform-split
11
+1.2.0-cordova-changes
12
+1.2.0-breaking-changes
13
+1.3.0-split-minifiers-package
14
+1.4.0-remove-old-dev-bundle-link
15
+1.4.1-add-shell-server-package
16
+1.4.3-split-account-service-packages

+ 1
- 0
.meteor/.gitignore 파일 보기

1
+local

+ 7
- 0
.meteor/.id 파일 보기

1
+# This file contains a token that is unique to your project.
2
+# Check it into your repository along with the rest of this directory.
3
+# It can be used for purposes such as:
4
+#   - ensuring you don't accidentally deploy one app on top of another
5
+#   - providing package authors with aggregated statistics
6
+
7
+k47hb8qhipn265z1tu

+ 22
- 0
.meteor/packages 파일 보기

1
+# Meteor packages used by this project, one per line.
2
+# Check this file (and the other files in this directory) into your repository.
3
+#
4
+# 'meteor add' and 'meteor remove' will edit this file for you,
5
+# but you can also edit it by hand.
6
+
7
+meteor-base@1.0.4             # Packages every Meteor app needs to have
8
+mobile-experience@1.0.4       # Packages for a great mobile UX
9
+mongo@1.1.16                   # The database Meteor supports right now
10
+blaze-html-templates@1.0.4 # Compile .html files into Meteor Blaze views
11
+reactive-var@1.0.11            # Reactive variable for tracker
12
+tracker@1.1.2                 # Meteor's client-side reactive programming library
13
+
14
+standard-minifier-css@1.3.4   # CSS minifier run for production mode
15
+standard-minifier-js@1.2.3    # JS minifier run for production mode
16
+es5-shim@4.6.15                # ECMAScript 5 compatibility for older browsers.
17
+ecmascript@0.6.3              # Enable ECMAScript2015+ syntax in app code
18
+shell-server@0.2.3            # Server-side component of the `meteor shell` command
19
+
20
+autopublish@1.0.7             # Publish all data to the clients (for prototyping)
21
+insecure@1.0.7                # Allow all DB writes from clients (for prototyping)
22
+meyerweb-reset

+ 2
- 0
.meteor/platforms 파일 보기

1
+server
2
+browser

+ 1
- 0
.meteor/release 파일 보기

1
+METEOR@1.4.3.2

+ 73
- 0
.meteor/versions 파일 보기

1
+allow-deny@1.0.5
2
+autopublish@1.0.7
3
+autoupdate@1.3.12
4
+babel-compiler@6.14.1
5
+babel-runtime@1.0.1
6
+base64@1.0.10
7
+binary-heap@1.0.10
8
+blaze@2.3.2
9
+blaze-html-templates@1.1.2
10
+blaze-tools@1.0.10
11
+boilerplate-generator@1.0.11
12
+caching-compiler@1.1.9
13
+caching-html-compiler@1.1.2
14
+callback-hook@1.0.10
15
+check@1.2.5
16
+ddp@1.2.5
17
+ddp-client@1.3.3
18
+ddp-common@1.2.8
19
+ddp-server@1.3.13
20
+deps@1.0.12
21
+diff-sequence@1.0.7
22
+ecmascript@0.6.3
23
+ecmascript-runtime@0.3.15
24
+ejson@1.0.13
25
+es5-shim@4.6.15
26
+fastclick@1.0.13
27
+geojson-utils@1.0.10
28
+hot-code-push@1.0.4
29
+html-tools@1.0.11
30
+htmljs@1.0.11
31
+http@1.2.12
32
+id-map@1.0.9
33
+insecure@1.0.7
34
+jquery@1.11.10
35
+launch-screen@1.1.1
36
+livedata@1.0.18
37
+logging@1.1.17
38
+meteor@1.6.1
39
+meteor-base@1.0.4
40
+meyerweb-reset@1.0.7
41
+minifier-css@1.2.16
42
+minifier-js@1.2.18
43
+minimongo@1.0.21
44
+mobile-experience@1.0.4
45
+mobile-status-bar@1.0.14
46
+modules@0.7.9
47
+modules-runtime@0.7.9
48
+mongo@1.1.16
49
+mongo-id@1.0.6
50
+npm-mongo@2.2.24
51
+observe-sequence@1.0.16
52
+ordered-dict@1.0.9
53
+promise@0.8.8
54
+random@1.0.10
55
+reactive-var@1.0.11
56
+reload@1.1.11
57
+retry@1.0.9
58
+routepolicy@1.0.12
59
+shell-server@0.2.3
60
+spacebars@1.0.15
61
+spacebars-compiler@1.1.2
62
+standard-minifier-css@1.3.4
63
+standard-minifier-js@1.2.3
64
+templating@1.3.2
65
+templating-compiler@1.3.2
66
+templating-runtime@1.3.2
67
+templating-tools@1.1.2
68
+tracker@1.1.2
69
+ui@1.0.13
70
+underscore@1.0.10
71
+url@1.1.0
72
+webapp@1.3.14
73
+webapp-hashing@1.0.9

+ 0
- 0
client/main.css 파일 보기


+ 7
- 0
client/main.html 파일 보기

1
+<head>
2
+  <title>ESPTrainer</title>
3
+</head>
4
+
5
+<body>
6
+  <div id="app"></div>
7
+</body>

+ 7
- 0
client/main.jsx 파일 보기

1
+import React from 'react';
2
+import { Meteor } from 'meteor/meteor';
3
+import { render } from 'react-dom';
4
+
5
+import App from '../imports/ui/App.jsx';
6
+
7
+Meteor.startup(() => render(<App />, document.getElementById('app')));

+ 40
- 0
imports/ui/App.css 파일 보기

1
+#app-container {
2
+    display: flex;
3
+    min-height: 100vh;
4
+    flex-direction: column;
5
+    background: #343b59; /* Old browsers */
6
+    background: -moz-linear-gradient(top, #343b59 0%, #3f487f 100%); /* FF3.6-15 */
7
+    background: -webkit-linear-gradient(top, #343b59 0%,#3f487f 100%); /* Chrome10-25,Safari5.1-6 */
8
+    background: linear-gradient(to bottom, #343b59 0%,#3f487f 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
9
+    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#343b59', endColorstr='#3f487f',GradientType=0 ); /* IE6-9 */
10
+}
11
+
12
+#app-container #content {
13
+    flex: 1;
14
+    display: flex;
15
+    justify-content: center;
16
+}
17
+
18
+header {
19
+    height: 64px;
20
+    background: #23273c;
21
+    color: white;
22
+    line-height: 64px;
23
+    padding-left: 10px;
24
+}
25
+
26
+.test {
27
+    min-width: 50%;
28
+    width: 500px;
29
+    margin: 30px 15px;
30
+    padding: 20px;
31
+    display: flex;
32
+    flex-direction: column;
33
+}
34
+
35
+footer {
36
+    background: #23273c;
37
+    text-align: center;
38
+    color: white;
39
+    padding: 10px;
40
+}

+ 19
- 0
imports/ui/App.jsx 파일 보기

1
+import React, { Component } from 'react';
2
+import './App.css';
3
+
4
+export default class App extends Component {
5
+	render() {
6
+		return (
7
+			<div id="app-container">
8
+				<header>ESPTrainer</header>
9
+				<main id="content">
10
+					<div className="test">
11
+						test
12
+						{/*<Board></Board>*/}
13
+					</div>
14
+				</main>
15
+				<footer>Copyright © 2017 Coldiary</footer>
16
+			</div>
17
+		);
18
+	}
19
+}

+ 13
- 0
package.json 파일 보기

1
+{
2
+  "name": "ESPTrainer",
3
+  "private": true,
4
+  "scripts": {
5
+    "start": "meteor run"
6
+  },
7
+  "dependencies": {
8
+    "babel-runtime": "^6.20.0",
9
+    "meteor-node-stubs": "~0.2.4",
10
+    "react": "^15.4.2",
11
+    "react-dom": "^15.4.2"
12
+  }
13
+}

+ 5
- 0
server/main.js 파일 보기

1
+import { Meteor } from 'meteor/meteor';
2
+
3
+Meteor.startup(() => {
4
+  // code to run on server at startup
5
+});