aboutsummaryrefslogtreecommitdiffstats
path: root/options.html
diff options
context:
space:
mode:
authorTeddy Wing2017-03-18 18:38:28 +0100
committerTeddy Wing2017-03-18 18:40:27 +0100
commitb5e45a698e1e90151477361f760a1b4fb29a63d7 (patch)
tree7f454882916988f440571c8c0590d86b95304238 /options.html
parentb3df24818c5e9d8d53d5104a5e1c90b872805960 (diff)
downloadchrome-timetasker-b5e45a698e1e90151477361f760a1b4fb29a63d7.tar.bz2
Add options page
Create an HTML page to store configurable options. These will be used as the defaults when auto-filling fields in time entries.
Diffstat (limited to 'options.html')
-rw-r--r--options.html78
1 files changed, 78 insertions, 0 deletions
diff --git a/options.html b/options.html
new file mode 100644
index 0000000..3b3033e
--- /dev/null
+++ b/options.html
@@ -0,0 +1,78 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Timetasker Options</title>
+</head>
+
+<body>
+ <table>
+ <tr>
+ <td>
+ <label for="client">Client:</label>
+ </td>
+ <td>
+ <input type="text" id="client" name="client" />
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <label for="project">Project:</label>
+ </td>
+ <td>
+ <input type="text" id="project" name="project" />
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <label for="module">Module:</label>
+ </td>
+ <td>
+ <input type="text" id="module" name="module" />
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <label for="task">Task:</label>
+ </td>
+ <td>
+ <input type="text" id="task" name="task" />
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <label for="work_type">Work Type:</label>
+ </td>
+ <td>
+ <input type="text" id="work_type" name="work_type" />
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <label for="time">Time:</label>
+ </td>
+ <td>
+ <input type="text" id="time" name="time" />
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <label for="billable">Billable:</label>
+ </td>
+ <td>
+ <input type="checkbox" id="billable" name="billable" />
+ </td>
+ </tr>
+ </table>
+
+ <div id="status"></div>
+ <button id="save">Save</button>
+
+ <script src="options.js"></script>
+</body>
+</html>