script_root to absolute URLs
This commit is contained in:
parent
84c9c105fd
commit
4174a25595
@ -2,10 +2,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>{% block title %} {% endblock %} </title>
|
||||
<link rel="stylesheet" href="static/blueprint/screen.css" type="text/css" media="screen, projection">
|
||||
<link rel="stylesheet" href="static/blueprint/print.css" type="text/css" media="print">
|
||||
<link rel="stylesheet" href="{{request.script_root}}/static/blueprint/screen.css" type="text/css" media="screen, projection">
|
||||
<link rel="stylesheet" href="{{request.script_root}}/static/blueprint/print.css" type="text/css" media="print">
|
||||
<!--[if lt IE 8]>
|
||||
<link rel="stylesheet" href="css/blueprint/ie.css" type="text/css" media="screen, projection">
|
||||
<link rel="stylesheet" href="{request.script_root}}/css/blueprint/ie.css" type="text/css" media="screen, projection">
|
||||
<![endif]-->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
|
||||
<style type="text/css">
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
<tr{% if log.error %} class="error" {% endif %}>
|
||||
<td>{{log.action}}</td>
|
||||
<td><a href="/tracked/{{log.url}}">{{log.url}}</td>
|
||||
<td><a href="{{request.script_root}}/tracked/{{log.url}}">{{log.url}}</td>
|
||||
<td>{{log.timestamp.strftime("%Y-%m-%d %H:%M:%S")}}</td>
|
||||
<td>{% if log.error %}{{log.error}}{% endif %}</td>
|
||||
</tr>
|
||||
|
@ -8,14 +8,14 @@ Oyster Logs
|
||||
|
||||
<div class="span-2">
|
||||
{% if offset %}
|
||||
<a class="button" href="/log/?offset={{prev_offset}}">« Prev</a>
|
||||
<a class="button" href="{{request.script_root}}/log/?offset={{prev_offset}}">« Prev</a>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="span-2 prepend-14 last">
|
||||
{% if next_offset %}
|
||||
<a class="button" href="/log/?offset={{next_offset}}">Next »</a>
|
||||
<a class="button" href="{{request.script_root}}/log/?offset={{next_offset}}">Next »</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user