Delete useless files
This commit is contained in:
		
							parent
							
								
									62aaf79491
								
							
						
					
					
						commit
						210a7fde48
					
				| 
						 | 
				
			
			@ -1,278 +0,0 @@
 | 
			
		|||
html, body{
 | 
			
		||||
    height: 100%;
 | 
			
		||||
    margin: 0;
 | 
			
		||||
    padding: 0;
 | 
			
		||||
}
 | 
			
		||||
html{
 | 
			
		||||
    background: url(<%= asset_path "body.jpg" %>) no-repeat scroll 0 0 transparent;
 | 
			
		||||
	background-size: cover;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
body{
 | 
			
		||||
    color: #000000;
 | 
			
		||||
    font-family: Helvetica, '微軟正黑體';
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#panel_banner_link{
 | 
			
		||||
    background: url(<%= asset_path "orbitbar1.png" %>) repeat-x scroll 0 0;
 | 
			
		||||
    height: 50px;
 | 
			
		||||
    left: 0;
 | 
			
		||||
    position: fixed;
 | 
			
		||||
    top: 0;
 | 
			
		||||
    width: 100%;
 | 
			
		||||
	z-index: 5;
 | 
			
		||||
}
 | 
			
		||||
.hmenu{
 | 
			
		||||
    height: 40px;
 | 
			
		||||
    position: absolute;
 | 
			
		||||
    right: 0;
 | 
			
		||||
    top: 1px;
 | 
			
		||||
    width: 250px;
 | 
			
		||||
}
 | 
			
		||||
#orbit{
 | 
			
		||||
    background: url(<%= asset_path "bar_orbit.png" %>) no-repeat scroll 0 0 transparent;
 | 
			
		||||
	cursor:pointer;
 | 
			
		||||
    height: 43px;
 | 
			
		||||
    left: 10px;
 | 
			
		||||
    position: relative;
 | 
			
		||||
    width: 41px;
 | 
			
		||||
}
 | 
			
		||||
#orbit:hover{
 | 
			
		||||
	background-position:0 -43px;
 | 
			
		||||
    box-shadow: 0 3px 3px #000000;
 | 
			
		||||
}
 | 
			
		||||
#orbit:hover #orblist{
 | 
			
		||||
	display:block;
 | 
			
		||||
}
 | 
			
		||||
#orblist{
 | 
			
		||||
    background: none repeat scroll 0 0 #FFFFFF;
 | 
			
		||||
    border-radius: 0 3px 3px 3px;
 | 
			
		||||
    box-shadow: 0 3px 3px #000000;
 | 
			
		||||
    display: none;
 | 
			
		||||
    margin: 0;
 | 
			
		||||
    padding: 10px;
 | 
			
		||||
    position: absolute;
 | 
			
		||||
    top: 43px;
 | 
			
		||||
    width: 130px;
 | 
			
		||||
}
 | 
			
		||||
#orblist li{
 | 
			
		||||
	border-bottom:1px solid #aaa;
 | 
			
		||||
	list-style:none;
 | 
			
		||||
}
 | 
			
		||||
.orblink{
 | 
			
		||||
    color: #333333;
 | 
			
		||||
    display: block;
 | 
			
		||||
    font: 12px/100% arial,sans-serif;
 | 
			
		||||
    padding: 5px;
 | 
			
		||||
    text-decoration: none;
 | 
			
		||||
}
 | 
			
		||||
.orblink:hover{
 | 
			
		||||
	background:#eee;
 | 
			
		||||
	color:#333;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#log_out a{
 | 
			
		||||
    background: url(<%= asset_path "service_btn.png" %>) no-repeat scroll right 0 transparent;
 | 
			
		||||
    border: medium none !important;
 | 
			
		||||
    display: block !important;
 | 
			
		||||
    height: 40px !important;
 | 
			
		||||
    line-height: normal !important;
 | 
			
		||||
    padding: 0 !important;
 | 
			
		||||
    position: absolute;
 | 
			
		||||
    right: 0px;
 | 
			
		||||
    text-indent: -10000px;
 | 
			
		||||
    top: 0px;
 | 
			
		||||
    width: 43px !important;
 | 
			
		||||
}
 | 
			
		||||
#log_out a:hover{
 | 
			
		||||
    background: url(<%= asset_path "service_btn.png" %>) no-repeat scroll right bottom transparent !important;
 | 
			
		||||
}
 | 
			
		||||
