Skip to content

Commit

Permalink
edit basic info
Browse files Browse the repository at this point in the history
  • Loading branch information
dannybess committed Apr 2, 2017
1 parent 3ab7350 commit e7ced26
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 240 deletions.
46 changes: 43 additions & 3 deletions editBasicInfo.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,47 @@
<link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css' />

</head>
<script>
var config = {
apiKey: "AIzaSyAV7G1bMr6mjVCRzcR4cVWaYNL5XEcrDGk",
authDomain: "scheduleme-f5d58.firebaseapp.com",
databaseURL: "https://scheduleme-f5d58.firebaseio.com",
projectId: "scheduleme-f5d58",
storageBucket: "scheduleme-f5d58.appspot.com",
messagingSenderId: "536379458427"
};
firebase.initializeApp(config);
var database = firebase.database();
function update() {
var businessName_ = window.location.hash.substring(1);
var accessKey_ = "";
var calId_ = "";
var fullName_ = document.getElementById("fullName").value.toLowerCase();
var businessEmail = document.getElementById("email").value.toLowerCase();
var adddress_ = document.getElementById("address").value.toLowerCase();
var number = document.getElementById("phone").value.toLowerCase();
var maxLen = document.getElementById("time").value.toLowerCase();
function readData() {
var database = firebase.database();
return database.ref(String(businessName_) + "/").once('value').then(function(snapshot){
var key = snapshot.val().accessKey;
accessKey_ = key;
calId_ = snapshot.val().calendarId;
});
}
readData();
database.ref(String(businessName_) + "/").set({
accessKey: accessKey_,
businessName: businessName_,
userName: fullName_,
emailOfCalendar: businessEmail,
address: address_,
phone: number,
calendarId: calId_,
maxLength: maxLen
});
}
</script>
<body>

<div class="navbar navbar-inverse set-radius-zero" >
Expand Down Expand Up @@ -56,8 +97,7 @@ <h1 style = "color: #ffffff ;font-size: 44px;text-align: center; font-family: "R
<div class="navbar-collapse collapse ">
<ul id="menu-top" class="nav navbar-nav navbar-right">
<li><a href="index.html" >HOME</a></li>

<li><a href="about.html" class="menu-top-active">EDIT BASIC INFO</a></li>
<li><a href="editBasicInfo.html" class="menu-top-active">EDIT BASIC INFO</a></li>
<li><a href="gallery.html" >EMPLOYEES AND TASKS</a></li>
<li><a href="features.html">LOGOUT</a></li>
</ul>
Expand All @@ -81,7 +121,7 @@ <h1 style = "color: #ffffff ;font-size: 44px;text-align: center; font-family: "R

<!-- <p class="message">Does your business have multiple employees who need to make sepearte appointments?</p> -->
<!-- <div style = "padding: 7% 0 0"></div>
--> <button type="button" style = "float: right" onclick="">Update</button>
--> <button type="button" style = "float: right" onclick="update()">Update</button>
<div style = "padding: 12% 0 0"></div>
<!-- <button type="button" style = "float: right" onclick="createBizWithEmp()">Next</button>
<div style = "padding: 12% 0 0"></div> -->
Expand Down
243 changes: 7 additions & 236 deletions landingTest.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ <h1 style = "color: #ffffff ;font-size: 44px;text-align: center; font-family: "R
<ul id="menu-top" class="nav navbar-nav navbar-right">
<li><a href="index.html" class="menu-top-active" >HOME</a></li>

<li><a href="editBasicInfo.html">EDIT BASIC INFO</a></li>
<li><a onclick="openEdit()">EDIT BASIC INFO</a></li>
<li><a href="gallery.html" >EMPLOYEES AND TASKS</a></li>
<li><a href="features.html">LOGOUT</a></li>
</ul>
Expand Down Expand Up @@ -127,250 +127,16 @@ <h1 class="tag-home">The Schedule Me chat bot brings small businesses into the 2
</div>
</div>
</div>
<!-- TAG HOME SECTION END-->

