218 lines
9.8 KiB
Plaintext
218 lines
9.8 KiB
Plaintext
<% content_for :side_bar do %>
|
|
<%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('site.settings'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-cog', :side_bar_content => 'admin/sites/side_bar'} %>
|
|
<% end %>
|
|
|
|
<head>
|
|
<%= stylesheet_link_tag "lib/wrap-nav"%>
|
|
<%= stylesheet_link_tag "lib/main-forms"%>
|
|
<%= stylesheet_link_tag "lib/fileupload"%>
|
|
<%= stylesheet_link_tag "lib/togglebox"%>
|
|
|
|
<%= javascript_include_tag 'lib/bootstrap-fileupload' %>
|
|
<%= javascript_include_tag 'lib/site_set' %>
|
|
</head>
|
|
|
|
|
|
<!-- Forms -->
|
|
<form class="form-horizontal main-forms">
|
|
<fieldset>
|
|
|
|
|
|
<!-- Input Area -->
|
|
<div class="input-area">
|
|
|
|
<div class="nav-name"><strong>Classification</strong></div>
|
|
<ul class="nav nav-pills language-nav">
|
|
<li class="active">
|
|
<a href="#sidebar-nav" data-toggle="tab">Sidebar Nav</a>
|
|
</li>
|
|
<li>
|
|
<a href="#system-email" data-toggle="tab">System Email</a>
|
|
</li>
|
|
<li>
|
|
<a href="#openness" data-toggle="tab">Openness</a>
|
|
</li>
|
|
<li>
|
|
<a href="#language-set" data-toggle="tab">Language</a>
|
|
</li>
|
|
<li>
|
|
<a href="#orbitBar-them" data-toggle="tab">OrbitBar Them</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<div class="tab-content">
|
|
|
|
<!-- Sidebar Nav -->
|
|
<div id="sidebar-nav" class="tab-pane fade in active">
|
|
<div class="control-group">
|
|
<label class="control-label muted">Enable Sidebar Sub Nav</label>
|
|
<div class="controls">
|
|
<input type="checkbox" class="toggle-check set-sidebar-state" data-disabled="true">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- System Email -->
|
|
<div id="system-email" class="tab-pane fade">
|
|
|
|
<div class="control-group">
|
|
<label class="control-label muted">Email Address</label>
|
|
<div class="controls">
|
|
<input type="text" placeholder="Email Address" class="input-large">
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label muted">Domain</label>
|
|
<div class="controls">
|
|
<input type="text" placeholder="Domain" class="input-large">
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label muted">Authentication</label>
|
|
<div class="controls">
|
|
<input type="text" placeholder="Authentication" class="input-large">
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label muted">User Name</label>
|
|
<div class="controls">
|
|
<input type="text" placeholder="User Name" class="input-large">
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label muted">Password</label>
|
|
<div class="controls">
|
|
<input type="text" placeholder="Password" class="input-large">
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label muted">Port</label>
|
|
<div class="controls">
|
|
<input type="text" placeholder="Port" class="input-mini">
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label muted">TLS</label>
|
|
<div class="controls">
|
|
<input type="checkbox" class="toggle-check" data-disabled="true">
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label muted">Enable Start TLS Auto</label>
|
|
<div class="controls">
|
|
<input type="checkbox" class="toggle-check" data-disabled="true">
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- Openness -->
|
|
<div id="openness" class="tab-pane fade">
|
|
<div class="control-group">
|
|
<label class="control-label muted">Close frontend pages</label>
|
|
<div class="controls">
|
|
<input type="checkbox" class="toggle-check" data-disabled="true">
|
|
<span class="help-block">Only can be viewed by users logged in</span>
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label muted">Open backend</label>
|
|
<div class="controls">
|
|
<input type="checkbox" class="toggle-check" data-disabled="true">
|
|
<span class="help-block">All users can visit backend pages</span>
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label muted">Disable personal desktop</label>
|
|
<div class="controls">
|
|
<input type="checkbox" class="toggle-check" data-disabled="true">
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- Language -->
|
|
<div id="language-set" class="tab-pane fade">
|
|
<div class="control-group">
|
|
<label class="control-label muted">Enable User Language Detection</label>
|
|
<div class="controls">
|
|
<input type="checkbox" class="toggle-check" data-disabled="true">
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label muted">Default Language</label>
|
|
<div class="controls">
|
|
<input type="radio" name="def-lang" class="toggle-check" data-disabled="true" data-title="English" checked="checked">
|
|
<input type="radio" name="def-lang" class="toggle-check" data-disabled="true" data-title="Chinese">
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label muted">Enable Language</label>
|
|
<div class="controls">
|
|
<input type="checkbox" class="toggle-check" data-disabled="true" data-title="English">
|
|
<input type="checkbox" class="toggle-check" data-disabled="true" data-title="Chinese">
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- OrbitBar Them -->
|
|
<div id="orbitBar-them" class="tab-pane fade">
|
|
<div class="control-group">
|
|
<label class="control-label muted">OrbitBar Logo Icon</label>
|
|
<div class="controls">
|
|
<!-- if this page editing please add class "fileupload-edit" -->
|
|
<div class="fileupload fileupload-new clearfix" data-provides="fileupload">
|
|
<div class="fileupload-new thumbnail pull-left">
|
|
<img src="">
|
|
</div>
|
|
<div class="fileupload-preview fileupload-exists thumbnail pull-left"></div>
|
|
<span class="btn btn-file">
|
|
<span class="fileupload-new">Select image</span>
|
|
<span class="fileupload-exists">Change</span>
|
|
<input type="file">
|
|
</span>
|
|
<a href="#" class="btn fileupload-exists" data-dismiss="fileupload">Cancel</a>
|
|
<div class="controls" data-toggle="buttons-checkbox">
|
|
<label class="checkbox inline btn btn-danger fileupload-remove">
|
|
<input type="checkbox" value="true"> Remove
|
|
</label>
|
|
</div>
|
|
</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">
|
|
<img src="/orbit_4.0.1/assets/images/orbitbar-theme_A.png" alt="">
|
|
</li>
|
|
<li>
|
|
<input type="radio" class="ob-theme" name="ob-theme">
|
|
<img src="/orbit_4.0.1/assets/images/orbitbar-theme_B.png" alt="">
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<!-- Form Actions -->
|
|
<div class="form-actions">
|
|
<button type="submit" class="btn btn-primary">Save</button>
|
|
<button type="button" class="btn">Cancel</button>
|
|
</div>
|
|
|
|
</fieldset>
|
|
</form> |