Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"dependencies": {
"@fortawesome/fontawesome-free": "5.3.1",
"bootstrap": "4.1.3",
"jquery": "3.3.1",
"jquery": "3.5.0",
"jquery.easing": "^1.4.1"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions parts/section.positions.part.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ <h4>ABOUT THE POSITION:</h4>
<h5>Responsibilities</h5>
<ul class="list-unstyled">
<li>Drafting in an AUTOCAD software environment</li>
<li>Learning and interpreting the NC Residential Building Code, current edition; </li>
<li>Determining tributary areas of residential structures and performing load calculations on wood, steel, structural composite lumber, and concrete;</li>
<li>Learning and interpreting the NC Residential Building Code, current edition </li>
<li>Determining tributary areas of residential structures and performing load calculations on wood, steel, structural composite lumber, and concrete</li>
<li>Compiling reports based upon on-site observations of new and existing residential structures. </li>
</ul>

Expand Down
61 changes: 59 additions & 2 deletions site/careers.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ <h4>ABOUT THE POSITION:</h4>
<h5>Responsibilities</h5>
<ul class="list-unstyled">
<li>Drafting in an AUTOCAD software environment</li>
<li>Learning and interpreting the NC Residential Building Code, current edition; </li>
<li>Determining tributary areas of residential structures and performing load calculations on wood, steel, structural composite lumber, and concrete;</li>
<li>Learning and interpreting the NC Residential Building Code, current edition </li>
<li>Determining tributary areas of residential structures and performing load calculations on wood, steel, structural composite lumber, and concrete</li>
<li>Compiling reports based upon on-site observations of new and existing residential structures. </li>
</ul>

Expand Down Expand Up @@ -135,6 +135,63 @@ <h3>Send your Resume and Cover Letter to <a href="mailto:carrie@oke.engineering?



<!-- Contact -->
<section id="contact">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2 class="section-heading text-uppercase">Submit your application</h2>
<!--
<h3 class="section-subheading text-muted">Drop me a line and I'll get back to you ASAP</h3>
-->
</div>
</div>
<div class="row">
<div class="col-lg-12">
<form id="contact-form" method="post">
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="name-input">Name:</label>
<input type="text" id="name-input" placeholder="Enter name here…" class="form-control" required="required" data-validation-required-message="Please enter your name." />
<p class="help-block text-danger"></p>
</div>
<div class="form-group">
<label for="phone-input">Phone:</label>
<input type="phone" id="phone-input" placeholder="Enter phone number" class="form-control" />
<p class="help-block text-danger"></p>
</div>
<div class="form-group">
<label for="email-input">Email:</label>
<input type="email" id="email-input" placeholder="Enter email here…" class="form-control" required="required" data-validation-required-message="Please enter your email." />
<p class="help-block text-danger"></p>
</div>
<div class="form-group">
<label for="file-input">Resume:</label>
<input type="file" id="file-input" placeholder="Upload your resume" class="form-control" />
<p class="help-block text-danger"></p>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="description-input">Message:</label>
<textarea id="description-input" rows="3" placeholder="Enter your message…" class="form-control" required="required" data-validation-required-message="Please enter a message." ></textarea>
<p class="help-block text-danger"></p>
</div>
</div>
<div class="clearfix"></div>
<div class="col-lg-12 text-center">
<div id="success"></div>
<button type="button" onClick="submitToAPI(event)" class="btn btn-primary btn-x1 text-uppercase" >Submit</button>
</div>
</div>
</form>
</div>
</div>
</div>
</section>


<!-- Footer -->
<footer>
<div class="container">
Expand Down
8 changes: 7 additions & 1 deletion site/css/agency.css
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,13 @@ section#contact .section-heading {
}

section#contact .form-group {
margin-bottom: 25px;
/* margin-bottom: 25px; */
margin-bottom: 0px;
}

section#contact .form-group label {
color: white;
text-transform: uppercase;
}

section#contact .form-group input,
Expand Down
96 changes: 49 additions & 47 deletions site/js/contact-form.js
Original file line number Diff line number Diff line change
@@ -1,57 +1,59 @@
function submitToAPI(e) {
e.preventDefault();
var URL = "https://glfy96rnq4.execute-api.us-east-1.amazonaws.com/contact-form-production-api-stage/oke-engineering-contact-form-api-resource";
e.preventDefault();
var URL = "https://0c9hzp8v6g.execute-api.us-east-1.amazonaws.com/default/oke-engineering-contact-form-file-attachment";

var Namere = /[A-Za-z]{1}[A-Za-z]/;
if (!Namere.test($("#name-input").val())) {
alert ("Name can not less than 2 char");
return;
}
var mobilere = /[0-9]{10}/;
if (!mobilere.test($("#phone-input").val())) {
alert ("Please enter valid mobile number");
return;
}
if ($("#email-input").val()=="") {
alert ("Please enter your email id");
return;
}
var Namere = /[A-Za-z]{1}[A-Za-z]/;
if (!Namere.test($("#name-input").val())) {
alert ("Name can not less than 2 char");
return;
}
var mobilere = /[0-9]{10}/;
if (!mobilere.test($("#phone-input").val())) {
alert ("Please enter valid mobile number");
return;
}
if ($("#email-input").val()=="") {
alert ("Please enter your email id");
return;
}

var reeamil = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,6})?$/;
if (!reeamil.test($("#email-input").val())) {
alert ("Please enter valid email address");
return;
}
var reeamil = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,6})?$/;
if (!reeamil.test($("#email-input").val())) {
alert ("Please enter valid email address");
return;
}

var name = $("#name-input").val();
var phone = $("#phone-input").val();
var email = $("#email-input").val();
var desc = $("#description-input").val();
var data = {
name : name,
phone : phone,
email : email,
desc : desc
};
var name = $("#name-input").val();
var phone = $("#phone-input").val();
var email = $("#email-input").val();
var desc = $("#description-input").val();
var file = $("#file-input").val();
var data = {
name : name,
phone : phone,
email : email,
desc : desc,
file : file
};

$.ajax({
type: "POST",
url : "https://glfy96rnq4.execute-api.us-east-1.amazonaws.com/contact-form-production-api-stage/oke-engineering-contact-form-api-resource",
dataType: "json",
crossDomain: "true",
contentType: "application/json; charset=utf-8", 'Access-Control-Allow-Origin': '*',
data: JSON.stringify(data),
$.ajax({
type: "POST",
url : URL,
dataType: "json",
crossDomain: "true",
contentType: "application/json; charset=utf-8", 'Access-Control-Allow-Origin': '*',
data: JSON.stringify(data),


success: function () {
success: function () {
// clear form and show a success message
alert("Successfull");
document.getElementById("contact-form").reset();
location.reload();
},
error: function () {
// show an error message
alert("UnSuccessfull");
}
});
document.getElementById("contact-form").reset();
location.reload();
},
error: function () {
// show an error message
alert("UnSuccessfull");
}
});
}
75 changes: 0 additions & 75 deletions site/js/contact_me.js

This file was deleted.