92 lines
3.3 KiB
HTML
92 lines
3.3 KiB
HTML
<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">
|
|
<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>
|
|
<span class="input-group-addon">.</span>
|
|
|
|
<input type="text" class="form-control" placeholder="Select a domain" aria-label="Domain Name" ng-model="vm.newDomain" ng-change="vm.setDomain()" />
|
|
<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="domain in vm.domains"><button class="btn btn-link" ng-bind="domain.domain" ng-click="vm.selectDomain(domain)">example.com</button></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="panel panel-default">
|
|
<div class="panel-body">
|
|
<!--
|
|
Choose or create a public shared folder <button class="btn btn-default">Select Daplie Folder</button>
|
|
<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>
|
|
</div>
|
|
</div>
|
|
<!--
|
|
<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>
|
|
-->
|
|
<!-- <div class="form-group">
|
|
<div class="pull-right"> -->
|
|
<button ng-click="vm.createWebsite()" type="button" name="button" class="btn btn-default">Create Website</button>
|
|
<!-- </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>
|