Skip to content

Commit

Permalink
Add a "path" variable for mounts. see volumio/Volumio2#104
Browse files Browse the repository at this point in the history
  • Loading branch information
mpasteur committed Jan 9, 2016
1 parent c9e9332 commit 450cbd3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/app/plugin/core-plugin/elements/add-edit-drive.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@
class="form-control">
</div>
</div>
<div class="form-group">
<label for="{{networkDrives.drive.path}}"
class="control-label">Path
</label>
<div class="control-item">
<input id="{{networkDrives.drive.path}}"
type="text"
ng-model="networkDrives.drive.path"
placeholder="Path"
class="form-control">
</div>
</div>
<div class="form-group">
<label for="{{networkDrives.drive.ip}}"
class="control-label">Ip
Expand Down
4 changes: 4 additions & 0 deletions src/app/plugin/core-plugin/network-drives-plugin.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ <h4 ng-if="false" class="sectionDescription"></h4>
<table class="table" ng-if="networkDrives.infoShare">
<tr>
<th>Name</th>
<th>Path</th>
<th>Mounted</th>
<th>Size</th>
<th></th>
Expand All @@ -30,6 +31,9 @@ <h4 ng-if="false" class="sectionDescription"></h4>
<td>
{{drive.name}}
</td>
<td>
{{drive.ip}}:{{drive.path}}
</td>
<td>
{{drive.mounted}}
</td>
Expand Down

0 comments on commit 450cbd3

Please sign in to comment.