mongo3 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. data/HISTORY +7 -1
  2. data/data/populate +20 -0
  3. data/lib/controllers/collections.rb +54 -13
  4. data/lib/controllers/databases.rb +2 -2
  5. data/lib/controllers/explore.rb +8 -13
  6. data/lib/helpers/flash_helper.rb +9 -0
  7. data/lib/helpers/main_helper.rb +33 -21
  8. data/lib/mongo3/connection.rb +40 -4
  9. data/lib/mongo3.rb +1 -1
  10. data/lib/public/images/button_act.png +0 -0
  11. data/lib/public/images/button_act.psd +0 -0
  12. data/lib/public/images/clear.png +0 -0
  13. data/lib/public/images/clear.psd +0 -0
  14. data/lib/public/images/delete_big.png +0 -0
  15. data/lib/public/images/delete_big.psd +0 -0
  16. data/lib/public/images/loading.gif +0 -0
  17. data/lib/public/javascripts/jquery.confirm.js +132 -0
  18. data/lib/public/javascripts/jquery.example.js +160 -0
  19. data/lib/public/stylesheets/mongo3.css +37 -1
  20. data/lib/views/{_fields_form.erb → collections/_fields_form.erb} +7 -6
  21. data/lib/views/collections/_results.erb +12 -0
  22. data/lib/views/collections/_rows.erb +53 -0
  23. data/lib/views/collections/_search_form.erb +27 -0
  24. data/lib/views/collections/list.erb +52 -0
  25. data/lib/views/collections/results.js.erb +2 -0
  26. data/lib/views/collections/update.js.erb +1 -0
  27. data/lib/views/{db_list.erb → databases/list.erb} +3 -3
  28. data/lib/views/explore/center_js.erb +3 -0
  29. data/lib/views/{explore.erb → explore/explore.erb} +1 -4
  30. data/lib/views/explore/more_data_js.erb +3 -0
  31. data/lib/views/explore/update_crumb_js.erb +1 -0
  32. data/lib/views/layout.erb +2 -0
  33. data/lib/views/shared/_flash.erb +3 -0
  34. data/lib/views/shared/flash.js.erb +8 -0
  35. metadata +49 -44
  36. data/lib/views/_cltn.erb +0 -25
  37. data/lib/views/_cltn_info.erb +0 -95
  38. data/lib/views/_collection.erb +0 -5
  39. data/lib/views/_search_form.erb +0 -30
  40. data/lib/views/center_js.erb +0 -3
  41. data/lib/views/cltn_list.erb +0 -16
  42. data/lib/views/cltn_show.erb +0 -1
  43. data/lib/views/cltn_update_js.erb +0 -1
  44. data/lib/views/collection.erb +0 -44
  45. data/lib/views/database.erb +0 -37
  46. data/lib/views/db_show.erb +0 -1
  47. data/lib/views/more_data_js.erb +0 -3
  48. data/lib/views/show_cltn.erb +0 -1
  49. data/lib/views/update_crumb_js.erb +0 -1
  50. /data/lib/views/{_crumbs.erb → explore/_crumbs.erb} +0 -0
  51. /data/lib/views/{_dump_array.erb → explore/_dump_array.erb} +0 -0
  52. /data/lib/views/{_dump_hash.erb → explore/_dump_hash.erb} +0 -0
  53. /data/lib/views/{_info.erb → explore/_info.erb} +0 -0
