views/presenter.erb in showoff-0.9.11.1 vs views/presenter.erb in showoff-0.10.0
- old
+ new
@@ -10,26 +10,12 @@
issueUrl = "<%= @issues %>";
</script>
</head>
<body>
+<%= erb :help %>
-<div id="help">
- <table>
- <tr><td class="key">z, ?</td><td>toggle help (this)</td></tr>
- <tr><td class="key">space, →</td><td>next slide</td></tr>
- <tr><td class="key">shift-space, ←</td><td>previous slide</td></tr>
- <tr><td class="key">b</td><td>blank screen</td></tr>
- <tr><td class="key">d</td><td>toggle debug mode</td></tr>
- <tr><td class="key">## <ret></td><td>go to slide #</td></tr>
- <tr><td class="key">c, t</td><td>table of contents (vi)</td></tr>
- <tr><td class="key">r</td><td>reload slides</td></tr>
- <tr><td class="key">p</td><td>run preshow</td></tr>
- <tr><td class="key">s</td><td>choose style</td></tr>
- </table>
-</div>
-
<div id="main">
<div id="topbar">
<div id="slideSource">
Source:
<% if @request.host == 'localhost' %>
@@ -45,11 +31,11 @@
<% end %>
<% if @issues %>
<a id="report" href="javascript:reportIssue();" title="Report an issue with the current slide.">Report Issue With Slide</a>
<% end %>
<span class="spacer"> </span>
- <a id="stats" href="/stats" target="_showoffchild" class="popdown">Viewing Statistics</a>
- <a id="downloads" href="/download" target="_showoffchild" class="popdown">Downloads</a>
+ <a id="statslink" href="" class="popdown">Viewing Statistics</a>
+ <a id="downloadslink" href="" class="popdown">Downloads</a>
<span class="spacer"> </span>
<a id="slaveWindow" href="javascript:toggleSlave();" title="Enable the display window." class="popout">Display Window</a>
<a id="nextWindow" href="javascript:toggleNext();" title="Enable the next window view." class="popout">Next Window</a>
<a id="notesWindow" href="javascript:toggleNotes();" title="Enable the popout notes window." class="popout">Notes Window</a>
<span class="spacer"> </span>