aboutsummaryrefslogtreecommitdiff
path: root/includes/js/dojox/presentation/resources
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-11-13 09:49:11 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-11-13 09:49:11 +0000
commite44a7e37b6c7b5961adaffc62b9042b8d442938e (patch)
tree95b67c356e93163467db2451f2b8cce84ed5d582 /includes/js/dojox/presentation/resources
parenta62b9742ee5e28bcec6872d88f50f25b820914f6 (diff)
downloadsemanticscuttle-e44a7e37b6c7b5961adaffc62b9042b8d442938e.tar.gz
semanticscuttle-e44a7e37b6c7b5961adaffc62b9042b8d442938e.tar.bz2
New feature: basic Ajax suggestion for tags and implementation of Dojo toolkit
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@151 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'includes/js/dojox/presentation/resources')
-rw-r--r--includes/js/dojox/presentation/resources/Show.css100
-rw-r--r--includes/js/dojox/presentation/resources/Show.css.commented.css110
-rw-r--r--includes/js/dojox/presentation/resources/Show.html12
-rw-r--r--includes/js/dojox/presentation/resources/Slide.html4
-rw-r--r--includes/js/dojox/presentation/resources/icons/down.pngbin0 -> 469 bytes
-rw-r--r--includes/js/dojox/presentation/resources/icons/next.pngbin0 -> 470 bytes
-rw-r--r--includes/js/dojox/presentation/resources/icons/prev.pngbin0 -> 460 bytes
-rw-r--r--includes/js/dojox/presentation/resources/icons/up.pngbin0 -> 464 bytes
8 files changed, 226 insertions, 0 deletions
diff --git a/includes/js/dojox/presentation/resources/Show.css b/includes/js/dojox/presentation/resources/Show.css
new file mode 100644
index 0000000..8610675
--- /dev/null
+++ b/includes/js/dojox/presentation/resources/Show.css
@@ -0,0 +1,100 @@
+@media screen {
+ html, body {
+ margin: 0px;
+ padding: 0px;
+ }
+
+ h1.showTitle {
+ margin:0;
+ margin-left:0;
+ padding:0;
+ font-size: 60px;
+ background:transparent;
+ border-bottom:1px solid #000;
+ }
+ p, li {
+ font-size: 17pt;
+ }
+ .dojoShowNav {
+ border-top:1px solid #ccc;
+ background: #ededed;
+ overflow: hidden;
+ position: absolute;
+ bottom: 0px;
+ left: 0px;
+ width: 100%;
+ text-align: center;
+ z-index:420;
+ padding:0;
+ margin-bttom:5px; height:34px;
+ }
+ .dojoShowNav img { cursor:pointer; }
+
+ .dojoShowSlide {
+
+ }
+ .dojoShowNav option { font:6pt; color:#333; }
+ .dojoShowNav select {
+ margin: 0px;
+ color: #999;
+ margin-top: 5px;
+ padding: 2px;
+ border: 1px solid #ccc;
+ -moz-border-radius:6pt 6pt;
+ }
+ .dojoShowHider {
+ height: 5px;
+ overflow: hidden;
+ width: 100%;
+ z-index:421;
+ }
+ .dojoShowPrint {
+ position: absolute;
+ left: 0px;
+ top: 0px;
+ width:100%;
+ }
+ .dojoShowBody {
+ background:#fff url('../../../dijit/themes/tundra/images/testBodyBg.gif') repeat-x top left;
+ padding:10px;
+ }
+ .dojoShow {
+ width:100%; height:100%;
+ overflow:hidden;
+ }
+}
+@media print {
+ .dojoShow {
+ display: none !important;
+ }
+ .dojoShowPrint {
+ display: block !important;
+ }
+ .dojoShowPrintSlide {
+ border: 1px solid #aaa;
+ padding: 10px;
+ margin-bottom: 15px;
+ }
+ .dojoShowPrintSlide, ul {
+ page-break-inside: avoid;
+ }
+ h1 {
+ margin-top: 0;
+ page-break-after: avoid;
+ }
+}
+.dojoShowSlideTitle {
+ height: 100px;
+ width:100%;
+ display:block;
+ background-color: #ededed;
+ border-bottom:1px solid #666;
+}
+.dojoShowSlideTitle h1 {
+ margin-top: 0;
+
+}
+.dojoShowSlideBody {
+ margin: 15px;
+ background:#fff url('../../../dijit/themes/tundra/images/testBodyBg.gif') repeat-x top left;
+}
diff --git a/includes/js/dojox/presentation/resources/Show.css.commented.css b/includes/js/dojox/presentation/resources/Show.css.commented.css
new file mode 100644
index 0000000..ee205e4
--- /dev/null
+++ b/includes/js/dojox/presentation/resources/Show.css.commented.css
@@ -0,0 +1,110 @@
+@media screen {
+ html, body {
+ margin: 0px;
+ padding: 0px;
+ }
+
+ h1.showTitle {
+ margin:0;
+ margin-left:0;
+ padding:0;
+ font-size: 60px;
+ background:transparent;
+ border-bottom:1px solid #000;
+ }
+
+ p, li {
+ font-size: 17pt;
+ }
+
+ .dojoShowNav {
+ border-top:1px solid #ccc;
+ background: #ededed;
+ overflow: hidden;
+ position: absolute;
+ bottom: 0px;
+ left: 0px;
+ width: 100%;
+ text-align: center;
+ z-index:420;
+ padding:0;
+ margin-bttom:5px; height:34px;
+ }
+
+ .dojoShowNav img { cursor:pointer; }
+
+ .dojoShowSlide {
+ /* width:100%; height:100%; */
+ }
+
+ .dojoShowNav option { font:6pt; color:#333; }
+ .dojoShowNav select {
+ margin: 0px;
+ color: #999;
+ margin-top: 5px;
+ padding: 2px;
+ border: 1px solid #ccc;
+ -moz-border-radius:6pt 6pt;
+ }
+
+ .dojoShowHider {
+ height: 5px;
+ overflow: hidden;
+ width: 100%;
+ z-index:421;
+ }
+ .dojoShowPrint {
+ position: absolute;
+ left: 0px;
+ top: 0px;
+ width:100%;
+ }
+
+ .dojoShowBody {
+ background:#fff url('../../../dijit/themes/tundra/images/testBodyBg.gif') repeat-x top left;
+ padding:10px;
+ }
+
+ .dojoShow {
+ width:100%; height:100%;
+ overflow:hidden;
+ }
+}
+
+@media print {
+ .dojoShow {
+ display: none !important;
+ }
+ .dojoShowPrint {
+ display: block !important;
+ }
+ .dojoShowPrintSlide {
+ border: 1px solid #aaa;
+ padding: 10px;
+ margin-bottom: 15px;
+ }
+ .dojoShowPrintSlide, ul {
+ page-break-inside: avoid;
+ }
+ h1 {
+ margin-top: 0;
+ page-break-after: avoid;
+ }
+}
+
+.dojoShowSlideTitle {
+ height: 100px;
+ width:100%;
+ display:block;
+ background-color: #ededed;
+ border-bottom:1px solid #666;
+}
+.dojoShowSlideTitle h1 {
+ margin-top: 0;
+ /* line-height: 100px;
+ margin-left: 30px; */
+}
+.dojoShowSlideBody {
+ margin: 15px;
+ background:#fff url('../../../dijit/themes/tundra/images/testBodyBg.gif') repeat-x top left;
+}
diff --git a/includes/js/dojox/presentation/resources/Show.html b/includes/js/dojox/presentation/resources/Show.html
new file mode 100644
index 0000000..33672db
--- /dev/null
+++ b/includes/js/dojox/presentation/resources/Show.html
@@ -0,0 +1,12 @@
+<div class="dojoShow" dojoAttachPoint="showHolder">
+ <div class="dojoShowNav" dojoAttachPoint="showNav" dojoAttachEvent="onmouseover: _showNav, onmouseout: _hideNav">
+ <div class="dojoShowNavToggler" dojoAttachPoint="showToggler">
+ <img dojoAttachPoint="prevNode" src="${prevIcon}" dojoAttachEvent="onclick:previousSlide">
+ <select dojoAttachEvent="onchange:_onEvent" dojoAttachPoint="select">
+ <option dojoAttachPoint="_option">Title</option>
+ </select>
+ <img dojoAttachPoint="nextNode" src="${nextIcon}" dojoAttachEvent="onclick:nextSlide">
+ </div>
+ </div>
+ <div dojoAttachPoint="containerNode"></div>
+</div>
diff --git a/includes/js/dojox/presentation/resources/Slide.html b/includes/js/dojox/presentation/resources/Slide.html
new file mode 100644
index 0000000..dc4627b
--- /dev/null
+++ b/includes/js/dojox/presentation/resources/Slide.html
@@ -0,0 +1,4 @@
+<div dojoAttachPoint="showSlide" class="dojoShowPrint dojoShowSlide">
+ <h1 class="showTitle" dojoAttachPoint="slideTitle"><span class="dojoShowSlideTitle" dojoAttachPoint="slideTitleText">${title}</span></h1>
+ <div class="dojoShowBody" dojoAttachPoint="containerNode"></div>
+</div>
diff --git a/includes/js/dojox/presentation/resources/icons/down.png b/includes/js/dojox/presentation/resources/icons/down.png
new file mode 100644
index 0000000..46bf9ba
--- /dev/null
+++ b/includes/js/dojox/presentation/resources/icons/down.png
Binary files differ
diff --git a/includes/js/dojox/presentation/resources/icons/next.png b/includes/js/dojox/presentation/resources/icons/next.png
new file mode 100644
index 0000000..16afa87
--- /dev/null
+++ b/includes/js/dojox/presentation/resources/icons/next.png
Binary files differ
diff --git a/includes/js/dojox/presentation/resources/icons/prev.png b/includes/js/dojox/presentation/resources/icons/prev.png
new file mode 100644
index 0000000..5519eb5
--- /dev/null
+++ b/includes/js/dojox/presentation/resources/icons/prev.png
Binary files differ
diff --git a/includes/js/dojox/presentation/resources/icons/up.png b/includes/js/dojox/presentation/resources/icons/up.png
new file mode 100644
index 0000000..d77816a
--- /dev/null
+++ b/includes/js/dojox/presentation/resources/icons/up.png
Binary files differ