Updated Preference Page

This commit is contained in:
saurabhbhatia 2013-09-09 11:27:18 +08:00
parent 0eeb7db1a8
commit 865be29b37
1 changed files with 3 additions and 23 deletions

View File

@ -182,9 +182,10 @@
</div>
<div class="fileupload-preview fileupload-exists thumbnail pull-left"></div>
<span class="btn btn-file">
<%= 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
<%else%>
<%= f.file_field :default_image, :id => "input-upload", :class => 'fileupload-new', :onchange => "document.getElementById('fu').innerHTML = this.form.fu.value = this.value;" %>Select Image
<%end%>
</span>
<a href="#" class="btn fileupload-exists" data-dismiss="fileupload">Cancel</a>
@ -201,27 +202,6 @@
</div>
</div>
</div>
<div class="control-group">
<label class="control-label muted">OrbitBar Hide OrbitBar</label>
<div class="controls">
<input type="checkbox" class="toggle-check" data-disabled="true">
</div>
</div>
<div class="control-group">
<label class="control-label muted">Select OrbitBar Theme</label>
<div class="controls">
<ul class="orbitbar-themes">
<li class="active">
<input type="radio" class="ob-theme" name="ob-theme" checked="checked">
<%= image_tag "orbitbar-theme_A.png", :alt =>""%>
</li>
<li>
<input type="radio" class="ob-theme" name="ob-theme">
<%= image_tag "orbitbar-theme_B.png", :alt =>""%>
</li>
</ul>
</div>
</div>
</div>
</div>