summaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni@vaadin.com>2012-08-07 15:35:55 +0300
committerJouni Koivuviita <jouni@vaadin.com>2012-08-07 15:35:55 +0300
commitd422eba61ba6e8ef82c72fa661ff4991f8918ec0 (patch)
tree1e4f1c8f7f2d8b3543eed1991709a43889466446 /WebContent
parentef744edf4a0e849932d30bd9d6870ec15f391225 (diff)
parent23fcb95f1a8b2fda7f6b7d648634ec21463da875 (diff)
downloadvaadin-framework-d422eba61ba6e8ef82c72fa661ff4991f8918ec0.tar.gz
vaadin-framework-d422eba61ba6e8ef82c72fa661ff4991f8918ec0.zip
Boxlayout
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/VAADIN/themes/base/accordion/accordion.css1
-rw-r--r--WebContent/VAADIN/themes/base/common/common.css16
-rw-r--r--WebContent/VAADIN/themes/base/panel/panel.css1
-rw-r--r--WebContent/VAADIN/themes/liferay/window/window.css2
-rw-r--r--WebContent/release-notes.html18
-rw-r--r--WebContent/statictestfiles/dummy.zipbin0 -> 138 bytes
-rw-r--r--WebContent/statictestfiles/jsconnector.js13
-rw-r--r--WebContent/statictestfiles/jsextension.js24
8 files changed, 62 insertions, 13 deletions
diff --git a/WebContent/VAADIN/themes/base/accordion/accordion.css b/WebContent/VAADIN/themes/base/accordion/accordion.css
index 10c205ae24..ad762ee0ac 100644
--- a/WebContent/VAADIN/themes/base/accordion/accordion.css
+++ b/WebContent/VAADIN/themes/base/accordion/accordion.css
@@ -22,6 +22,5 @@
}
.v-accordion-item-content {
position: absolute;
- overflow: auto;
width: 100%;
} \ No newline at end of file
diff --git a/WebContent/VAADIN/themes/base/common/common.css b/WebContent/VAADIN/themes/base/common/common.css
index 3c08a9d584..d2695a8015 100644
--- a/WebContent/VAADIN/themes/base/common/common.css
+++ b/WebContent/VAADIN/themes/base/common/common.css
@@ -29,7 +29,6 @@ div.v-app-loading {
.v-view {
height: 100%;
width: 100%;
- overflow: auto;
/* avoid scrollbars with margins in root layout */
outline: none;
position: relative;
@@ -236,12 +235,17 @@ div.v-app-loading {
.v-drag-element {
z-index: 60000;
- position: absolute;
- opacity: 0.5;
- filter: alpha(opacity=50);
- cursor: default;
+ /* override any other position: properties */
+ position: absolute !important;
+ opacity: 0.5;
+ filter: alpha(opacity=50);
+ cursor: default;
}
.v-clip {
overflow: hidden;
-} \ No newline at end of file
+}
+
+.v-scrollable {
+ overflow: auto;
+}
diff --git a/WebContent/VAADIN/themes/base/panel/panel.css b/WebContent/VAADIN/themes/base/panel/panel.css
index 489d6bc015..d5a9915490 100644
--- a/WebContent/VAADIN/themes/base/panel/panel.css
+++ b/WebContent/VAADIN/themes/base/panel/panel.css
@@ -29,7 +29,6 @@
overflow: hidden;
}
.v-panel-content {
- overflow: auto;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
diff --git a/WebContent/VAADIN/themes/liferay/window/window.css b/WebContent/VAADIN/themes/liferay/window/window.css
index 5ac7c02175..f034d7503f 100644
--- a/WebContent/VAADIN/themes/liferay/window/window.css
+++ b/WebContent/VAADIN/themes/liferay/window/window.css
@@ -11,7 +11,7 @@
}
.v-window-outerheader {
- height: 16px;
+ height: 38px;
margin-left: 9px;
padding: 10px 40px 12px 2px;
background: transparent url(top-right.png) no-repeat right top;
diff --git a/WebContent/release-notes.html b/WebContent/release-notes.html
index 1b56b7fb9c..6f2eb8c2cc 100644
--- a/WebContent/release-notes.html
+++ b/WebContent/release-notes.html
@@ -76,7 +76,7 @@
purpose of receiving feedback about the changes.
</p>
- <p>The major changes in this second alpha phase are:
+ <p>The major changes in this second alpha phase are:</p>
<ul>
<li>Complete overhaul of the client-server communication architecture
@@ -354,15 +354,25 @@
</p>
<p>
- Vaadin supports the following <b>browsers</b>:
+ Vaadin supports the following <b>desktop browsers</b>:
</p>
<ul>
- <li>Mozilla Firefox 11</li>
+ <li>Mozilla Firefox 12</li>
<li>Internet Explorer 8-9</li>
<li>Safari 5</li>
<li>Opera 11</li>
- <li>Google Chrome 18</li>
+ <li>Google Chrome 19</li>
+ </ul>
+
+ <p>
+ Additionally, Vaadin supports the built-in browsers in the following
+ <b>mobile operating systems</b>:
+ </p>
+
+ <ul>
+ <li>iOS 4-5</li>
+ <li>Android 2-4</li>
</ul>
<h2 id="vaadinontheweb">Vaadin on the Web</h2>
diff --git a/WebContent/statictestfiles/dummy.zip b/WebContent/statictestfiles/dummy.zip
new file mode 100644
index 0000000000..e6e34282fe
--- /dev/null
+++ b/WebContent/statictestfiles/dummy.zip
Binary files differ
diff --git a/WebContent/statictestfiles/jsconnector.js b/WebContent/statictestfiles/jsconnector.js
new file mode 100644
index 0000000000..d7f697dbf5
--- /dev/null
+++ b/WebContent/statictestfiles/jsconnector.js
@@ -0,0 +1,13 @@
+window.com_vaadin_tests_components_javascriptcomponent_BasicJavaScriptComponent_ExampleWidget = function() {
+ var connector = this;
+
+ var rootElement = connector.getWidgetElement();
+ rootElement.innerHTML = 'Hello world!';
+ rootElement.onclick = function() {
+ connector.getRpcProxy().onClick("message");
+ connector.onclick("another message");
+ }
+ connector.onStateChange = function() {
+ console.log('state change:', this.getState());
+ }
+} \ No newline at end of file
diff --git a/WebContent/statictestfiles/jsextension.js b/WebContent/statictestfiles/jsextension.js
new file mode 100644
index 0000000000..1a46300e45
--- /dev/null
+++ b/WebContent/statictestfiles/jsextension.js
@@ -0,0 +1,24 @@
+window.com_vaadin_tests_extensions_SimpleJavaScriptExtensionTest_SimpleJavascriptExtension = function() {
+ var self = this;
+ var state = this.getState();
+
+ //var rpc = this.getRpcProxy("com.vaadin.tests.extensions.SimpleJavaScriptExtensionTest.SimpleJavaScriptExtensionServerRpc");
+ var rpc = this.getRpcProxy();
+
+// this.registerRpc("com.vaadin.tests.extensions.SimpleJavaScriptExtensionTest.SimpleJavaScriptExtensionClientRpc", {
+ this.registerRpc({
+ 'greet': function(greeting) {
+ var response = window.prompt(state.prefix + greeting);
+ if (response !== null) {
+ rpc.greet(response);
+ }
+ }
+ });
+
+ this.greetToClient = function(greeting) {
+ var response = window.prompt(state.prefix + greeting);
+ if (response !== null) {
+ self.greetToServer(response);
+ }
+ }
+} \ No newline at end of file