From b36a4990d5bc71836269481c7a24dcd5e30b5e8f Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 14 Mar 2011 05:36:28 +0530 Subject: [PATCH] metatags, favicon, error pages --- padmaTexts/static/images/favicon.ico | Bin 0 -> 550 bytes padmaTexts/static/js/views/sidebar.js | 1 + padmaTexts/templates/404.html | 1 + padmaTexts/templates/500.html | 1 + padmaTexts/templates/text_embed.html | 2 ++ padmaTexts/templates/text_list.html | 2 ++ padmaTexts/urls.py | 1 + 7 files changed, 8 insertions(+) create mode 100644 padmaTexts/static/images/favicon.ico create mode 100644 padmaTexts/templates/404.html create mode 100644 padmaTexts/templates/500.html diff --git a/padmaTexts/static/images/favicon.ico b/padmaTexts/static/images/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..1a19ee8b20b7d4d335c00a4c90db4eb16a99dfa8 GIT binary patch literal 550 zcmV+>0@?kEP)eu}q-H>Iy^)Sis=Ka2T-`h8;-|x%n^?It??W%UW9W|THqk6sm(^~tR zi+jd+#vJA*ocu&l#NcGB)f)J|57#v)mo2JQi&81T^t45-X23J%Fqe!7{M$@68jYdW zTA(o0*x9LIYikw<2PN$8ItT&^`!Gg>xn#(SKp2KU5_o^VgolTZ02J=-CUAd0A^Wql z0_Ns?c%B7w$%sIw)9JA^F38GXl24Ym52(n1 zF}`@dxG3QHIT!min3@W(x>^%~)6*|-94onG$f~%*zl<>>fteYL;ZOvyxTsO7Sowc_ zRTLfxkRhwAwSVG3M&RWohlK?#7NSThz~NyrWr6Iw0_W!i0rvLF(%9qUZ+LwCfaPTk z*R^SZtOW|N0)^Y#Pq@C$?m`XwzsQTUw1ja6wSb6qnv$A o^yxVCOnB5Vg6}@2|9;MY0h9%E)F1kXR{#J207*qoM6N<$f(pV7)c^nh literal 0 HcmV?d00001 diff --git a/padmaTexts/static/js/views/sidebar.js b/padmaTexts/static/js/views/sidebar.js index 7d372e9..60e3688 100644 --- a/padmaTexts/static/js/views/sidebar.js +++ b/padmaTexts/static/js/views/sidebar.js @@ -212,6 +212,7 @@ function setupPadmaLink(videoObj, data) { // parameter is a padmaVideo object. function cleanupVideo(videoObj) { $('video')[0].pause(); + $('video').attr("src", ""); clearInterval(videoObj.interval); $('.padmaViewer').remove(); padmaContainer.data("currentVideo", false); diff --git a/padmaTexts/templates/404.html b/padmaTexts/templates/404.html new file mode 100644 index 0000000..305eac7 --- /dev/null +++ b/padmaTexts/templates/404.html @@ -0,0 +1 @@ +page not found. home diff --git a/padmaTexts/templates/500.html b/padmaTexts/templates/500.html new file mode 100644 index 0000000..0569586 --- /dev/null +++ b/padmaTexts/templates/500.html @@ -0,0 +1 @@ +oops, the server did something bad. if this seems like an error, please email b <at> pad.ma diff --git a/padmaTexts/templates/text_embed.html b/padmaTexts/templates/text_embed.html index 9532fb2..3c9383f 100644 --- a/padmaTexts/templates/text_embed.html +++ b/padmaTexts/templates/text_embed.html @@ -1,7 +1,9 @@ + {{ text.title }} + diff --git a/padmaTexts/templates/text_list.html b/padmaTexts/templates/text_list.html index 3a618c6..a7b15cd 100644 --- a/padmaTexts/templates/text_list.html +++ b/padmaTexts/templates/text_list.html @@ -1,6 +1,8 @@ + + Padma Essays