From a3f1b8d54ab731c3ffae6958429cdc634813049c Mon Sep 17 00:00:00 2001 From: saurabhbhatia Date: Thu, 5 Sep 2013 18:05:32 +0800 Subject: [PATCH] Updated Preferences in Site Info --- app/assets/images/orbitbar-theme_A.png | Bin 0 -> 6965 bytes app/assets/images/orbitbar-theme_B.png | Bin 0 -> 7750 bytes app/views/admin/sites/preference.html.erb | 80 +++++++++++++--------- 3 files changed, 47 insertions(+), 33 deletions(-) create mode 100755 app/assets/images/orbitbar-theme_A.png create mode 100755 app/assets/images/orbitbar-theme_B.png diff --git a/app/assets/images/orbitbar-theme_A.png b/app/assets/images/orbitbar-theme_A.png new file mode 100755 index 0000000000000000000000000000000000000000..1c9b4309365281247f15673b5afed12e862e4530 GIT binary patch literal 6965 zcmaJ`by$?$wns%$LQqPC0Ys4Q7#KRGyPKhzfnn(G?nY`5r9nVpKZL)n2F8D;Iq5-vksuu*^#3wSUqu}x z4M#vh{2aXOR$ScNAOQgmZa#hi0d6)B4;MENCl~M$VCUuo^9z7^1VR6P=mBjAYa6hp zjNHF<0dEj`J0#Kt%*pBL>B-^A%K=B&a&ij`3;&V9!@~|xu)BG~kQQF-FgJ$3CCEVC ztPu7tNP9R8^hctFCEOhep$9De*Akpv{v#IV_U~;1HjLBD!iAHYgX_IQd5SOJc+VfdrU1uTt#S|H&FZ8+TN?_E^4gCpT? zc5oMvw3YyfS;fN29`Yj}{wHvOm;Z!56b8gQ z0toDHiR}j%80002GLqU}3;QPC#@h1D&X@)|IZtJXi8G0DNixu}N^viZL*)ntO26@l z^=5W&r#|3hxa8s0V8R_Zisuc*f6fr)>dm3?Iszla;&GB}nvR5k{fwLh>f;JZ>B#uw ztIabkg2f;5x0lOCjm?)8SF=;`VRH`}_M~5fNcStOK^W?`vHZ6&394 z?DO=s=8ncKfh=rnm1Y58W@fuWy-ThJy?5pvAw8?1`3lc=cXD!-uJI4pvdA)CIyxrZ zH~L0(zhD&Zw&$RwvnssZi(9B z+?TUa2<(y?v$o~wX`Ray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GfgcUI%m>Jt%oX1TCx=^*P-J>Qhc#A_9zVWJYyJUEb1tw-?M5F2=Oo>4+TYPUZ=TwA*{{*op~!_M9wmw@1aKWj{?q&)mc zQC%;2)iFLUZrS$;f{h)C`a$;Ov%LqGh~*^EU82Tt`0<$Q0SxK%6d9ejzmDp|H-G3P+K#to%z~a*tL9qQ;9kTx_E3JYMM;RFw6%}O`Z~=|tlOjMB z7148Zb2BhVH{~_6_DC=j#T0N`MGUKeuwodeMIYBSG-McV$~%9577PF^8Y`jQNd-(< z*Y%@fRx2v6TY|lnm4S=H+#GayFLQ{Wn>#qy)^lwCu{mw2yPdLEUs_t)_O{(7PiiJ3f$V9Q8by1B8@^zoxxH)&k^kxMZrw7f)K zAj}e{-_P#s{d>O69Sz!t@riL^W5OJ<<0U#=}_WUUCX#O-zt5 zU}ZT27+R=q)A{8h4-or5cc;TT*0wo}(Mdp0eFVUYVBa$*US8hkZ^I&m+;_DlC4-B^ zV*Cri60zMORj#tGm!~^o<{n@K0s*usyc9I0ESXlewp+kPG0@X1D=S9@Wai()*0}+o zQa%BJPEtgVgo3PTeG<^(=jU^@B;*1pBHMNn#mUod@$!I;>eCzJrlzJR0!~86?WEz% zBT?^@XMB98gXyf)$Hw^Xk2CYwc?eZ_!2DCU9G_1F!InBQ*h9v*U09S`BcMLXAJ^W5im zOrDWB#k1mV!drD2`k%|*YnjmTAx*`6w!DP0kC~NXt(UdznE3?)o&UidmdcXY^xv6} j3!2XkzKFafH^;bP!Cs-noDBH$N0y?js!X+%dC30&;nNX} literal 0 HcmV?d00001 diff --git a/app/assets/images/orbitbar-theme_B.png b/app/assets/images/orbitbar-theme_B.png new file mode 100755 index 0000000000000000000000000000000000000000..81330799526af463fc76635de53f969bc5c7c925 GIT binary patch literal 7750 zcmaKRWmH_v((d3AB!NJ11`7lm95T2|aCaL92{JGYE+Hhi3=-TSSdc)1YjC#^WN<Ydz4qF>yH`C=Rd?0u-Bmk6Q(ch|p9&uU01zrG$!P-sXeSSCH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g&bocC+5rTYPS}cXnBw1=X zS>+cmt^ZT3Z~X!U3A2(!MA_;pz|MQEFgXk8V*>I6+HW@}PC0~%pL0eLFeDPVY?2c_ zTY4?wa~Z0%*W#REI(gt*uj1n7M`JOeW(ItTWSs(e7AHRL-W~!!CYa}lW@;ieC|f0# z_-b#HmUv#=TRH3R6?@`qFgb{&2alRxJHtN{wpe4Mim|OW{2n@aXd1(4vMEg5(8J~8 z_U?M2r+1$5S-c_YXhv^?%gl&(W^zzG&-e4d;?^OS5l6i@r^D3NJ?I-C?jYt}^`!&o Q@1I>|d3Cu;8Oz}R0~Q>h_W%F@ literal 0 HcmV?d00001 diff --git a/app/views/admin/sites/preference.html.erb b/app/views/admin/sites/preference.html.erb index 07159eafb..f7e8b2e48 100644 --- a/app/views/admin/sites/preference.html.erb +++ b/app/views/admin/sites/preference.html.erb @@ -13,8 +13,8 @@ - -
+<%= form_for @site, :url => admin_site_path(@site), :html => {:class => "form-horizontal main-forms"} do |f| %> +
@@ -36,7 +36,7 @@ Language
  • - OrbitBar Them + OrbitBar Theme
  • @@ -54,72 +54,76 @@ + <%= f.fields_for :site_settings, @site['site_settings'] do |f| %> +
    - +
    - + <%= f.text_field :address, :value => (@site['site_settings']['address'] rescue nil), :class=>"input-large", :placeholder=>"Email Address" %>
    - +
    - + <%= f.text_field :port, :value => (@site['site_settings']['port'] rescue nil), :class=>"input-large", :placeholder=>"Domain" %>
    - +
    - + <%= f.text_field :authentication, :value => (@site['site_settings']['authentication'] rescue nil), :class=>"input-large", :placeholder =>"Authentication" %>
    - +
    - + <%= f.text_field :user_name, :value => (@site['site_settings']['user_name'] rescue nil), :class=>"input-large", :placeholder=>"User Name" %>
    - +
    - + <%= f.text_field :password, :value => (@site['site_settings']['password'] rescue nil), :class=>"input-large", :placeholder=>"Password" %>
    - +
    - + <%= f.text_field :port, :value => (@site['site_settings']['port'] rescue nil),:placeholder=>"Port", :class=>"input-mini" %>
    - +
    - + <%= f.check_box :tls, :checked => (@site['site_settings']['tls'].eql?('1') rescue false),:class=>"toggle-check" %>
    - +
    - + <%= f.check_box 'enable_starttls_auto', :checked => (@site['site_settings']['enable_starttls_auto'].eql?('1') rescue false), :class=>"toggle-check" %>
    + <% end %> +
    - +
    - + <%= f.check_box :frontend_closed , :class=>"toggle-check"%> Only can be viewed by users logged in
    - +
    - + <%= f.check_box :backend_openness_on , :class=>"toggle-check" %> All users can visit backend pages
    @@ -165,18 +169,28 @@
    - + <% if @site.default_image %> + <%= image_tag( @site.default_image, :size=>"120x120") rescue ''%> + <% else %> + + <% end %>
    - Select image - Change - + <%= f.file_field :default_image, :id => "input-upload", :class => 'fileupload-new', :onchange => "document.getElementById('fu').innerHTML = this.form.fu.value = this.value;" %>Select Image + <% if @site.default_image.file.present?%> + <%= f.file_field :default_image, :id => "input-upload", :class => 'fileupload-new', :onchange => "document.getElementById('fu').innerHTML = this.form.fu.value = this.value;" %>Change + <%end%> Cancel
    @@ -194,11 +208,11 @@
    • - + <%= image_tag "orbitbar-theme_A.png", :alt =>""%>
    • - + <%= image_tag "orbitbar-theme_B.png", :alt =>""%>
    @@ -210,9 +224,9 @@
    - - + <%= f.submit t("submit"), :class => "btn btn-primary" %> + <%= f.submit t("cancel"), :class => "btn ", :type => 'reset' %>
    -
    \ No newline at end of file +<%end%> \ No newline at end of file