ju57in

view of settings

May 11th, 2014
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rails 8.70 KB | None | 0 0
  1. <div class="container">
  2.     <div class="row-fluid">
  3.         <!-- <div id="jobmargintop"></div> --><div id="topmarginjob"></div>
  4.     <div class="span12 text-center">    <h3>Profile Settings and Company Info</h3>  </div>
  5.     <hr>
  6.         <div class="span12 text-center">
  7.  
  8.  
  9. <%= form_for @company, :url => company_profile_path, :html => {:method => "PUT", :class => "form-stacked", :multipart => true, :validate => false} do |f| %>
  10. <div class= "well">
  11.     <label for="Status">Your Account Type: <span id="joined_on"></span></label>
  12.     <!-- Basic -->
  13.     <% if @company.companypro? %>
  14.      Pro <p>
  15.       <%= link_to "Cancel Pro Subscription", remove_subscription_company_profile_path, :class => "btn btn-small" %>
  16.    <% else %>
  17.    Basic
  18.  
  19.      <h3>
  20.         <button data-amount="1000"
  21.                               data-description="Upgrading to SortBox Pro gives you the Custom Applications and Talent Management System"
  22.                               id="sortboxprobutton"
  23.                               class="btn btn-warning"> Upgrade to Pro for $19.95/month!</button></h3>
  24.                 Upgrade to Pro
  25.                 Do you have a Coupon? <p> Enter that below: --><br>
  26.                 <%= text_field_tag :stripe_coupon %><p>  
  27.                   <div class="span1 offset5">
  28.                 <input value="upgrade" id="entercoupon" class="btn btn-success pull-right" type="submit"></div>
  29.                 <%# end %>
  30.                
  31.     <% end %> <!-- end if company.pro -->
  32. <%# end %> <!-- end form -->
  33.          
  34.          <%# if @company.companypro? %>
  35.          <%# else %>
  36.          
  37.        
  38.          
  39.         <%# end %>
  40.            <br>
  41.       </div> <!-- end well-->
  42.  
  43. <br></br>
  44. <%# end -%>
  45. </div>
  46. <%# end -%>
  47. <%= form_for @company, :url => company_profile_path, :html => {:method => "PUT", :class => "form-stacked", :multipart => true, :validate => true} do |f| %>
  48. <span style="color: #333; margin: 10px 0 5px; font-size: 24px;"> Company Name and Username </span>
  49.  
  50. <div class="well">
  51.     <label for="company_name">Real Company Name: <span id="joined_on"></span></label>
  52.     <%= f.text_field :company_name %>
  53.     <input value="Save" class="btn btn-success pull-right" type="submit">
  54. </div> <!-- end well-->
  55. <%# end %>
  56. <div class="well">
  57. Your Current Username is:
  58.   <h4>
  59. <%= @company.username %> </h4> <p>Your username will also be your careers site ex: username "JerrysCafe" will be sortbox.co/jerryscafe <br></br>
  60.     <div> <a href="#usernamemodal" role="button" class="btn btn-info" data-toggle="modal">Update Username</a>
  61.     </div>
  62.  
  63.  
  64.    <div id="usernamemodal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="usernamemodal"    aria-hidden="true">
  65.      <div class="modal-header">
  66.        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
  67.        <h4 id="usernamemodal">Are you sure?</h4>
  68.      </div>
  69.     <div class="modal-body">
  70.       <div id="updateusername">
  71. Are you absolutely sure you want to change your username?
  72.       </div>
  73.     </div>
  74.     <div class="modal-footer">
  75.       <%= f.text_field :username, :class => "span4", 'data-autocheck-url' => "/api/company/check/username.json" %>
  76.       <%= f.submit "Save", :class => 'btn btn-success', :disable_with => "saving", :style => "display:inline;" %>
  77.         <button class="btn btn-danger" data-dismiss="modal" aria-hidden="true">Cancel</button>
  78.     </div>
  79.   </div> <!--end >
  80.   <input value="Save" class="btn btn-success pull-right" type="submit">
  81.   <br>
  82.  
  83. </div>
  84.  
  85. <! end well-->
  86.     <span style="color: #333; margin: 10px 0 5px; font-size: 24px;"> Company Location </span>
  87. <div class="well">
  88.    <label for"location">City: <span></span></label>
  89.     <%= f.text_field :location %>
  90.  
  91.     <label for="zipcode">Zipcode: <span></span></label>
  92.     <%= f.text_field :zipcode %><p>
  93.     <input value="Save" class="btn btn-success pull-right" type="submit">
  94.     <br>
  95.     </div> <!-- end >
  96.     <span style="color: #333; margin: 10px 0 5px; font-size: 24px;"> About Your Company </span>
  97.     <div class= "well">
  98.       <!<label for="company_description">Company Description: <span></span></label> -->
  99.       <%= f.text_area :company_description, :class => "tinymce", :placeholder => "Tell us a little something about your company..." %>
  100.  
  101.  
  102. <input value="Save" class="btn btn-success pull-right" type="submit">
  103. <br>
  104. </div> <!-- end well-->
  105. <div>
  106.     <span style="color: #333; margin: 10px 0 5px; font-size: 24px;"> Your Company Images </span><br>
  107.    <div class="well">
  108.      
  109.             <label> Company Website:<span class="help"> (optional) </span></label>
  110.                 <%= f.text_field :link, :class => "span5", :placeholder => "http://www.yourcompany.com" %>
  111.             </p>
  112.  
  113.     <% if !@company.logo? %>
  114.           <p>
  115.             <label>Logo/Profile Photo<span class="help"> (optional) </span><span class="help"> (This will be resized to max height 200px)</span>
  116.             <%= f.file_field :logo, :class => "span6" %>
  117.             <%= f.label :remote_logo_url, "or image URL" %>
  118.             <%= f.text_field :remote_logo_url %>
  119.          <%#<%= f.hidden_field :sortboximage_cache %>
  120. </label>
  121.           </p>
  122.     <% else %>
  123. <p>
  124.         <label>Logo/Profile Photo<span class="help"> (optional) </span><span class="help"> (This will be resized to max height 200px)</span>
  125.         <p>
  126.           <%= image_tag(@company.logo_url(:small)) if @company.logo? %>
  127.           <% if @company.logo? %>
  128.         <p>
  129.           <h6>  <%= f.check_box :remove_logo %>
  130.             Remove Logo Image and Save if you wish to upload new image </h6>
  131.           <% end %>
  132.         </label>
  133.    
  134.   <% end %>
  135.  
  136.   <% if !@company.hero? %>
  137.           <p>
  138.           <label>Background Photo/Hero Photo<span class="help"> (optional) </span><span class="help">(1252px wide by 626px tall recommended)</span><br>
  139.             <%= f.file_field :hero, :class => "btn" %>
  140.             <%= f.label :remote_hero_url, "or image URL" %>
  141.             <%= f.text_field :remote_hero_url %>
  142.             </label>
  143.           </p>
  144.   <% else %>
  145.           <p>
  146.             <label>Background Photo/Hero Photo<span class="help"> (optional) </span><span class="help"><h4>(1252px wide by 626px tall recommended)</h4></span>
  147.           <p>
  148.               <%= image_tag @company.hero_url(:small).to_s %>
  149.               <h6><%= f.check_box :remove_hero %>
  150.               Remove Background Image and Save if you wish to upload new image </h6>
  151.   <% end %>
  152. </label>
  153. <input value="Save" class="btn btn-success pull-right" type="submit">
  154. <br>
  155.     </div> <!-- end row fluid-->
  156. </div>
  157. <hr>
  158. <br/>
  159. <span style="color: #333; margin: 10px 0 5px; font-size: 24px;"> Your Information </span>
  160. <div class="well">
  161.     <label for="first_name">First Name: <span id="joined_on"></span></label>
  162.     <%= f.text_field :first_name %>
  163.  
  164.  
  165.     <label for="last_name">Last Name: <span id="joined_on"></span></label>
  166.     <%= f.text_field :last_name %>
  167.  
  168.     <label for="email">Email: <span></span></label>
  169.  
  170.  
  171.     <%= f.email_field :email %> <p>
  172.  
  173.    <input value="Save" class="btn btn-success pull-right" type="submit">
  174.    <br>
  175. </div> <!-- end well-->
  176.  
  177. <span style="color: #333; margin: 10px 0 5px; font-size: 24px;"> Reply Email for Applicants </span>
  178. <div class="well">
  179.     <label for="reply_email">Email: <span></span></label>
  180.    
  181.     <%= f.email_field :reply_email %> <p>
  182.  
  183.     <input value="Save" class="btn btn-success pull-right" type="submit">
  184.     <br>
  185.     </div>
  186.  
  187.     <br>
  188.     <span style="color: #333; margin: 10px 0 5px; font-size: 24px;"> Notifications </span>
  189. <div class="well">
  190. <h5> Email Notifications of new People in your Sortbox</h5>
  191.       <label>
  192.         <%= f.check_box :send_notifications %>
  193.         Please send me email notifications.
  194.       </label>
  195.     </div> <!-- end well-->
  196.     <span style="color: #333; margin: 10px 0 5px; font-size: 24px;"> Security </span>
  197.     <div class="well">
  198.             <h5>To change your current password please enter a new password below.</h5>
  199.  
  200.  
  201.               <label for="password">Password: <span>Leave blank to keep current</span></label>
  202.               <%= f.password_field :password %>
  203.  
  204.               <label for="confirm_password">Confirm Password:</label>
  205.               <%= f.password_field :password_confirmation %>
  206.               <p>
  207.               <input value="Save" class="btn btn-success pull-right" type="submit">
  208.               <br>
  209.     </div> <!-- end well-->
  210.    
  211.            <br>
  212. </div>
  213.  
  214.  
  215.          
  216.        
  217.         </div>
  218.      <!-- end span7 offset3 -->
  219.  
  220. <% end %>
  221. <%# end %>
  222. <% end %>
  223.  </p>
  224.     <script src="/assets/tinymce/preinit.js?body=1" type="text/javascript"></script>
  225.     <script src="/assets/tinymce/tiny_mce_jquery_src.js?body=1" type="text/javascript"></script>
  226.     <script src="/assets/tinymce/jquery.tinymce.js?body=1" type="text/javascript"></script>
  227.     <script src="/assets/tinymce-jquery.js?body=1" type="text/javascript"></script>
  228.  <p>
  229.  
  230. <%= tinymce %>
  231. </p>
  232.  
  233.  
  234. </div>
  235.  
  236. </div>
  237. </div>
  238. </div>
Advertisement
Add Comment
Please, Sign In to add comment