@@ -0,0 +1,160 @@
1
+ /*
2
+ * jQuery Form Example Plugin 1.4.1
3
+ * Populate form inputs with example text that disappears on focus.
4
+ *
5
+ * e.g.
6
+ * $('input#name').example('Bob Smith');
7
+ * $('input[@title]').example(function() {
8
+ * return $(this).attr('title');
9
+ * });
10
+ * $('textarea#message').example('Type your message here', {
11
+ * className: 'example_text'
12
+ * });
13
+ *
14
+ * Copyright (c) Paul Mucur (http://mucur.name), 2007-2008.
15
+ * Dual-licensed under the BSD (BSD-LICENSE.txt) and GPL (GPL-LICENSE.txt)
16
+ * licenses.
17
+ *
18
+ * This program is free software; you can redistribute it and/or modify
19
+ * it under the terms of the GNU General Public License as published by
20
+ * the Free Software Foundation; either version 2 of the License, or
21
+ * (at your option) any later version.
22
+ *
23
+ * This program is distributed in the hope that it will be useful,
24
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
25
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26
+ * GNU General Public License for more details.
27
+ */
28
+ (function($) {
29
+
30
+ $.fn.example = function(text, args) {
31
+
32
+ /* Only calculate once whether a callback has been used. */
33
+ var isCallback = $.isFunction(text);
34
+
35
+ /* Merge the arguments and given example text into one options object. */
36
+ var options = $.extend({}, args, {example: text});
37
+
38
+ return this.each(function() {
39
+
40
+ /* Reduce method calls by saving the current jQuery object. */
41
+ var $this = $(this);
42
+
43
+ /* Merge the plugin defaults with the given options and, if present,
44
+ * any metadata.
45
+ */
46
+ if ($.metadata) {
47
+ var o = $.extend({}, $.fn.example.defaults, $this.metadata(), options);
48
+ } else {
49
+ var o = $.extend({}, $.fn.example.defaults, options);
50
+ }
51
+
52
+ /* The following event handlers only need to be bound once
53
+ * per class name. In order to do this, an array of used
54
+ * class names is stored and checked on each use of the plugin.
55
+ * If the class name is in the array then this whole section
56
+ * is skipped. If not, the events are bound and the class name
57
+ * added to the array.
58
+ *
59
+ * As of 1.3.2, the class names are stored as keys in the
60
+ * array, rather than as elements. This removes the need for
61
+ * $.inArray().
62
+ */
63
+ if (!$.fn.example.boundClassNames[o.className]) {
64
+
65
+ /* Because Gecko-based browsers cache form values
66
+ * but ignore all other attributes such as class, all example
67
+ * values must be cleared on page unload to prevent them from
68
+ * being saved.
69
+ */
70
+ $(window).unload(function() {
71
+ $('.' + o.className).val('');
72
+ });
73
+
74
+ /* Clear fields that are still examples before any form is submitted
75
+ * otherwise those examples will be sent along as well.
76
+ *
77
+ * Prior to 1.3, this would only be bound to forms that were
78
+ * parents of example fields but this meant that a page with
79
+ * multiple forms would not work correctly.
80
+ */
81
+ $('form').submit(function() {
82
+
83
+ /* Clear only the fields inside this particular form. */
84
+ $(this).find('.' + o.className).val('');
85
+ });
86
+
87
+ /* Add the class name to the array. */
88
+ $.fn.example.boundClassNames[o.className] = true;
89
+ }
90
+
91
+ /* Internet Explorer will cache form values even if they are cleared
92
+ * on unload, so this will clear any value that matches the example
93
+ * text and hasn't been specified in the value attribute.
94
+ *
95
+ * If a callback is used, it is not possible or safe to predict
96
+ * what the example text is going to be so all non-default values
97
+ * are cleared. This means that caching is effectively disabled for
98
+ * that field.
99
+ *
100
+ * Many thanks to Klaus Hartl for helping resolve this issue.
101
+ */
102
+ if ($.browser.msie && !$this.attr('defaultValue') && (isCallback || $this.val() == o.example))
103
+ $this.val('');
104
+
105
+ /* Initially place the example text in the field if it is empty
106
+ * and doesn't have focus yet.
107
+ */
108
+ if ($this.val() == '' && this != document.activeElement) {
109
+ $this.addClass(o.className);
110
+
111
+ /* The text argument can now be a function; if this is the case,
112
+ * call it, passing the current element as `this`.
113
+ */
114
+ $this.val(isCallback ? o.example.call(this) : o.example);
115
+ }
116
+
117
+ /* Make the example text disappear when someone focuses.
118
+ *
119
+ * To determine whether the value of the field is an example or not,
120
+ * check for the example class name only; comparing the actual value
121
+ * seems wasteful and can stop people from using example values as real
122
+ * input.
123
+ */
124
+ $this.focus(function() {
125
+
126
+ /* jQuery 1.1 has no hasClass(), so is() must be used instead. */
127
+ if ($(this).is('.' + o.className)) {
128
+ $(this).val('');
129
+ $(this).removeClass(o.className);
130
+ }
131
+ });
132
+
133
+ /* Make the example text reappear if the input is blank on blurring. */
134
+ $this.blur(function() {
135
+ if ($(this).val() == '') {
136
+ $(this).addClass(o.className);
137
+
138
+ /* Re-evaluate the callback function every time the user
139
+ * blurs the field without entering anything. While this
140
+ * is not as efficient as caching the value, it allows for
141
+ * more dynamic applications of the plugin.
142
+ */
143
+ $(this).val(isCallback ? o.example.call(this) : o.example);
144
+ }
145
+ });
146
+ });
147
+ };
148
+
149
+ /* Users can override the defaults for the plugin like so:
150
+ *
151
+ * $.fn.example.defaults.className = 'not_example';
152
+ */
153
+ $.fn.example.defaults = {
154
+ className: 'example'
155
+ };
156
+
157
+ /* All the class names used are stored as keys in the following array. */
158
+ $.fn.example.boundClassNames = [];
159
+
160
+ })(jQuery);
@@ -19,6 +19,26 @@ body {
19
19
  margin: 0;
20
20
  }
