db file for production
This commit is contained in:
parent
81094a5d62
commit
68d08af9d3
1 changed files with 6 additions and 2 deletions
|
@ -5,7 +5,9 @@
|
||||||
#%>
|
#%>
|
||||||
|
|
||||||
<div class="headertop">
|
<div class="headertop">
|
||||||
|
<% if false %>
|
||||||
<button onclick="if (!goRealtime) { this.innerHTML = 'Stop Realtime'; } else if (goRealtime) { this.innerHTML = 'Start Realtime'; } goRealtime = !goRealtime;">Start Realtime</button>
|
<button onclick="if (!goRealtime) { this.innerHTML = 'Stop Realtime'; } else if (goRealtime) { this.innerHTML = 'Start Realtime'; } goRealtime = !goRealtime;">Start Realtime</button>
|
||||||
|
<% end %>
|
||||||
<button onclick="hideSelectedEdges();hideSelectedNodes();">Hide Selected</button>
|
<button onclick="hideSelectedEdges();hideSelectedNodes();">Hide Selected</button>
|
||||||
<% if authenticated? %>
|
<% if authenticated? %>
|
||||||
<% if (@map.permission == "commons" && authenticated?) || @map.user == user %>
|
<% if (@map.permission == "commons" && authenticated?) || @map.user == user %>
|
||||||
|
@ -49,10 +51,12 @@
|
||||||
<%= render :partial => 'maps/new' %>
|
<%= render :partial => 'maps/new' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
<% if false %>
|
||||||
<%= form_for @map, :url => realtime_path(@map), :method => "GET", :html => { :id => "MapRealtime"}, remote: true do |form| %>
|
<%= form_for @map, :url => realtime_path(@map), :method => "GET", :html => { :id => "MapRealtime"}, remote: true do |form| %>
|
||||||
<%= form.hidden_field :time, :value => Time.now.to_i %>
|
<%= form.hidden_field :time, :value => Time.now.to_i %>
|
||||||
<%= form.hidden_field :ids, :value => 0 %>
|
<%= form.hidden_field :ids, :value => 0 %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var dragged = 0;
|
var dragged = 0;
|
||||||
|
@ -60,11 +64,11 @@
|
||||||
<% if (@map.permission == "commons" && authenticated?) || @map.user == user %>
|
<% if (@map.permission == "commons" && authenticated?) || @map.user == user %>
|
||||||
mapperm = true;
|
mapperm = true;
|
||||||
<% end %>
|
<% end %>
|
||||||
var int = setInterval(function(){
|
/*var int = setInterval(function(){
|
||||||
if (goRealtime) {
|
if (goRealtime) {
|
||||||
$('#MapRealtime').submit();
|
$('#MapRealtime').submit();
|
||||||
}
|
}
|
||||||
},4000);
|
},4000);*/
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
Loading…
Add table
Reference in a new issue