forked from OpenNeo/impress
cache wardrobe
This commit is contained in:
parent
ca155314fa
commit
f5e3a39068
2 changed files with 108 additions and 108 deletions
|
@ -6,6 +6,8 @@
|
||||||
- if content_for? :title
|
- if content_for? :title
|
||||||
—
|
—
|
||||||
= yield :title
|
= yield :title
|
||||||
|
/[if IE]
|
||||||
|
= include_javascript_libraries :html5
|
||||||
= stylesheet_link_tag "compiled/screen"
|
= stylesheet_link_tag "compiled/screen"
|
||||||
= csrf_meta_tag
|
= csrf_meta_tag
|
||||||
= signed_in_meta_tag
|
= signed_in_meta_tag
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
- add_body_class 'fullscreen'
|
- add_body_class 'fullscreen'
|
||||||
%a#home-link{:href => "/"}
|
- cache do
|
||||||
|
%a#home-link{:href => "/"}
|
||||||
%span Dress to Impress
|
%span Dress to Impress
|
||||||
%h1#title Planning an outfit
|
%h1#title Planning an outfit
|
||||||
#pet-type-not-found.possible-error
|
#pet-type-not-found.possible-error
|
||||||
We haven't seen that combination before. Have you?
|
We haven't seen that combination before. Have you?
|
||||||
Submit the pet's name if you have!
|
Submit the pet's name if you have!
|
||||||
#preview-toolbar
|
#preview-toolbar
|
||||||
%form#pet-type-form
|
%form#pet-type-form
|
||||||
%select{:name => "color"}
|
%select{:name => "color"}
|
||||||
%select{:name => "species"}
|
%select{:name => "species"}
|
||||||
|
@ -18,7 +19,7 @@
|
||||||
%button#save-outfit-not-signed-in Log in to save outfit
|
%button#save-outfit-not-signed-in Log in to save outfit
|
||||||
%button#save-current-outfit Save "<span>current outfit</span>"
|
%button#save-current-outfit Save "<span>current outfit</span>"
|
||||||
%button#save-outfit-copy Save a copy
|
%button#save-outfit-copy Save a copy
|
||||||
#preview
|
#preview
|
||||||
#preview-swf
|
#preview-swf
|
||||||
#preview-swf-container
|
#preview-swf-container
|
||||||
%p Flash and Javascript (but not Java!) are required to preview outfits.
|
%p Flash and Javascript (but not Java!) are required to preview outfits.
|
||||||
|
@ -48,7 +49,7 @@
|
||||||
%h4
|
%h4
|
||||||
%input#new-outfit-name{:type => 'text', :placeholder => 'Outfit name'}
|
%input#new-outfit-name{:type => 'text', :placeholder => 'Outfit name'}
|
||||||
%button{:type => 'submit'} Save
|
%button{:type => 'submit'} Save
|
||||||
%form#preview-search-form
|
%form#preview-search-form
|
||||||
%header
|
%header
|
||||||
%h2 Add an item
|
%h2 Add an item
|
||||||
%input{:name => "query", :placeholder => "Search items...", :type => "search"}/
|
%input{:name => "query", :placeholder => "Search items...", :type => "search"}/
|
||||||
|
@ -87,9 +88,9 @@
|
||||||
#preview-search-form-no-results
|
#preview-search-form-no-results
|
||||||
No results for "<span></span>"
|
No results for "<span></span>"
|
||||||
%ul
|
%ul
|
||||||
#no-assets-full-message
|
#no-assets-full-message
|
||||||
We haven't seen this item on this body type before. Have you? Submit its name on the home page if you have!
|
We haven't seen this item on this body type before. Have you? Submit its name on the home page if you have!
|
||||||
%script#outfit-template{:type => 'text/x-jquery-tmpl'}
|
%script#outfit-template{:type => 'text/x-jquery-tmpl'}
|
||||||
<li class="outfit-${id}{{if starred}} starred{{/if}}">
|
<li class="outfit-${id}{{if starred}} starred{{/if}}">
|
||||||
%header
|
%header
|
||||||
%button.outfit-delete ×
|
%button.outfit-delete ×
|
||||||
|
@ -105,8 +106,5 @@
|
||||||
\/
|
\/
|
||||||
%a.outfit-delete-confirmation-no{:href => '#'} no, thanks
|
%a.outfit-delete-confirmation-no{:href => '#'} no, thanks
|
||||||
</li>
|
</li>
|
||||||
- content_for :javascripts do
|
|
||||||
/[if IE]
|
|
||||||
= include_javascript_libraries :html5
|
|
||||||
= include_javascript_libraries :jquery, :swfobject, :jquery_tmpl
|
= include_javascript_libraries :jquery, :swfobject, :jquery_tmpl
|
||||||
= include_javascripts :edit_outfit_package
|
= include_javascripts :edit_outfit_package
|
||||||
|
|
Loading…
Reference in a new issue