Skip to content
Browse files

Changes for editing docs

  • Loading branch information...
2 parents 5349fc6 + 7155e96 commit 9a1ff42944aa3186599f8ed78102f92e0ea4515f @davepack davepack committed Dec 7, 2012
View
59 addResource.html
@@ -0,0 +1,59 @@
+<html>
+ <head>
+ <title>Add a new Resource</title>
+ <script type="text/javascript">
+ function sendData() {
+ var url = "addWebsite.php";
+ var urlInput = document.getElementById("url").value;
+ var title = document.getElementById("title").value;
+ var tags = document.getElementById("tags").value;
+ var isDoc = document.getElementById("isDoc").checked;
+ if(isDoc) {
+ isDoc = 1;
+ } else {
+ isDoc = 0;
+ }
+ var params = "url=" + urlInput + "&title=" + title + "&tags=" + tags + "&isDoc=" + isDoc;
+
+ var http = new XMLHttpRequest();
+ http.open("POST", url, true);
+ http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
+ http.setRequestHeader("Content-length", params.length);
+ http.setRequestHeader("Connection", "close");
+ http.onreadystatechange = function() {
+ if(http.readyState == 4 && http.status == 200) {
+ document.getElementById("success").innerHTML = http.responseText;
+ document.getElementById("url").value = "";
+ document.getElementById("title").value = "";
+ document.getElementById("tags").value = "";
+ document.getElementById("isDoc").checked = false;
+ document.getElementById("website").checked = false;
+
+ setTimeout(function(){
+ document.getElementById("success").innerHTML = "";
+ },3000);
+ }
+ };
+ http.send(params);
+ }
+ </script>
+ </head>
+ <body>
+ <h1>Add a new Resource</h1>
+ <p>URL is the full URL with http:// and everything.</p>
+ <p>Title is whatever title fits best for the Resource.</p>
+ <p>Tags is a comma sepparated list of categories the resource fits in
+ such as "staff,academic,advisement resources".
+ The search works by whatever string is in the query is searched for in the tag fields.</p>
+ <p>Let me know if you have any questions!</p>
+ <form action="" onsubmit="sendData(); return false;">
+ URL: <input type="text" name="url" id="url"><br/>
+ Title: <input type="text" name="title" id="title"><br/>
+ Tags: <input type="text" name="tags" id="tags"><br/>
+ <input type="radio" name="document" id="isDoc"> Document<br/>
+ <input type="radio" name="document" id="website"> or Website<br/>
+ <input type="submit" value="Submit">
+ </form>
+ <h2 id="success"></h2>
+ </body>
+</html>
View
BIN img/logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
4 index.html
@@ -30,9 +30,9 @@
$('#login_button').click(function(){
netId = $('#net_id').val();
if(netId == "student"){
- window.location = "./pages.html#students/session_history"
+ window.location = "./pages.html#students/advisement"
} else if(netId == "advisor"){
- window.location = "./pages.html#advisors"
+ window.location = "./pages.html#advisors/students/future"
} else {
}
View
17 js/application.js
@@ -50,13 +50,15 @@ $(function(){
window.location.assign('#advisors');
});
-
+ $('.input-append button').click(function() {
+ loadDocSearch($(this).siblings('input').val());
+ });
});
function clickOnResource(urlToGoTo) {
if(document.getElementById('end-sesh')) {
var http = new XMLHttpRequest();
- var url = "http://www.williamsware.com/cs/urlReturner.php";
+ var url = "urlReturner.php";
var params = "url=" + urlToGoTo;
http.open("POST", url, true);
http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
@@ -73,6 +75,17 @@ function clickOnResource(urlToGoTo) {
}
}
+function loadDocSearch(searchQuery) {
+ new EJS({url: './pages/advisors/aResource.ejs'})
+ .update('content', '../searchService.php?query=' + searchQuery);
+}
+
+function loadDocCategory(searchQuery, headerToClose) {
+ loadDocSearch(searchQuery);
+ //document.getElementById(headerToClose).click();
+ $('#' + headerToClose).trigger('click');
+}
+
//24 - 16 - 11
//1250 + 1000
View
54 pages.html
@@ -47,7 +47,7 @@
<div class="container">
<div id="advisor-buttons" class="row hide">
<div class="span4">
- <a href="#advisors/students" class="btn header active">Students</a>
+ <a href="#advisors/students/future" class="btn header active">Students</a>
</div>
<div class="span4">
<a href="./index.html"><img src="./img/logo.png" /></a>
@@ -72,12 +72,6 @@
<div id="subnav" class="container">
<div id="students-advisement" class="row hide">
- <div class="span4 menu left">
- <h5><a href="#">Past Sessions</a></h5>
- </div>
- <div class="offset4 span4 menu middle">
- <h5><a href="#">Future Sessions</a></h5>
- </div>
</div>
<div id="students-resources" class="row students hide">
<div class="span4 menu left">
@@ -101,13 +95,13 @@
</div>
<div id="menu-depts" class="offset3 span3 menu middle">
<ul>
- <li onclick="new EJS({url: './pages/advisors/aResource.ejs'}).update('content', './pages/advisors/documents.json'); document.getElementById('departmentsMenuHeader').click();">Business</li>
- <li><a href="#">Continuing Education</a></li>
- <li><a href="#">Education</a></li>
- <li><a href="#">Engineering and Tech</a></li>
- <li><a href="#">Family, Home, and Social</a></li>
- <li><a href="#">Fine Arts and Comm</a></li>
- <li><a href="#">Graduate Studies</a></li>
+ <li onclick="loadDocCategory('business', 'departmentsMenuHeader');">Business</li>
+ <li onclick="loadDocCategory('continuing', 'departmentsMenuHeader');">Continuing Education</li>
+ <li onclick="loadDocCategory('education', 'departmentsMenuHeader');">Education</li>
+ <li onclick="loadDocCategory('engineering', 'departmentsMenuHeader');">Engineering and Tech</li>
+ <li onclick="loadDocCategory('family', 'departmentsMenuHeader');">Family, Home, and Social</li>
+ <li onclick="loadDocCategory('arts', 'departmentsMenuHeader');">Fine Arts and Comm</li>
+ <li onclick="loadDocCategory('graduate', 'departmentsMenuHeader');">Graduate Studies</li>
<!-- <li><a href="#">Humanities</a></li>
<li><a href="#">International Studies</a></li>
<li><a href="#">Law School</a></li>
@@ -120,27 +114,27 @@ <h5 id="departmentsMenuHeader">Colleges</h5>
</div>
<div id="menu-car" class="offset6 span3 menu middle">
<ul>
- <li><a href="#">Resumes</a></li>
- <li><a href="#">Networking</a></li>
- <li><a href="#">Interviewing</a></li>
- <li><a href="#">Career Development</a></li>
- <li><a href="#">Internships</a></li>
- <li><a href="#">Employers</a></li>
+ <li onclick="loadDocCategory('resumes', 'careerMenuHeader');">Resumes</li>
+ <li onclick="loadDocCategory('networking', 'careerMenuHeader');">Networking</li>
+ <li onclick="loadDocCategory('interviewing', 'careerMenuHeader');">Interviewing</li>
+ <li onclick="loadDocCategory('career', 'careerMenuHeader');">Career Development</li>
+ <li onclick="loadDocCategory('internships', 'careerMenuHeader');">Internships</li>
+ <li onclick="loadDocCategory('employers', 'careerMenuHeader');">Employers</li>
</ul>
- <h5>Career</h5>
+ <h5 id="careerMenuHeader">Career</h5>
</div>
<div id="menu-acad" class="offset9 span3 menu right">
<ul>
- <li><a href="#">Course Catalog</a></li>
- <li><a href="#">Helpful Course Outlines</a></li>
- <li><a href="#">MAPs</a></li>
- <li><a href="#">Choosing a Major</a></li>
- <li><a href="#">Choosing a Career</a></li>
- <li><a href="#">Graduate School</a></li>
- <li><a href="#">Advisement Services</a></li>
- <li><a href="#">Staff</a></li>
+ <li onclick="loadDocCategory('course', 'academicMenuHeader');">Course Catalog</li>
+ <li onclick="loadDocCategory('outlines', 'academicMenuHeader');">Helpful Course Outlines</li>
+ <li onclick="loadDocCategory('maps', 'academicMenuHeader');">MAPs</li>
+ <li onclick="loadDocCategory('major', 'academicMenuHeader');">Choosing a Major</li>
+ <li onclick="loadDocCategory('choosing', 'academicMenuHeader');">Choosing a Career</li>
+ <li onclick="loadDocCategory('graduate', 'academicMenuHeader');">Graduate School</li>
+ <li onclick="loadDocCategory('advisement', 'academicMenuHeader');">Advisement Services</li>
+ <li onclick="loadDocCategory('staff', 'academicMenuHeader');">Staff</li>
</ul>
- <h5>Academic</h5>
+ <h5 id="academicMenuHeader">Academic</h5>
</div>
</div>
</div>
View
16 pages/advisors.ejs
@@ -1,9 +1,9 @@
-<div id="content" class="container">
-
-</div>
-<script>
-
- new EJS({url: './pages/advisors/default.ejs'}).update('content', './pages/advisors/apts.json');
-
-// $('#content').html(html);
+<div id="content" class="container">
+
+</div>
+<script>
+
+ new EJS({url: './pages/advisors/default.ejs'}).update('content', './pages/advisors/apts.json');
+
+// $('#content').html(html);
</script>
View
48 pages/advisors/aResource.ejs
@@ -1,24 +1,24 @@
-<div class="row">
- <div class="span6 offset3">
- <h4>Documents:</h4>
- <div id="resourceList">
- <table class="table table-bordered">
- <thead>
- <tr>
- <th>Title</th>
- <th> </th>
- </tr>
- </thead>
- <tbody>
- <% for (var index in results) {
- var result = results[index] %>
- <tr class="apt-row" <%= "onclick='clickOnResource(\"" %><%= result.url%><%= "\");'" %> >
- <td><%= result.title %></td>
- <td><%= (result.isDoc == '1')? "<i class='icon-file'>" : "<i class='icon-globe'>" %></td>
- </tr>
- <% } %>
- </tbody>
- </table>
- </div>
- </div>
-</div>
+<div class="row">
+ <div class="span6 offset3">
+ <h4>Documents:</h4>
+ <div id="resourceList">
+ <table class="table table-bordered">
+ <thead>
+ <tr>
+ <th>Title</th>
+ <th> </th>
+ </tr>
+ </thead>
+ <tbody>
+ <% for (var index in results) {
+ var result = results[index] %>
+ <tr class="apt-row" <%= "onclick='clickOnResource(\"" %><%= result.url%><%= "\");'" %> >
+ <td><%= result.title %></td>
+ <td><%= (result.isDoc == '1')? "<i class='icon-file'>" : "<i class='icon-globe'>" %></td>
+ </tr>
+ <% } %>
+ </tbody>
+ </table>
+ </div>
+ </div>
+</div>
View
42 pages/advisors/apts.json
@@ -1,21 +1,21 @@
-
- apts = [
- {
- "time" : "3:00p",
- "netid" : "jdoe",
- "fname" : "John",
- "lname" : "Doe"
- },
- {
- "time" : "3:30p",
- "netid" : "hblank",
- "fname" : "Hank",
- "lname" : "Blank"
- },
- {
- "time" : "4:00p",
- "netid" : "jjames28",
- "fname" : "James",
- "lname" : "Jameson"
- }
- ]
+
+ apts = [
+ {
+ "time" : "3:00p",
+ "netid" : "jdoe",
+ "fname" : "John",
+ "lname" : "Doe"
+ },
+ {
+ "time" : "3:30p",
+ "netid" : "hblank",
+ "fname" : "Hank",
+ "lname" : "Blank"
+ },
+ {
+ "time" : "4:00p",
+ "netid" : "jjames28",
+ "fname" : "James",
+ "lname" : "Jameson"
+ }
+ ]
View
2 pages/advisors/documents.json
@@ -1 +1 @@
-results = [{ "url":"https://ppa.byu.edu/sites/ppa.byu.edu/files/New%20PPA%20Website%20Content/Premanagement/Handouts/Why%20a%20MBA.pdf", "title":"Why an MBA should be in Your Future", "isDoc":"1" }, { "url":"https://ppa.byu.edu/sites/ppa.byu.edu/files/New%20PPA%20Website%20Content/Premanagement/Handouts/GMAT%2C%20information.pdf", "title":"The GMAT", "isDoc":"1" }, { "url":"https://ppa.byu.edu/", "title":"Pre Professional Advisement Center", "isDoc":"0" }, { "url":"https://ucs.byu.edu/students/interviewing/after", "title":"After the Interview", "isDoc":"0" }, ]
+results = [{ "url":"https://ppa.byu.edu/sites/ppa.byu.edu/files/New%20PPA%20Website%20Content/Premanagement/Handouts/Why%20a%20MBA.pdf", "title":"Why an MBA should be in Your Future", "isDoc":"1" }, { "url":"https://ppa.byu.edu/sites/ppa.byu.edu/files/New%20PPA%20Website%20Content/Premanagement/Handouts/GMAT%2C%20information.pdf", "title":"The GMAT", "isDoc":"1" }, { "url":"https://ppa.byu.edu/", "title":"Pre Professional Advisement Center", "isDoc":"0" }, { "url":"https://ucs.byu.edu/students/interviewing/after", "title":"After the Interview", "isDoc":"0" }, ]
View
14 pages/advisors/resources/manage.ejs
@@ -1,8 +1,8 @@
-<div class="container">
- <div class="row">
- <div class="span12">
- <h1>Manage Resources</h1>
- <a href="#advisors/resources/editdoc">Add Document</a> | <a href="#advisors/resources/editweb">Add Website</a>
- </div>
- </div>
+<div class="container">
+ <div class="row">
+ <div class="span12">
+ <h1>Manage Resources</h1>
+ <a href="#advisors/resources/editdoc">Add Document</a> | <a href="#advisors/resources/editweb">Add Website</a>
+ </div>
+ </div>
</div>
View
12 pages/advisors/resources/view.ejs
@@ -1,7 +1,7 @@
-<div class="container">
- <div class="row">
- <div class="span12">
- <h1>View Resource</h1>
- </div>
- </div>
+<div class="container">
+ <div class="row">
+ <div class="span12">
+ <h1>View Resource</h1>
+ </div>
+ </div>
</div>
View
16 pages/advisors/students.ejs
@@ -1,9 +1,9 @@
-<div id="content" class="container">
-
-</div>
-<script>
-
- new EJS({url: './pages/advisors/default.ejs'}).update('content', './pages/advisors/apts.json');
-
-// $('#content').html(html);
+<div id="content" class="container">
+
+</div>
+<script>
+
+ new EJS({url: './pages/advisors/default.ejs'}).update('content', './pages/advisors/apts.json');
+
+// $('#content').html(html);
</script>
View
83 pages/advisors/students/fsessionsAll.json
@@ -0,0 +1,83 @@
+
+fsessions = [
+ {
+ "date" : "12/06/2012",
+ "time" : "10:00am",
+ "netid" : "darkFace",
+ "fname" : "Billy",
+ "lname" : "Jean",
+ "email" : "Billy@hotmail.com"
+ },
+ {
+ "date" : "12/06/2012",
+ "time" : "10:30am",
+ "netid" : "sk8ter4life",
+ "fname" : "Sean",
+ "lname" : "Johnson",
+ "email" : "sean@hotmail.com"
+ },
+ {
+ "date" : "12/06/2012",
+ "time" : "11:00am",
+ "netid" : "koolkid",
+ "fname" : "Guy",
+ "lname" : "Mollison",
+ "email" : "Guy@hotmail.com"
+ },
+ {
+ "date" : "12/06/2012",
+ "time" : "11:30am",
+ "netid" : "ag33",
+ "fname" : "Allison",
+ "lname" : "Garnett",
+ "email" : "Allison@hotmail.com"
+ },
+ {
+ "date" : "12/06/2012",
+ "time" : "12:00pm",
+ "netid" : "koolAidMan",
+ "fname" : "KoolAid",
+ "lname" : "Man",
+ "email" : "KoolAidKid@hotmail.com"
+ },
+ {
+ "date" : "12/07/2012",
+ "time" : "10:00am",
+ "netid" : "killerBunnies",
+ "fname" : "Carl",
+ "lname" : "Brook",
+ "email" : "Karl@hotmail.com"
+ },
+ {
+ "date" : "12/07/2012",
+ "time" : "10:30am",
+ "netid" : "shamFam",
+ "fname" : "Gordon",
+ "lname" : "Shamanis",
+ "email" : "Gordon@hotmail.com"
+ },
+ {
+ "date" : "12/07/2012",
+ "time" : "11:00am",
+ "netid" : "iAmBatman",
+ "fname" : "Bruce",
+ "lname" : "Wayne",
+ "email" : "Bruce@hotmail.com"
+ },
+ {
+ "date" : "12/07/2012",
+ "time" : "11:30am",
+ "netid" : "jokes",
+ "fname" : "The",
+ "lname" : "Joker",
+ "email" : "joker@hotmail.com"
+ },
+ {
+ "date" : "12/07/2012",
+ "time" : "12:00pm",
+ "netid" : "user3571",
+ "fname" : "Captian",
+ "lname" : "kirk",
+ "email" : "Kirk@hotmail.com"
+ }
+]
View
54 pages/advisors/students/fsessions.json → .../advisors/students/fsessionsTopThree.json
@@ -1,27 +1,27 @@
-
-fsessions = [
- {
- "date" : "12/05/2012",
- "time" : "3:00p",
- "netid" : "jdoe",
- "fname" : "John",
- "lname" : "Doe",
- "email" : "john@doe.com"
- },
- {
- "date" : "12/05/2012",
- "time" : "3:30p",
- "netid" : "hblank",
- "fname" : "Hank",
- "lname" : "Blank",
- "email" : "lankyhanky@msn.com"
- },
- {
- "date" : "12/05/2012",
- "time" : "4:00p",
- "netid" : "jjames28",
- "fname" : "James",
- "lname" : "Jameson",
- "email" : "jammyjams@yahoo.com"
- }
-]
+
+fsessions = [
+ {
+ "date" : "12/05/2012",
+ "time" : "3:00p",
+ "netid" : "jdoe",
+ "fname" : "John",
+ "lname" : "Doe",
+ "email" : "john@doe.com"
+ },
+ {
+ "date" : "12/05/2012",
+ "time" : "3:30p",
+ "netid" : "hblank",
+ "fname" : "Hank",
+ "lname" : "Blank",
+ "email" : "lankyhanky@msn.com"
+ },
+ {
+ "date" : "12/05/2012",
+ "time" : "4:00p",
+ "netid" : "jjames28",
+ "fname" : "James",
+ "lname" : "Jameson",
+ "email" : "jammyjams@yahoo.com"
+ }
+]
View
12 pages/advisors/students/future.ejs
@@ -1,9 +1,8 @@
<div id="the-sessions" class="container">
<div class="row">
- <div class="span8 offset2">
- <h3>Future Sessions</h3>
+ <div class="span12">
+ <h3>Up Next</h3>
<div id="acc-content">
-
</div>
<div class="row-fluid">
@@ -15,11 +14,16 @@
</div>
</div>
+ <h3>Down The Road</h3>
+ <div id="acc-content2">
+ </div>
</div>
</div>
</div>
<script>
- new EJS({url: './pages/advisors/students/table_future.ejs'}).update('acc-content', './pages/advisors/students/fsessions.json');
+ new EJS({url: './pages/advisors/students/table_future.ejs'}).update('acc-content', './pages/advisors/students/fsessionsTopThree.json');
+
+ new EJS({url: './pages/advisors/students/table_futureAll.ejs'}).update('acc-content2', './pages/advisors/students/fsessionsAll.json');
</script>
View
2 pages/advisors/students/past.ejs
@@ -1,6 +1,6 @@
<div id="the-sessions" class="container">
<div class="row">
- <div class="span8 offset2">
+ <div class="span12">
<h3>Past Sessions</h3>
<div id="acc-content">
View
86 pages/advisors/students/psessions.json
@@ -1,27 +1,59 @@
-
-psessions = [
- {
- "date" : "12/04/2012",
- "time" : "3:00p",
- "netid" : "lqbonbon",
- "fname" : "La'Quesha",
- "lname" : "Bonfayfay",
- "email" : "la@hotmail.com"
- },
- {
- "date" : "12/04/2012",
- "time" : "3:30p",
- "netid" : "luke",
- "fname" : "Luke",
- "lname" : "Skywalker",
- "email" : "VaderNation@hotmail.com"
- },
- {
- "date" : "12/04/2012",
- "time" : "4:00p",
- "netid" : "samee5",
- "fname" : "Sam",
- "lname" : "McGee",
- "email" : "samster@gmail.com"
- }
-]
+
+psessions = [
+ {
+ "date" : "12/04/2012",
+ "time" : "3:00p",
+ "netid" : "lqbonbon",
+ "fname" : "La'Quesha",
+ "lname" : "Bonfayfay",
+ "email" : "la@hotmail.com"
+ },
+ {
+ "date" : "12/04/2012",
+ "time" : "3:30p",
+ "netid" : "luke",
+ "fname" : "Luke",
+ "lname" : "Skywalker",
+ "email" : "VaderNation@hotmail.com"
+ },
+ {
+ "date" : "12/04/2012",
+ "time" : "4:00p",
+ "netid" : "samee5",
+ "fname" : "Sam",
+ "lname" : "McGee",
+ "email" : "samster@gmail.com"
+ },
+ {
+ "date" : "12/03/2012",
+ "time" : "3:30p",
+ "netid" : "Billy",
+ "fname" : "Billy",
+ "lname" : "May",
+ "email" : "CallNow@hotmail.com"
+ },
+ {
+ "date" : "12/03/2012",
+ "time" : "4:00p",
+ "netid" : "ChuckN",
+ "fname" : "Chuck",
+ "lname" : "Norris",
+ "email" : "samster@gmail.com"
+ },
+ {
+ "date" : "12/03/2012",
+ "time" : "4:30pm",
+ "netid" : "fruitPhone4Life",
+ "fname" : "Steve",
+ "lname" : "Jobs",
+ "email" : "SteveJobs@hotmail.com"
+ },
+ {
+ "date" : "12/02/2012",
+ "time" : "3:00pm",
+ "netid" : "samTheMan",
+ "fname" : "Sam",
+ "lname" : "Borg",
+ "email" : "samster@gmail.com"
+ }
+]
View
30 pages/advisors/students/table_futureAll.ejs
@@ -0,0 +1,30 @@
+<div id="tb-accordionAll" class="accordion">
+ <div class="dis-table">
+ <div class="acc-row">
+ <div>Date - Time</div>
+ <div>Name</div>
+ </div>
+ </div>
+
+
+ <% for (var abb in fsessions) { %>
+ <% var sesh = fsessions[abb] %>
+ <div class="accordion-group">
+ <div class="accordion-heading">
+ <a class="accordion-toggle acc-row" data-toggle="collapse" data-parent="#tb-accordionAll" href="#seshAll-<%= abb %>">
+ <div><%= sesh.date %> - <%= sesh.time %></div>
+ <div><%= sesh.fname %> <%= sesh.lname %></div>
+ </a>
+ </div>
+ <div id="seshAll-<%= abb %>" class="accordion-body collapse">
+ <div class="accordion-inner acc-inner-row">
+ <div><strong>Email:</strong> <%= sesh.email %></div>
+ <div><strong>NetID:</strong> <%= sesh.netid %></div>
+ <div><button id="<%= sesh.netid %>" class="btn btn-primary start-sesh f-sesh">Start Session</button></div>
+ </div>
+ </div>
+ </div>
+ <% } %>
+
+
+</div>
View
117 pages/students/advisement.ejs
@@ -0,0 +1,117 @@
+<div class="container">
+ <div class="row">
+ <div class="span12">
+ <div class="accordion" id="accordion2">
+ <br>
+ <div class="accordion-group">
+ <div class="accordion-heading">
+ <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
+ Mike Jones
+ </a>
+ </div>
+
+ <div id="collapseOne" class="accordion-body collapse">
+ <div class="accordion-inner">
+ <table class="table">
+ <thead>
+ <tr>
+ <th>Resource</th>
+ <th>Type</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><a href= "https://ucs.byu.edu/sites/ucs.byu.edu/files/handouts/Resumes101.pdf">Resume Creation 101</a></td>
+ <td><i class="icon-file"></td>
+ </tr>
+ <tr>
+ <td><a href="https://ucs.byu.edu/students/development/explore">Career Exploration</a></td>
+ <td><i class="icon-globe"></i></td>
+ </tr>
+ <tr>
+ <td><a href="http://www.bls.gov/ooh/">Occupational Outlook Handbook</a></td>
+ <td><i class="icon-globe"></i></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ </div>
+
+ <div class="accordion-group">
+ <div class="accordion-heading">
+ <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">
+ Hillary Espino
+ </a>
+ </div>
+
+ <div id="collapseTwo" class="accordion-body collapse">
+ <div class="accordion-inner">
+ <table class="table">
+ <thead>
+ <tr>
+ <th>Resource</th>
+ <th>Type</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><a href= "https://ucs.byu.edu/sites/ucs.byu.edu/files/handouts/Resumes101.pdf">Resumes 101</a></td>
+ <td><i class="icon-file"></td>
+ </tr>
+ <tr>
+ <td><a href= "https://ucs.byu.edu/sites/ucs.byu.edu/files/readings/Greed-JJChristensen.pdf">What to do with your Money</a></td>
+ <td><i class="icon-file"></i></td>
+ </tr>
+ <tr>
+ <td><a href="https://ucs.byu.edu/students/networking">Networking</a></td>
+ <td><i class="icon-globe"></i></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ </div>
+
+ <div class="accordion-group">
+ <div class="accordion-heading">
+ <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseThree">
+ Sue Sanders
+ </a>
+ </div>
+
+ <div id="collapseThree" class="accordion-body collapse">
+ <div class="accordion-inner">
+ <table class="table">
+ <thead>
+ <tr>
+ <th>Resource</th>
+ <th>Type</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><a href="http://saas.byu.edu/advisement/pdf/12/484620.pdf">BA in MUSIC MAP</a></td>
+ <td><i class="icon-file"></td>
+ </tr>
+ <tr>
+ <td><a href= "http://arts.byu.edu/">Lack of Technical Skills Interview Tips</a></td>
+ <td><i class="icon-globe"></i></td>
+ </tr>
+ <tr>
+ <td><a href= "https://ucs.byu.edu/sites/ucs.byu.edu/files/handouts/Senior-Survey-Humanities.pdf">How to Make Money with a less then useful Major</a></td>
+ <td><i class="icon-file"></i></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ </div>
+
+
+
+
+</div>
+ </div>
+ </div>
+</div>
View
326 pages/students/session_history.ejs
@@ -1,117 +1,213 @@
<div class="container">
- <div class="row">
- <div class="span12">
- <div class="accordion" id="accordion2">
- <br>
- <div class="accordion-group">
- <div class="accordion-heading">
- <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
- Mike Jones
- </a>
- </div>
-
- <div id="collapseOne" class="accordion-body collapse">
- <div class="accordion-inner">
- <table class="table">
- <thead>
- <tr>
- <th>Resource</th>
- <th>Type</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a href= "https://ucs.byu.edu/sites/ucs.byu.edu/files/handouts/Resumes101.pdf">Resume Creation 101</a></td>
- <td><i class="icon-file"></td>
- </tr>
- <tr>
- <td><a href="https://ucs.byu.edu/students/development/explore">Career Exploration</a></td>
- <td><i class="icon-globe"></i></td>
- </tr>
- <tr>
- <td><a href="http://www.bls.gov/ooh/">Occupational Outlook Handbook</a></td>
- <td><i class="icon-globe"></i></td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
-
- <div class="accordion-group">
- <div class="accordion-heading">
- <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">
- Hillary Espino
- </a>
- </div>
-
- <div id="collapseTwo" class="accordion-body collapse">
- <div class="accordion-inner">
- <table class="table">
- <thead>
- <tr>
- <th>Resource</th>
- <th>Type</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a href= "https://ucs.byu.edu/sites/ucs.byu.edu/files/handouts/Resumes101.pdf">Resumes 101</a></td>
- <td><i class="icon-file"></td>
- </tr>
- <tr>
- <td><a href= "https://ucs.byu.edu/sites/ucs.byu.edu/files/readings/Greed-JJChristensen.pdf">What to do with your Money</a></td>
- <td><i class="icon-file"></i></td>
- </tr>
- <tr>
- <td><a href="https://ucs.byu.edu/students/networking">Networking</a></td>
- <td><i class="icon-globe"></i></td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
-
- <div class="accordion-group">
- <div class="accordion-heading">
- <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseThree">
- Sue Sanders
- </a>
- </div>
-
- <div id="collapseThree" class="accordion-body collapse">
- <div class="accordion-inner">
- <table class="table">
- <thead>
- <tr>
- <th>Resource</th>
- <th>Type</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a href="http://saas.byu.edu/advisement/pdf/12/484620.pdf">BA in MUSIC MAP</a></td>
- <td><i class="icon-file"></td>
- </tr>
- <tr>
- <td><a href= "http://arts.byu.edu/">Lack of Technical Skills Interview Tips</a></td>
- <td><i class="icon-globe"></i></td>
- </tr>
- <tr>
- <td><a href= "https://ucs.byu.edu/sites/ucs.byu.edu/files/handouts/Senior-Survey-Humanities.pdf">How to Make Money with a less then useful Major</a></td>
- <td><i class="icon-file"></i></td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
-
-
-
-
-</div>
- </div>
- </div>
+ <div class="row">
+ <div class="span12">
+ <div class="accordion" id="accordion2">
+ <br>
+ <div class="accordion-group">
+ <div class="accordion-heading">
+ <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
+ <div class="row">
+ <div class="span5">
+ Mike Jones
+ </div>
+ <div class="span3 offset2">
+ 11/03/12
+ </div>
+ </div>
+ </a>
+ </div>
+ <div id="collapseOne" class="accordion-body collapse">
+ <div class="accordion-inner">
+ <table class="table">
+ <thead>
+ <tr>
+ <th>Resource</th>
+ <th>Type</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><a href= "https://ucs.byu.edu/sites/ucs.byu.edu/files/handouts/Resumes101.pdf">Resume Creation 101</a></td>
+ <td><i class="icon-file"></td>
+ </tr>
+ <tr>
+ <td><a href="https://ucs.byu.edu/students/development/explore">Career Exploration</a></td>
+ <td><i class="icon-globe"></i></td>
+ </tr>
+ <tr>
+ <td><a href="http://www.bls.gov/ooh/">Occupational Outlook Handbook</a></td>
+ <td><i class="icon-globe"></i></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ </div>
+
+ <div class="accordion-group">
+ <div class="accordion-heading">
+ <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">
+ <div class="row">
+ <div class="span5">
+ Sue Myrick
+ </div>
+ <div class="span3 offset2">
+ 10/20/12
+ </div>
+ </div>
+ </a>
+ </div>
+ <div id="collapseTwo" class="accordion-body collapse">
+ <div class="accordion-inner">
+ <table class="table">
+ <thead>
+ <tr>
+ <th>Resource</th>
+ <th>Type</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><a href= "https://ucs.byu.edu/sites/ucs.byu.edu/files/handouts/Resumes101.pdf">Creating a Resume</a></td>
+ <td><i class="icon-file"></td>
+ </tr>
+ <tr>
+ <td><a href="https://ucs.byu.edu/students/development/explore">Service in the Community</a></td>
+ <td><i class="icon-globe"></i></td>
+ </tr>
+ <tr>
+ <td><a href="http://www.bls.gov/ooh/">Looking Forward</a></td>
+ <td><i class="icon-globe"></i></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ </div>
+
+ <div class="accordion-group">
+ <div class="accordion-heading">
+ <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseThree">
+ <div class="row">
+ <div class="span5">
+ Steve McGinny
+ </div>
+ <div class="span3 offset2">
+ 8/29/12
+ </div>
+ </div>
+ </a>
+ </div>
+ <div id="collapseThree" class="accordion-body collapse">
+ <div class="accordion-inner">
+ <table class="table">
+ <thead>
+ <tr>
+ <th>Resource</th>
+ <th>Type</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><a href= "https://ucs.byu.edu/sites/ucs.byu.edu/files/handouts/Resumes101.pdf">
+ How To Sell Yourself, Resume Tips</a></td>
+ <td><i class="icon-file"></td>
+ </tr>
+ <tr>
+ <td><a href="https://ucs.byu.edu/students/development/explore">Exploring Career Types</a></td>
+ <td><i class="icon-globe"></i></td>
+ </tr>
+ <tr>
+ <td><a href="http://www.bls.gov/ooh/">Career Potential</a></td>
+ <td><i class="icon-globe"></i></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ </div>
+
+ <div class="accordion-group">
+ <div class="accordion-heading">
+ <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseFour">
+ <div class="row">
+ <div class="span5">
+ Billy Ray
+ </div>
+ <div class="span3 offset2">
+ 4/20/11
+ </div>
+ </div>
+ </a>
+ </div>
+ <div id="collapseFour" class="accordion-body collapse">
+ <div class="accordion-inner">
+ <table class="table">
+ <thead>
+ <tr>
+ <th>Resource</th>
+ <th>Type</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><a href= "https://ucs.byu.edu/sites/ucs.byu.edu/files/handouts/Resumes101.pdf">Resumes 101</a></td>
+ <td><i class="icon-file"></td>
+ </tr>
+ <tr>
+ <td><a href= "https://ucs.byu.edu/sites/ucs.byu.edu/files/readings/Greed-JJChristensen.pdf">What to do with your Money</a></td>
+ <td><i class="icon-file"></i></td>
+ </tr>
+ <tr>
+ <td><a href="https://ucs.byu.edu/students/networking">Networking</a></td>
+ <td><i class="icon-globe"></i></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ </div>
+ <div class="accordion-group">
+ <div class="accordion-heading">
+ <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseFive">
+ <div class="row">
+ <div class="span5">
+ Bob Barker
+ </div>
+ <div class="span3 offset2">
+ 1/20/11
+ </div>
+ </div>
+ </a>
+ </div>
+ <div id="collapseFive" class="accordion-body collapse">
+ <div class="accordion-inner">
+ <table class="table">
+ <thead>
+ <tr>
+ <th>Resource</th>
+ <th>Type</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><a href="http://saas.byu.edu/advisement/pdf/12/484620.pdf">BA in MUSIC MAP</a></td>
+ <td><i class="icon-file"></td>
+ </tr>
+ <tr>
+ <td><a href= "http://arts.byu.edu/">Lack of Technical Skills Interview Tips</a></td>
+ <td><i class="icon-globe"></i></td>
+ </tr>
+ <tr>
+ <td><a href= "https://ucs.byu.edu/sites/ucs.byu.edu/files/handouts/Senior-Survey-Humanities.pdf">How to Make Money with a less then useful Major</a></td>
+ <td><i class="icon-file"></i></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
</div>
View
21 studentMirror.html
@@ -7,23 +7,28 @@
function runUpdate() {
$.ajax({
- type: "POST",
- url: "some.php",
- data: "name=John&location=Boston",
+ type: "GET",
+ url: "urlReturner.php",
success: function(msg){
- alert( "Data Saved: " + msg );
+ if(oldURL != msg) {
+ $('#mainFrame').html("<iframe src='" + msg +
+ "' height='100%' width='100%'></iframe>");
+ oldURL = msg;
+ }
}
});
+
+ setTimeout(runUpdate, 10000);
}
+
+ $(document).ready(function(){
+ runUpdate();
+ });
</script>
</head>
<body>
<div id="mainFrame">
<iframe src="http://www.byu.edu/" height="100%" width="100%"></iframe>
</div>
-
- <script type="text/javascript">
- runUpdate();
- </script>
</body>
</html>

0 comments on commit 9a1ff42

Please sign in to comment.
Something went wrong with that request. Please try again.