Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mongodot #6

Open
wants to merge 32 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
915d1f0
Merge pull request #37 from modilabs/html-structure
myf Jul 11, 2012
6bd0a7a
Merge pull request #38 from modilabs/html-structure
myf Jul 16, 2012
d784221
graphing add_new_button
myf Jul 17, 2012
7388aae
add graph button
myf Jul 17, 2012
30c9e9d
ready to add graph
myf Jul 19, 2012
664dad9
deletion button
myf Jul 19, 2012
33f713c
Merge pull request #40 from modilabs/ui_render
myf Jul 19, 2012
77747ea
deletion button
myf Jul 19, 2012
b5c0caf
Merge pull request #41 from modilabs/deletion
myf Jul 19, 2012
e2ff123
fixes #35
myf Jul 20, 2012
355d1e7
better error handling on the server side
myf Jul 23, 2012
08b715e
publish firest batch
myf Jul 24, 2012
81f0b44
publish staging
myf Jul 30, 2012
1787a88
add threee lines of introduction url
myf Jul 30, 2012
85e4f5c
something
myf Jul 30, 2012
dc7030b
merger
myf Jul 30, 2012
4a75a8a
Merge branch 'publish' of github.com:modilabs/bamboo-meteor-client in…
myf Jul 30, 2012
90e316a
Merge pull request #42 from modilabs/publish
myf Jul 30, 2012
21ad432
meteor does not recognize NVD3 & wait to do a package
myf Jul 31, 2012
93a3ac7
nvd3 works
myf Jul 31, 2012
2bc954b
publish autosubscribe working
myf Aug 1, 2012
0b7c9e5
Merge pull request #43 from modilabs/publish
myf Aug 1, 2012
67e91d3
saving functions ready
myf Aug 1, 2012
c6ddf5b
merger
myf Aug 1, 2012
e60687d
Merge pull request #44 from modilabs/nvd3
myf Aug 1, 2012
2761dab
css
myf Aug 2, 2012
69aeb50
fix the height bug; implement multiple graph download
myf Aug 2, 2012
c6880ba
solving dot cannot be in the keys problem
myf Aug 2, 2012
321c4b0
Merge branch 'master' of github.com:modilabs/bamboo-meteor-client int…
myf Aug 2, 2012
ea5bc0d
Merge pull request #45 from modilabs/nvd3
myf Aug 2, 2012
ed38a9d
download button
myf Aug 2, 2012
fb367c6
Merge branch 'master' of github.com:modilabs/bamboo-meteor-client int…
myf Aug 2, 2012
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion bamboo-client/.meteor/packages
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.

autopublish
coffeescript
underscore
jquery
Expand Down
33 changes: 33 additions & 0 deletions bamboo-client/client/bamboo.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,36 @@ input{
box-shadow: 0 0 5px 5px #888888;
}

.pointer:hover {
cursor:pointer;
}

.deletionBtn {
width:20px;
height:20px;
}

.downloadBtn {
width:20px;
height:20px;
}
.brand {
font-size: 15px;
}

.logoImg {
width: 20px;
height:20px;
padding-top: 8px;
}

.boxPlotSVG {
width: 200px;
height: 300px;
}

.barChartSVG {
width: 400px;
height: 250px;
}

87 changes: 51 additions & 36 deletions bamboo-client/client/bamboo.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@
<div id="d3select"></div>
</div>
</body>

<template name="error_message">
{{message}}
</template>

