Commits

sempr committed 7cb58c4

MOD: add suffix for static files

Comments (0)

Files changed (3)

templates/list.html

 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 	<!-- External CSS -->
 	{% if not tttt %}
-	<link rel="stylesheet" href="/static/css/style.css" media="all" type="text/css" />
+	<link rel="stylesheet" href="{{ static_url('css/style.css') }}" media="all" type="text/css" />
 	{% else %}
-	<link rel="stylesheet" href="/static/css/mobile.css" media="all" type="text/css" />
+	<link rel="stylesheet" href="{{ static_url('css/mobile.css') }}" media="all" type="text/css" />
 	{% end %}
     <script type="text/javascript" src="http://a.tbcdn.cn/libs/jquery/1.7.1/jquery.js"></script>
 	<!-- 
     -->
 	<script type="text/javascript" src="/static/js/jquery.ui.widget.js"></script>
 	<script type="text/javascript" src="/static/js/jquery.fileupload.js"></script>
-	<script type="text/javascript" src="/static/js/script.js"></script>
+	<script type="text/javascript" src={{ static_url("js/script.js") }}></script>
 </head>
 
 <body id="listPage">

templates/upload.html

 	<!-- Meta Tags -->
 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 	<!-- External CSS -->
-	<link rel="stylesheet" href="/static/css/style.css" media="all" type="text/css" />
+	<link rel="stylesheet" href="{{ static_url('css/style.css') }}" media="all" type="text/css" />
     <script type="text/javascript" src="http://a.tbcdn.cn/libs/jquery/1.7.1/jquery.js"></script>
 	<!-- 
 	<script type="text/javascript" src="/static/js/jquery-1.6.4.min.js"></script>
     -->
 	<script type="text/javascript" src="/static/js/jquery.ui.widget.js"></script>
 	<script type="text/javascript" src="/static/js/jquery.base64.js"></script>
-	<script type="text/javascript" src="/static/js/script.js"></script>
+	<script type="text/javascript" src={{ static_url("js/script.js") }}></script>
 </head>
 
 

templates/wait.html

 	<!-- Meta Tags -->
 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 	<!-- External CSS -->
-	<link rel="stylesheet" href="/static/css/mobile.css" media="all" type="text/css" />
+	<link rel="stylesheet" href="{{ static_url('css/mobile.css') }}" media="all" type="text/css" />
 	<script type="text/javascript" src="http://a.tbcdn.cn/libs/jquery/1.7.1/jquery.js"></script>
 	<script type="text/javascript" src="/static/js/jquery-ui-1.8.21.custom.min.js"></script>
 	<script type="text/javascript" src="/static/js/json.js"></script>
-	<script type="text/javascript" src="/static/js/script.js"></script>
+	<script type="text/javascript" src={{ static_url("js/script.js") }}></script>
 </head>
 <script type="text/javascript" src="/static/js/sockjs-0.3.min.js"></script>
 <script type="text/javascript">