metatags, favicon, error pages
This commit is contained in:
parent
9219da65ae
commit
b36a4990d5
BIN
padmaTexts/static/images/favicon.ico
Normal file
BIN
padmaTexts/static/images/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 550 B |
|
@ -212,6 +212,7 @@ function setupPadmaLink(videoObj, data) {
|
||||||
// parameter is a padmaVideo object.
|
// parameter is a padmaVideo object.
|
||||||
function cleanupVideo(videoObj) {
|
function cleanupVideo(videoObj) {
|
||||||
$('video')[0].pause();
|
$('video')[0].pause();
|
||||||
|
$('video').attr("src", "");
|
||||||
clearInterval(videoObj.interval);
|
clearInterval(videoObj.interval);
|
||||||
$('.padmaViewer').remove();
|
$('.padmaViewer').remove();
|
||||||
padmaContainer.data("currentVideo", false);
|
padmaContainer.data("currentVideo", false);
|
||||||
|
|
1
padmaTexts/templates/404.html
Normal file
1
padmaTexts/templates/404.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
page not found. <a href="/">home</a>
|
1
padmaTexts/templates/500.html
Normal file
1
padmaTexts/templates/500.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
oops, the server did something bad. if this seems like an error, please email b <at> pad.ma
|
|
@ -1,7 +1,9 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<title> {{ text.title }} </title>
|
<title> {{ text.title }} </title>
|
||||||
|
<link rel="shortcut icon" href="/favicon.ico" />
|
||||||
<link rel="stylesheet" type="text/css" href="/static/css/text.css" />
|
<link rel="stylesheet" type="text/css" href="/static/css/text.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="/static/css/jquery.tooltip.css" />
|
<link rel="stylesheet" type="text/css" href="/static/css/jquery.tooltip.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="/static/css/fancybox/jquery.fancybox-1.3.4.css" />
|
<link rel="stylesheet" type="text/css" href="/static/css/fancybox/jquery.fancybox-1.3.4.css" />
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<link rel="shortcut icon" href="/favicon.ico" />
|
||||||
<title>Padma Essays</title>
|
<title>Padma Essays</title>
|
||||||
<link rel="stylesheet" type="text/css" href="/static/css/text.css" />
|
<link rel="stylesheet" type="text/css" href="/static/css/text.css" />
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -22,6 +22,7 @@ if settings.LOCAL_DEVELOPMENT:
|
||||||
)
|
)
|
||||||
|
|
||||||
urlpatterns += patterns('',
|
urlpatterns += patterns('',
|
||||||
|
(r'^favicon.ico$', 'django.views.generic.simple.redirect_to', {'url': '/static/images/favicon.ico'})
|
||||||
(r'(?P<slug>.*)', 'texts.views.text'),
|
(r'(?P<slug>.*)', 'texts.views.text'),
|
||||||
# (r'^padmaTexts/', include('padmaTexts.foo.urls')),
|
# (r'^padmaTexts/', include('padmaTexts.foo.urls')),
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user