Commit 2b4fb31511fd4aeccd5f053714e4dcfd890b172c

Authored by Karpikau Andrei
1 parent b352087e

small check

... ... @@ -18,6 +18,10 @@
18 18 }
19 19 }
20 20
  21 +.dd3-disabled {
  22 + .dd3-handle, .dd3-content {opacity:0.5;}
  23 +}
  24 +
21 25 .dd-full-width{
22 26 max-width:100% !important;
23 27 }
... ...
1 1 <% collection.each do |page| %>
2   - <li class="dd-item dd3-item" data-id="<%= page.id %>">
  2 + <li class="dd-item dd3-item <%= page.active? ? '' : 'dd3-disabled' %>" data-id="<%= page.id %>">
3 3 <div class="dd-handle dd3-handle dd3-page-list-handle">&nbsp;</div>
4 4 <div class="dd3-content">
5 5 <div class="text-in-one-string">Page Name: <%= page.lang_attributes(Kanjai::PageLang.default, :title) %></div>
... ...
... ... @@ -4,7 +4,7 @@
4 4 <div class="form-group row">
5 5 <%= form.label :meta_title, Kanjai::PageDatum.human_attribute_name(:meta_title), :class => "col-md-2 col-form-label" %>
6 6 <div class="col-md-10">
7   - <%= form.text_field :meta_title, :class => "form-control #{@page_data.errors.include?(:meta_title) ? 'parsley-error' : ''}" %>
  7 + <%= form.text_field :meta_title, :class => "form-control #{@page_data.errors.include?(:meta_title) ? 'parsley-error' : ''}", data: {toggle: 'popover', placement: 'top', content: 'Content', original_title: 'Title'} %>
8 8 <%= error_messages(@page_data, :meta_title) %>
9 9 </div>
10 10 </div>
... ... @@ -12,7 +12,7 @@
12 12 <div class="form-group row">
13 13 <%= form.label :meta_description, Kanjai::PageDatum.human_attribute_name(:meta_description), :class => "col-md-2 col-form-label" %>
14 14 <div class="col-md-10">
15   - <%= form.text_field :meta_description, :class => "form-control" %>
  15 + <%= form.text_field :meta_description, :class => "form-control", data: {toggle: 'popover', placement: 'top', content: 'Content', original_title: 'Title'} %>
16 16 <%= error_messages(@page_data, :meta_description) %>
17 17 </div>
18 18 </div>
... ... @@ -20,7 +20,7 @@
20 20 <div class="form-group row">
21 21 <%= form.label :meta_keywords, Kanjai::PageDatum.human_attribute_name(:meta_keywords), :class => "col-md-2 col-form-label" %>
22 22 <div class="col-md-10">
23   - <%= form.text_field :meta_keywords, :class => "form-control" %>
  23 + <%= form.text_field :meta_keywords, :class => "form-control", data: {toggle: 'popover', placement: 'top', content: 'Content', original_title: 'Title'} %>
24 24 <%= error_messages(@page_data, :meta_keywords) %>
25 25 </div>
26 26 </div>
... ...
1 1 module Kanjai
2   - VERSION = "0.0.142"
  2 + VERSION = "0.0.143"
3 3 end
... ...