.lang{
 | 
			
		||||
    color: #FFFFFF;
 | 
			
		||||
    font-size: 15px;
 | 
			
		||||
    line-height: 40px;
 | 
			
		||||
    position: absolute;
 | 
			
		||||
    right: 55px;
 | 
			
		||||
    top: 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.lang a{
 | 
			
		||||
	color:#fff;
 | 
			
		||||
	text-decoration:none;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.lang a:hover{
 | 
			
		||||
	text-decoration:underline;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#content{
 | 
			
		||||
    height: 100%;
 | 
			
		||||
}
 | 
			
		||||
#sidebar {
 | 
			
		||||
	background: url(<%= asset_path "75.png" %>) repeat scroll left top transparent;
 | 
			
		||||
	box-shadow: 3px 0 4px #472A12;
 | 
			
		||||
	border-right: 1px solid #121212;
 | 
			
		||||
	height: 100%;
 | 
			
		||||
	left: 0;
 | 
			
		||||
	position: fixed;
 | 
			
		||||
	top: 0;
 | 
			
		||||
	width: 220px;
 | 
			
		||||
}
 | 
			
		||||
#search {
 | 
			
		||||
    background: url(<%= asset_path "search_block_bg.jpg" %>) repeat-x scroll left top transparent;
 | 
			
		||||
    height: 20px;
 | 
			
		||||
    margin-top: 43px;
 | 
			
		||||
    padding: 15px 12px;
 | 
			
		||||
}
 | 
			
		||||
#search input {
 | 
			
		||||
    background: url(<%= asset_path "search_bg.png" %>) no-repeat scroll left top transparent;
 | 
			
		||||
    border: medium none;
 | 
			
		||||
    font-family: Helvetica;
 | 
			
		||||
    height: 20px;
 | 
			
		||||
    padding: 0 20px;
 | 
			
		||||
    width: 154px;
 | 
			
		||||
}
 | 
			
		||||
h1 {
 | 
			
		||||
    background: url(<%= asset_path "h1_bg.png" %>) repeat-x scroll left top transparent;
 | 
			
		||||
    border-bottom: 1px solid #1B1B1B;
 | 
			
		||||
    border-top: 1px solid #424344;
 | 
			
		||||
    color: #FFFFFF;
 | 
			
		||||
    font-size: 12px;
 | 
			
		||||
    font-weight: normal;
 | 
			
		||||
    height: 21px;
 | 
			
		||||
    line-height: 21px;
 | 
			
		||||
    margin: 0;
 | 
			
		||||
    padding-left: 10px;
 | 
			
		||||
    text-shadow: 0 -1px 0 #000000;
 | 
			
		||||
}
 | 
			
		||||
.member_setup .list {
 | 
			
		||||
	color:#fff;
 | 
			
		||||
	font-size:12px;
 | 
			
		||||
	background:url(<%= asset_path "line.png" %>) repeat-x left bottom;
 | 
			
		||||
}
 | 
			
		||||
.member_setup .list li {
 | 
			
		||||
	background:url(<%= asset_path "sidebar_li.jpg" %>) repeat-x left top;
 | 
			
		||||
	border-top:1px solid #424344;
 | 
			
		||||
	border-bottom:1px solid #000000;
 | 
			
		||||
}
 | 
			
		||||
.member_setup .list li:hover {
 | 
			
		||||
	background-position:left bottom;
 | 
			
		||||
	border-top:1px solid #406cc3;
 | 
			
		||||
	border-bottom:1px solid #242628;
 | 
			
		||||
}
 | 
			
		||||
.member_setup .list li a {
 | 
			
		||||
	display: block;
 | 
			
		||||
    padding: 7px 0 6px 12px;
 | 
			
		||||
	color:#c4c4c4;
 | 
			
		||||
}
 | 
			
		||||
.member_setup .list li a span {
 | 
			
		||||
	background:url(<%= asset_path "add_mamber.png" %>) left top no-repeat;
 | 
			
		||||
	text-shadow: 0px 1px 0px #000;
 | 
			
		||||
	line-height: 18px;
 | 
			
		||||
	padding: 2px 0 1px 35px;
 | 
			
		||||
}
 | 
			
		||||
.member_setup .list li a:hover span {
 | 
			
		||||
	background-position:left bottom;
 | 
			
		||||
	color:#eeeeee;
 | 
			
		||||
}
 | 
			
		||||
.users .list .set_1 {
 | 
			
		||||
	background-position:left bottom;
 | 
			
		||||
	border-top:1px solid #406cc3;
 | 
			
		||||
	border-bottom:1px solid #242628;
 | 
			
		||||
}
 | 
			
		||||
.users .list .set_1 a span {
 | 
			
		||||
	background-position:left bottom;
 | 
			
		||||
	color:#eeeeee;
 | 
			
		||||
}
 | 
			
		||||
.user_role_models .list .set_2 {
 | 
			
		||||
	background-position:left bottom;
 | 
			
		||||
	border-top:1px solid #406cc3;
 | 
			
		||||
	border-bottom:1px solid #242628;
 | 
			
		||||
}
 | 
			
		||||
