Skip to content

Commit

Permalink
disable import feature
Browse files Browse the repository at this point in the history
  • Loading branch information
khoatran5773 committed Mar 21, 2021
1 parent c3c66d0 commit 07a6857
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
9 changes: 0 additions & 9 deletions lib/views/collection.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,15 +369,6 @@ <h2>Tools</h2>
</div>
</div>

<div class="col-sm-4">
<div class="well">
<a class="btn btn-warning btn-block import-file-link">
<span class="glyphicon glyphicon-cloud-upload"></span><br>Import --mongoexport json
</a>
<input class="input-hidden import-input-file" type="file" name="import-file" collection-name="{{ collectionName | url_encode }}"/>
</div>
</div>

{% if !settings.read_only %}
<div class="col-sm-4">
<div class="well">
Expand Down
6 changes: 0 additions & 6 deletions lib/views/database.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@ <h4 style="font-weight: bold;">Collections</h4>
<span class="glyphicon glyphicon-floppy-save"></span><br>[JSON]
</a>
</td>
<td class="col-md-1">
<a class="btn btn-warning btn-block import-file-link">
<span class="glyphicon glyphicon-cloud-upload"></span><br>Import
</a>
<input class="input-hidden import-input-file" type="file" name="import-file" collection-name="{{ c | url_encode }}"/>
</td>
<td><h3><a href="{{ dbUrl }}/{{ c | url_encode }}">{{ c }}</a></h3></td>
{% if !settings.read_only && !settings.no_delete %}
<td class="col-md-1">
Expand Down

0 comments on commit 07a6857

Please sign in to comment.