Skip to content

Commit

Permalink
Update index.erb
Browse files Browse the repository at this point in the history
Changes referencing issue junegunn#56
Intention: make redis-stat also working when proxying it.
Now you can configure your webserver to act as proxy and access redis-stat via ``your-domain/your-access-page``
This was not possible before due to web-root relative paths in index.erb
  • Loading branch information
mmattel authored Dec 9, 2016
1 parent 3ff6063 commit 604b325
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions lib/redis-stat/server/views/index.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@
<html>
<head>
<title>redis-stat</title>
<link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
<link href="/jqplot/jquery.jqplot.min.css" rel="stylesheet"/>
<link href="/select2/select2.css" rel="stylesheet"/>
<link href="/select2/select2-bootstrap.css" rel="stylesheet"/>
<link href="/css/site.css" rel="stylesheet"/>
<script type="text/javascript" src="/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="/jqplot/jquery.jqplot.min.js"></script>
<script type="text/javascript" src="/jqplot/jqplot.canvasTextRenderer.min.js"></script>
<script type="text/javascript" src="/jqplot/jqplot.canvasAxisLabelRenderer.min.js"></script>
<script type="text/javascript" src="/jqplot/jqplot.canvasAxisTickRenderer.min.js"></script>
<script type="text/javascript" src="/select2/select2.min.js"></script>
<script type="text/javascript" src="/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/site.js"></script>
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
<link href="jqplot/jquery.jqplot.min.css" rel="stylesheet"/>
<link href="select2/select2.css" rel="stylesheet"/>
<link href="select2/select2-bootstrap.css" rel="stylesheet"/>
<link href="css/site.css" rel="stylesheet"/>
<script type="text/javascript" src="jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="jqplot/jquery.jqplot.min.js"></script>
<script type="text/javascript" src="jqplot/jqplot.canvasTextRenderer.min.js"></script>
<script type="text/javascript" src="jqplot/jqplot.canvasAxisLabelRenderer.min.js"></script>
<script type="text/javascript" src="jqplot/jqplot.canvasAxisTickRenderer.min.js"></script>
<script type="text/javascript" src="select2/select2.min.js"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/site.js"></script>
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="/">redis-stat</a>
<a class="brand" href="./">redis-stat</a>
<% if @hosts.length > 1 %>
<ul class="nav">
<li>
Expand Down

0 comments on commit 604b325

Please sign in to comment.