whole bunch of changes to make things work cleanly on the server
[yourule] / templates / show_ruler.tmpl
index 397314ffdf4833bc81c00302f29eded3a25c28a0..bcdf7fae2e4e6a078f9568f305cf0d4476a68170 100644 (file)
@@ -1,17 +1,19 @@
-#extends site
+<html>
+<head>
+<link rel="stylesheet" type="text/css" href="<%= homepath %>/style.css" />
+</head>
+<p id="menu">
+<a href="<%= homepath %>/show/<%= other_unit_url %>">show in <%= other_unit %></a>
+/
+<% if fromgallery %>
+<a href="<%= homepath %>/gallery">back to gallery</a>
+<% else %>
+<a href="<%= homepath %>/gallery/<%= ruler_url %>">save for others</a>
+<% endif %>
+</p>
 
-#block body
+<div id="rulerimg">
+<img src="<%= homepath %>/<%= ruler_url %>" alt="<%= ruler_url %>" />
+</div>
 
-<h2>Your Ruler</h2>
-
-<img src="/$ruler_url" alt="$ruler_url" />
-
-#if $fromgallery
-<p><a href="/gallery">Back to gallery</a>.</p>
-#else
-<p><a href="/gallery/$ruler_url">Save your ruler to the gallery</a> for others to use in
-the future.</p>
-#end if
-
-#end block body
 

Benjamin Mako Hill || Want to submit a patch?