diff --git a/app/assets/images/miniColors/circle.gif b/app/assets/images/miniColors/circle.gif new file mode 100755 index 00000000..599f7f13 Binary files /dev/null and b/app/assets/images/miniColors/circle.gif differ diff --git a/app/assets/images/miniColors/gradient.png b/app/assets/images/miniColors/gradient.png new file mode 100755 index 00000000..561cdd9c Binary files /dev/null and b/app/assets/images/miniColors/gradient.png differ diff --git a/app/assets/images/miniColors/line.gif b/app/assets/images/miniColors/line.gif new file mode 100755 index 00000000..9eb19837 Binary files /dev/null and b/app/assets/images/miniColors/line.gif differ diff --git a/app/assets/images/miniColors/rainbow.png b/app/assets/images/miniColors/rainbow.png new file mode 100755 index 00000000..8d6c71bf Binary files /dev/null and b/app/assets/images/miniColors/rainbow.png differ diff --git a/app/assets/images/miniColors/trigger.png b/app/assets/images/miniColors/trigger.png new file mode 100755 index 00000000..8c169fd6 Binary files /dev/null and b/app/assets/images/miniColors/trigger.png differ diff --git a/vendor/built_in_modules/faq/app/views/panel/faq/back_end/qas/_form.html.erb b/vendor/built_in_modules/faq/app/views/panel/faq/back_end/qas/_form.html.erb index 014e826e..ee937ea6 100644 --- a/vendor/built_in_modules/faq/app/views/panel/faq/back_end/qas/_form.html.erb +++ b/vendor/built_in_modules/faq/app/views/panel/faq/back_end/qas/_form.html.erb @@ -16,16 +16,16 @@
- + @@ -231,4 +231,5 @@ }) }); -<% end %> \ No newline at end of file +<% end %> + diff --git a/vendor/built_in_modules/faq/app/views/panel/faq/back_end/qas/new.html.erb b/vendor/built_in_modules/faq/app/views/panel/faq/back_end/qas/new.html.erb index 47e6c67c..49ec7437 100644 --- a/vendor/built_in_modules/faq/app/views/panel/faq/back_end/qas/new.html.erb +++ b/vendor/built_in_modules/faq/app/views/panel/faq/back_end/qas/new.html.erb @@ -1,7 +1,6 @@ <%= flash_messages %>
-

<%= t('qa.new_faq') %>

<%= form_for @qa, :url => panel_faq_back_end_qas_path, :html => {:class => 'form-horizontal main-forms'} do |f| %> <%= render :partial => 'form', :locals => {:f => f} %> <% end %> diff --git a/vendor/built_in_modules/survey/app/views/panel/survey/back_end/surveys/_form.html.erb b/vendor/built_in_modules/survey/app/views/panel/survey/back_end/surveys/_form.html.erb index 46108ee1..3ed4c021 100644 --- a/vendor/built_in_modules/survey/app/views/panel/survey/back_end/surveys/_form.html.erb +++ b/vendor/built_in_modules/survey/app/views/panel/survey/back_end/surveys/_form.html.erb @@ -1,76 +1,111 @@ -<% # encoding: utf-8 %> +<% content_for :page_specific_css do %> + <%= stylesheet_link_tag "lib/main-forms" %> + <%= stylesheet_link_tag "lib/fileupload" %> + <%= stylesheet_link_tag "lib/main-list" %> +<% end %> +<% content_for :page_specific_javascript do %> + <%= javascript_include_tag "lib/bootstrap-fileupload" %> + <%= javascript_include_tag "lib/bootstrap-datetimepicker" %> + <%= javascript_include_tag "lib/datetimepicker/datetimepicker.js" %> + <%= javascript_include_tag "lib/modal-preview" %> + <%= javascript_include_tag "lib/file-type" %> +<% end %> +<%= f.error_messages %> +
+
+ + + +
+ + +
+
+
+ +
+ <%= f.datetime_picker :postdate, :no_label => true %> +
+
+ +
+ +
+ <%= f.datetime_picker :deadline, :no_label => true %> +
+
+ +
+
+
+
+
+ +
+ <%= f.check_box :redirect_mode %> +
+
+
+ +
+ <%= f.text_field :redirect_url %> +
+
+
+
+ +
+ + + + +
+ <% @site_valid_locales.each_with_index do |locale, i| %> +
"> +
+ <%= f.label :title , t('survey.question'), :class=>"control-label muted" %> +
+ <%= f.fields_for :title_translations do |f| %> + <%= f.text_field locale, :class=>'post-title', :value => (@survey.title_translations[locale] rescue nil) %> + <% end %> +
+
+
+ <%= f.label :description ,t('survey.description'), :class => "control-label muted" %> + <%= f.fields_for :description_translations do |f| %> +
+
+ <%= f.text_area locale, :style=>"width:100%", :class => 'ckeditor input-block-level', :value => (@survey.description_translations[locale] rescue nil) %> +
+
+ <% end %> +
+
+ <% end %> +
+
+
+
- <%= f.error_messages %> -
-
-
- -
-

<%= t(:date_) %>

-
-
- <%= f.datetime_picker :postdate, :picker_type => 'separated', :label => t('survey.postdate') %> -
-
- <%= f.datetime_picker :deadline, :picker_type => 'separated', :label => t('survey.deadline') %> -
-
-
-
-
- -
-

<%= t('survey.redirect') %>

-
-
- <%= f.label :redirect_mode, t('survey.redirect_mode')%> - <%= f.check_box :redirect_mode %> -
-
- <%= f.label :redirect_url, t('survey.redirect_url') %> - <%= f.text_field :redirect_url %> -
-
-
-
+ +
- -
- - <% @site_valid_locales.each_with_index do |locale, i| %> - -
"> -
- <%= f.label :title , t('survey.title') %> - <%= f.fields_for :title_translations do |f| %> - <%= I18nVariable.from_locale(locale) %> - <%= f.text_field locale, :style=>"width:98%;", :class=>'post-title', :value => (@survey.title_translations[locale] rescue nil) %> - <% end %> -
- -
- <%= f.label :description ,t('survey.description') %> - <%= f.fields_for :description_translations do |f| %> - <%= I18nVariable.from_locale(locale) %> - <%= f.text_area locale, :rows => 5, :style=>"width:98%;", :value => (@survey.description_translations[locale] rescue nil) %> - <% end %> -
- -
- - <% end %> - -
- -
+
<% @survey.survey_questions.each_with_index do |survey_question, i| %> diff --git a/vendor/built_in_modules/survey/app/views/panel/survey/back_end/surveys/new.html.erb b/vendor/built_in_modules/survey/app/views/panel/survey/back_end/surveys/new.html.erb index cb9ee207..5bf625df 100644 --- a/vendor/built_in_modules/survey/app/views/panel/survey/back_end/surveys/new.html.erb +++ b/vendor/built_in_modules/survey/app/views/panel/survey/back_end/surveys/new.html.erb @@ -1,7 +1,6 @@ <%= flash_messages %>
-

<%= t('survey.new_survey') %>

-<%= form_for @survey, :url => panel_survey_back_end_surveys_path, :html => {:class => 'clear'} do |f| %> +<%= form_for @survey, :url => panel_survey_back_end_surveys_path, :html => {:class => 'form-horizontal main-forms'} do |f| %> <%= render :partial => 'form', :locals => {:f => f} %> <% end %>
\ No newline at end of file