.user_role_models .list .set_2 a span {
 | 
			
		||||
	background-position:left bottom;
 | 
			
		||||
	color:#eeeeee;
 | 
			
		||||
}
 | 
			
		||||
.user_info_models .list .set_3 {
 | 
			
		||||
	background-position:left bottom;
 | 
			
		||||
	border-top:1px solid #406cc3;
 | 
			
		||||
	border-bottom:1px solid #242628;
 | 
			
		||||
}
 | 
			
		||||
.user_info_models .list .set_3 a span {
 | 
			
		||||
	background-position:left bottom;
 | 
			
		||||
	color:#eeeeee;
 | 
			
		||||
}
 | 
			
		||||
.main {
 | 
			
		||||
	height: 100%;
 | 
			
		||||
	margin-left: 260px;
 | 
			
		||||
	padding-right: 40px;
 | 
			
		||||
	position: relative;
 | 
			
		||||
}
 | 
			
		||||
.main_list {
 | 
			
		||||
    padding-top: 70px;
 | 
			
		||||
}
 | 
			
		||||
.main_list ul {
 | 
			
		||||
	clear:both;
 | 
			
		||||
}
 | 
			
		||||
#porfile {
 | 
			
		||||
	padding-top: 100px;
 | 
			
		||||
}
 | 
			
		||||
/*add_buttom*/
 | 
			
		||||
