-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
101 lines (93 loc) · 4.08 KB
/
Copy pathpopup.html
File metadata and controls
101 lines (93 loc) · 4.08 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
<!doctype html>
<html lang="tr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="popup.css" />
<title>TableForge — MSSOFT</title>
</head>
<body>
<header class="app-header">
<div class="brand">
<span class="brand-mark" aria-hidden="true">
<svg viewBox="0 0 24 24" width="19" height="19" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round">
<rect x="3" y="4" width="18" height="16" rx="2.5" />
<line x1="3" y1="9.5" x2="21" y2="9.5" />
<line x1="3" y1="15" x2="21" y2="15" />
<line x1="9" y1="9.5" x2="9" y2="20" />
<line x1="15" y1="9.5" x2="15" y2="20" />
</svg>
</span>
<div class="brand-text">
<span class="brand-eyebrow">MSSOFT</span>
<h1>TableForge</h1>
</div>
</div>
<button id="rescan" class="icon-btn" title="Sayfayı yeniden tara" aria-label="Sayfayı yeniden tara">
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M21 12a9 9 0 1 1-3-6.7" />
<polyline points="21 3 21 9 15 9" />
</svg>
</button>
</header>
<div class="subbar">
<span class="subbar-dot" aria-hidden="true"></span>
<span id="source-line" class="source-line">Sayfa taranıyor…</span>
</div>
<div class="toolbar">
<label class="field">
<span class="field-label">Dışa aktarma biçimi</span>
<select id="format" class="select">
<optgroup label="Veri">
<option value="csv">CSV — Elektronik tablo</option>
<option value="tsv">TSV — Sekmeyle ayrılmış</option>
<option value="json">JSON — Veri ve kayıtlar</option>
<option value="markdown">Markdown tablosu</option>
</optgroup>
<optgroup label="Kod ve tasarım">
<option value="html">HTML — Tablo işaretlemesi</option>
<option value="standalone">Tek dosya HTML — CSS gömülü</option>
<option value="css">CSS — Eşleşen kurallar</option>
</optgroup>
</select>
<span id="format-hint" class="field-hint"></span>
</label>
<button id="export-all" class="btn btn-secondary" disabled>Tümünü aktar</button>
</div>
<main id="list" class="list" aria-live="polite">
<!-- table cards injected here -->
</main>
<div id="empty" class="empty hidden">
<span class="empty-mark" aria-hidden="true">
<svg viewBox="0 0 24 24" width="26" height="26" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round">
<rect x="3" y="4" width="18" height="16" rx="2.5" />
<line x1="3" y1="9.5" x2="21" y2="9.5" />
<line x1="9" y1="9.5" x2="9" y2="20" />
</svg>
</span>
<p id="empty-text">Bu sayfada tablo bulunamadı.</p>
<button id="empty-rescan" class="btn btn-secondary">Yeniden tara</button>
</div>
<div id="preview-modal" class="modal hidden" role="dialog" aria-modal="true" aria-label="Tablo önizleme">
<div class="modal-card">
<div class="modal-head">
<h2 id="preview-title">Önizleme</h2>
<button id="preview-close" class="icon-btn" aria-label="Önizlemeyi kapat">
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round">
<line x1="6" y1="6" x2="18" y2="18" />
<line x1="18" y1="6" x2="6" y2="18" />
</svg>
</button>
</div>
<div id="preview-body" class="modal-body"></div>
<p id="preview-note" class="preview-note"></p>
</div>
</div>
<div id="toast" class="toast hidden"></div>
<footer class="app-footer">
<span id="count-line" class="count-line">—</span>
<span class="foot-brand">MSSOFT · TableForge 1.0</span>
</footer>
<script src="popup.js"></script>
</body>
</html>