21
21
 
22
+ div.flash {
23
+ display: none;
24
+ padding: 10px;
25
+ font-size: .8em;
26
+ color: #fff;
27
+ border: 1px #92b948 solid;
28
+ -moz-border-radius-bottomleft: 0px;
29
+ -moz-border-radius-topleft: 20px;
30
+ -moz-border-radius-bottomright: 20px;
31
+ -moz-border-radius-topright: 0px;
32
+ }
33
+ div.flash_error {
34
+ color: #f00;
35
+ border: 1px #f00 solid;
36
+ }
37
+ div.flash_info {
38
+ color: #fff;
39
+ border: 1px #92b948 solid;
40
+ }
41
+
22
42
  #overall {
23
43
  margin: 5px auto;
24
44
  width: 950px;
@@ -279,6 +299,13 @@ div.cltn {
279
299
  font-size: 0.4em;
280
300
  }
281
301
 
302
+ div.no_items {
303
+ margin-top: 30px;
304
+ color: #ff8f00;
305
+ font-size: 1.5em;
306
+ text-align: center;
307
+ }
308
+
282
309
  div#fields {
283
310
  margin: 20px 10px;
284
311
  padding: 10px 10px;
@@ -321,12 +348,17 @@ table.cltn {
321
348
  border-collapse: collapse;
322
349
  text-align: left;
323
350
  }
324
-
325
351
  table.cltn thead {
326
352
  font-weight: bold;
327
353
  border-bottom: 1px #c1c1c1 solid;
328
354
  color: #c1c1c1;
329
355
  }
356
+ table.cltn tr {
357
+ color: #fff;
358
+ }
359
+ table.cltn tr.highlight {
360
+ color: #92b948;
361
+ }
330
362
 
331
363
  div.cltn div#summary {
332
364
  font-size: .8em;
@@ -384,3 +416,7 @@ button.search:hover {
384
416
  color: #fff;
385
417
  }
386
418
 
419
+ input.no_input {
420
+ color: #c1c1c1;
421
+ }
422
+
@@ -1,5 +1,5 @@
1
- <form id="cols" onsubmit="fields_submit();return false;" action="/cltn_refresh" method="post">
2
- <div style="width:85%;overflow:hidden;float:left">
1
+ <form id="cols" onsubmit="fields_submit();return false;" action="/collections/refresh/" method="post">
2
+ <div style="width:80%;overflow:hidden;float:left">
3
3
  <% @cols.each do |col|%>
4
4
  <fieldset class="check">
5
5
  <input id="<%=col%>" type="checkbox" name="cols[<%=col%>]" value="1" <%=@selected_cols.include?(col) ? "checked" : ""%>/>
@@ -8,9 +8,8 @@
8
8
  <% end %>
9
9
  </div>
10
10
  <fieldset style="float:right;">
11
- <button type="submit" id="submit_button" class="button show">
12
- <span style="font-size:1em">show</span>
13
- </button>
11
+ <button type="submit" id="submit_button" class="button show">show</button>
12
+ <img id="show_load" src="/images/loading.gif" style="width:20px;height:20px;vertical-align:top;display:none"></img>
14
13
  </fieldset>
15
14
  </form>
16
15
 
@@ -21,7 +20,9 @@
21
20
  data: $.param( $("form#cols").serializeArray() ),
22
21
  dataType: 'script',
