reorganization
This commit is contained in:
8
web/.meteor/.finished-upgraders
Normal file
8
web/.meteor/.finished-upgraders
Normal file
@@ -0,0 +1,8 @@
|
||||
# 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
web/.meteor/.gitignore
vendored
Normal file
1
web/.meteor/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
local
|
||||
7
web/.meteor/.id
Normal file
7
web/.meteor/.id
Normal file
@@ -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
|
||||
|
||||
1urfr4r1dbj2bc5ydh9t
|
||||
10
web/.meteor/packages
Normal file
10
web/.meteor/packages
Normal file
@@ -0,0 +1,10 @@
|
||||
# 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-platform
|
||||
autopublish
|
||||
insecure
|
||||
bootstrap
|
||||
2
web/.meteor/platforms
Normal file
2
web/.meteor/platforms
Normal file
@@ -0,0 +1,2 @@
|
||||
server
|
||||
browser
|
||||
1
web/.meteor/release
Normal file
1
web/.meteor/release
Normal file
@@ -0,0 +1 @@
|
||||
METEOR@1.1.0.2
|
||||
49
web/.meteor/versions
Normal file
49
web/.meteor/versions
Normal file
@@ -0,0 +1,49 @@
|
||||
autopublish@1.0.3
|
||||
autoupdate@1.2.1
|
||||
base64@1.0.3
|
||||
binary-heap@1.0.3
|
||||
blaze@2.1.2
|
||||
blaze-tools@1.0.3
|
||||
boilerplate-generator@1.0.3
|
||||
bootstrap@1.0.1
|
||||
callback-hook@1.0.3
|
||||
check@1.0.5
|
||||
ddp@1.1.0
|
||||
deps@1.0.7
|
||||
ejson@1.0.6
|
||||
fastclick@1.0.3
|
||||
geojson-utils@1.0.3
|
||||
html-tools@1.0.4
|
||||
htmljs@1.0.4
|
||||
http@1.1.0
|
||||
id-map@1.0.3
|
||||
insecure@1.0.3
|
||||
jquery@1.11.3_2
|
||||
json@1.0.3
|
||||
launch-screen@1.0.2
|
||||
livedata@1.0.13
|
||||
logging@1.0.7
|
||||
meteor@1.1.6
|
||||
meteor-platform@1.2.2
|
||||
minifiers@1.1.5
|
||||
minimongo@1.0.8
|
||||
mobile-status-bar@1.0.3
|
||||
mongo@1.1.0
|
||||
observe-sequence@1.0.6
|
||||
ordered-dict@1.0.3
|
||||
random@1.0.3
|
||||
reactive-dict@1.1.0
|
||||
reactive-var@1.0.5
|
||||
reload@1.1.3
|
||||
retry@1.0.3
|
||||
routepolicy@1.0.5
|
||||
session@1.1.0
|
||||
spacebars@1.0.6
|
||||
spacebars-compiler@1.0.6
|
||||
templating@1.1.1
|
||||
tracker@1.0.7
|
||||
ui@1.0.6
|
||||
underscore@1.0.3
|
||||
url@1.0.4
|
||||
webapp@1.2.0
|
||||
webapp-hashing@1.0.3
|
||||
2
web/README.md
Normal file
2
web/README.md
Normal file
@@ -0,0 +1,2 @@
|
||||
# confighub
|
||||
one confighub to rule them all
|
||||
1
web/confighub.css
Normal file
1
web/confighub.css
Normal file
@@ -0,0 +1 @@
|
||||
/* CSS declarations go here */
|
||||
30
web/confighub.html
Normal file
30
web/confighub.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<head>
|
||||
<title>confighub</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<h1>Welcome to confighub.io</h1>
|
||||
<div class="col-lg-12">
|
||||
Here goes list of machines
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
{{#each machines}}
|
||||
{{> machineDetails}}
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- {{> hello}} -->
|
||||
</body>
|
||||
|
||||
<template name="machineDetails">
|
||||
<div class="col-lg-4">{{hostname}}</div>
|
||||
</template>
|
||||
|
||||
<template name="hello">
|
||||
<button>Click Me</button>
|
||||
<p>You've pressed the button {{counter}} times.</p>
|
||||
</template>
|
||||
32
web/confighub.js
Normal file
32
web/confighub.js
Normal file
@@ -0,0 +1,32 @@
|
||||
var Machines = new Mongo.Collection("machines");
|
||||
|
||||
if (Meteor.isClient) {
|
||||
// counter starts at 0
|
||||
Session.setDefault('counter', 0);
|
||||
|
||||
Template.body.helpers({
|
||||
machines: function() {
|
||||
return [{hostname: 'machine1'}, {hostname:' machine2'}];
|
||||
return Machines.find({});
|
||||
}
|
||||
});
|
||||
|
||||
Template.hello.helpers({
|
||||
counter: function () {
|
||||
return Session.get('counter');
|
||||
}
|
||||
});
|
||||
|
||||
Template.hello.events({
|
||||
'click button': function () {
|
||||
// increment the counter when button is clicked
|
||||
Session.set('counter', Session.get('counter') + 1);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (Meteor.isServer) {
|
||||
Meteor.startup(function () {
|
||||
// code to run on server at startup
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user