Author: rgardler
Date: Wed Nov 16 14:29:20 2011
New Revision: 1202719
URL: http://svn.apache.org/viewvc?rev=1202719&view=rev
Log:
add some default content files
Added:
incubator/wookie/trunk/widgets/templates/browse/content_footer.html
incubator/wookie/trunk/widgets/templates/browse/content_header.html
incubator/wookie/trunk/widgets/templates/browse/content_primary.html
incubator/wookie/trunk/widgets/templates/browse/content_secondary.html
Added: incubator/wookie/trunk/widgets/templates/browse/content_footer.html
URL:
http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/templates/browse/content_footer.html?rev=1202719&view=auto
==============================================================================
--- incubator/wookie/trunk/widgets/templates/browse/content_footer.html (added)
+++ incubator/wookie/trunk/widgets/templates/browse/content_footer.html Wed Nov
16 14:29:20 2011
@@ -0,0 +1,5 @@
+<div data-role="footer" class="footer" data-position="fixed">
+ <div class="content">© University of Oxford</div>
+ <a class="button" href="#help" data-role="button" data-rel="dialog"
+ data-transition="pop" data-icon="info" data-iconpos="left">Help</a>
+</div>
Added: incubator/wookie/trunk/widgets/templates/browse/content_header.html
URL:
http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/templates/browse/content_header.html?rev=1202719&view=auto
==============================================================================
--- incubator/wookie/trunk/widgets/templates/browse/content_header.html (added)
+++ incubator/wookie/trunk/widgets/templates/browse/content_header.html Wed Nov
16 14:29:20 2011
@@ -0,0 +1,6 @@
+<div class="header" data-role="header" data-position="fixed">
+ <img class="logo" src="images/myExperiment_logo_32h.png"
+ alt="MyExperiment" title="MyExperiment Logo" />
+ <h1>${widget.name}</h1>
+</div>
+
Added: incubator/wookie/trunk/widgets/templates/browse/content_primary.html
URL:
http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/templates/browse/content_primary.html?rev=1202719&view=auto
==============================================================================
--- incubator/wookie/trunk/widgets/templates/browse/content_primary.html (added)
+++ incubator/wookie/trunk/widgets/templates/browse/content_primary.html Wed
Nov 16 14:29:20 2011
@@ -0,0 +1,17 @@
+<div id="results" data-role="collapsible-set">
+
+ <div class="result" data-role="collapsible" data-collapsed="true">
+ <h3>Result 1</h3>
+ <p>I'm the collapsible set content for section B.</p>
+ </div>
+
+ <div class="result" data-role="collapsible">
+ <h3>Result 2</h3>
+ <p>I'm the collapsible set content for section B.</p>
+ </div>
+
+ <div class="result" data-role="collapsible">
+ <h3>Result 3</h3>
+ <p>I'm the collapsible set content for section B.</p>
+ </div>
+</div>
Added: incubator/wookie/trunk/widgets/templates/browse/content_secondary.html
URL:
http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/templates/browse/content_secondary.html?rev=1202719&view=auto
==============================================================================
--- incubator/wookie/trunk/widgets/templates/browse/content_secondary.html
(added)
+++ incubator/wookie/trunk/widgets/templates/browse/content_secondary.html Wed
Nov 16 14:29:20 2011
@@ -0,0 +1,44 @@
+<div id="searchPanel" data-role="collapsible" data-theme="c"
+ data-content-theme="c">
+ <h2>Search</h2>
+
+ <form
+
action="javascript:${widget.shortname}_browse_controller.submitSearchForm()"
+ method="get">
+ <div class="ui-grid-a">
+ <div class="ui-block-a">
+ <div data-role="fieldcontain">
+ <label for="searchString">Search:</label> <input type="text"
+ name="searchString"
id="searchString" value=""
+ placeholder="Search
terms..." />
+ </div>
+ </div>
+
+ <div class="ui-block-b">
+ <div data-role="fieldcontain">
+ <label for="sort">Sort:</label>
+ <select name="sort" id="sort" data-native-menu="false"> creation time
(created), update time (updated), title (title) and name (name)
+ <option value="updated">Updated</option>
+ <option value="created">Created</option>
+ <option value="title">Title</option>
+ <option value="name">Name</option>
+ </select>
+ </div>
+ </div>
+ </div>
+
+ <div data-role="fieldcontain">
+ <fieldset data-role="controlgroup" data-type="horizontal">
+ <legend>Sort order</legend>
+ <input type="radio" name="sortOrder" id="reverseOrder" value="reverse"
checked="checked" />
+ <label for="reverseOrder">Reverse</label>
+
+ <input type="radio" name="sortOrder" id="forwardOrder" value="forward"
/>
+ <label for="forwardOrder">Forward</label>
+ </fieldset>
+ </div>
+
+ <input type="submit" value="Search" />
+ </form>
+
+</div>