23
22
  type: 'post',
24
- url: '/cltn_refresh/<%=@page%>'
23
+ url: '/collections/refresh/<%=@page%>/',
24
+ beforeSend: function() { $('img#show_load').show(); },
25
+ complete: function() { $('img#show_load').hide(); }
25
26
  });
26
27
  }
27
28
  </script>
@@ -0,0 +1,12 @@
1
+ <% unless @cltn.empty? %>
2
+ <div id="fields">
3
+ <%= partial :'collections/fields_form' %>
4
+ </div>
5
+ <%= partial :'collections/search_form' %>
6
+
7
+ <div class="table">
8
+ <%= partial :'collections/rows' %>
9
+ </div>
10
+ <% else %>
11
+ <div class="no_items">Oh snap! No items found...</span>
12
+ <% end %>
@@ -0,0 +1,53 @@
1
+ <div id="summary" style="clear:both">
2
+ <%= page_entries_info @cltn, :entry_name => 'item' %>
3
+ </div>
4
+
5
+ <table id="cltn" class="cltn" border="0" cellpadding="10" cellspacing="20">
6
+ <thead>
7
+ <th width="2%">&nbsp;</td>
8
+ <% @selected_cols.each do |col| %>
9
+ <th><%=col%></th>
10
+ <% end %>
11
+ </thead>
12
+ <tbody>
13
+ <% @cltn.each do |cltn| %>
14
+ <% id = cltn['_id'] %>
15
+ <tr id="<%=id%>" valign="top">
16
+ <td id="<%=id%>">
17
+ <img class="delete" id="<%=id%>" src="/images/delete.png" style="cursor:pointer;border:0;display:none" title="delete this record"/>
18
+ <img id="wait_<%=id%>" src="/images/loading.gif" style="width:16px;height:16px;vertical-align:sub;display:none"></img>
19
+ </td>
20
+ <% @selected_cols.each do |k| %>
21
+ <td><%= format_number(cltn[k]) %></td>
22
+ <% end %>
23
+ </tr>
24
+ <% end %>
25
+ </tbody>
26
+ </table>
27
+
28
+ <div id="links">
29
+ <%= will_paginate @cltn, :params => { :url => '/collections' } %>
30
+ </div>
31
+
32
+ <script>
33
+ $("table#cltn tr" ).hover(
34
+ function() {
35
+ $(this).addClass( 'highlight' );
36
+ $("td#" + $(this).attr('id') + " img.delete" ).show();
37
+ },
38
+ function() {
39
+ $(this).removeClass( 'highlight' );
40
+ $("td#" + $(this).attr('id') + " img.delete" ).hide();
41
+ });
42
+ $( "img.delete" ).click( function() {
43
+ var id = $(this).attr('id');
44
+ $.ajax({
45
+ data: {id: id},
46
+ dataType: 'script',
47
+ type: 'post',
48
+ url: '/collections/delete/',
49
+ beforeSend: function() { $('img#_wait_' + id ).show(); },
50
+ complete: function() { $('img#_wait_' + id ).hide(); }
51
+ });
52
+ });
53
+ </script>
@@ -0,0 +1,27 @@
1
+ <form id="search" onsubmit="search_submit();return false;" action="/collections/search/" method="post" style="text-align:center;margin:10px">
2
+ <fieldset>
3
+ <input id="search" type="text" name="search" class="search" value="<%=@query%>"/>
4
+ <button type="submit" id="submit_button" class="button search" style="display:none">search</button>
5
+ <img id="search_load" src="/images/loading.gif" style="width:25px;height:25px;vertical-align:sub;display:none"></img>
6
+ </fieldset>
7
+ <fieldset style="">
8
+ </fieldset>
9
+ </form>
10
+
11
+ <script>
12
+ $( function() {
13
+ $('input#search').example("{'name':'franky'} | [['count',-1]]", { className: 'no_input' } );
14
+ });
15
+
16
+ function search_submit()
17
+ {
18
+ $.ajax({
19
+ data: $.param( $("form#search").serializeArray() ),
20
+ dataType: 'script',
21
+ type: 'post',
22
+ url: '/collections/search/',
23
+ beforeSend: function() { $('img#search_load').show(); },
24
+ complete: function() { $('img#search_load').hide(); }
25
+ });
26
+ }
27
+ </script>
@@ -0,0 +1,52 @@
1
+ <style>
2
+ div#actions {
3
+ text-align: right;
4
+ width: 100%;
5
+ }
6
+ div#actions span {
7
+ font-size: 1em;
8
+ }
9
+ button.action {
10
+ background: transparent url(/images/button_act.png) repeat-x center bottom;
11
+ }
12
+ button.clear:hover {
13
+ background-color: #3e41bd;
14
+ }
15
+ button.drop:hover {
16
+ background-color: #bb1947;
17
+ }
18
+ </style>
19
+
20
+ <div class="cltn">
21
+ <div class="title"><%=@title%></div>
22
+ <a class="back" href="<%=@back_url%>">&laquo;&nbsp;back</a>
23
+
24
+ <div id="actions">
25
+ <img id="action_load" src="/images/loading.gif" style="width:25px;height:25px;vertical-align:sub;display:none"></img>
26
+ <button class="action clear" title="Delete all records from collection">clear</button>
27
+ <button class="action drop" title="Drop the entire collection">drop</button>
28
+ </div>
29
+ <div id="results">
30
+ <%= partial :'collections/results' %>
31
+ </div>
32
+ <div>
33
+
34
+
35
+ <script>
36
+ $( function() {
37
+ $( 'button.action' ).click( function() {
38
+ var r = confirm( "Are you sure?" );
39
+ if( r == false )
40
+ return false;
41
+
42
+ $.ajax({
43
+ dataType: 'script',
44
+ type: 'get',
45
+ url: '/collections/' + $(this).html() + "/",
46
+ beforeSend: function() { $('img#action_load').show(); },
47
+ complete: function() { $('img#action_load').hide(); }
48
+ });
49
+ })
50
+ });
51
+ </script>
52
+
@@ -0,0 +1,2 @@
1
+ <%= erb :'shared/flash.js', :layout => false %>
2
+ $('div#results').html( "<%=escape_javascript(partial(:'collections/results'))%>" );
@@ -0,0 +1 @@
1
+ $('div.table').html( "<%=escape_javascript(partial(:'collections/rows'))%>" );
@@ -10,14 +10,14 @@
10
10
  <thead>
