From e45b7e09a05a45119d649d275032b5bdbf5260e4 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Tue, 20 Aug 2013 18:36:58 +0800 Subject: [PATCH] half survey module form changed to new ui plus one calendar fix --- app/assets/images/miniColors/circle.gif | Bin 0 -> 78 bytes app/assets/images/miniColors/gradient.png | Bin 0 -> 10355 bytes app/assets/images/miniColors/line.gif | Bin 0 -> 1104 bytes app/assets/images/miniColors/rainbow.png | Bin 0 -> 2702 bytes app/assets/images/miniColors/trigger.png | Bin 0 -> 1406 bytes .../panel/faq/back_end/qas/_form.html.erb | 11 +- .../views/panel/faq/back_end/qas/new.html.erb | 1 - .../survey/back_end/surveys/_form.html.erb | 169 +++++++++++------- .../survey/back_end/surveys/new.html.erb | 3 +- 9 files changed, 109 insertions(+), 75 deletions(-) create mode 100755 app/assets/images/miniColors/circle.gif create mode 100755 app/assets/images/miniColors/gradient.png create mode 100755 app/assets/images/miniColors/line.gif create mode 100755 app/assets/images/miniColors/rainbow.png create mode 100755 app/assets/images/miniColors/trigger.png diff --git a/app/assets/images/miniColors/circle.gif b/app/assets/images/miniColors/circle.gif new file mode 100755 index 0000000000000000000000000000000000000000..599f7f13a6854d198f501588948ffcf97bf9f365 GIT binary patch literal 78 zcmZ?wbhEHbij|08)1sO8@`> literal 0 HcmV?d00001 diff --git a/app/assets/images/miniColors/gradient.png b/app/assets/images/miniColors/gradient.png new file mode 100755 index 0000000000000000000000000000000000000000..561cdd9c59a498b499cbfd1295dc4d2037e235ff GIT binary patch literal 10355 zcmV-(D2&&MP)h+v*8l*BQUCyPMF0TmW&i*=2LJ#e`2#0~ zRsaAe`AI}URCwC#eanvINRp%)C+D=l9`;ZBJNpmnIHzu)uwC7iS()Jv(>)Z8B@~LP zskuk>0)q)45bjPo-NPtU5fxQ4Hh2FoGyC6W_AoQwfBXI$J?{4V&pZ36_xa*}$2NB_ z?N>dXcGqbk;n!C5)IX`whhWfkj zZ|>f95RKQ5eRkk%JDA36{(L^|`Fz^r@v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B2aZOo25Spwjj?2I^fftq$5!4|=7?T)FV8`(!$;3Z&1t5Em}EcrwM}0M5Ww z-e&^BrF~uiYbyeJ`Q(WrcWTO3Cq^s)!3r0Of5txavt8_lKMNF-lT|rk)oAr81HO2o ztKQCk%draku>xSNOf71K!B`oTPaB*n9lUv!RxZM~$7%(XD-rkIv9hSU;RTQC-7E9m z_pA)~3P9g^PYW!Us@AN$Z{?y`0Y+$hym$e&j0)cY$}1;-^=h&guB=zD$d|} z_Zb(`yU}a`yg3zq62Mlt+}<6q&m6or<-uo2fw#utm5BUF(Xb9ITHWv9)mH{ug#2>Z zK&9)+K9#}q#er=r|KDVMK0T561VDQ6b7#P6U)~Mxt5@GENx_@c^yydbzcHKqvw^g1 zGZjC#ed)b_`TzOP{2K~q RdwKu>002ovPDHLkV1myV#+d*B literal 0 HcmV?d00001 diff --git a/app/assets/images/miniColors/line.gif b/app/assets/images/miniColors/line.gif new file mode 100755 index 0000000000000000000000000000000000000000..9eb198378801682aa692f0986c9f6caec062a987 GIT binary patch literal 1104 zcmZ?wbhEHblwx3JXkcLY|NlP&1B2p!?g-xi1((Eh+i z#(Mch>H3D2mX;thjEr=FDs+o0^GXscbn}XpVJ5hw7AF^F7L;V>=P7_pOiaozEwNPs zx)kDt+yc0H{644~kf%h=vIPQxAvNJFPuMj_RQ&1Cr=zdcJ#>M zLkAD+-?w+q?p-@~Y~QwZ%jQiRH>_W`cFpQlD_1OEwsgtjMGF_qpEq~T>{&BsOrJJ& z%H&BCC-nFA_H=i3cC@#(wlp_2Hq_VE)>KzjR+N{OmJ}Bi7UbvU=45AOW~8U3rX(jN zCd9|Z#zaR&Mudljh6D!%2Kf8=`gnVJdbqo}x;Q&II@sIU+E`mzT9})eniv}avy`5$ zj<%MjhPs-nin5ZTg1nrpjI@-bgt(Zfh_H~L06!lu4>uPl2Rj=p3o{cVux$9r0xTgI b7<51csMKI!;%@0*DfO0rarBmXObpfls+oe~ literal 0 HcmV?d00001 diff --git a/app/assets/images/miniColors/rainbow.png b/app/assets/images/miniColors/rainbow.png new file mode 100755 index 0000000000000000000000000000000000000000..8d6c71bf95def6736de95f345b4424add36f9a67 GIT binary patch literal 2702 zcmaJ@dpwi-A7AKl3YAL|vPLRlH`lebFw3f$+!gY$#~QoYX6ABmNDLi0q&n`W+i7xH z*$xROjY6%Y5aN(fQ72AG(fLiMI=?@D{hrtBdA^^|_w|0iKi5AVk-OV&jg=c#LLd+g zk}JVOdFm+N{1qz7@BUo8NO|b@a>bzy%?WRCWjmB{2aS=m7%Mn8-E|3xTM@ z=w5z&Kk`0ID4S^oEMlyLOpcNbfnf1M4iFjv@}VIhjn2ZsUe!0jpmZt@=4(SnkU7ra zVY+K97xavE^9qfP2z8*s@H?ScAx0^{1o;3|$Yij17$FY!Nf)EE7q8(k=qCt20tfpi zDL=A1)S1l%p*B_s%TRvZ}KAp{iE-C^c>?l4Crp)x85}2H?vMk=`HYpnh7XlnO(h9Ly(ib3^{Qsd$=2tY2 z?*aas@Bb9$dBt!*xCh8%M{z@yg9|fR48_4Xb3uU5=6bQ&j4xeuKg{N{d575?sI#XH zlnjK@S&RNBJeiCkv3Pud6$+9FIG9qwicY6u>>QmP>`+8&w6&uP66u1lx3P965|k#w z0cGugCVb%%*r8EOkj4MPrT)vc`6hR96_^}lWCF;g3qUH7%Vt79m5iZ(I~UY9^*(c{ z-_8a7O)gxS41960|260@SIX^KG{3H`()qghAWOOJT;*EFx9k1}fh<=c5gfgQeTDx0 z+k<+TyS+HCIPe5xcZXD(I2s^7-x>Vasc`PsOrl|NuD4WHjSA!a(l2d?VMJ2v3+*csjmd zdnCSeTg6TMk__N%nbdSDSN~-JpDY<6*cH2V4qb96Vy7Nc?s`LDVH76WJo`L81 zn&w%hUA5bWEZ~VIZ?Zr<&9cJ zKfmtp0;Yd9pm{f+4Pg7SHk{OIojd{b>j>QBdSi@;?z&rNQe%H`#ZQS6;`R;%w{*R! zj}hnn9t-82&-Z*h$Y_`N)IQqGT{p5zoKd|}t2n~%`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HFp{{sgmqmTdq literal 0 HcmV?d00001 diff --git a/app/assets/images/miniColors/trigger.png b/app/assets/images/miniColors/trigger.png new file mode 100755 index 0000000000000000000000000000000000000000..8c169fd6053009030232ef865a61876992b68589 GIT binary patch literal 1406 zcmeAS@N?(olHy`uVBq!ia0vp^Vj#@H1|*Mc$*~4fk|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*9U+n3Xa^B1$5BeXNr6bM+EIYV;~{3xK*A7;Nk-3KEmEQ%e+* zQqwc@Y?a>c-mj#PnPRIHZt82`Ti~3Uk?B!Ylp0*+7m{3+ootz+WN)WnQ(*-(AUCxn zQK2F?C$HG5!d3}vt`(3C64qBz04piUwpD^SD#ABF!8yMuRl!uxKsVXI%s|1+P|wiV z#N6CmN5ROz&_Lh7NZ-&%*U;R`*vQJjKmiJrfVLH-q*(>IxIyg#@@$ndN=gc>^!3Zj z%k|2Q_413-^$jg8EkR}&8R-I5=oVMzl_XZ^<`pZ$OmImpPAEg{v+u2}(t{7puX=A(aKG z`a!A1`K3k4z=%sz23b{L-^Aq1JP;qO z-q+X4Gq1QLF)umQ)5TT^Xo6m5W{Q=Ysky7Esj-oY45WOi_+yd2$+aLNs$LND17Ac}(Lcr7mV#1RxkONQnsd>QEUIa?kr@s7UU|{^@ z>Eaktacj*~$E-sRB5mp?BgD7u(%yAKHs;l})P)a3cWG2{e-&!7?th>gvs+vwW{XHj z&V_A;GfVy@#?3g=p?UVeXVt^i_y7Df_FMC?;Kvz>>^EOen!6;zabwilu;g6^dl-e>WDmLJGs&^yJ4ueh&55 - + @@ -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 47e6c67c9..49ec74371 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 46108ee1b..3ed4c021a 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 cb9ee207b..5bf625dfa 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