Sha256: 98126c2c781eb2bc372873b68a8e547755e2d2326928d8cda410b47385236207

Contents?: true

Size: 925 Bytes

Versions: 5

Compression:

Stored size: 925 Bytes

Contents

<% i = 1 %>

<div id="spotlight">
  <%=render :partial => 'show_active', :locals => { :i => i } %>
</div>

<%=render :partial => 'burn_down_chart' %>

<div id="rfeature">
  <div class="btitle">
    <h4><%=l(:completed_tasks) %></h4>
  </div>

  <%=render :partial => '/tasks/completed', :locals => {:i => i} %>
</div>

<script type="text/javascript">
//alert(Ruby.eval(Ruby.code()));
</script>

<script type="text/x-ruby">
begin
  require 'java'
  JSObject = netscape.javascript.JSObject
  s = "ho"
rescue Exception => e
  s = e
end
s
#win = JSObject.getWindow(this)
#doc = win.getMember("document")
#loc = doc.getMember("location")

#s = loc.getMember("href")
#win.call("f", null)
</script>

<script type="text/javascript">
function showRuby() {
  alert(Ruby.code());
}

function echoRuby(ruby) {
  alert(Ruby.eval(ruby));
}

window.onload = function() {
  Ruby.init(function(result) {
    alert(result);
  });
}

</script>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
backlog-0.16.0 app/views/periods/show.rhtml
backlog-0.17.0 app/views/periods/show.rhtml
backlog-0.17.1 app/views/periods/show.rhtml
backlog-0.17.2 app/views/periods/show.rhtml
backlog-0.17.3 app/views/periods/show.rhtml