Add personal research plugin

This commit is contained in:
manson 2014-07-04 15:19:15 +08:00
parent 294bd2b48e
commit 911976078b
3 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,22 @@
<table class="table table-hover table-striped researchs-index">
<caption><h3>{{widget-title}}</h3></caption>
<thead>
<tr>
<th class="col-md-2">{{th_year}}</th>
<th class="col-md-3">{{th_publication_date}}</th>
<th class="col-md-2">{{th_research_title}}</th>
<th class="col-md-3">{{th_member}}</th>
<th class="col-md-2"></th>
</tr>
</thead>
<tbody>
<tr data-level="0" data-list="researchs">
<td>{{year}}</td>
<td>{{publication_date}}</td>
<td>{{research_title}}</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,25 @@
<table class="table table-striped researchs-show">
<tbody>
<tr><th>{{th_research_title}}</th><td>{{research_title}}</td></tr>
<tr><th>{{th_authors}}</th><td>{{authors}}</td></tr>
<tr><th>{{th_extracted_chapters}}</th><td>{{extracted_chapters}}</td></tr>
<tr><th>{{th_year}}</th><td>{{year}}</td></tr>
<tr><th>{{th_language}}</th><td>{{language}}</td></tr>
<tr><th>{{th_publish_date}}</th><td>{{publish_date}}</td></tr>
<tr><th>{{th_keywords}}</th><td>{{keywords}}</td></tr>
<tr><th>{{th_url}}</th><td><a href="{{url}}">{{url}}</a></td></tr>
<tr><th>{{th_note}}</th><td>{{note}}</td></tr>
<tr>
<th>{{th_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

@ -15,6 +15,7 @@ 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' gem 'personal_lab', git: 'git@gitlab.tp.rulingcom.com:saurabh/personal-lab.git'
gem 'personal_patent', git: 'git@gitlab.tp.rulingcom.com:saurabh/personal-patent.git' gem 'personal_patent', git: 'git@gitlab.tp.rulingcom.com:saurabh/personal-patent.git'
gem 'personal_project', git: 'git@gitlab.tp.rulingcom.com:saurabh/personal-project.git' gem 'personal_project', git: 'git@gitlab.tp.rulingcom.com:saurabh/personal-project.git'
gem 'personal_research', git: 'git@gitlab.tp.rulingcom.com:saurabh/personal-research.git'
#widgets #widgets
gem "site_menu_widget", git: 'git@gitlab.tp.rulingcom.com:saurabh/site-menu-widget.git' gem "site_menu_widget", git: 'git@gitlab.tp.rulingcom.com:saurabh/site-menu-widget.git'