Add personal project plugin

This commit is contained in:
manson 2014-07-04 14:15:54 +08:00
parent 9e5d0af3bd
commit 294bd2b48e
3 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,22 @@
<table class="table table-hover table-striped projects-index">
<caption><h3>{{widget-title}}</h3></caption>
<thead>
<tr>
<th class="col-md-3">{{th_duration}}</th>
<th class="col-md-3">{{th_project_title}}</th>
<th class="col-md-2">{{th_job_title}}</th>
<th class="col-md-2">{{th_participator}}</th>
<th class="col-md-3">{{th_authors}}</th>
</tr>
</thead>
<tbody>
<tr data-level="0" data-list="projects">
<td>{{duration}}</td>
<td><a href="{{link_to_show}}">{{project_title}}</a></td>
<td>{{job_title}}</td>
<td>{{participator}}</td>
<td>{{authors}}</td>
</tr>
</tbody>
</table>
{{pagination_goes_here}}

View File

@ -0,0 +1,27 @@
<table class="table table-striped writing-conferences-show">
<tbody>
<tr><th class="col-md-3">{{th_project_title}}</th><td>{{project_title}}</td></tr>
<tr><th>{{th_duration}}</th><td>{{duration}}</td></tr>
<tr><th>{{th_project_type}}</th><td>{{project_type}}</td></tr>
<tr><th>{{th_job_title}}</th><td>{{job_title}}</td></tr>
<tr><th>{{th_participator}}</th><td>{{participator}}</td></tr>
<tr><th>{{th_unit}}</th><td>{{unit}}</td></tr>
<tr><th>{{th_year}}</th><td>{{year}}</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_abstract}}</th><td>{{abstract}}</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

@ -14,6 +14,7 @@ gem 'personal_honor', git: 'git@gitlab.tp.rulingcom.com:saurabh/personal-honor.g
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_patent', git: 'git@gitlab.tp.rulingcom.com:saurabh/personal-patent.git'
gem 'personal_project', git: 'git@gitlab.tp.rulingcom.com:saurabh/personal-project.git'
#widgets
gem "site_menu_widget", git: 'git@gitlab.tp.rulingcom.com:saurabh/site-menu-widget.git'