From 1c5685d68f1b73270fb814fe04cbb490eb90ba5f Mon Sep 17 00:00:00 2001 From: mensonge Date: Fri, 14 Nov 2008 15:39:19 +0000 Subject: Minor fix: Remove DOJO library (60Mo) replaced by link to Google CDN (online DOJO library) git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@159 b3834d28-1941-0410-a4f8-b48e95affb8f --- includes/js/dojox/off/resources/checkmark.png | Bin 27329 -> 0 bytes includes/js/dojox/off/resources/greenball.png | Bin 27414 -> 0 bytes includes/js/dojox/off/resources/learnhow.html | 43 -------- includes/js/dojox/off/resources/learnhow.js | 43 -------- includes/js/dojox/off/resources/offline-widget.css | 88 ---------------- .../off/resources/offline-widget.css.commented.css | 112 --------------------- .../js/dojox/off/resources/offline-widget.html | 40 -------- includes/js/dojox/off/resources/redball.png | Bin 27409 -> 0 bytes includes/js/dojox/off/resources/roller.gif | Bin 7462 -> 0 bytes 9 files changed, 326 deletions(-) delete mode 100644 includes/js/dojox/off/resources/checkmark.png delete mode 100644 includes/js/dojox/off/resources/greenball.png delete mode 100644 includes/js/dojox/off/resources/learnhow.html delete mode 100644 includes/js/dojox/off/resources/learnhow.js delete mode 100644 includes/js/dojox/off/resources/offline-widget.css delete mode 100644 includes/js/dojox/off/resources/offline-widget.css.commented.css delete mode 100644 includes/js/dojox/off/resources/offline-widget.html delete mode 100644 includes/js/dojox/off/resources/redball.png delete mode 100644 includes/js/dojox/off/resources/roller.gif (limited to 'includes/js/dojox/off/resources') diff --git a/includes/js/dojox/off/resources/checkmark.png b/includes/js/dojox/off/resources/checkmark.png deleted file mode 100644 index a0ffbb1..0000000 Binary files a/includes/js/dojox/off/resources/checkmark.png and /dev/null differ diff --git a/includes/js/dojox/off/resources/greenball.png b/includes/js/dojox/off/resources/greenball.png deleted file mode 100644 index 520b6a6..0000000 Binary files a/includes/js/dojox/off/resources/greenball.png and /dev/null differ diff --git a/includes/js/dojox/off/resources/learnhow.html b/includes/js/dojox/off/resources/learnhow.html deleted file mode 100644 index 2833fcc..0000000 --- a/includes/js/dojox/off/resources/learnhow.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - -
-

Want to use Application offline?

- -

It's simple with Dojo Offline! Dojo Offline is a free open source utility that makes it easy - for this web application to work, even if you're offline. Now you can - access your data even when away from the network!

- -

Dojo Offline is an open source project brought to you by - Dojo, SitePen, - and Brad Neuberg. It incorporates - technologies created by Google.

- -

To get started:

- -
    -
  1. - Download Gears, a small, open source utility created by Google that allows this web site - to work offline. This tool is safe and secure for your machine, and only takes - a few seconds to download. -
  2. -
  3. - Once downloaded, run the installer. Restart your web browser when finished installing. -
  4. - - -
