-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjobscrapes.html
More file actions
118 lines (108 loc) · 4.81 KB
/
jobscrapes.html
File metadata and controls
118 lines (108 loc) · 4.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Job Scrapes Browser</title>
<link rel="stylesheet" href="_css/table.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.18.5/xlsx.full.min.js"></script>
</head>
<body>
<div class="container">
<h1>Job Scrapes Browser</h1>
<h2>Select an organization and then pick a day.</h2>
<h3>It is preferred to use the "parsed" file for each day due to the html not being sorted in the other file for the day.</h3>
<div class="controls">
<div>
<label for="sourceSelect">Select Source:</label>
<select id="sourceSelect">
<option value="">-- Select a source --</option>
<option value="ClaremontColleges">Claremont Colleges</option>
<option value="DignityHospitals">Dignity Hospitals</option>
<option value="KaiserHospitals">Kaiser Hospitals</option>
</select>
<button id="loadFilesBtn">Load Files</button>
<span id="loadingStatus" class="loading"></span>
</div>
<div style="margin-top: 15px;">
<label for="fileSelect">Select a file:</label>
<select id="fileSelect" disabled>
<option value="">-- Select a file --</option>
</select>
<button id="loadFileBtn" disabled>Load File</button>
</div>
<div class="settings-panel">
<h3>Table Settings</h3>
<label for="defaultColWidth">Default Column Width (px):</label>
<input type="number" id="defaultColWidth" value="150" min="50" max="500">
<button id="applyWidthBtn">Apply</button>
<label for="rowHeight">Row Height (px):</label>
<input type="number" id="rowHeight" value="30" min="20" max="100">
<button id="applyHeightBtn">Apply</button>
<button id="resetLayoutBtn">Reset Layout</button>
</div>
</div>
<!-- Enhanced Table Controls -->
<div class="table-controls" id="tableControls" style="display: none;">
<!-- Sorting Controls -->
<div class="control-group">
<h3>Sorting</h3>
<label>Primary Sort:
<select id="primarySort">
<option value="">-- None --</option>
</select>
<select id="primaryOrder">
<option value="asc">Ascending</option>
<option value="desc">Descending</option>
</select>
</label>
<label>Secondary Sort:
<select id="secondarySort">
<option value="">-- None --</option>
</select>
<select id="secondaryOrder">
<option value="asc">Ascending</option>
<option value="desc">Descending</option>
</select>
</label>
<button id="applySort">Apply Sorting</button>
</div>
<!-- Column Visibility -->
<div class="control-group">
<h3>Column Visibility</h3>
<label>Hide Column:
<select id="columnToHide">
<option value="">-- Select to Hide --</option>
</select>
</label>
<button id="hideColumn">Hide</button>
<button id="showAllColumns">Show All</button>
</div>
<!-- Row Filtering -->
<div class="control-group">
<h3>Filter Rows</h3>
<label>Filter by Column:
<select id="filterColumn">
<option value="">-- Select Column --</option>
</select>
</label>
<label>Filter Value:
<input type="text" id="filterValue" placeholder="Enter value...">
</label>
<button id="applyFilter">Apply Filter</button>
<button id="clearFilter">Clear Filter</button>
</div>
</div>
<div id="fileInfo" class="file-info"></div>
<div class="scroll-container">
<div class="header-scroll" id="headerScroll">
<div class="header-scroll-inner" id="headerScrollInner"></div>
</div>
<div class="table-wrapper" id="tableWrapper">
<div id="tableContainer"></div>
</div>
</div>
</div>
<script src="tableviewer.js"></script>
</body>
</html>