summaryrefslogtreecommitdiff
path: root/action_popup
diff options
context:
space:
mode:
Diffstat (limited to 'action_popup')
-rw-r--r--action_popup/action_popup.html19
-rw-r--r--action_popup/action_popup.js5
2 files changed, 24 insertions, 0 deletions
diff --git a/action_popup/action_popup.html b/action_popup/action_popup.html
new file mode 100644
index 0000000..720b4ec
--- /dev/null
+++ b/action_popup/action_popup.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <link rel="stylesheet" href="choose_beast.css"/>
+ </head>
+ <body>
+ <header class="panel-section panel-section-header">
+ <!--<div class="icon-section-header">[insert image here]</div>-->
+ <div class="text-section-header">YorkU Web Helper</div>
+ </header>
+ <div class="panel-section panel-section-list">
+ <div id="course-query-link" class="panel-list-item">
+ <div class="text">Course Query</div>
+ </div>
+ </div>
+ <script src="action_popup.js"></script>
+ </body>
+</html>
diff --git a/action_popup/action_popup.js b/action_popup/action_popup.js
new file mode 100644
index 0000000..914041a
--- /dev/null
+++ b/action_popup/action_popup.js
@@ -0,0 +1,5 @@
+document.getElementById("course-query-link").addEventListener("click", function () {
+ chrome.tabs.create({
+ "url": "/yorku-course-query/index.html"
+ });
+});