11
11
  <% cols = @cltns.first.keys %>
12
12
  <% cols.each do |col| %>
13
- <th><%=col%></th>
13
+ <th align="<%=align_for( @cltns.first[col] )%>"><%=col%></th>
14
14
  <% end %>
15
15
  </thead>
16
16
  <tbody>
17
17
  <% @cltns.each do |cltn| %>
18
18
  <tr valign="top">
19
19
  <% cltn.each_pair do |k, v| %>
20
- <td><%= v %></td>
20
+ <td align="<%=align_for( v )%>"><%= format_number(v) %></td>
21
21
  <% end %>
22
22
  </tr>
23
23
  <% end %>
@@ -25,6 +25,6 @@
25
25
  </table>
26
26
 
27
27
  <div id="links">
28
- <%= will_paginate @cltns, :params => { :url => "/db" } %>
28
+ <%= will_paginate @cltns, :params => { :url => "/databases" } %>
29
29
  </div>
30
30
  <div>
@@ -0,0 +1,3 @@
1
+ $('div#crumbs').html( "<%=escape_javascript(partial(:'explore/crumbs'))%>" );
2
+
3
+ center( '<%=@node_id%>' );
@@ -1,5 +1,5 @@
1
1
  <div id="crumbs">
2
- <%= partial 'crumbs' %>
2
+ <%= partial :'explore/crumbs' %>
3
3
  </div>
4
4
 
5
5
  <div id="landscape"></div>
@@ -179,14 +179,11 @@
179
179
 
180
180
  function update_info(node_id)
