2017-08-14 18:41:55 +00:00
|
|
|
<style>
|
|
|
|
.panel{
|
|
|
|
box-shadow: none;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<div class="home-container">
|
|
|
|
|
|
|
|
<div class="white-well">
|
|
|
|
<h1>Create a new Website</h1>
|
|
|
|
<h3>Select a Domain</h3>
|
|
|
|
<div class="input-group">
|
2017-08-18 19:41:38 +00:00
|
|
|
<input type="text" class="form-control" placeholder="www" ng-model="vm.newRecord" ng-change="vm.setRecord()" />
|
|
|
|
<div class="input-group-btn">
|
|
|
|
<!-- Single button -->
|
|
|
|
<div class="btn-group">
|
|
|
|
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><span class="caret"></span>
|
|
|
|
</button>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li ng-repeat="record in vm.records"><button class="btn btn-link" ng-bind="record.sub" ng-click="vm.selectRecord(record)">www</button></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-08-14 18:41:55 +00:00
|
|
|
<span class="input-group-addon">.</span>
|
|
|
|
|
2017-08-18 19:41:38 +00:00
|
|
|
<input type="text" class="form-control" placeholder="Select a domain" aria-label="Domain Name" ng-model="vm.newDomain" ng-change="vm.setDomain()" />
|
2017-08-14 18:41:55 +00:00
|
|
|
<div class="input-group-btn">
|
|
|
|
<!-- Single button -->
|
|
|
|
<div class="btn-group">
|
|
|
|
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><span class="caret"></span>
|
|
|
|
</button>
|
|
|
|
<ul class="dropdown-menu">
|
2017-08-16 22:35:04 +00:00
|
|
|
<li ng-repeat="domain in vm.domains"><button class="btn btn-link" ng-bind="domain.domain" ng-click="vm.selectDomain(domain)">example.com</button></li>
|
2017-08-14 18:41:55 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2017-08-18 19:41:38 +00:00
|
|
|
</div>
|
2017-08-14 18:41:55 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-body">
|
2017-08-18 19:41:38 +00:00
|
|
|
<!--
|
2017-08-14 18:41:55 +00:00
|
|
|
Choose or create a public shared folder <button class="btn btn-default">Select Daplie Folder</button>
|
2017-08-18 19:41:38 +00:00
|
|
|
<br>
|
|
|
|
-->
|
|
|
|
<div class="input-group">
|
|
|
|
<label>Select .zip upload</label> <input type="file" class="js-file-upload this-has-a-special-non-angular-event-handler" />
|
|
|
|
</div>
|
2017-08-14 18:41:55 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-08-18 19:41:38 +00:00
|
|
|
<!--
|
2017-08-14 18:41:55 +00:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-body">
|
|
|
|
Who can edit and upload to this site? <input placeholder="Type contact name or email address" type="text" class="form-control">
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-08-18 19:41:38 +00:00
|
|
|
-->
|
2017-08-14 18:41:55 +00:00
|
|
|
<!-- <div class="form-group">
|
|
|
|
<div class="pull-right"> -->
|
2017-08-18 19:41:38 +00:00
|
|
|
<button ng-click="vm.createWebsite()" type="button" name="button" class="btn btn-default">Create Website</button>
|
2017-08-14 18:41:55 +00:00
|
|
|
<!-- </div>
|
|
|
|
</div> -->
|
|
|
|
</div>
|
|
|
|
<div class="white-well">
|
|
|
|
<h1>Your Websites</h1>
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td><a href="new.html" target="_blank">blog.jane.smith.net</a></td>
|
|
|
|
<td>Sites > blogs > blog.jane.smith.net</td>
|
|
|
|
<td>jane@smith.net, jack@smith.net, friend@gmail.com</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a href="new.html" target="_blank">jane.smith.com</a></td>
|
|
|
|
<td>Sites > business > jane test site</td>
|
|
|
|
<td>jane@smith.net</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a href="new.html" target="_blank">jane.smith.edu</a></td>
|
|
|
|
<td>Documents > 2017 semester > econ class site</td>
|
|
|
|
<td>jane@smith.net, teacher@college.edu</td>
|
|
|
|
</tr>
|
|
|
|
<!-- <tr>
|
|
|
|
<td></td>
|
|
|
|
<td></td>
|
|
|
|
</tr> -->
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|