Author: rgardler
Date: Mon Feb 25 14:07:47 2013
New Revision: 1449710
URL: http://svn.apache.org/r1449710
Log:
add some class names to icons and controls so they can be managed by template
CSS and scripts
Modified:
wookie/trunk/widgets/templates/assetPlayer/content_secondary.html
wookie/trunk/widgets/templates/assetPlayer/scripts/asset_controller.js
wookie/trunk/widgets/templates/base/content_tile.html
Modified: wookie/trunk/widgets/templates/assetPlayer/content_secondary.html
URL:
http://svn.apache.org/viewvc/wookie/trunk/widgets/templates/assetPlayer/content_secondary.html?rev=1449710&r1=1449709&r2=1449710&view=diff
==============================================================================
--- wookie/trunk/widgets/templates/assetPlayer/content_secondary.html (original)
+++ wookie/trunk/widgets/templates/assetPlayer/content_secondary.html Mon Feb
25 14:07:47 2013
@@ -23,11 +23,11 @@
Play
</div>
- <div data-scanOrder="2" id="prev" data-role="button">
+ <div class="secondaryControl" data-scanOrder="2" id="prev"
data-role="button">
Previous Photo
</div>
- <div data-scanOrder="3" id="next" data-role="button">
+ <div class="secondaryControl" data-scanOrder="3" id="next"
data-role="button">
Next Photo
</div>
</div>
Modified: wookie/trunk/widgets/templates/assetPlayer/scripts/asset_controller.js
URL:
http://svn.apache.org/viewvc/wookie/trunk/widgets/templates/assetPlayer/scripts/asset_controller.js?rev=1449710&r1=1449709&r2=1449710&view=diff
==============================================================================
--- wookie/trunk/widgets/templates/assetPlayer/scripts/asset_controller.js
(original)
+++ wookie/trunk/widgets/templates/assetPlayer/scripts/asset_controller.js Mon
Feb 25 14:07:47 2013
@@ -75,7 +75,7 @@ var ${widget.shortname}_asset_controller
getAlbumCover:function(album) {
var html = "<li id='" + album.title + "'>";
- html = html + "<img src='" + album.preview + "' width='120'
height='120'/> ";
+ html = html + "<img class='icon' src='" + album.preview + "' width='120'
height='120'/> ";
html = html + album.title;
html = html + "</a></li>";
return $(html);
Modified: wookie/trunk/widgets/templates/base/content_tile.html
URL:
http://svn.apache.org/viewvc/wookie/trunk/widgets/templates/base/content_tile.html?rev=1449710&r1=1449709&r2=1449710&view=diff
==============================================================================
--- wookie/trunk/widgets/templates/base/content_tile.html (original)
+++ wookie/trunk/widgets/templates/base/content_tile.html Mon Feb 25 14:07:47
2013
@@ -15,5 +15,5 @@
limitations under the License.
%>
-<img src="${widget.icon.src}" alt="${widget.tile.tip}"/>
+<img class="icon" src="${widget.icon.src}" alt="${widget.tile.tip}"/>
<h2>${widget.name}</h2>