181
181
  {
182
- console.log( "NODE " + node_id );
183
182
  var node = null;
184
183
  if( node_id )
185
184
  node = Graph.Util.getNode(ht.graph, node_id);
186
185
  else
187
186
  node = Graph.Util.getClosestNodeToOrigin(ht.graph, "pos");
188
-
189
- console.log( "ACTUAL " + node.name + " " + node.id + " " + node.data.path_ids );
190
187
 
191
188
  var html = "";
192
189
  var depth = node.data.path_ids.split( '|' ).length
@@ -0,0 +1,3 @@
1
+ $('div#crumbs').html( "<%=escape_javascript(partial(:'explore/crumbs'))%>" );
2
+
3
+ morphit( '<%=@node_id%>', '<%=escape_javascript( @sub_tree.to_json )%>' );
@@ -0,0 +1 @@
1
+ $('div#crumbs').html( "<%=escape_javascript(partial(:'explore/crumbs'))%>" );
data/lib/views/layout.erb CHANGED
@@ -11,6 +11,7 @@
11
11
  <script src="/javascripts/jquery.tools.min.js" type="text/javascript"></script>
12
12
  <script src="/javascripts/application.js" type="text/javascript"></script>
13
13
  <script src="/javascripts/jit.min.js" type="text/javascript"></script>
14
+ <script src="/javascripts/jquery.example.js" type="text/javascript"></script>
14
15
  </head>
15
16
 
16
17
  <body id="body">
@@ -21,6 +22,7 @@
21
22
  </a>
22
23
  </div>
23
24
  <div id="main">
25
+ <div class="flash"></div>
24
26
  <%= yield %>
25
27
  </div>
26
28
  </div>
@@ -0,0 +1,3 @@
1
+ <% if @flash and !@flash.empty? %>
2
+ <%=(@flash[:error] ? @flash[:error] : @flash[:info]) %>
3
+ <% end %>
@@ -0,0 +1,8 @@
1
+ $('div.flash').html( "<%=escape_javascript(partial(:'shared/flash'))%>" );
2
+ $('div.flash').show();
3
+ <% if @flash[:error] %>
4
+ $('div.flash').attr( 'class', 'flash flash_error' );
5
+ <% else %>
6
+ $('div.flash').attr( 'class', 'flash flash_info' );
7
+ <% end %>
8
+ $('div.flash').fadeOut( 5000 );
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernand Galiana
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-26 00:00:00 -07:00
12
+ date: 2009-12-27 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -59,29 +59,26 @@ executables:
59
59
  extensions: []
60
60
 
61
61
  extra_rdoc_files:
62
- - lib/views/_cltn.erb
63
- - lib/views/_cltn_info.erb
64
- - lib/views/_collection.erb
65
- - lib/views/_crumbs.erb
66
- - lib/views/_dump_array.erb
67
- - lib/views/_dump_hash.erb
68
- - lib/views/_fields_form.erb
69
- - lib/views/_info.erb
70
- - lib/views/_search_form.erb
71
- - lib/views/center_js.erb
72
- - lib/views/cltn_list.erb
73
- - lib/views/cltn_show.erb
74
- - lib/views/cltn_update_js.erb
75
- - lib/views/collection.erb
76
- - lib/views/database.erb
77
- - lib/views/db_list.erb
78
- - lib/views/db_show.erb
79
- - lib/views/explore.erb
62
+ - lib/views/collections/_fields_form.erb
63
+ - lib/views/collections/_results.erb
64
+ - lib/views/collections/_rows.erb
65
+ - lib/views/collections/_search_form.erb
66
+ - lib/views/collections/list.erb
67
+ - lib/views/collections/results.js.erb
68
+ - lib/views/collections/update.js.erb
69
+ - lib/views/databases/list.erb
70
+ - lib/views/explore/_crumbs.erb
71
+ - lib/views/explore/_dump_array.erb
72
+ - lib/views/explore/_dump_hash.erb
73
+ - lib/views/explore/_info.erb
74
+ - lib/views/explore/center_js.erb
75
+ - lib/views/explore/explore.erb
76
+ - lib/views/explore/more_data_js.erb
77
+ - lib/views/explore/update_crumb_js.erb
80
78
  - lib/views/landscape.erb
81
79
  - lib/views/layout.erb
82
- - lib/views/more_data_js.erb
83
- - lib/views/show_cltn.erb
84
- - lib/views/update_crumb_js.erb
80
+ - lib/views/shared/_flash.erb
81
+ - lib/views/shared/flash.js.erb
85
82
  files:
86
83
  - .bnignore
87
84
  - .bnsignore
@@ -91,11 +88,13 @@ files:
91
88
  - Rakefile
92
89
  - bin/mongo3
93
90
  - config/mongo3.yml
91
+ - data/populate
94
92
  - lib/controllers/collections.rb
95
93
  - lib/controllers/databases.rb
96
94
  - lib/controllers/explore.rb
97
95
  - lib/helpers/collection_helper.rb
98
96
  - lib/helpers/crumb_helper.rb
97
+ - lib/helpers/flash_helper.rb
99
98
  - lib/helpers/main_helper.rb
100
99
  - lib/main.rb
101
100
  - lib/mongo3.rb
@@ -103,7 +102,11 @@ files:
103
102
  - lib/mongo3/node.rb
104
103
  - lib/public/.DS_Store
105
104
  - lib/public/images/button.png
105
+ - lib/public/images/button_act.png
106
+ - lib/public/images/button_act.psd
106
107
  - lib/public/images/c292199_a.jpg
108
+ - lib/public/images/clear.png
109
+ - lib/public/images/clear.psd
107
110
  - lib/public/images/close.png
108
111
  - lib/public/images/close.psd
109
112
  - lib/public/images/cluster.png
@@ -112,10 +115,13 @@ files:
112
115
  - lib/public/images/db.png
113
116
  - lib/public/images/db.psd
114
117
  - lib/public/images/delete.png
118
+ - lib/public/images/delete_big.png
119
+ - lib/public/images/delete_big.psd
115
120
  - lib/public/images/header.png
116
121
  - lib/public/images/header.psd
117
122
  - lib/public/images/li_select.png
118
123
  - lib/public/images/li_select.psd
124
+ - lib/public/images/loading.gif
119
125
  - lib/public/images/lock.png
120
126
  - lib/public/images/lock.psd
121
127
  - lib/public/images/mongo.png
@@ -190,34 +196,33 @@ files:
190
196
  - lib/public/javascripts/Jit/jit.js
191
197
  - lib/public/javascripts/application.js
192
198
  - lib/public/javascripts/jit.min.js
199
+ - lib/public/javascripts/jquery.confirm.js
200
+ - lib/public/javascripts/jquery.example.js
193
201
  - lib/public/javascripts/jquery.tools.min.js
194
202
  - lib/public/javascripts/jquery_min.js
195
203
  - lib/public/javascripts/jquery_ui_min.js
196
204
  - lib/public/stylesheets/mongo3.css
197
205
  - lib/utils.rb
198
- - lib/views/_cltn.erb
199
- - lib/views/_cltn_info.erb
200
- - lib/views/_collection.erb
201
- - lib/views/_crumbs.erb
202
- - lib/views/_dump_array.erb
203
- - lib/views/_dump_hash.erb
204
- - lib/views/_fields_form.erb
205
- - lib/views/_info.erb
206
- - lib/views/_search_form.erb
207
- - lib/views/center_js.erb
208
- - lib/views/cltn_list.erb
209
- - lib/views/cltn_show.erb
210
- - lib/views/cltn_update_js.erb
211
- - lib/views/collection.erb
212
- - lib/views/database.erb
213
- - lib/views/db_list.erb
214
- - lib/views/db_show.erb
215
- - lib/views/explore.erb
206
+ - lib/views/collections/_fields_form.erb
207
+ - lib/views/collections/_results.erb
208
+ - lib/views/collections/_rows.erb
209
+ - lib/views/collections/_search_form.erb
210
+ - lib/views/collections/list.erb
211
+ - lib/views/collections/results.js.erb
212
+ - lib/views/collections/update.js.erb
213
+ - lib/views/databases/list.erb
214
+ - lib/views/explore/_crumbs.erb
215
+ - lib/views/explore/_dump_array.erb
216
+ - lib/views/explore/_dump_hash.erb
217
+ - lib/views/explore/_info.erb
218
+ - lib/views/explore/center_js.erb
219
+ - lib/views/explore/explore.erb
220
+ - lib/views/explore/more_data_js.erb
221
+ - lib/views/explore/update_crumb_js.erb
216
222
  - lib/views/landscape.erb
217
223
  - lib/views/layout.erb
218
- - lib/views/more_data_js.erb
219
- - lib/views/show_cltn.erb
220
- - lib/views/update_crumb_js.erb
224
+ - lib/views/shared/_flash.erb
225
+ - lib/views/shared/flash.js.erb
221
226
  - spec/mongo3/node_spec.rb
222
227
  - spec/spec_helper.rb
223
228
  - tasks/bones.rake