-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moved customization options to their own tab
- Loading branch information
Matt LeBel
committed
Feb 2, 2014
1 parent
9f07df3
commit 94309b1
Showing
10 changed files
with
84 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<div id="admin"> | ||
<div class="container content_box clearfix"> | ||
|
||
<%= render 'admin/header', active: 'customize' %> | ||
|
||
<div id="admin_customize_settings"> | ||
|
||
<%= form_for(@settings, url: admin_customize_path, multipart: true, html: { id: "admin_customize_form" }) do |f| %> | ||
|
||
<legend>Customize</legend> | ||
<div id="customize_tools"> | ||
|
||
<div class="field clearfix"> | ||
<p class="explanation">Add your own CSS styles to fully customize the look and feel of your site.</p> | ||
<div id="settings_custom_css_alert" class="alert alert-danger inline-alert" style="display:none;" ></div> | ||
<label>Custom CSS</label> | ||
<%= f.text_area :custom_css, rows: 3, style: "width:400px; height: 200px", :placeholder => "#campaign #funding_area { background: white; }" %> | ||
</div> | ||
|
||
<div class="field clearfix"> | ||
<p class="explanation">Add your own JavaScript here. Use this field to paste in scripts for analytics tracking, retargeting, etc.</p> | ||
<div id="settings_custom_js_alert" class="alert alert-danger inline-alert" style="display:none;" ></div> | ||
<label>Custom JavaScript</label> | ||
<%= f.text_area :custom_js, rows: 3, style: "width:400px; height: 200px", :placeholder => "<script> CODE </script>" %> | ||
</div> | ||
|
||
</div> | ||
</fieldset> | ||
|
||
<div id="settings_custom_alert" class="alert alert-danger box-alert" style="display:none;" ></div> | ||
<%= f.submit "Save", :'class' => "btn btn-primary show_loader", :'data-loader' => "project_form" %> | ||
<span class="loader" data-loader="project_form" style="display:none"></span> | ||
|
||
<% end %> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters