From def904dbed333ca78c4694082dc1f3003d63dad6 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sun, 13 May 2012 20:20:18 +0100 Subject: [PATCH] remove wordle --- src/static/css/pad.css | 5 +---- src/static/js/pad_impexp.js | 12 ------------ src/templates/pad.html | 1 - src/templates/timeslider.html | 4 ---- 4 files changed, 1 insertion(+), 21 deletions(-) diff --git a/src/static/css/pad.css b/src/static/css/pad.css index 40089bbf..41d9d80d 100644 --- a/src/static/css/pad.css +++ b/src/static/css/pad.css @@ -1165,9 +1165,6 @@ ul#colorpickerswatches li:hover { #exportopen { background-position: 0px -347px } -#exportwordle { - background-position: 0px -323px -} #exportdokuwiki { background-position: 0px -459px } @@ -1511,4 +1508,4 @@ input[type=checkbox] { #online_count { line-height: 24px } -} \ No newline at end of file +} diff --git a/src/static/js/pad_impexp.js b/src/static/js/pad_impexp.js index 23655ba4..08dd4293 100644 --- a/src/static/js/pad_impexp.js +++ b/src/static/js/pad_impexp.js @@ -217,7 +217,6 @@ var padimpexp = (function() // build the export links $("#exporthtmla").attr("href", pad_root_path + "/export/html"); $("#exportplaina").attr("href", pad_root_path + "/export/txt"); - $("#exportwordlea").attr("href", pad_root_path + "/export/wordle"); $("#exportdokuwikia").attr("href", pad_root_path + "/export/dokuwiki"); //hide stuff thats not avaible if abiword is disabled @@ -280,17 +279,6 @@ var padimpexp = (function() $("#impexp-disabled-clickcatcher").hide(); $("#import").css('opacity', 1); $("#impexp-export").css('opacity', 1); - }, - export2Wordle: function() - { - var padUrl = $('#exportwordlea').attr('href').replace(/\/wordle$/, '/txt') - - $.get(padUrl, function(data) - { - $('.result').html(data); - $('#text').html(data); - $('#wordlepost').submit(); - }); } }; return self; diff --git a/src/templates/pad.html b/src/templates/pad.html index 9a5113e1..ec5495d7 100644 --- a/src/templates/pad.html +++ b/src/templates/pad.html @@ -180,7 +180,6 @@
PDF
OpenDocument
DokuWiki text
-
Wordle
<% e.end_block(); %> diff --git a/src/templates/timeslider.html b/src/templates/timeslider.html index 8331062f..58d16f3e 100644 --- a/src/templates/timeslider.html +++ b/src/templates/timeslider.html @@ -116,10 +116,6 @@
PDF
OpenDocument
DokuWiki text
-
Wordle
-
-
-