You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juneau.apache.org by ja...@apache.org on 2017/07/07 20:28:32 UTC
incubator-juneau-website git commit: Add info about stylesheets.
Repository: incubator-juneau-website
Updated Branches:
refs/heads/asf-site 93b6df8e5 -> 774b9a9cd
Add info about stylesheets.
Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/commit/774b9a9c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/tree/774b9a9c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/diff/774b9a9c
Branch: refs/heads/asf-site
Commit: 774b9a9cde50a42baddda2a3f9ec0223f3634389
Parents: 93b6df8
Author: JamesBognar <ja...@apache.org>
Authored: Fri Jul 7 16:28:34 2017 -0400
Committer: JamesBognar <ja...@apache.org>
Committed: Fri Jul 7 16:28:34 2017 -0400
----------------------------------------------------------------------
content/about.html | 6 ++++++
content/images/PetStore.png | Bin 86998 -> 194648 bytes
content/images/PetStore_light.png | Bin 0 -> 193402 bytes
3 files changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/774b9a9c/content/about.html
----------------------------------------------------------------------
diff --git a/content/about.html b/content/about.html
index 868d250..fe38086 100644
--- a/content/about.html
+++ b/content/about.html
@@ -1053,6 +1053,7 @@
widgets={
QueryMenuItem.<jk>class</jk>,
ContentTypeMenuItem.<jk>class</jk>,
+ StyleMenuItem.<jk>class</jk>
},
<jc>// Add our converter for POJO query support.</jc>
@@ -1065,6 +1066,7 @@
+ <js>"options:'servlet:/?method=OPTIONS',"</js>
+ <js>"query:'$W{queryMenuItem}',"</js>
+ <js>"contentTypes:'$W{contentTypeMenuItem}',"</js>
+ + <js>"styles:'$W{styleMenuItem}',"</js>
+ <js>"source:'$C{Source/gitHub}/org/apache/juneau/examples/rest/PetStoreResource.java'"</js>
+ <js>"}"</js>
)
@@ -1076,6 +1078,10 @@
HTML views are highly customizable with abilities such as defining your own look-and-feel and even allowing
you to define your own templates.
</p>
+ <p>
+ For example, the PetStore page above rendered in one of the other predefined stylesheets:
+ </p>
+ <img class='bordered' src='images/PetStore_light.png'>
<br><hr>
<p>
Automatic error handling is provided for a variety of conditions:
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/774b9a9c/content/images/PetStore.png
----------------------------------------------------------------------
diff --git a/content/images/PetStore.png b/content/images/PetStore.png
index ab24cb2..ae7bae8 100644
Binary files a/content/images/PetStore.png and b/content/images/PetStore.png differ
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/774b9a9c/content/images/PetStore_light.png
----------------------------------------------------------------------
diff --git a/content/images/PetStore_light.png b/content/images/PetStore_light.png
new file mode 100644
index 0000000..2b0b38d
Binary files /dev/null and b/content/images/PetStore_light.png differ