<template name="body_render">
{{#if show}}
{{> introduction}}
{{> graphing_block}}
{{> add_new_graph}}
<div class="graph_area">
</div>
{{> control_panel}}
{{/if}}
</template>

<template name="graphing_block">
<div class="well span8 offset1">
<div class="control">
{{> control_panel}}
</div>
<div class="graphing">
{{> graph}}
</div>
Graphs:
</div>
</template>

Expand All @@ -38,6 +38,9 @@
<div class='navbar navbar-fixed-top url'>
<div class="navbar-inner">
<div class="container">
<div class="pull-left"> <a class="brand" href="http://bamboo.io/"><b> Bamboo.io</b> </a>
<img class="logoImg" src="logo.svg"/>
</div>
<div class="pull-right">
<input id="dataSourceURL" type="text"
value="{{current_dataset_url}}"></input>
Expand All @@ -64,6 +67,9 @@

<template name="processing">
{{#if ready}}
<div class="error_message">
{{> error_message}}
</div>
<div class="well span8 offset1">
<h1>Preparing your dataset, just a split second..</h1>
<img src="drop.gif">
Expand All @@ -72,38 +78,47 @@ <h1>Preparing your dataset, just a split second..</h1>
</template>

<template name="introduction">
{{#if ready}}
<div class="well span8 offset1">
<p>You are accessing the dataset from {{url}}</p>
<p>There are {{num_cols}} fields you can choose to chart</p>
<div class="page-header">
<h3> Introducion about Your File </h3>
</div>
<p><b>You</b> are accessing the dataset from <a href="{{url}}"> {{url}}</a>.</p>
<p><b>{{num_cols}} view fields</b> in the dataset you can choose to chart : </p>
{{#if show_all}}
<p>
{{#each schema}}
<p><a href="http://www.google.com?id={{label}}"> {{label}} {{simpletype}} </a></p>
<a href="http://www.google.com?id={{label}}">{{label}}</a>
,&nbsp&nbsp&nbsp&nbsp
{{/each}}
</p>
{{#if long}}
<div class="btn pull-right" id="hideBtn">
hide
</div>
{{/if}}
{{else}}
<p> show 5 entries, or click the button to show all </p>
<p>
{{#each schema_less}}
<p><a href="http://www.google.com?id={{label}}"> {{label}} {{simpletype}} </a></p>
<a href="http://www.google.com?id={{label}}"> {{label}} {{simpletype}} </a>
,&nbsp&nbsp&nbsp&nbsp
{{/each}}
</p>
<div class="btn pull-right" id="moreBtn">
more
</div>
{{/if}}
<p> ---- : Field with * is groupable field.</p>
</div>
{{/if}}
</template>

<template name="control_panel">
{{#if show}}
<div class="well span8 offset1">
{{#if active}}
<div class="page-header">
<h3>Graphing Control Panel</h3>
</div>
<div class="row">
<div class="row offset1">
<b>View</b>
{{chosen}}
<select class="chosen" id="view" >
Expand All @@ -125,35 +140,35 @@ <h3>Graphing Control Panel</h3>
Chart
</div>
</div>
{{#if waiting}}
{{>waiting_graph}}
{{charting}}
{{/if}}
{{else}}
<div class="btn btn-large pull-right" id="addNewGraphBtn">
<h3>Add a New Graph</h3>
</div>
{{/if}}
</div>
</template>

<template name="waiting_graph">
{{#if exist}}
<h3> {{titles}} </h3>
{{else}}
Proccessing the graphs, waiting a split second...
<img src="drop.gif">
{{/if}}
</template>

<template name="graph">
{{#if show}}
{{>waiting_graph}}
{{charting}}
<div class="d3_graph" id="{{field}}_graph"></div>
{{/if}}
</template>




<template name="add_new_graph">
{{#if show}}
<div class="well span8 offset1">
<div class="btn pull-right" id="addGraphBtn">
Add A Graph
<div class="well span8 offset1" id="{{field}}_{{group}}_block">
<div class="page-header">
<div class="pull-right" id="{{field}}_{{group}}_btn">
<img class="pointer downloadBtn" src="download.svg"></img>
&nbsp
<img class="pointer deletionBtn" src="deletion.svg"></img>
</div>
<h3> {{title}} </h3>
</div>
{{/if}}
<div class="d3_graph" id="{{field}}_{{group}}_graph"></div>
</div>
</template>


Loading