mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
Added a new entry to settings which holds the base path of your Tracks installation. This is used for the javascripts and stylesheets path in standard.rhtml so that the full path is given.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@21 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
008d850f13
commit
84a3d63abb
2 changed files with 5 additions and 4 deletions
|
|
@ -1,12 +1,11 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
|
<% tracks_path = app_configurations["path"]["base"] %>
|
||||||
<style type="text/css" media="screen">
|
<style type="text/css" media="screen">
|
||||||
@import url(/stylesheets/standard.css);
|
<%= "@import url(#{tracks_path}/stylesheets/standard.css);" %>
|
||||||
</style>
|
</style>
|
||||||
|
<%= "<script type=\"text/javascript\" src=\"#{tracks_path}/javascripts/toggle_notes.js\"</script>" %>
|
||||||
<script type="text/javascript" src="/javascripts/toggle_notes.js"></script>
|
|
||||||
<script type="text/javascript" language="JavaScript" src="/javascripts/xmlhttp.js"></script>
|
|
||||||
<link rel="shortcut icon" href="/favicon.ico" />
|
<link rel="shortcut icon" href="/favicon.ico" />
|
||||||
|
|
||||||
<title><%= @page_title %></title>
|
<title><%= @page_title %></title>
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,4 @@
|
||||||
formats:
|
formats:
|
||||||
date: %d/%m/%Y
|
date: %d/%m/%Y
|
||||||
|
path:
|
||||||
|
base: http://tracks
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue