orbit-basic/app/views/admin/users_new_interface/show.html.erb

59 lines
2.9 KiB
Plaintext
Raw Normal View History

2012-09-13 10:39:27 +00:00
<div id="isotope" class="user-data">
<div id="module-nav">
<div class="arrow_next pull-right"><i class="icon-chevron-right"></i></div>
<div class="arrow_prev pull-left"><i class="icon-chevron-left"></i></div>
<div class="module-nav-view">
<ul class="nav nav-pills">
<li class="active">
<a href="#"><%= t("admin.new_admin.users.all_plugin_summary")%></a>
</li>
<li><a href="#">學歷</a></li>
<li><a href="#">學歷</a></li>
<li><a href="#">學歷</a></li>
<li><a href="#">學歷</a></li>
</ul>
</div>
</div>
<div class="member-plugin">
<% binding.pry%>
<%= render :partial=> 'plugin_summary'%>
<%= render :partial=> 'plugin_summary'%>
<%= render :partial=> 'plugin_summary'%>
2012-09-11 02:52:27 +00:00
</div>
2012-09-13 10:39:27 +00:00
</div>
<div class="user-info">
<div id="brand" class="clear">
2012-09-11 02:52:27 +00:00
<p class="gender male"></p>
2012-09-13 10:39:27 +00:00
<div class="user-avatar pull-left">
<p class="reflective"></p>
<img src="images/menber-pic.png">
</div>
2012-09-11 02:52:27 +00:00
<p class="user-name">
2012-09-13 10:39:27 +00:00
<%= @user.name%>
2012-09-11 02:52:27 +00:00
</p>
<p class="user-mail">
<%= @user.email %>
</p>
2012-09-13 10:39:27 +00:00
<button class="btn btn-small"><i class="icon-pencil"></i> <%= t("admin.edit")%></button>
2012-09-11 02:52:27 +00:00
</div>
2012-09-13 10:39:27 +00:00
<div class="user-roles my_scroll">
<div class="scrollbar">
<div class="track">
<div class="thumb">
<div class="end"></div>
2012-09-11 02:52:27 +00:00
</div>
</div>
</div>
2012-09-13 10:39:27 +00:00
<div class="viewport">
<div class="overview">
<% test_items = [ {:name=> "1",:value =>"Matt"},{:name=> "2",:value =>"Mark"},{:name=> "3",:value =>"Luke"},{:name=> "4",:value =>"John"} ]%>
<%= render :partial=> "user_role",:locals=>{:role_class=>"basic",:i18n=>"admin.new_admin.users.profile",:items=>test_items} %>
<%= render :partial=> "user_role",:locals=>{:role_class=>"teacher",:i18n=>"admin.new_admin.users.roles.teacher",:items=>test_items} %>
<%= render :partial=> "user_role",:locals=>{:role_class=>"student",:i18n=>"admin.new_admin.users.roles.student",:items=>test_items}%>
<%= render :partial=> "user_role",:locals=>{:role_class=>"staff",:i18n=>"admin.new_admin.users.roles.staff",:items=>test_items} %>
</div>
<div>
2012-09-11 02:52:27 +00:00
</div>
2012-09-13 10:39:27 +00:00
</div>