mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-04 12:00:16 +01:00
It turns out that you need to call prototype.js as well as scriptaculous.js, or nothing works at all (scriptaculous then calls the other scripts like control, effect etc.). Fixes #151. git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@160 a4c988fc-2ded-0310-b66e-134b36920a42
48 lines
2.9 KiB
Text
48 lines
2.9 KiB
Text
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
<%= stylesheet_link_tag "standard" %>
|
|
<%= stylesheet_link_tag "print", :media => "print" %>
|
|
<%= javascript_include_tag "toggle_notes" %>
|
|
<%= javascript_include_tag "prototype" %>
|
|
<%= javascript_include_tag "scriptaculous" %>
|
|
<%= stylesheet_link_tag 'calendar-system.css' %>
|
|
<%= javascript_include_tag 'calendar', 'calendar-en', 'calendar-setup' %>
|
|
<%= javascript_include_tag "accesskey-hints" %>
|
|
|
|
<link rel="shortcut icon" href="<%= url_for(:controller => 'favicon.ico') %>" />
|
|
<%= auto_discovery_link_tag(:rss,{:controller => "feed", :action => "na_feed", :name => "#{@session['user']['login']}", :token => "#{@session['user']['word']}"}, {:title => "RSS feed of next actions"}) %>
|
|
|
|
<title><%= @page_title %></title>
|
|
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<h1>
|
|
<% if @count %>
|
|
<span class="badge"><%= @count %></span>
|
|
<% end %>
|
|
<%= Time.now.strftime("%A, %d %B %Y") %></h1>
|
|
</div>
|
|
<div id="navcontainer">
|
|
<ul id="navlist">
|
|
<li><%= link_to( "Home", {:controller => "todo", :action => "list"}, {:accesskey=>"t", :title=>"Home"} ) %></li>
|
|
<li><%= link_to( "Contexts", {:controller => "context", :action => "list"}, {:accesskey=>"c", :title=>"Contexts"} ) %></li>
|
|
<li><%= link_to( "Projects", {:controller => "project", :action => "list"}, {:accesskey=>"p", :title=>"Projects"} ) %></li>
|
|
<li><%= link_to( "Completed", {:controller => "todo", :action => "completed"}, {:accesskey=>"d", :title=>"Completed"} ) %></li>
|
|
<li><%= link_to( "Notes", {:controller => "note", :action => "index"}, :title => "Show all notes" ) %></li>
|
|
<li><a href="javascript:toggleAll('notes','block')" accesskey="S" title="Show all notes">Show</a></li>
|
|
<li><a href="javascript:toggleAll('notes','none')" accesskey="H" title="Hide all notes">Hide</a></li>
|
|
<li><%= link_to("<span class=\"feed\">RSS</span>", {:controller => "feed", :action => "na_feed", :name => "#{@session['user']['login']}", :token => "#{@session['user']['word']}"}, :title => "Subscribe to an RSS feed of your next actions" ) %></li>
|
|
<li><%= link_to("<span class=\"feed\">TXT</span>", {:controller => "feed", :action => "na_text", :name => "#{@session['user']['login']}", :token => "#{@session['user']['word']}"}, :title => "View a plain text feed of your next actions" ) %></li>
|
|
<li><%= link_to "Logout (#{@session['user']['login']}) »", :controller => "login", :action=>"logout"%></li>
|
|
</ul>
|
|
</div>
|
|
<%= @content_for_layout %>
|
|
|
|
<div id="footer">
|
|
<p>Send feedback: <a href="http://dev.rousette.org.uk/report/6">Trac</a> | <a href="http://www.rousette.org.uk/projects/wiki/">Wiki</a> | <a href="mailto:butshesagirl@rousette.org.uk?subject=Tracks feedback">Email</a> | <a href="http://www.rousette.org.uk/projects/">Website</a></p>
|
|
</div>
|
|
</body>
|
|
</html>
|