mongo3 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/mongo3.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Mongo3
2
2
 
3
3
  # :stopdoc:
4
- VERSION = '0.1.1' unless defined? Mongo3::VERSION
4
+ VERSION = '0.1.2' unless defined? Mongo3::VERSION
5
5
  LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR unless defined? Mongo3::LIBPATH
6
6
  PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR unless defined? Mongo3::PATH
7
7
  # :startdoc:
@@ -4,12 +4,14 @@
4
4
 
5
5
  <%= partial :'collections/search_form' %>
6
6
 
7
+ <!-- <input onclick="$.tree.focused().open_all( '#0' );", value="open", type="button"/>
8
+ <input onclick="$.tree.focused().close_all( '#0' );", value="close", type="button"/> -->
7
9
  <div class="borders" style="padding:10px;">
8
10
  <div id="tree">
9
11
  <ul>
10
12
  <% count=0;@cltn.each do |cltn| %>
11
13
  <% id = cltn['_id'] %>
12
- <li><span><ins></ins><%=id%></span>
14
+ <li id="<%=count%>"><span><ins></ins><%=id%></span>
13
15
  <div class="delete">
14
16
  <img rel="div#confirm_drop" class="delete" style="float:left;" id="<%=id%>" src="/images/delete.png" title="delete this record"/>
15
17
  <img class="wait" id="wait_<%=id%>" src="/images/loading.gif"/>
data/lib/views/layout.erb CHANGED
@@ -12,7 +12,7 @@
12
12
  <body id="body">
13
13
  <div id="overall">
14
14
  <div id="logo">
15
- <a href="/explore" style="float:left">
15
+ <a href="/" style="float:left">
16
16
  <img id="logo" src='/images/mongo3.png'/>
17
17
  <div id="version"><%=Mongo3.version%></div>
18
18
  </a>
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.1.1
4
+ version: 0.1.2
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: 2010-02-07 00:00:00 -07:00
12
+ date: 2010-03-21 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -119,7 +119,6 @@ extra_rdoc_files:
119
119
  - lib/views/collections/_rows_tree.erb
120
120
  - lib/views/collections/_search_form.erb
121
121
  - lib/views/collections/all_done.js.erb
122
- - lib/views/collections/blee.erb
123
122
  - lib/views/collections/list.erb
124
123
  - lib/views/collections/results.js.erb
125
124
  - lib/views/collections/update.js.erb
@@ -275,7 +274,6 @@ files:
275
274
  - lib/views/collections/_rows_tree.erb
276
275
  - lib/views/collections/_search_form.erb
277
276
  - lib/views/collections/all_done.js.erb
278
- - lib/views/collections/blee.erb
279
277
  - lib/views/collections/list.erb
280
278
  - lib/views/collections/results.js.erb
281
279
  - lib/views/collections/update.js.erb
@@ -1,20 +0,0 @@
1
- <div class="borders" style="padding:10px;font-size:0.4em">
2
- <div id="tree">
3
- <ul>
4
- <li id="phtml_1" class="open"><a href="#"><ins> </ins>Root node 1</a>
5
- <ul>
6
- <li id="phtml_2"><a href="#"><ins> </ins>Child node 1</a></li>
7
- <li id="phtml_3"><a href="#"><ins> </ins>Child node 2</a></li>
8
- <li id="phtml_4"><a href="#"><ins> </ins>Some other child node with longer text</a></li>
9
- </ul>
10
- </li>
11
- <li id="phtml_5"><a href="#"><ins> </ins>Root node 2</a></li>
12
- </ul>
13
- </div>
14
- </div>
15
-
16
- <script>
17
- $( function() {
18
- $('div#tree').tree( { ui: { theme_name: 'apple', theme_path: '/javascripts/themes/apple/style.css'} });
19
- });
20
- </script>