summaryrefslogtreecommitdiff
path: root/lib/dojo/resources
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-15 10:39:52 +0300
committerAndrew Dolgov <[email protected]>2010-11-15 10:39:52 +0300
commit2f01fe57a8d37767827d6db42850aef86a767c53 (patch)
tree516a95ffce2fc2435aed8d9976e444dbcba7dce3 /lib/dojo/resources
parent951906dcecb1d3c7bcf751976a03e0c196ca6db0 (diff)
add dijit/dojo stuff; initial ui mockup
Diffstat (limited to 'lib/dojo/resources')
-rw-r--r--lib/dojo/resources/LICENSE30
-rw-r--r--lib/dojo/resources/_modules.js7
-rw-r--r--lib/dojo/resources/blank.gifbin0 -> 43 bytes
-rw-r--r--lib/dojo/resources/blank.html1
-rw-r--r--lib/dojo/resources/dnd.css14
-rw-r--r--lib/dojo/resources/dojo.css98
-rw-r--r--lib/dojo/resources/iframe_history.html44
-rw-r--r--lib/dojo/resources/images/dndCopy.pngbin0 -> 814 bytes
-rw-r--r--lib/dojo/resources/images/dndMove.pngbin0 -> 785 bytes
-rw-r--r--lib/dojo/resources/images/dndNoCopy.pngbin0 -> 1332 bytes
-rw-r--r--lib/dojo/resources/images/dndNoMove.pngbin0 -> 991 bytes
11 files changed, 194 insertions, 0 deletions
diff --git a/lib/dojo/resources/LICENSE b/lib/dojo/resources/LICENSE
new file mode 100644
index 000000000..eb28b7e4d
--- /dev/null
+++ b/lib/dojo/resources/LICENSE
@@ -0,0 +1,30 @@
+License Disclaimer:
+
+All contents of this directory are Copyright (c) the Dojo Foundation, with the
+following exceptions:
+-------------------------------------------------------------------------------
+
+dojo.css:
+ * parts Copyright (c) 2007, Yahoo! Inc. All rights reserved.
+ Distributed under the terms of the BSD License
+
+The Program includes all or portions of the following software which was obtained under the terms and conditions of the BSD License.
+
+http://developer.yahoo.com/yui/license.html
+
+Copyright (c) 2007, Yahoo! Inc.
+ All rights reserved.
+ Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+ * Neither the name of Yahoo! Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without
+specific prior written permission of Yahoo! Inc.
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
+ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
+OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/lib/dojo/resources/_modules.js b/lib/dojo/resources/_modules.js
new file mode 100644
index 000000000..8d3fc5de7
--- /dev/null
+++ b/lib/dojo/resources/_modules.js
@@ -0,0 +1,7 @@
+/*
+ Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
+ Available via Academic Free License >= 2.1 OR the modified BSD license.
+ see: http://dojotoolkit.org/license for details
+*/
+
+
diff --git a/lib/dojo/resources/blank.gif b/lib/dojo/resources/blank.gif
new file mode 100644
index 000000000..e565824aa
--- /dev/null
+++ b/lib/dojo/resources/blank.gif
Binary files differ
diff --git a/lib/dojo/resources/blank.html b/lib/dojo/resources/blank.html
new file mode 100644
index 000000000..40fe7705a
--- /dev/null
+++ b/lib/dojo/resources/blank.html
@@ -0,0 +1 @@
+<html><head><script>isLoaded = true;</script></head><body></body></html>
diff --git a/lib/dojo/resources/dnd.css b/lib/dojo/resources/dnd.css
new file mode 100644
index 000000000..def28fc95
--- /dev/null
+++ b/lib/dojo/resources/dnd.css
@@ -0,0 +1,14 @@
+
+.dojoDndAvatar {font-size: 75%; color: black;}
+.dojoDndAvatarHeader td {padding-left: 20px; padding-right: 4px;}
+.dojoDndAvatarHeader {background: #ccc;}
+.dojoDndAvatarItem {background: #eee;}
+.dojoDndMove .dojoDndAvatarHeader {background-image: url(images/dndNoMove.png); background-repeat: no-repeat;}
+.dojoDndCopy .dojoDndAvatarHeader {background-image: url(images/dndNoCopy.png); background-repeat: no-repeat;}
+.dojoDndMove .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-image: url(images/dndMove.png); background-repeat: no-repeat;}
+.dojoDndCopy .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-image: url(images/dndCopy.png); background-repeat: no-repeat;}
+.dojoDndHandle {cursor: move;}
+.dojoDndIgnore {cursor: default;}
+.dijit_a11y .dojoDndAvatar { font-size: 1em; font-weight:bold;}
+.dijit_a11y .dojoDndAvatarHeader td {padding-left:2px !important;}
+.dijit_a11y .dojoDndAvatarHeader td span {padding-right: 5px;}
diff --git a/lib/dojo/resources/dojo.css b/lib/dojo/resources/dojo.css
new file mode 100644
index 000000000..baf06cb7b
--- /dev/null
+++ b/lib/dojo/resources/dojo.css
@@ -0,0 +1,98 @@
+
+body, div, dl, dt, dd, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
+ margin: 0;
+ padding: 0;
+}
+fieldset, img {
+ border: 0 none;
+}
+address, caption, cite, code, dfn, th, var {
+ font-style: normal;
+ font-weight: normal;
+}
+caption, th {
+ text-align: left;
+}
+q:before, q:after {
+ content:"";
+}
+abbr, acronym {
+ border:0;
+}
+body {
+ font: 12px Myriad,Helvetica,Tahoma,Arial,clean,sans-serif;
+ *font-size: 75%;
+}
+h1 {
+ font-size: 1.5em;
+ font-weight: normal;
+ line-height: 1em;
+ margin-top: 1em;
+ margin-bottom:0;
+}
+h2 {
+ font-size: 1.1667em;
+ font-weight: bold;
+ line-height: 1.286em;
+ margin-top: 1.929em;
+ margin-bottom:0.643em;
+}
+h3, h4, h5, h6 {
+ font-size: 1em;
+ font-weight: bold;
+ line-height: 1.5em;
+ margin-top: 1.5em;
+ margin-bottom: 0;
+}
+p {
+ font-size: 1em;
+ margin-top: 1.5em;
+ margin-bottom: 1.5em;
+ line-height: 1.5em;
+}
+blockquote {
+ font-size: 0.916em;
+ margin-top: 3.272em;
+ margin-bottom: 3.272em;
+ line-height: 1.636em;
+ padding: 1.636em;
+ border-top: 1px solid #ccc;
+ border-bottom: 1px solid #ccc;
+}
+ol li, ul li {
+ font-size: 1em;
+ line-height: 1.5em;
+ margin: 0;
+}
+pre, code {
+ font-size:115%;
+ *font-size:100%;
+ font-family: Courier, "Courier New";
+ background-color: #efefef;
+ border: 1px solid #ccc;
+}
+pre {
+ border-width: 1px 0;
+ padding: 1.5em;
+}
+table { font-size:100%; }
+.dojoTabular {
+ border-collapse: collapse;
+ border-spacing: 0;
+ border: 1px solid #ccc;
+ margin: 0 1.5em;
+}
+.dojoTabular th {
+ text-align: center;
+ font-weight: bold;
+}
+.dojoTabular thead,
+.dojoTabular tfoot {
+ background-color: #efefef;
+ border: 1px solid #ccc;
+ border-width: 1px 0;
+}
+.dojoTabular th,
+.dojoTabular td {
+ padding: 0.25em 0.5em;
+}
diff --git a/lib/dojo/resources/iframe_history.html b/lib/dojo/resources/iframe_history.html
new file mode 100644
index 000000000..2c5acce2d
--- /dev/null
+++ b/lib/dojo/resources/iframe_history.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <script type="text/javascript">
+ // <!--
+ var noInit = false;
+
+ function init(){
+ if(noInit){ return; }
+ var hasParentDojo = false;
+ try{
+ hasParentDojo = window.parent != window && window.parent["dojo"];
+ }catch(e){
+ alert("Initializing iframe_history.html failed. If you are using a cross-domain Dojo build,"
+ + " please save iframe_history.html to your domain and set djConfig.dojoIframeHistoryUrl"
+ + " to the path on your domain to iframe_history.html");
+ throw e;
+ }
+
+ if(hasParentDojo){
+ //Set the page title so IE history shows up with a somewhat correct name.
+ document.title = window.parent.document.title;
+
+ //Notify parent that we are loaded.
+ var pdj = window.parent.dojo;
+ if(pdj["back"]){
+ pdj.back._iframeLoaded(null, window.location);
+ }
+ }
+
+ }
+ // -->
+ </script>
+</head>
+<body onload="try{ init(); }catch(e){ alert(e); }">
+ <h4>The Dojo Toolkit -- iframe_history.html</h4>
+
+ <p>This file is used in Dojo's back/fwd button management.</p>
+</body>
+</html>
diff --git a/lib/dojo/resources/images/dndCopy.png b/lib/dojo/resources/images/dndCopy.png
new file mode 100644
index 000000000..660ca4fb1
--- /dev/null
+++ b/lib/dojo/resources/images/dndCopy.png
Binary files differ
diff --git a/lib/dojo/resources/images/dndMove.png b/lib/dojo/resources/images/dndMove.png
new file mode 100644
index 000000000..74af29c08
--- /dev/null
+++ b/lib/dojo/resources/images/dndMove.png
Binary files differ
diff --git a/lib/dojo/resources/images/dndNoCopy.png b/lib/dojo/resources/images/dndNoCopy.png
new file mode 100644
index 000000000..998c2f269
--- /dev/null
+++ b/lib/dojo/resources/images/dndNoCopy.png
Binary files differ
diff --git a/lib/dojo/resources/images/dndNoMove.png b/lib/dojo/resources/images/dndNoMove.png
new file mode 100644
index 000000000..e909173e0
--- /dev/null
+++ b/lib/dojo/resources/images/dndNoMove.png
Binary files differ