mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-17 22:47:59 +01:00
abolish single quoted attributes
This commit is contained in:
parent
58374d9604
commit
dbc5291f89
6 changed files with 14 additions and 14 deletions
|
@ -28,11 +28,11 @@ elixir:
|
|||
span.hide-mobile Edit
|
||||
|
||||
= if can?(@conn, :edit, @gallery) do
|
||||
a.rearrange-button.js-rearrange href='#' data-click-hide='.js-rearrange' data-click-show='.js-save,#gallery-rearrange-info'
|
||||
a.rearrange-button.js-rearrange href="#" data-click-hide=".js-rearrange" data-click-show=".js-save,#gallery-rearrange-info"
|
||||
i.fa.fa-sort>
|
||||
' Rearrange
|
||||
|
||||
a.rearrange-button.js-save.hidden href='#' data-click-hide='.js-save,#gallery-rearrange-info' data-click-show='.js-rearrange' data-reorder-path=Routes.gallery_order_path(@conn, :update, @gallery)
|
||||
a.rearrange-button.js-save.hidden href="#" data-click-hide=".js-save,#gallery-rearrange-info" data-click-show=".js-rearrange" data-reorder-path=Routes.gallery_order_path(@conn, :update, @gallery)
|
||||
i.fa.fa-check>
|
||||
' Save
|
||||
|
||||
|
|
|
@ -21,18 +21,18 @@ elixir:
|
|||
.media-box data-image-id=@image.id
|
||||
.media-box__header.media-box__header--link-row class=header_class data-image-id=@image.id
|
||||
a.interaction--fave href="#" rel="nofollow" data-image-id=@image.id
|
||||
span.fave-span title='Fave!'
|
||||
span.fave-span title="Fave!"
|
||||
i.fa.fa-star
|
||||
span.favorites title='Favorites' data-image-id=@image.id = @image.faves_count
|
||||
span.favorites title="Favorites" data-image-id=@image.id = @image.faves_count
|
||||
a.interaction--upvote href="#" rel="nofollow" data-image-id=@image.id
|
||||
i.fa.fa-arrow-up title='Yay!'
|
||||
span.score title='Score' data-image-id=@image.id = @image.score
|
||||
i.fa.fa-arrow-up title="Yay!"
|
||||
span.score title="Score" data-image-id=@image.id = @image.score
|
||||
a.interaction--downvote href="#" rel="nofollow" data-image-id=@image.id
|
||||
i.fa.fa-arrow-down title='Neigh!'
|
||||
a.interaction--comments href="/#{@image.id}#comments" title='Comments'
|
||||
i.fa.fa-arrow-down title="Neigh!"
|
||||
a.interaction--comments href="/#{@image.id}#comments" title="Comments"
|
||||
i.fa.fa-comments
|
||||
span.comments_count data-image-id=@image.id = @image.comments_count
|
||||
a.interaction--hide href="#" rel="nofollow" data-image-id=@image.id
|
||||
i.fa.fa-eye-slash title='Hide'
|
||||
i.fa.fa-eye-slash title="Hide"
|
||||
.media-box__content.flex.flex--centered.flex--center-distributed class=size_class
|
||||
= render PhilomenaWeb.ImageView, "_image_container.html", link: link, image: @image, size: @size, conn: @conn
|
|
@ -43,7 +43,7 @@
|
|||
button.button.js-tag-sauce-toggle data-click-toggle=".tagsauce, .js-imageform" data-click-focus=".js-taginput-plain:not(.hidden), .js-taginput-input"
|
||||
' Cancel
|
||||
|
||||
.block.js-tagtable data-target='[name="image[tag_input]"]'
|
||||
.block.js-tagtable data-target="[name="image[tag_input]"]"
|
||||
= PhilomenaWeb.TagView.quick_tags(@conn)
|
||||
|
||||
- else
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
|
||||
p You can mouse over tags below to view a description, and click to add. Short tag names can be used and will expand to full.
|
||||
|
||||
.block.js-tagtable data-target='[name="image[tag_input]"]'
|
||||
.block.js-tagtable data-target="[name="image[tag_input]"]"
|
||||
= PhilomenaWeb.TagView.quick_tags(@conn)
|
||||
|
||||
br
|
||||
|
|
|
@ -95,7 +95,7 @@ header.header
|
|||
a.header__link href=Routes.pow_registration_path(@conn, :edit)
|
||||
i.fa.fa-fw.fa-user>
|
||||
| Account
|
||||
a.header__link href="/session" data-method='delete'
|
||||
a.header__link href="/session" data-method="delete"
|
||||
i.fa.fa-fw.fa-sign-out-alt>
|
||||
| Logout
|
||||
- else
|
||||
|
|
|
@ -8,7 +8,7 @@ elixir:
|
|||
.js-tag-block class="fancy-tag-#{@type}"
|
||||
= textarea @f, @name, html_options
|
||||
.js-taginput.input.input--wide.tagsinput.hidden class="js-taginput-fancy" data-click-focus=".js-taginput-input.js-taginput-#{@name}"
|
||||
input.input class="js-taginput-input js-taginput-#{@name}" id="taginput-fancy-#{@name}" type="text" placeholder="add a tag" autocomplete="off" autocapitalize="none" data-ac="true" data-ac-min-length="3" data-ac-source='/tags/autocomplete?term='
|
||||
input.input class="js-taginput-input js-taginput-#{@name}" id="taginput-fancy-#{@name}" type="text" placeholder="add a tag" autocomplete="off" autocapitalize="none" data-ac="true" data-ac-min-length="3" data-ac-source="/tags/autocomplete?term="
|
||||
button.button.button--state-primary.button--bold class="js-taginput-show" data-click-show=".js-taginput-fancy,.js-taginput-hide" data-click-hide=".js-taginput-plain,.js-taginput-show" data-click-focus=".js-taginput-input.js-taginput-#{@name}"
|
||||
= hidden_input :fuck_ie, :fuck_ie, value: "fuck_ie"
|
||||
' Fancy Editor
|
||||
|
|
Loading…
Reference in a new issue