This commit is contained in:
Jon Lambson 2017-10-03 21:17:36 -06:00
parent b5a8337e60
commit 7ce1d1b850
2 changed files with 8 additions and 3 deletions

View File

@ -666,6 +666,9 @@ app.controller('websiteCtrl', [
vm.websiteTiles = true;
vm.showBackBtn = true;
vm.displayFileTree = true;
if (vm.autoPopulateWebPath === undefined) {
vm.autoPopulateWebPath = '/';
}
break;
case 'shares':
vm.showSharesContainer = true;

View File

@ -190,13 +190,15 @@
</div>
</div>
<div ng-show="vm.showInviteContainer">
<h1>TODO:// FIX THIS UGLY</h1>
<form class="form-inline text-center">
<h1><i class="fa fa-folder"></i> Name</h1>
<form class="">
<div class="form-group">
<label for="">To:</label>
<input type="text" ng-model="r.shareEmail" class="form-control" placeholder="ex: john@example.com" />
</div>
<div class="form-group">
<input type="text" ng-model="r.sharePath" class="form-control" placeholder="/" />
<!-- WORKING <input type="text" ng-model="r.sharePath" class="form-control" placeholder="/" /> -->
<input type="text" ng-model="vm.autoPopulateWebPath" class="form-control" placeholder="/" />
</div>
<div class="form-group">
<input type="text" ng-model="r.shareMode" class="form-control" placeholder="rwx (read, write, invite)" />