fix column width and plugin styles
This commit is contained in:
parent
ee05bbd102
commit
75ac3db89a
@ -4,9 +4,11 @@
|
||||
<h4 class="breadcrumb"><%= t(:watched_channels) %></h4>
|
||||
|
||||
<% if @channels.empty? %>
|
||||
<div class="col-pad">
|
||||
<%= t(:watched_empty) %>
|
||||
<br><br>
|
||||
<%= link_to t(:watched_find), public_channels_path %>
|
||||
</div>
|
||||
<% else %>
|
||||
<%= render :partial => 'list' %>
|
||||
<% end %>
|
||||
|
@ -18,24 +18,12 @@
|
||||
|
||||
<ol class="breadcrumb" data-no-turbolink>
|
||||
<li><%= link_to t(:plugins), plugins_path %></li>
|
||||
<li><%= link_to plugin_path(@plugin.id) do %><%= t(:plugin) %> <%= @plugin.id %><% end %></li>
|
||||
<li><%= link_to plugin_path(@plugin.id), target: '_blank' do %><%= t(:plugin) %> <%= @plugin.id %><% end %></li>
|
||||
<li class="active"><%= t(:edit) %></li>
|
||||
</ol>
|
||||
|
||||
<%= form_for @plugin, :html => {:method => 'put', :class => 'form-horizontal'} do |c| %>
|
||||
<%= error_messages_for 'plugin', :header_message => t(:try_again), :message => t(:plugin_error) %>
|
||||
<input name='userlogin' class='userlogin' />
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-2 col-sm-10 col-xs-12">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<%= c.check_box :private_flag %>
|
||||
<%= t(:plugin_private_flag) %>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 col-xs-12 control-label"><%= t(:plugin_name) %></label>
|
||||
@ -57,6 +45,17 @@
|
||||
<div class="col-sm-10 col-xs-12"><%= c.text_area :js, :class => 'form-control', :rows => 14 %></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-2 col-sm-10 col-xs-12">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<%= c.check_box :private_flag %>
|
||||
<b><%= t(:plugin_private_flag) %></b>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label"></label>
|
||||
<div class="col-sm-10"><p class="form-control-static"><%= c.submit t(:plugin_save), :class => 'btn btn-primary' %></p></div>
|
||||
|
@ -3,6 +3,8 @@
|
||||
|
||||
<h4 class='breadcrumb'><%= t(:plugins) %></h4>
|
||||
|
||||
<div class="col-pad">
|
||||
|
||||
<%= link_to t(:plugin_new), new_plugin_path, class: 'btn btn-primary' %>
|
||||
<br><br>
|
||||
|
||||
@ -38,6 +40,7 @@
|
||||
<% end %>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="sidebar" class="col-xs-12 col-sm-6">
|
||||
<h4 class="breadcrumb"><%= t(:help) %></h4>
|
||||
|
@ -6,6 +6,7 @@
|
||||
<li class="active"><%= t(:new) %></li>
|
||||
</ol>
|
||||
|
||||
<div class="col-pad">
|
||||
<h3><%= t(:plugin_new) %></h3>
|
||||
<br>
|
||||
<div><%= t(:plugin_new_message) %></div>
|
||||
@ -43,7 +44,7 @@
|
||||
<% end %>
|
||||
<br>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="sidebar" class="col-xs-12 col-sm-6">
|
||||
|
@ -6,6 +6,7 @@
|
||||
<li class="active"><%= t(:account_edit) %></li>
|
||||
</ol>
|
||||
|
||||
<div class="col-pad">
|
||||
<%= form_for @user, :url => account_path, :html => {:class => 'form-horizontal'} do |f| %>
|
||||
<%= error_messages_for 'user', :header_message => t(:try_again), :message => t(:account_error_edit) %>
|
||||
<input name='userlogin' class='userlogin' />
|
||||
@ -47,6 +48,7 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br><br>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<li class="active"><%= t(:profile_edit) %></li>
|
||||
</ol>
|
||||
|
||||
|
||||
<div class="col-pad">
|
||||
<%= form_for @user, :url => update_profile_path, :html => {:class => 'form-horizontal'} do |f| %>
|
||||
<input name='userlogin' class='userlogin' />
|
||||
|
||||
@ -40,4 +40,5 @@
|
||||
<% end %>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user