Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

redir

  • Loading branch information...
commit 665b6c3595d1df45b39644d378973492b09aaefe 1 parent 646a98c
@Miserlou Miserlou authored
View
10 lightwrite/templates/light.html
@@ -6,7 +6,7 @@
<script src="/static/jquery.textarea.js"></script>
<script>
$(document).ready(function(){
- $.getJSON('/t/{{wash}}', function (data, textStatus, jqXHR) {
+ $.getJSON('/w/t/{{wash}}', function (data, textStatus, jqXHR) {
$('#writearea').val(data[0]['fields']['text'])
});
$('#writearea').focus();
@@ -27,7 +27,7 @@
var csrf= $('input[name=csrfmiddlewaretoken]');
var data = 'csrfmiddlewaretoken=' + csrf.val() + '&writearea=' + encodeURIComponent(writearea.val()) + '&save=Save+Online';
$.ajax({
- url: "/{{wash}}",
+ url: "/w/{{wash}}",
type: "POST",
data: data,
cache: false,
@@ -95,12 +95,12 @@
<link rel="stylesheet" href="static/smoke.css" type="text/css" media="screen" />
<link rel="stylesheet" href="static/themes/dark.css" type="text/css" media="screen" />
<script src="static/smoke.min.js" type="text/javascript"></script>
-<link href="/static/favicon.ico" rel="SHORTCUT ICON">
+<link href="/static/favikon.ico" rel="SHORTCUT ICON">
</head>
<body>
<center>
<div id="main">
- <form name="bodytext" method="post" action="/{{wash}}" id="bodytext" target="saver">
+ <form name="bodytext" method="post" action="/w/{{wash}}" id="bodytext" target="saver">
<div>{% csrf_token %}<textarea onclick="$('#footer-items').slideUp('fast');" cols="50" rows="20" id="writearea" name="writearea"></textarea>
</div>
<div>
@@ -116,7 +116,7 @@
<button onClick="lights()" type="button" class="clean-gray">Lights</button>
</div>
<div id="about" style="float: right;">
- <button onClick="javascript:popup('/a/about', 'About');" type="button" class="clean-gray">About</button>
+ <button onClick="javascript:popup('/w/a/about', 'About');" type="button" class="clean-gray">About</button>
</div>
</div>
</div>
View
BIN  static/favikon.ico
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.