.button_bar {
 | 
			
		||||
	float: right;
 | 
			
		||||
	-moz-box-shadow:inset 0px 1px 0px 0px #666, 0px 0px 3px black;
 | 
			
		||||
	-webkit-box-shadow:inset 0px 1px 0px 0px #666, 0px 0px 3px black;
 | 
			
		||||
	box-shadow:inset 0px 1px 0px 0px #666, 0px 0px 3px black;
 | 
			
		||||
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #4f4f4f), color-stop(1, #000000) );
 | 
			
		||||
	background:-moz-linear-gradient( center top, #4f4f4f 5%, #000000 100% );
 | 
			
		||||
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#4f4f4f', endColorstr='#000000');
 | 
			
		||||
	background-color:#4f4f4f;
 | 
			
		||||
	-moz-border-radius:5px;
 | 
			
		||||
	-webkit-border-radius:5px;
 | 
			
		||||
	border-radius:5px;
 | 
			
		||||
	display:inline-block;
 | 
			
		||||
	padding:0;
 | 
			
		||||
	margin:10px 0;
 | 
			
		||||
}
 | 
			
		||||
.button_bar a {
 | 
			
		||||
	text-decoration:none;
 | 
			
		||||
	text-shadow:0px -1px 0px #000000;
 | 
			
		||||
	font-size:12px;
 | 
			
		||||
	color:#EDEDED;
 | 
			
		||||
	border-right:1px solid #555;
 | 
			
		||||
	-moz-box-shadow:1px 0px 0px black;
 | 
			
		||||
	-webkit-box-shadow:1px 0px 0px black;
 | 
			
		||||
	box-shadow:1px 0px 0px black;
 | 
			
		||||
	padding: 6px 10px 4px;
 | 
			
		||||
	display: inline-block;
 | 
			
		||||
	float: left;
 | 
			
		||||
}
 | 
			
		||||
.button_bar a:active {
 | 
			
		||||
	padding: 7px 10px 3px;
 | 
			
		||||
	text-shadow:0px 1px 0px #000000;
 | 
			
		||||
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #000000), color-stop(1, #4f4f4f) );
 | 
			
		||||
	background:-moz-linear-gradient( center top, #000000 5%, #4f4f4f 100% );
 | 
			
		||||
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#4f4f4f');
 | 
			
		||||
}
 | 
			
		||||
.button_bar a:last-child {
 | 
			
		||||
	border-right:none;
 | 
			
		||||
	-moz-box-shadow:none;
 | 
			
		||||
	-webkit-box-shadow:none;
 | 
			
		||||
	box-shadow:none;
 | 
			
		||||
	-moz-border-radius:0px 5px 5px 0px;
 | 
			
		||||
	-webkit-border-radius:0px 5px 5px 0px;
 | 
			
		||||
	border-radius:0px 5px 5px 0px;
 | 
			
		||||
}
 | 
			
		||||
.button_bar a:first-child {
 | 
			
		||||
	-moz-border-radius:5px 0px 0px 5px;
 | 
			
		||||
	-webkit-border-radius:5px 0px 0px 5px;
 | 
			
		||||
	border-radius:5px 0px 0px 5px;
 | 
			
		||||
}
 | 
			
		||||
.button_bar a.new {
 | 
			
		||||
	-moz-border-radius:5px;
 | 
			
		||||
	-webkit-border-radius:5px;
 | 
			
		||||
	border-radius:5px;
 | 
			
		||||
}
 | 
			
		||||
.button_bar a:hover {
 | 
			
		||||
	color:#FFFFFF;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -1,14 +0,0 @@
 | 
			
		|||
<% content_for :secondary do %>
 | 
			
		||||
	<%= render 'side_bar' %>
 | 
			
		||||
<% end %>
 | 
			
		||||
 | 
			
		||||
<div id="porfile">
 | 
			
		||||
	<%= form_for @user, :url => admin_user_path(@user), :html => { :multipart => true } do |f| %>
 | 
			
		||||
    <%= f.error_messages %>
 | 
			
		||||
    <%= render :partial => 'form', :locals => { :f => f } %>
 | 
			
		||||
    <div class="button_bar">
 | 
			
		||||
		<%= link_to t('update'), "#", :onclick=>"$('#edit_user_#{@user.id}').submit()" %>
 | 
			
		||||
    	<%= link_back %>
 | 
			
		||||
    </div>
 | 
			
		||||
  <% end -%>
 | 
			
		||||
</div>
 | 
			
		||||
| 
						 | 
				
			
			@ -1,34 +0,0 @@
 | 
			
		|||
<% content_for :secondary do %>
 | 
			
		||||
	<%= render 'admin/users/side_bar' %>
 | 
			
		||||
<% end %>
 | 
			
		||||
 | 
			
		||||
<div class="main_list">
 | 
			
		||||
	<div id="add_new" class="buttom clear">
 | 
			
		||||
		<%= link_to t("admin.new_user_#{@attribute}"), eval("new_admin_user_#{@attribute}_model_path") %>
 | 
			
		||||
	</div>
 | 
			
		||||
	<ul>
 | 
			
		||||
		<li class="list_head clear">
 | 
			
		||||
			<span class="<%= @attribute %>s"><%= t("admin.#{@attribute}") %></span>
 | 
			
		||||
			<span class="action"><%= t('admin.action') %></span>
 | 
			
		||||
		</li>
 | 
			
		||||
		<% @user_attribute_models.each do |user_attribute_model| %>
 | 
			
		||||
		<li id="attribute_<%= user_attribute_model.id %>" class="list_item <%= "#{user_attribute_model.is_disabled? ? 'disable' : ''}" %> clear">
 | 
			
		||||
			<span class="<%= @attribute %>s <%= user_attribute_model.i18n_variable[:key].downcase %>"><%= user_attribute_model.i18n_variable[I18n.locale] %></span>
 | 
			
		||||
			<span class="action">
 | 
			
		||||
				
 | 
			
		||||
				<%= link_to t(:edit), eval("edit_admin_user_#{@attribute}_model_path(user_attribute_model)"), :class => 'edit' %>
 | 
			
		||||
				<% if user_attribute_model.is_built_in? %>
 | 
			
		||||
					<%= link_to t(:enable), eval("admin_user_#{@attribute}_model_path(user_attribute_model, :authenticity_token => form_authenticity_token, :user_#{@attribute}_model => {:disabled => true})"), :remote => true, :method => :put, :id => "disable_#{user_attribute_model.id}", :style => "display:#{user_attribute_model.is_disabled? ? 'none' : ''}", :class => 'switch' %>
 | 
			
		||||
					<%= link_to t(:disable), eval("admin_user_#{@attribute}_model_path(user_attribute_model, :authenticity_token => form_authenticity_token, :user_#{@attribute}_model => {:disabled => false})"), :remote => true, :method => :put, :id => "enable_#{user_attribute_model.id}", :style => "display:#{user_attribute_model.is_disabled? ? '' : 'none'}", :class => 'switch' %>
 | 
			
		||||
				<% else %>
 | 
			
		||||
	      	<%= link_to t(:delete), eval("admin_user_#{@attribute}_model_path(user_attribute_model)"), :class => 'delete', :confirm => t('sure?'), :method => :delete %>
 | 
			
		||||
				<% end %>
 | 
			
		||||
				
 | 
			
		||||
			</span>
 | 
			
		||||
		</li>
 | 
			
		||||
		<% end %>			
 | 
			
		||||
	</ul>
 | 
			
		||||
	<div id="add_new" class="buttom clear">
 | 
			
		||||
		<%= link_to t("admin.new_user_#{@attribute}"), eval("new_admin_user_#{@attribute}_model_path") %>
 | 
			
		||||
	</div>
 | 
			
		||||
</div>
 | 
			
		||||
		Loading…
	
		Reference in New Issue