超级管理员的公共属性页面
This commit is contained in:
parent
87573322bd
commit
612ce53739
|
@ -44,8 +44,8 @@
|
|||
<li class="fl edu-admin-nav-li edu-position <%= 'active' if @menu_type == 7 %>"><a href="javascript:void(0);" class="edu-admin-nav-a">用户</a>
|
||||
<ul class="edu-admin-nav-inner edu-absolute">
|
||||
<li><%= link_to "用户列表", users_managements_path %></li>
|
||||
<li><%= link_to "试用授权列表", users_trial_managements_path %></li>
|
||||
<li><%= link_to "自动授权列表", auto_users_trial_managements_path %></li>
|
||||
<li><%= link_to "职业信息列表", users_trial_managements_path %></li>
|
||||
<!--<li><%#= link_to "自动授权列表", auto_users_trial_managements_path %></li>-->
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
@ -58,7 +58,7 @@
|
|||
<ul class="edu-admin-nav-inner">
|
||||
<li><%= link_to "实名认证", :controller => "managements", :action => "identity_authentication" %></li>
|
||||
<li><%= link_to "职业认证", :controller => "managements", :action => "professional_authentication" %></li>
|
||||
<li><%= link_to "试用授权", :controller => "managements", :action => "trial_authorization" %></li>
|
||||
<!--<li><%#= link_to "试用授权", :controller => "managements", :action => "trial_authorization" %></li>-->
|
||||
<li><%= link_to "部门审批", depart_managements_path %></li>
|
||||
<li><%= link_to '单位审批', unit_managements_path %></li>
|
||||
<!--<li><%#= link_to '实训发布', shixun_authorization_managements_path %></li>
|
||||
|
@ -66,10 +66,12 @@
|
|||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="fl edu-admin-nav-li"><a href="javascript:void(0);" class="edu-admin-nav-a">工程认证+</a></li>
|
||||
<!--<li class="fl edu-admin-nav-li"><a href="javascript:void(0);" class="edu-admin-nav-a">工程认证+</a></li>-->
|
||||
|
||||
<li class="fl edu-admin-nav-li edu-position <%= 'active' if @menu_type == 12 %>"><a href="javascript:void(0);" class="edu-admin-nav-a">门户</a>
|
||||
<ul class="edu-admin-nav-inner">
|
||||
<li style="width: 120px"><%= link_to "公共属性", ads_list_managements_path %></li>
|
||||
<li style="width: 120px"><%= link_to "贴吧和门户配置", forum_list_managements_path %></li>
|
||||
<li style="width: 120px"><%= link_to "广告列表", ads_list_managements_path %></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
@ -80,10 +82,13 @@
|
|||
<li style="width: 120px"><%#= link_to "实训简介模板", editmd_template_managements_path(:samples_type => "introduction") %></li>
|
||||
<li style="width: 120px"><%#= link_to "背景知识模板", editmd_template_managements_path(:samples_type => "knowledge") %></li>
|
||||
<li style="width: 120px"><%#= link_to "通用评测模板", codemirror_template_managements_path(:samples_type => "script") %></li>-->
|
||||
<li style="width: 120px"><%= link_to "新课导语模板", course_guide_template_managements_path(:samples_type => "courseGuide") %></li>
|
||||
<!--<li style="width: 120px"><%#= link_to "新课导语模板", course_guide_template_managements_path(:samples_type => "courseGuide") %></li>-->
|
||||
<!--<li style="width: 120px"><%#= link_to "实训评分设置", shixun_quality_score_managements_path() %></li>-->
|
||||
<li style="width: 120px"><%= link_to "贴吧类型", forum_list_managements_path %></li>
|
||||
<li style="width: 120px"><%= link_to "技术体系", label_list_managements_path %></li>
|
||||
<!--<li style="width: 120px"><%#= link_to "贴吧类型", forum_list_managements_path %></li>
|
||||
<li style="width: 120px"><%#= link_to "技术体系", label_list_managements_path %></li>-->
|
||||
|
||||
<li style="width: 120px"><a href="javascript:void(0)">联系我们</a></li>
|
||||
<li style="width: 120px"><a href="javascript:void(0)">服务协议</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -0,0 +1,71 @@
|
|||
<p class="pt5 pb5 font-16">版本和联络信息</p>
|
||||
<div class="padding20 edu-back-white bor-grey-e">
|
||||
<li class="clearfix mb20">
|
||||
<span class="fl edu-txt-right" style="width: 70px">Tel:</span>
|
||||
<input type="text" class="winput-240-35"/>
|
||||
</li>
|
||||
<li class="clearfix mb20">
|
||||
<span class="fl edu-txt-right" style="width: 70px">Email:</span>
|
||||
<input type="text" class="winput-240-35"/>
|
||||
</li>
|
||||
<li class="clearfix mb20">
|
||||
<span class="fl edu-txt-right" style="width: 70px">地址:</span>
|
||||
<input type="text" class="input-50-35"/>
|
||||
</li>
|
||||
<li class="clearfix mb20">
|
||||
<span>版权信息:</span>
|
||||
<input type="text" class="input-50-35"/><span class="ml20">Powerd by <span class="color-grey-9">Trusie</span></span>
|
||||
</li>
|
||||
<li class="clearfix edu-txt-right">
|
||||
<a href="javascript:void(0)" class="task-btn mr10">取消</a>
|
||||
<a href="javascript:void(0)" class="task-btn task-btn-orange">保存</a>
|
||||
</li>
|
||||
</div>
|
||||
<p>导航栏logo size:50*50</p>
|
||||
<div class="clearfix">
|
||||
<div class="smallSize">
|
||||
<%= file_field_tag 'avatar[image]',
|
||||
:id => "upload_img_small",
|
||||
:style => 'display:none;',
|
||||
:size => "1",
|
||||
:multiple => false,
|
||||
:onchange => 'addInputAvatar(this);',
|
||||
:data => {
|
||||
:max_file_size => Setting.authentication_img_max_size.to_i.kilobytes,
|
||||
:max_file_size_message => l(:error_user_auth_too_big, :max_size => number_to_human_size(Setting.authentication_img_max_size.to_i.kilobytes)),
|
||||
:max_concurrent_uploads => Redmine::Configuration['max_concurrent_ajax_uploads'].to_i,
|
||||
:file_type => Redmine::Configuration['pic_types'].to_s,
|
||||
:type_support_message => l(:error_pic_type),
|
||||
:upload_path => upload_avatar_path(:format => 'js'),
|
||||
:description_placeholder => nil ,# l(:label_optional_description)
|
||||
:source_type => "Subject",
|
||||
:source_id => 1,
|
||||
:is_direct => 1
|
||||
} %>
|
||||
<img src="" width="100%" height="100%" />
|
||||
<a href="javascript:void(0)" class="uploadAction" onclick="$('#upload_img_small').click();">上传</a>
|
||||
</div>
|
||||
</div>
|
||||
<p>登录页logo size:100*100</p>
|
||||
<div class="largeSize">
|
||||
<%= file_field_tag 'avatar[image]',
|
||||
:id => "upload_img_large",
|
||||
:style => 'display:none;',
|
||||
:size => "1",
|
||||
:multiple => false,
|
||||
:onchange => 'addInputAvatar(this);',
|
||||
:data => {
|
||||
:max_file_size => Setting.authentication_img_max_size.to_i.kilobytes,
|
||||
:max_file_size_message => l(:error_user_auth_too_big, :max_size => number_to_human_size(Setting.authentication_img_max_size.to_i.kilobytes)),
|
||||
:max_concurrent_uploads => Redmine::Configuration['max_concurrent_ajax_uploads'].to_i,
|
||||
:file_type => Redmine::Configuration['pic_types'].to_s,
|
||||
:type_support_message => l(:error_pic_type),
|
||||
:upload_path => upload_avatar_path(:format => 'js'),
|
||||
:description_placeholder => nil ,# l(:label_optional_description)
|
||||
:source_type => "Subject",
|
||||
:source_id => 2,
|
||||
:is_direct => 1
|
||||
} %>
|
||||
<img src="" width="100%" height="100%" />
|
||||
<a href="javascript:void(0)" class="uploadAction" onclick="$('#upload_img_large').click();">上传</a>
|
||||
</div>
|
|
@ -14,8 +14,10 @@
|
|||
<th>子单位</th>
|
||||
<th class="eud-pointer">最后登录时间<i class="fa fa-long-arrow-down color-light-green ml5"></i></th>
|
||||
<th>试用状态</th>
|
||||
<% if false %>
|
||||
<th> T </th>
|
||||
<th> E </th>
|
||||
<% end %>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -41,6 +43,7 @@
|
|||
<td ><span class="edu-txt-w140 task-hide2"><%= user.try(:user_extensions).department ? user.try(:user_extensions).try(:department).try(:name).to_s : '--' %></span></td>
|
||||
<td><%= user.last_login_on.blank? ? "--" : (format_time user.last_login_on) %></td>
|
||||
<td><%= identity_authentication_status(user) %></td>
|
||||
<% if false %>
|
||||
<td class="homepage_teacher">
|
||||
<input type="checkbox" name="homepage_show" value="<%= user.id %>" <%= user.homepage_teacher ? "checked" : "" %> class="ml-3 mr5 magic-checkbox" id="join_teacher_homepage_<%= user.id %>">
|
||||
<label style="top:-14px;" class="ml20" for="join_teacher_homepage_<%= user.id %>"></label>
|
||||
|
@ -49,6 +52,7 @@
|
|||
<input type="checkbox" name="homepage_show" value="<%= user.id %>" <%= user.homepage_engineer ? "checked" : "" %> class="ml-3 mr5 magic-checkbox" id="join_engineer_homepage_<%= user.id %>">
|
||||
<label style="top:-14px;" class="ml20" for="join_engineer_homepage_<%= user.id %>"></label>
|
||||
</td>
|
||||
<% end %>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<!--<form action="<%#= search_user_managements_path %>" id="management_search_user" method="post" data-remote="true">-->
|
||||
<%= form_tag(url_for(search_user_managements_path), :id => "management_search_user", :method => "post", :remote => true) do %>
|
||||
<div class="mt15 clearfix bor-grey-e padding10-15">
|
||||
<div class="mt15 clearfix bor-grey-e padding10-15 edu-back-white">
|
||||
<% if false %>
|
||||
<div class="edu-position edu-admin-select mr10 fl" style="width:110px;">
|
||||
<p>试用授权情况<i class="fa fa-caret-down ml10" ></i></p>
|
||||
<input type="hidden" name="trial" value='-2'>
|
||||
|
@ -19,7 +20,7 @@
|
|||
<div class="fl with30 mr10">
|
||||
<input type="text" name="department" class="fl task-form-100 task-height-40 panel-box-sizing" placeholder="子单位">
|
||||
</div>
|
||||
<div class="cl mb15"></div>
|
||||
<% end %>
|
||||
<div class="edu-position edu-admin-select fl mr10" style="width:140px;">
|
||||
<p>真实姓名搜索<i class="fa fa-caret-down ml10"></i></p>
|
||||
<input type="hidden" name="research_condition" value="name">
|
||||
|
@ -39,11 +40,14 @@
|
|||
<!--<div class="fr">-->
|
||||
<!--<a href="javascript:void(0);" onclick="import_student_accounts();" class="white-btn orange-btn">+ 导入学生账号</a>-->
|
||||
<!--</div>-->
|
||||
|
||||
<div class="mt5 fr">
|
||||
<% if false %>
|
||||
<input type="checkbox" class="magic-checkbox" id="only_t">
|
||||
<label for="only_t" class="mr10 fl">只看T</label>
|
||||
<input type="checkbox" class="magic-checkbox" id="only_e">
|
||||
<label for="only_e" class="mr15 fl">只看E</label>
|
||||
<% end %>
|
||||
<%= link_to "导出",
|
||||
search_user_managements_path(
|
||||
:trial => "-2",
|
||||
|
@ -59,12 +63,13 @@
|
|||
:id => 'user_export_list'
|
||||
%>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="edu-con-bg01 mt15">
|
||||
<% if @users.blank? %>
|
||||
<%= render :partial => "welcome/no_data" %>
|
||||
<% else %>
|
||||
<div class="mb15 mt15 clearfix">
|
||||
<div class="padding10-20 clearfix">
|
||||
<span class="fl" id="allselect">
|
||||
<input type="checkbox" class="magic-checkbox" id="all_member_select">
|
||||
<label for="all_member_select">全选</label>
|
||||
|
@ -85,6 +90,7 @@
|
|||
<li data-val="realname_agree">确认实名</li>
|
||||
</ul>
|
||||
</div>
|
||||
<% if false %>
|
||||
<div class="edu-position edu-admin-select fr mr10" style="width:110px;">
|
||||
<p>试用授权<i class="fa fa-caret-down ml10" ></i></p>
|
||||
<input type="hidden" class="auth_apply" name="trial_whether" value="">
|
||||
|
@ -93,6 +99,7 @@
|
|||
<li data-val="trial_agree">确认授权</li>
|
||||
</ul>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
<div id="users_authorization_list">
|
||||
<%= render :partial => "users_authorization_list" %>
|
||||
|
@ -107,4 +114,11 @@
|
|||
var htmlvalue = '<%= escape_javascript(render :partial => 'import_student_accounts') %>';
|
||||
pop_box_new(htmlvalue, 452, 163);
|
||||
}
|
||||
|
||||
$(function(){
|
||||
$("#clear_contents").on("click",function(){
|
||||
$("input[name='student_id']").val('');
|
||||
$("input[name='research_contents']").val('');
|
||||
})
|
||||
})
|
||||
</script>
|
|
@ -1035,3 +1035,8 @@ margin-left: 10px;
|
|||
.unitLogo li a{display: block;width: 100%;height: 64px;border:1px solid #ddd;}
|
||||
.unitLogo li a:hover{box-shadow: 1px 1px 13px #cccccc; }
|
||||
.unitLogo li span{font-size: 12px;line-height: 17px;display: block;min-height: 51px;margin-top: 5px;}
|
||||
/*超级管理员*/
|
||||
.smallSize{width: 50px;height: 50px;position: relative;line-height: 50px;margin:10px 0px 30px 50px;}
|
||||
.largeSize{width: 100px;height: 100px;position: relative;line-height: 100px;margin:10px 0px 30px 50px;}
|
||||
.smallSize a.uploadAction,.largeSize a.uploadAction{display: block;width: 100%;height: 100%;text-align: center;color: #4cacff;
|
||||
background-color:rgba(0,0,0,0.1);top: 0px;left: 0px;position: absolute;}
|
||||
|
|
Loading…
Reference in New Issue