Skip to content

Commit

Permalink
Change import button to add more options
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorfs committed Sep 15, 2015
1 parent d50c5c0 commit 8a6e0c4
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,17 @@ <h3 class="panel-title">Import Studies</h3>
<input type="hidden" name="source-id" value="{{ source.source.id }}">
<input type="file" class="hide" name="bibtex">
</form>
<button type="button" class="btn btn-sm btn-default btn-import-bibtex">Import Bibtex</button>
<div class="btn-group">
<button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="glyphicon glyphicon-cloud-upload"></span>
Import
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a href="javascript:void(0);" class="btn-import-bibtex">BibTeX file <small>(.bib, .bibtex)</small></a></li>
<li><a href="javascript:void(0);">Paste BibTeX content</a></li>
</ul>
</div>
</td>
</tr>
{% endfor %}
Expand Down

0 comments on commit 8a6e0c4

Please sign in to comment.