-
- - \ No newline at end of file diff --git a/includes/js/dojox/off/resources/learnhow.js b/includes/js/dojox/off/resources/learnhow.js deleted file mode 100644 index 82d5506..0000000 --- a/includes/js/dojox/off/resources/learnhow.js +++ /dev/null @@ -1,43 +0,0 @@ -window.onload = function(){ - // get the app name from our URL - var href = window.location.href; - var matches = href.match(/appName=([a-z0-9 \%]*)/i); - var appName = "Application"; - if(matches && matches.length > 0){ - appName = decodeURIComponent(matches[1]); - } - - // set it in our UI - var appNameSpan = document.getElementById("dot-learn-how-app-name"); - appNameSpan.innerHTML = ""; - appNameSpan.appendChild(document.createTextNode(appName)); - - // if we need an offline cache, and we already have one installed, - // update the UI - matches = href.match(/hasOfflineCache=(true|false)/); - var hasOfflineCache = false; - if(matches && matches.length > 0){ - hasOfflineCache = matches[1]; - // convert to boolean - hasOfflineCache = (hasOfflineCache == "true") ? true : false; - } - if(hasOfflineCache == true){ - // delete the download and install steps - var downloadStep = document.getElementById("dot-download-step"); - var installStep = document.getElementById("dot-install-step"); - downloadStep.parentNode.removeChild(downloadStep); - installStep.parentNode.removeChild(installStep); - } - - // get our run link info and update the UI - matches = href.match(/runLink=([^\&]*)\&runLinkText=([^\&]*)/); - if(matches && matches.length > 0){ - var runLink = decodeURIComponent(matches[1]); - var runLinkElem = document.getElementById("dot-learn-how-run-link"); - runLinkElem.setAttribute("href", runLink); - - var runLinkText = decodeURIComponent(matches[2]); - runLinkElem.innerHTML = ""; - runLinkElem.appendChild(document.createTextNode(runLinkText)); - } -} diff --git a/includes/js/dojox/off/resources/offline-widget.css b/includes/js/dojox/off/resources/offline-widget.css deleted file mode 100644 index 3d095e9..0000000 --- a/includes/js/dojox/off/resources/offline-widget.css +++ /dev/null @@ -1,88 +0,0 @@ - -#dot-widget-container{ - - width: 13em; - height: auto; - border: 2px solid #CDDDE9; - position: relative; - visibility: visible !important; -} -#dot-widget-title-bar{ - background-color: #CDDDE9; - padding-top: 0.2em; - padding-bottom: 0.2em; -} -#dot-widget-network-indicator{ - height: 8px; - width: 8px; - padding-left: 0.3em; -} -#dot-widget-title-text{ - vertical-align: middle; - font-weight: bold; - font-size: 14pt; - padding-left: 2px; -} -#dot-widget-contents{ - padding: 8px 5px 8px 5px; -} -#dot-widget-learn-how{ - font-size: 11pt; -} -#dot-sync-cancel, -#dot-sync-status{ - font-size: 11pt; -} -#dot-success-checkmark{ - display: none; -} -#dot-roller{ - display: none; - padding-right: 4px; -} -.dot-sync-error{ - color: red; -} -#dot-sync-details{ - display: none; - padding-left: 0.2em; -} -#dot-sync-status{ - height: 2em; - margin-top: 0.8em; - margin-bottom: 0.8em; -} -.dot-needs-offline-cache #dot-widget-learn-how, -.dot-needs-browser-restart{ - text-align: center; - line-height: 1.2; - font-size: 16pt !important; -} -.dot-needs-offline-cache #dot-sync-status, -.dot-needs-offline-cache #dot-widget-browser-restart{ - display: none; -} -.dot-needs-browser-restart{ - font-size: 14pt !important; - padding-bottom: 1em; - padding-top: 1em; -} -#dot-learn-how-body{ - padding: 3em; - background-color: #CDDDE9; -} -#dot-learn-how-contents{ - border: 1px solid black; - background-color: white; - padding: 0.4em 0.6em 0.4em 0.6em; - font-size: 16pt; -} -#dot-learn-how-contents h1{ - font-size: 24pt; -} -#dot-learn-how-contents h2{ - font-size: 18pt; -} -#dot-learn-how-contents li{ - padding-bottom: 0.6em; -} diff --git a/includes/js/dojox/off/resources/offline-widget.css.commented.css b/includes/js/dojox/off/resources/offline-widget.css.commented.css deleted file mode 100644 index 374a43b..0000000 --- a/includes/js/dojox/off/resources/offline-widget.css.commented.css +++ /dev/null @@ -1,112 +0,0 @@ -/** Offline Widget Styles */ - -#dot-widget-container{ - /** - Keep these as EMs so widget reflows fluidly based on - user-font size settings - */ - width: 13em; - height: auto; - border: 2px solid #CDDDE9; /* light tundra blue */ - position: relative; - visibility: visible !important; -} - -#dot-widget-title-bar{ - background-color: #CDDDE9; /* light tundra blue */ - padding-top: 0.2em; - padding-bottom: 0.2em; -} - -#dot-widget-network-indicator{ - height: 8px; - width: 8px; - padding-left: 0.3em; -} - -#dot-widget-title-text{ - vertical-align: middle; - font-weight: bold; - font-size: 14pt; - padding-left: 2px; -} - -#dot-widget-contents{ - padding: 8px 5px 8px 5px; -} - -#dot-widget-learn-how{ - font-size: 11pt; -} - -#dot-sync-cancel, -#dot-sync-status{ - font-size: 11pt; -} - -#dot-success-checkmark{ - display: none; -} - -#dot-roller{ - display: none; - padding-right: 4px; -} - -.dot-sync-error{ - color: red; -} - -#dot-sync-details{ - display: none; - padding-left: 0.2em; -} - -#dot-sync-status{ - height: 2em; - margin-top: 0.8em; - margin-bottom: 0.8em; -} - -.dot-needs-offline-cache #dot-widget-learn-how, -.dot-needs-browser-restart{ - text-align: center; - line-height: 1.2; - font-size: 16pt !important; -} - -.dot-needs-offline-cache #dot-sync-status, -.dot-needs-offline-cache #dot-widget-browser-restart{ - display: none; -} - -.dot-needs-browser-restart{ - font-size: 14pt !important; - padding-bottom: 1em; - padding-top: 1em; -} - -/** Learn How Page Styles */ -#dot-learn-how-body{ - padding: 3em; - background-color: #CDDDE9; /* light tundra blue */ -} - -#dot-learn-how-contents{ - border: 1px solid black; - background-color: white; - padding: 0.4em 0.6em 0.4em 0.6em; - font-size: 16pt; -} - -#dot-learn-how-contents h1{ - font-size: 24pt; -} - -#dot-learn-how-contents h2{ - font-size: 18pt; -} - -#dot-learn-how-contents li{ - padding-bottom: 0.6em; -} diff --git a/includes/js/dojox/off/resources/offline-widget.html b/includes/js/dojox/off/resources/offline-widget.html deleted file mode 100644 index 5791644..0000000 --- a/includes/js/dojox/off/resources/offline-widget.html +++ /dev/null @@ -1,40 +0,0 @@ - - - \ No newline at end of file diff --git a/includes/js/dojox/off/resources/redball.png b/includes/js/dojox/off/resources/redball.png deleted file mode 100644 index cc224c3..0000000 Binary files a/includes/js/dojox/off/resources/redball.png and /dev/null differ diff --git a/includes/js/dojox/off/resources/roller.gif b/includes/js/dojox/off/resources/roller.gif deleted file mode 100644 index 24a3a24..0000000 Binary files a/includes/js/dojox/off/resources/roller.gif and /dev/null differ -- cgit v1.2.3