freshdesk-filters/chromium/popup.html
vlw 0a7a9b676a feat: add option to set agent name(s) with Regular Expression (#1)
Agent names can now be set either explicitly like before, or with a regular expression.

Reviewed-on: https://codeberg.org/vlw/freshdesk-filters/pulls/1
Co-authored-by: vlw <victor@vlw.se>
Co-committed-by: vlw <victor@vlw.se>
2025-10-14 10:42:40 +02:00

53 lines
No EOL
1.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ggedde/spry-css@2.3.23/dist/spry.min.css">
<link rel="stylesheet" href="assets/css/popup.css">
</head>
<body>
<div class="row g-0">
<h1>Freshdesk Filters</h1>
<a href="https://codeberg.org/vlw/freshdesk-filters" target="_blank">View source on Codeberg ➜</a>
</div>
<hr class="mb-3">
<form class="accent-primary">
<div class="row mb-2 g-3">
<div>
<label>
<h5>My name</h5>
<input type="text" name="agent_name" placeholder="Nisse Hult">
</label>
<label class="my-1">
<input type="checkbox" name="is_agent_name_regex">
Use Regular Expression
</label>
</div>
</div>
<hr>
<div class="row my-2 g-3">
<div>
<label class="my-1">
<input type="checkbox" name="is_open_ticket_new_tab">
Open tickets in a new tab
</label>
<label class="my-1">
<input type="checkbox" name="is_dim_not_assigned">
Dim tickets that are not assigned to me
</label>
<label class="my-1">
<input type="checkbox" name="is_move_assigned_to_top">
Move tickets assigned to me to the top
</label>
</div>
</div>
<div class="mt-3">
<button class="btn mx-auto" type="submit">Save</button>
</div>
</form>
<script src="assets/js/popup.js"></script>
</body>
</html>