2017-08-14 12:41:55 -06: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" > 
							 
						 
					
						
							
								
									
										
										
										
											2017-08-21 14:28:58 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								            < li  ng-repeat = "record in vm.records track by $index" > < button  class = "btn btn-link"  ng-bind = "record.sub"  ng-click = "vm.selectRecord(record)" > www< / button > < / li > 
							 
						 
					
						
							
								
									
										
										
										
											2017-08-18 19:41:38 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								          < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2017-08-14 12:41:55 -06: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 12:41:55 -06: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-21 14:28:58 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								            < li  ng-repeat = "domain in vm.domains track by $index" > < button  class = "btn btn-link"  ng-bind = "domain.domain"  ng-click = "vm.selectDomain(domain)" > example.com< / button > < / li > 
							 
						 
					
						
							
								
									
										
										
										
											2017-08-14 12:41:55 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								          < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2017-08-18 19:41:38 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2017-08-14 12:41:55 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "panel panel-default" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "panel-body" > 
							 
						 
					
						
							
								
									
										
										
										
											2017-08-18 19:41:38 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <!-- 
 
							 
						 
					
						
							
								
									
										
										
										
											2017-08-14 12:41:55 -06: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" > 
							 
						 
					
						
							
								
									
										
										
										
											2017-08-23 20:36:19 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								          < div > < label > Select .zip upload< / label >  < input  type = "file"  class = "js-file-upload this-has-a-special-non-angular-event-handler"  / > < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < div  ng-if = "vm.isZip"  > < label > < input  type = "checkbox"  ng-model = "vm.unzip"  / >  Unpack .zip< / label > < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < div  ng-if = "vm.unzip"  > < label > < input  type = "checkbox"  ng-model = "vm.stripZip"  / >  Strip zip directory root< / label > < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          <!--  div ng - if="vm.isZip" ><label>Unzip directory</label> <input type="text" ng - model="vm.unzipPath" /></div  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < div > < label > Web path< / label >  < input  type = "text"   ng-model = "vm.webPath"   / > < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2017-08-18 19:41:38 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2017-08-14 12:41:55 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2017-08-18 19:41:38 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!-- 
 
							 
						 
					
						
							
								
									
										
										
										
											2017-08-14 12:41:55 -06: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 12:41:55 -06: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 12:41:55 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <!--  </div>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div >  -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "white-well" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h1 > Your Websites< / h1 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < table  class = "table" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < tbody > 
							 
						 
					
						
							
								
									
										
										
										
											2017-08-22 18:37:57 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        < tr  ng-repeat = "r in vm.sites" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < td > < a  ng-href = "https://{{r.domain}}"  target = "_blank"  ng-bind = "r.domain" > example.com< / a > < / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < td  ng-bind = "r.path" > Sites > blogs > blog.jane.smith.net< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < td  ng-bind = "r.users" > jane@smith.net, jack@smith.net, friend@gmail.com< / td > 
							 
						 
					
						
							
								
									
										
										
										
											2017-08-14 12:41:55 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        < / tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / tbody > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / table > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2017-08-23 13:26:31 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-08-23 17:07:15 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< div  angucomplete-alt  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  placeholder="Select a domain"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  pause="300"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  selected-object="selectedDomain"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  local-data="domain"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  local-search="localDomainSearch"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  title-field="domain"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  minlength="0"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  input-class="form-control form-control-small"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  match-class="highlight">
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >