Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
more work on plugin
- Loading branch information
Showing
7 changed files
with
231 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
OVERALL TASKS | ||
1. Implement Buttons | ||
2. Implement Tabs | ||
3. Implement ProgressBar | ||
4. Implement Slider |
9 changes: 9 additions & 0 deletions
9
...-testApp/grails-app/controllers/grails/jqueryui/widget/testApp/AccordionController.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package grails.jqueryui.widget.testApp | ||
|
||
class AccordionController { | ||
|
||
def index = { } | ||
|
||
def basic = { } | ||
|
||
} |
12 changes: 12 additions & 0 deletions
12
...get-testApp/grails-app/controllers/grails/jqueryui/widget/testApp/DialogController.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package grails.jqueryui.widget.testApp | ||
|
||
class DialogController { | ||
|
||
def index = { } | ||
|
||
def basic = { } | ||
|
||
def modalDialog = { } | ||
|
||
def modalMessage = { } | ||
} |
82 changes: 82 additions & 0 deletions
82
jqueryui-widget-testApp/grails-app/views/accordion/basic.gsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
<%-- | ||
Created by IntelliJ IDEA. | ||
User: swestfall | ||
Date: 7/30/11 | ||
Time: 8:06 PM | ||
To change this template use File | Settings | File Templates. | ||
--%> | ||
|
||
<%@ page contentType="text/html;charset=UTF-8" %> | ||
<html> | ||
<head> | ||
<title>Example of jQueryUI Accordion</title> | ||
<meta name="layout" content="main"/> | ||
</head> | ||
<body> | ||
<div class="examplePageContainer"> | ||
|
||
<h2>Example of jQueryUI Accordion</h2> | ||
<a href="http://jqueryui.com/demos/accordion/">jQueryUI Example</a> | ||
|
||
|
||
<div class="exampleContainer"> | ||
<h3>Pre-Existing Markup</h3> | ||
<div id="accordion" style=""> | ||
<h3><a href="#">Section 1</a></h3> | ||
<div> | ||
<p> | ||
Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer | ||
ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit | ||
amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut | ||
odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate. | ||
</p> | ||
</div> | ||
<h3><a href="#">Section 2</a></h3> | ||
<div> | ||
<p> | ||
Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet | ||
purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor | ||
velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In | ||
suscipit faucibus urna. | ||
</p> | ||
</div> | ||
<h3><a href="#">Section 3</a></h3> | ||
<div> | ||
<p> | ||
Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. | ||
Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero | ||
ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis | ||
lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui. | ||
</p> | ||
<ul> | ||
<li>List item one</li> | ||
<li>List item two</li> | ||
<li>List item three</li> | ||
</ul> | ||
</div> | ||
<h3><a href="#">Section 4</a></h3> | ||
<div> | ||
<p> | ||
Cras dictum. Pellentesque habitant morbi tristique senectus et netus | ||
et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in | ||
faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia | ||
mauris vel est. | ||
</p> | ||
<p> | ||
Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. | ||
Class aptent taciti sociosqu ad litora torquent per conubia nostra, per | ||
inceptos himenaeos. | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<jqueryui:jquiAccordion | ||
id="accordion" | ||
namespace="grails.jqueryui.components" | ||
renderMarkup="false" | ||
config="${[:]}"/> | ||
|
||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<%-- | ||
Created by IntelliJ IDEA. | ||
User: swestfall | ||
Date: 7/30/11 | ||
Time: 8:33 PM | ||
To change this template use File | Settings | File Templates. | ||
--%> | ||
|
||
<%@ page contentType="text/html;charset=UTF-8" %> | ||
<html> | ||
<head> | ||
<title>Example of jQueryUI Dialog</title> | ||
<meta name="layout" content="main"/> | ||
</head> | ||
<body> | ||
<div class="examplePageContainer"> | ||
|
||
<h2>Example of jQueryUI Dialog</h2> | ||
<a href="http://jqueryui.com/demos/dialog/">jQueryUI Example</a> | ||
|
||
|
||
<div class="exampleContainer"> | ||
<h3>Pre-Existing Markup</h3> | ||
<div id="dialog" title="Basic dialog"> | ||
<p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p> | ||
</div> | ||
|
||
</div> | ||
|
||
<jqueryui:jquiDialog | ||
id="dialog" | ||
dialog="grails.jqueryui.components" | ||
config="${[:]}"/> | ||
|
||
</div> | ||
</body> | ||
</html> |
39 changes: 39 additions & 0 deletions
39
jqueryui-widget-testApp/grails-app/views/dialog/modalDialog.gsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<%-- | ||
Created by IntelliJ IDEA. | ||
User: swestfall | ||
Date: 7/30/11 | ||
Time: 8:33 PM | ||
To change this template use File | Settings | File Templates. | ||
--%> | ||
|
||
<%@ page contentType="text/html;charset=UTF-8" %> | ||
<html> | ||
<head> | ||
<title>Example of jQueryUI Modal Dialog</title> | ||
<meta name="layout" content="main"/> | ||
</head> | ||
<body> | ||
<div class="examplePageContainer"> | ||
|
||
<h2>Example of jQueryUI Modal Dialog</h2> | ||
<a href="http://jqueryui.com/demos/dialog/#modal">jQueryUI Example</a> | ||
|
||
|
||
<div class="exampleContainer"> | ||
<h3>Pre-Existing Markup</h3> | ||
<div id="dialog" title="Basic dialog"> | ||
<p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p> | ||
</div> | ||
|
||
</div> | ||
|
||
<jqueryui:jquiDialog | ||
id="dialog" | ||
dialog="grails.jqueryui.components" | ||
config="${[ | ||
modal : true | ||
]}"/> | ||
|
||
</div> | ||
</body> | ||
</html> |
47 changes: 47 additions & 0 deletions
47
jqueryui-widget-testApp/grails-app/views/dialog/modalMessage.gsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<%-- | ||
Created by IntelliJ IDEA. | ||
User: swestfall | ||
Date: 7/30/11 | ||
Time: 8:33 PM | ||
To change this template use File | Settings | File Templates. | ||
--%> | ||
|
||
<%@ page contentType="text/html;charset=UTF-8" %> | ||
<html> | ||
<head> | ||
<title>Example of jQueryUI Modal Message</title> | ||
<meta name="layout" content="main"/> | ||
</head> | ||
<body> | ||
<div class="examplePageContainer"> | ||
|
||
<h2>Example of jQueryUI Modal Message</h2> | ||
<a href="http://jqueryui.com/demos/dialog/#modal-message">jQueryUI Example</a> | ||
|
||
|
||
<div class="exampleContainer"> | ||
<h3>Pre-Existing Markup</h3> | ||
<div id="dialog" title="Basic dialog"> | ||
<p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p> | ||
</div> | ||
|
||
</div> | ||
|
||
<jqueryui:jquiDialog | ||
id="dialog" | ||
dialog="grails.jqueryui.components" | ||
config="${[ | ||
modal : true , | ||
buttons: [ | ||
Ok: '@window.modalOK_Click' | ||
]]}"/> | ||
|
||
<script type="text/javascript"> | ||
window.modalOK_Click = function() { | ||
$(this).dialog("close") | ||
} | ||
</script> | ||
|
||
</div> | ||
</body> | ||
</html> |