Added Personal Lab plugin

This commit is contained in:
manson 2014-07-03 19:36:06 +08:00
parent 31326a49d7
commit 6655969ecf
3 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,22 @@
<table class="table table-hover table-striped writing-conferences-index">
<caption><h3>{{widget-title}}</h3></caption>
<thead>
<tr>
<th class="col-md-2">{{th_year}}</th>
<th class="col-md-3">{{th_lab_title}}</th>
<th class="col-md-2">{{th_location}}</th>
<th class="col-md-3">{{th_member}}</th>
<th class="col-md-2"></th>
</tr>
</thead>
<tbody>
<tr data-level="0" data-list="labs">
<td>{{year}}</td>
<td>{{lab_title}}</td>
<td>{{location}}</td>
<td>{{member}}</td>
<th><a href="{{link_to_show}}">{{th_detail}}</a></th>
</tr>
</tbody>
</table>
{{pagination_goes_here}}

View File

@ -0,0 +1,27 @@
<table class="table table-striped lab-show">
<tbody>
<tr><th>{{th_lab_title}}</th><td>{{lab_title}}</td></tr>
<tr><th>{{th_location}}</th><td>{{location}}</td></tr>
<tr><th>{{th_participating_professor}}</th><td>{{participating_professor}}</td></tr>
<tr><th>{{th_participating_student}}</th><td>{{participating_student}}</td></tr>
<tr><th>{{th_year}}</th><td>{{year}}</td></tr>
<tr><th>{{th_keywords}}</th><td>{{keywords}}</td></tr>
<tr><th>{{th_extension_no}}</th><td>{{extension_no}}</td></tr>
<tr><th>{{th_research_direction}}</th><td>{{research_direction}}</td></tr>
<tr><th>{{th_facility}}</th><td>{{facility}}</td></tr>
<tr><th>{{th_url}}</th><td>{{url}}</td></tr>
<tr><th>{{th_note}}</th><td>{{note}}</td></tr>
<tr>
<th>{{td_files}}</th>
<td>
<div data-list="files" data-level="0">
<div>
<i class="fa fa-fw fa-paperclip"></i>
<a href="{{file_url}}">{{file_title}}</a>
<span class="label label-primary">{{file_ext}}</span> - {{file_description}}
</div>
</div>
</td>
</tr>
</tbody>
</table>

View File

@ -12,6 +12,7 @@ gem 'personal_diploma', git: 'git@gitlab.tp.rulingcom.com:saurabh/personal-diplo
gem 'personal_experience', git: 'git@gitlab.tp.rulingcom.com:saurabh/personal-experience.git'
gem 'personal_honor', git: 'git@gitlab.tp.rulingcom.com:saurabh/personal-honor.git'
gem 'personal_book', git: 'git@gitlab.tp.rulingcom.com:saurabh/personal-book.git'
gem 'personal_lab', git: 'git@gitlab.tp.rulingcom.com:saurabh/personal-lab.git'
#widgets
gem "site_menu_widget", git: 'git@gitlab.tp.rulingcom.com:saurabh/site-menu-widget.git'