add hostname, working directory

This commit is contained in:
AJ ONeal 2017-03-13 18:10:16 -06:00
parent df8cb8d96f
commit 783dd3c53b
1 changed files with 4 additions and 1 deletions

View File

@ -46,6 +46,9 @@
<div ng-if="vm.config"> <div ng-if="vm.config">
<div class="input-group" ng-init="siteconf = vm.config.global"> <div class="input-group" ng-init="siteconf = vm.config.global">
<h1>Server Working Directory:</h1>
<input class="form-control" ng-model="vm.config.cwd" />
<h1>Global Settings:</h1> <h1>Global Settings:</h1>
<br/> <br/>
<div ng-repeat="path in siteconf.paths">Pathname: <div ng-repeat="path in siteconf.paths">Pathname:
@ -60,7 +63,7 @@
<h1>Per-Domain Settings:</h1> <h1>Per-Domain Settings:</h1>
<div class="input-group" ng-repeat="siteconf in vm.config.sites"> <div class="input-group" ng-repeat="siteconf in vm.config.sites">
<label>Hostname:</label> <input class="form-control" ng-model="sitename" /> <label>Hostname:</label> <input class="form-control" ng-model="siteconf.$id" />
<br/> <br/>
<div ng-repeat="path in siteconf.paths">Pathname: <div ng-repeat="path in siteconf.paths">Pathname:
<input class="form-control" ng-model="path.$id" /> <input class="form-control" ng-model="path.$id" />