<!-- <div class="container">
<div class="row pad-set">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<div class="just-txt-div">
<h2>JUST A CREATIVE THOUGHT</h2>
<br />
<p>
Lorem ipsum dolor sit amet, <strong>consectetur adipiscing elit</strong>.
Mauris sagittis felis dolor vitae. Mauris sagittis felis dolor vitae Mauris sagittis
felis dolor vitae.
</p>
<p>
Lorem ipsum dolor sit amet, <strong>consectetur adipiscing elit</strong>.
Mauris sagittis felis dolor vitae. Mauris sagittis felis dolor vitae Mauris sagittis
felis dolor vitae.
</p>
<p>
Lorem ipsum dolor sit amet, <strong>consectetur adipiscing elit</strong>.
Mauris sagittis felis dolor vitae. Mauris sagittis felis dolor vitae Mauris sagittis
felis dolor vitae.
</p>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<div class="just-txt-div">
<br />
<iframe class="vedio-style" src="http://www.youtube.com/embed/VpZmIiIXuZ0"></iframe>
</div>
</div>
</div>
</div>
<!--VEDIO SECTION END-->
<!-- <div class="parallax-like">
<div class="overlay">
<div class="container">
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
<div class="just-txt-div">
<strong> 300+</strong>
<p>
Clients
</p>
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
<div class="just-txt-div">
<strong> 100+</strong>
<p>
Offices
</p>
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
<div class="just-txt-div">
<strong> 50000+</strong>
<p>
Employees
</p>
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
<div class="just-txt-div">
<strong> 500+</strong>
<p>
Projects
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- PARALLAX LIKE SECTION END-->
<!-- <div class="just-sec">
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<h1 class="head-line">Feature List </h1>
</div>
</div>
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
<div class="just-txt-div">
<i class="fa fa-exchange fa-3x"></i>
<h4>Hand Crafted </h4>
<p >
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sagittis felis dolor vitae.
</p>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
<div class="just-txt-div">
<i class="fa fa-key fa-3x"></i>
<h4>Easy To Customize</h4>
<p >
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sagittis felis dolor vitae.
</p>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
<div class="just-txt-div">
<i class="fa fa-legal fa-3x"></i>
<h4>Light Weight</h4>
<p >
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sagittis felis dolor vitae.
</p>
</div>
</div>
</div>
</div>
</div>
<!--JUST SECTION END-->
<!-- <div class="container " > -->
<!-- <div class="row "> -->
<!-- <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> -->
<!-- <h1 class="head-line">Our Clients </h1> -->
<!-- <br /> -->
<!-- </div> -->
<!-- </div> -->
<!-- <div class="row "> -->
<!-- <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> -->
<!-- <hr /> -->
<!-- <div class="flexslider carousel"> -->
<!-- <ul class="slides"> -->
<!-- <li> -->
<!-- <img src="assets/img/client.jpg" /> -->
<!-- </li> -->
<!-- <li>
<img src="assets/img/client.jpg" />
</li>
<li>
<img src="assets/img/client.jpg" />
</li>
<li>
<img src="assets/img/client.jpg" />
</li>
<li>
<img src="assets/img/client.jpg" />
</li>
<li>
<img src="assets/img/client.jpg" />
</li>
<li>
<img src="assets/img/client.jpg" />
</li>
<li>
<img src="assets/img/client.jpg" />
</li>
<li>
<img src="assets/img/client.jpg" />
</li>
<li>
<img src="assets/img/client.jpg" />
</li>
<li>
<img src="assets/img/client.jpg" />
</li>
<li>
<img src="assets/img/client.jpg" />
</li>
<li>
<img src="assets/img/client.jpg" />
</li>
<li>
<img src="assets/img/client.jpg" />
</li>
<li>
<img src="assets/img/client.jpg" />
</li>
<li>
<img src="assets/img/client.jpg" />
</li>
<li>
<img src="assets/img/client.jpg" />
</li>
<li>
<img src="assets/img/client.jpg" />
</li>
<li>
<img src="assets/img/client.jpg" />
</li>
<li>
<img src="assets/img/client.jpg" />
</li>
</ul>
</div>
<hr />
<br />
</div>
</div>
</div> -->
<!--CLIENT SECTION END-->
<!-- <div class="container " >
<div class="row">
<div class="col-lg-10 col-md-10 col-sm-10 col-lg-offset-1 col-md-offset-1 col-sm-offset-1 col-xs-12 set-div">
<div class="just-txt-div text-center">
<h3><strong>-- Lorem ipsum dolor sit --</strong> </h3>
<p>
Lorem Lorem ipsum dolor sit amet <strong> Lorem ipsum dolor sit ametLorem </strong> ipsum dolor sit ametLorem
ipsum dolor sit ametLorem ipsum dolor
<br /><br />
</p>
<a class="btn btn-info btn-lg" href="#">Read More Here</a>
&nbsp;&nbsp;
<a class="btn btn-success btn-lg" href="#">Download Now </a>
</div>
</div>
</div>
</div> -->
<!--SET-DIV SECTION END-->

<div class="footer-sec">
<div class="container">
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">


<h3> <strong>ABOUT COMPANY</strong> </h3>
<p style="padding-right:50px;" >
The Schedule Me chat bot was developed at LA Hacks 2017 by four Saratoga High School students.
</p>
</div>


</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
Expand All @@ -395,5 +161,10 @@ <h3> <strong>ABOUT COMPANY</strong> </h3>
<!--CUSTOM SCRIPTS -->
<script src="assets/js/custom.js"></script>
</body>

<script>
function openEdit() {
var bizName = window.location.hash.substring(1);
window.location.href = "/editBasicInfo.html" + "#" + bizName;
}
</script>
</html>
2 changes: 1 addition & 1 deletion register-employee.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ <h1 style = "color: #FFFFFF;font-size: 44px;text-align: center; font-family: "Ro
name: arrayOfEmp[a]
});
}
window.location.href = "/landingTest.html";
window.location.href = "/landingTest.html" + '#' + bizName;
}

function remove(){
Expand Down

0 comments on commit e7ced26

Please sign in to comment.