2010-11-08 17:40:03 -08:00
|
|
|
- add_body_class 'fullscreen'
|
2013-01-04 17:28:00 -08:00
|
|
|
- localized_cache do
|
2010-12-11 07:11:56 -08:00
|
|
|
#pet-type-not-found.possible-error
|
2013-01-04 17:28:00 -08:00
|
|
|
= t '.pet_type.not_found'
|
2010-12-11 07:11:56 -08:00
|
|
|
#preview-toolbar
|
|
|
|
%form#pet-type-form
|
|
|
|
%select{:name => "color"}
|
|
|
|
%select{:name => "species"}
|
2013-01-04 17:28:00 -08:00
|
|
|
%input{:type => "submit", :value => t('.pet_type.form.submit')}
|
2010-12-11 07:11:56 -08:00
|
|
|
%form#pet-state-form
|
2013-01-04 17:28:00 -08:00
|
|
|
= t '.pet_state_form.header'
|
2010-11-08 17:40:03 -08:00
|
|
|
%ul
|
2011-02-09 16:29:31 -08:00
|
|
|
#save-outfit-wrapper
|
2011-02-09 17:29:43 -08:00
|
|
|
%a#current-outfit-permalink{:target => '_blank'}
|
2013-01-04 17:28:00 -08:00
|
|
|
= image_tag 'link_go.png', :alt => t('.outfit.permalink.name'),
|
|
|
|
:title => t('.outfit.permalink.description')
|
|
|
|
%button#save-outfit= t '.outfit.save'
|
|
|
|
%button#save-outfit-not-signed-in= t '.outfit.sign_in_to_save'
|
|
|
|
%button#save-outfit-copy= t '.outfit.save_copy'
|
|
|
|
%button#save-current-outfit
|
|
|
|
= t '.outfit.save_current_outfit.main_html',
|
|
|
|
:outfit_name => content_tag(:span, t('.outfit.save_current_outfit.default_outfit_name'))
|
2011-02-07 09:54:20 -08:00
|
|
|
%form#save-outfit-form
|
|
|
|
.outfit-star
|
2013-01-04 17:28:00 -08:00
|
|
|
%input#save-outfit-name{:type => 'text', :placeholder => t('.outfit.form.name_placeholder')}
|
|
|
|
%button#save-outfit-finish{:type => 'submit'}= t '.outfit.form.submit'
|
|
|
|
%button#save-outfit-cancel{:type => 'button'}= t '.outfit.form.cancel'
|
2010-12-11 07:11:56 -08:00
|
|
|
#preview
|
|
|
|
#preview-swf
|
|
|
|
#preview-swf-container
|
2013-01-04 17:28:00 -08:00
|
|
|
%p= t '.preview.requirements'
|
2011-05-22 13:30:02 -07:00
|
|
|
#preview-image-container
|
2011-06-27 12:33:34 -07:00
|
|
|
#preview-mode
|
|
|
|
%ul#preview-mode-toggle
|
2013-01-04 17:28:00 -08:00
|
|
|
%li#preview-mode-flash.active= t '.preview.mode.flash.name'
|
|
|
|
%li#preview-mode-image= t '.preview.mode.image.name'
|
|
|
|
= link_to t('.preview.mode.image.faq'), image_mode_path,
|
|
|
|
:id => 'preview-mode-note', :target => '_blank'
|
|
|
|
= link_to t('.preview.mode.image.report_broken'), '#',
|
|
|
|
:id => 'report-broken-image', :target => '_blank', 'data-base-url' => new_broken_image_report_path
|
2010-12-11 07:11:56 -08:00
|
|
|
#preview-sidebar
|
2012-07-25 16:02:23 -07:00
|
|
|
%nav#preview-sidebar-navbar
|
2013-01-04 17:28:00 -08:00
|
|
|
#preview-sidebar-navbar-closet= t '.sidebar.nav.closet'
|
|
|
|
#preview-sidebar-navbar-sharing= t '.sidebar.nav.sharing'
|
|
|
|
#preview-sidebar-navbar-outfits= t '.sidebar.nav.outfits'
|
2012-07-25 16:02:23 -07:00
|
|
|
#preview-sidebar-content
|
2013-01-04 17:28:00 -08:00
|
|
|
#outfit-not-found= t '.sidebar.notifications.outfits.not_found'
|
|
|
|
#save-success= t '.sidebar.notifications.outfits.save.success'
|
2012-07-25 16:02:23 -07:00
|
|
|
#save-error
|
|
|
|
#preview-closet.sidebar-view
|
|
|
|
%ul
|
|
|
|
#preview-outfits.sidebar-view
|
|
|
|
%ul#preview-outfits-list
|
|
|
|
#preview-outfits-not-logged-in
|
|
|
|
%figure
|
|
|
|
= image_tag 'outfits_welcome.png'
|
2013-01-04 17:28:00 -08:00
|
|
|
%figcaption= t '.sidebar.outfits.not_signed_in.header'
|
2013-01-09 15:30:40 -08:00
|
|
|
= tmd '.sidebar.outfits.not_signed_in.pitch'
|
2013-01-04 17:28:00 -08:00
|
|
|
= link_to t('.sidebar.outfits.not_signed_in.sign_in'),
|
|
|
|
login_path_with_return_to, :id => 'preview-outfits-log-in'
|
2012-07-25 16:02:23 -07:00
|
|
|
#preview-sharing.sidebar-view
|
|
|
|
#preview-sharing-thumbnail-wrapper
|
|
|
|
#preview-sharing-thumbnail-loading
|
|
|
|
= image_tag 'outfits/small_loading.gif'
|
2013-01-04 17:28:00 -08:00
|
|
|
%span#preview-sharing-thumbnail-saving
|
|
|
|
= t '.sidebar.sharing.thumbnail.saving'
|
|
|
|
%span#preview-sharing-thumbnail-generating
|
|
|
|
= t '.sidebar.sharing.thumbnail.generating'
|
2012-07-25 16:02:23 -07:00
|
|
|
%img#preview-sharing-thumbnail
|
|
|
|
%ul#preview-sharing-urls
|
|
|
|
%li
|
2013-01-04 17:28:00 -08:00
|
|
|
%label{:for => 'preview-sharing-permalink-url'}
|
|
|
|
= t '.sidebar.sharing.links.permalink'
|
2012-07-25 16:02:23 -07:00
|
|
|
%input#preview-sharing-permalink-url.outfit-url{:type => 'text'}
|
|
|
|
%li
|
2013-01-04 17:28:00 -08:00
|
|
|
%label{:for => 'preview-sharing-large-image-url'}
|
|
|
|
= t '.sidebar.sharing.links.images.large'
|
2012-07-25 16:02:23 -07:00
|
|
|
%input#preview-sharing-large-image-url.outfit-url{:type => 'text'}
|
|
|
|
%li
|
2013-01-04 17:28:00 -08:00
|
|
|
%label{:for => 'preview-sharing-medium-image-url'}
|
|
|
|
= t '.sidebar.sharing.links.images.medium'
|
2012-07-25 16:02:23 -07:00
|
|
|
%input#preview-sharing-medium-image-url.outfit-url{:type => 'text'}
|
|
|
|
%li
|
2013-01-04 17:28:00 -08:00
|
|
|
%label{:for => 'preview-sharing-small-image-url'}
|
|
|
|
= t '.sidebar.sharing.links.images.small'
|
2012-07-25 16:02:23 -07:00
|
|
|
%input#preview-sharing-small-image-url.outfit-url{:type => 'text'}
|
|
|
|
%ul#preview-sharing-url-formats
|
2013-01-04 17:28:00 -08:00
|
|
|
%li.active{'data-format' => 'plain'}
|
|
|
|
= t '.sidebar.sharing.formats.plain'
|
|
|
|
%li{'data-format' => 'html'}
|
|
|
|
= t '.sidebar.sharing.formats.html'
|
|
|
|
%li{'data-format' => 'bbcode'}
|
|
|
|
=t '.sidebar.sharing.formats.bbcode'
|
2010-12-11 07:11:56 -08:00
|
|
|
%form#preview-search-form
|
|
|
|
%header
|
2013-01-04 17:28:00 -08:00
|
|
|
%h2= t '.search.header'
|
|
|
|
%input{:name => "query", :placeholder => t('.search.form.query_placeholder'), :type => "search"}/
|
|
|
|
%input{:type => "submit", :value => t('.search.form.submit')}/
|
|
|
|
%a.preview-search-form-your-items{:href => '#', 'data-search-value' => 'owns'}
|
|
|
|
= closet_lists_group_name :you, true
|
|
|
|
%a.preview-search-form-your-items{:href => '#', 'data-search-value' => 'wants'}
|
|
|
|
= closet_lists_group_name :you, false
|
2010-12-11 07:11:56 -08:00
|
|
|
#preview-search-form-pagination
|
2013-01-04 17:28:00 -08:00
|
|
|
%a#preview-search-form-clear{:href => "#"}= t '.search.form.clear'
|
2010-12-11 07:11:56 -08:00
|
|
|
%dl#preview-search-form-help
|
|
|
|
%div
|
2013-01-04 17:28:00 -08:00
|
|
|
%dt= t '.search.examples.basic.query'
|
|
|
|
%dd= t '.search.examples.basic.description'
|
2010-12-11 07:11:56 -08:00
|
|
|
%div
|
2013-01-04 17:28:00 -08:00
|
|
|
%dt= t '.search.examples.flags.query'
|
|
|
|
%dd= t '.search.examples.flags.description'
|
2010-12-11 07:11:56 -08:00
|
|
|
%div
|
2013-01-04 17:28:00 -08:00
|
|
|
%dt= search_query_with_helper '.search.examples.species'
|
|
|
|
%dd= search_query_description '.search.examples.species'
|
2010-12-11 07:11:56 -08:00
|
|
|
%div
|
2013-01-04 17:28:00 -08:00
|
|
|
%dt= search_query_with_helper '.search.examples.type'
|
|
|
|
%dd= search_query_description '.search.examples.type'
|
2013-01-04 17:48:47 -08:00
|
|
|
#preview-search-form-loading= t '.search.loading'
|
2010-12-11 07:11:56 -08:00
|
|
|
#preview-search-form-error.possible-error
|
|
|
|
#preview-search-form-no-results
|
2013-01-04 17:28:00 -08:00
|
|
|
= t '.search.no_results_html', :query => content_tag(:span)
|
2010-12-11 07:11:56 -08:00
|
|
|
%ul
|
2013-01-04 17:28:00 -08:00
|
|
|
#no-assets-full-message= t '.sidebar.closet.no_data.description'
|
2013-01-04 17:48:47 -08:00
|
|
|
%script#sharing-html-image-template{:type => 'text/x-jquery-tmpl'}
|
|
|
|
= link_to image_tag('${image_url}'), '${permalink}'
|
|
|
|
%script#sharing-html-text-template{:type => 'text/x-jquery-tmpl'}
|
|
|
|
= link_to t('app_name'), '${permalink}'
|
|
|
|
%script#sharing-bbcode-image-template{:type => 'text/x-jquery-tmpl'}
|
|
|
|
[URL=${permalink}][IMG]${image_url}[/IMG][/URL]
|
|
|
|
%script#sharing-bbcode-text-template{:type => 'text/x-jquery-tmpl'}
|
|
|
|
[URL=${permalink}]#{t('app_name')}[/URL]
|
2010-12-11 07:11:56 -08:00
|
|
|
%script#outfit-template{:type => 'text/x-jquery-tmpl'}
|
|
|
|
<li class="outfit-${id}{{if starred}} starred{{/if}}">
|
|
|
|
%header
|
|
|
|
.outfit-star
|
2012-07-27 00:21:22 -07:00
|
|
|
%span.outfit-name ${name}
|
2010-12-11 07:11:56 -08:00
|
|
|
%form.outfit-rename-form
|
|
|
|
%input.outfit-rename-field{:type => 'text'}
|
2012-07-27 00:21:22 -07:00
|
|
|
%footer
|
2013-01-04 17:28:00 -08:00
|
|
|
%a.outfit-rename-button{:href => '#'}
|
|
|
|
= t '.sidebar.outfits.outfit.rename'
|
|
|
|
%a.outfit-delete{:href => '#'}
|
|
|
|
= t '.sidebar.outfits.outfit.delete'
|
2012-07-29 13:07:18 -07:00
|
|
|
.outfit-thumbnail-wrapper
|
|
|
|
%img.outfit-thumbnail
|
2010-12-11 07:11:56 -08:00
|
|
|
.outfit-delete-confirmation
|
2013-01-04 17:28:00 -08:00
|
|
|
%span= t '.sidebar.outfits.outfit.delete_confirmation.header'
|
|
|
|
%a.outfit-delete-confirmation-yes{:href => '#'}
|
|
|
|
= t '.sidebar.outfits.outfit.delete_confirmation.delete'
|
2010-12-11 07:11:56 -08:00
|
|
|
\/
|
2013-01-04 17:28:00 -08:00
|
|
|
%a.outfit-delete-confirmation-no{:href => '#'}
|
|
|
|
= t '.sidebar.outfits.outfit.delete_confirmation.cancel'
|
2010-12-11 07:11:56 -08:00
|
|
|
</li>
|
2013-01-07 16:55:36 -08:00
|
|
|
%script#item-template{:type => 'text/x-jquery-tmpl'}
|
|
|
|
%li{:class => 'object object-${id}'}
|
|
|
|
%img{:src => '${thumbnail_url}', :title => '${description}', :alt => ''}
|
|
|
|
${name}
|
|
|
|
%ul
|
|
|
|
= link_to '${url}', :target => '_blank', :class => 'object-info' do
|
|
|
|
%span i
|
|
|
|
{{if nc}}
|
|
|
|
= nc_icon
|
|
|
|
{{/if}}
|
|
|
|
{{if owned || wanted}}
|
|
|
|
.closeted-icons
|
|
|
|
{{if owned}}
|
|
|
|
= owned_icon
|
|
|
|
{{/if}}
|
|
|
|
{{if wanted}}
|
|
|
|
= wanted_icon
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
%span.no-assets-message= t '.sidebar.closet.no_data.summary'
|
2013-01-04 18:08:41 -08:00
|
|
|
|
|
|
|
%span#userbar-session-message
|
|
|
|
- if user_signed_in?
|
|
|
|
= t '.userbar.session_message.signed_in'
|
|
|
|
- else
|
|
|
|
= t '.userbar.session_message.not_signed_in'
|
|
|
|
|
2011-02-06 15:55:04 -08:00
|
|
|
- content_for :javascripts do
|
2010-12-06 15:50:13 -08:00
|
|
|
= include_javascript_libraries :jquery, :swfobject, :jquery_tmpl
|
|
|
|
= include_javascripts :edit_outfit_package
|
2011-03-28 14:29:03 -07:00
|
|
|
|