metatags, favicon, error pages

This commit is contained in:
Sanj 2011-03-14 05:36:28 +05:30
parent 9219da65ae
commit b36a4990d5
7 changed files with 8 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 550 B

View File

@ -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);

View File

@ -0,0 +1 @@
page not found. <a href="/">home</a>

View File

@ -0,0 +1 @@
oops, the server did something bad. if this seems like an error, please email b &lt;at&gt; pad.ma

View File

@ -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" />

View File

@ -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>

View File

@ -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')),