Repository navigation
Expand file tree
/
Copy pathpanic.html
More file actions
76 lines (73 loc) · 4.01 KB
/
Copy pathpanic.html
File metadata and controls
76 lines (73 loc) · 4.01 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src 'none'; form-action 'none'; base-uri 'none'; object-src 'none'">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Git Map - Panic Recovery</title>
<meta name="description" content="Answer a few questions and get plain-English Git recovery guidance with exact commands, reversibility notes, and prevention tips.">
<link rel="stylesheet" href="src/styles.css">
</head>
<body>
<main>
<section class="topbar" aria-labelledby="page-title">
<div>
<h1 id="page-title">Panic Recovery</h1>
<p class="intro">You did something and you are not sure if it is fixable. Answer a few questions and get a safe next command.</p>
<nav class="page-tabs" aria-label="Git map pages">
<a href="index.html">Flow Map</a>
<a href="branch-map.html">Branch Map</a>
<a href="panic.html" aria-current="page">Panic Recovery</a>
<a href="https://github.com/ikelaiah/git-map" target="_blank" rel="noopener noreferrer">GitHub</a>
<span class="app-version"></span>
</nav>
</div>
<div class="control-stack">
<div class="control-group">
<span class="control-label" id="theme-label">Appearance</span>
<div class="segmented-control theme-switch" role="group" aria-labelledby="theme-label">
<button type="button" data-theme-choice="light" aria-pressed="false">Light</button>
<button type="button" data-theme-choice="dark" aria-pressed="false">Dark</button>
<button type="button" data-theme-choice="system" aria-pressed="true">System</button>
</div>
</div>
</div>
</section>
<section class="panic-tree-panel" aria-labelledby="panic-tree-title">
<header class="panic-tree-header">
<div>
<h2 id="panic-tree-title">Guided rescue</h2>
<p>Answer a couple of questions and we will point you at the right recovery.</p>
</div>
<button type="button" id="panic-tree-reset" class="panic-tree-reset">Start over</button>
</header>
<div id="panic-tree" class="panic-tree"></div>
<p id="panic-stub-message" class="panic-stub" hidden>We do not have a recovery for this exact path yet. Scan the scenarios below, or check the <a href="index.html#workflow-title">Situation Solver</a> on the Flow Map page.</p>
</section>
<section class="panic-list-panel" aria-labelledby="panic-list-title">
<header class="panic-list-header">
<h2 id="panic-list-title">Or pick from the list</h2>
<p>Each scenario explains what happened, how to fix it, and what to do differently next time.</p>
</header>
<div id="panic-cards" class="panic-cards"></div>
</section>
<footer class="privacy-footer">
<details>
<summary><span aria-hidden="true">🔒</span> Private by design: nothing leaves this page</summary>
<ul>
<li>Git Map never touches a real repository. It runs no Git commands and cannot read your files.</li>
<li>Pasted <code>git status</code> output is analysed in this tab and discarded on reload.</li>
<li>No backend, account, cookies, analytics or third-party scripts. No network requests after the page loads, so it works offline.</li>
<li>Enforced by the browser: each page's security policy blocks all network connections.</li>
<li>Only your theme choice and a dismissed hint are stored, in this browser's <code>localStorage</code>.</li>
<li>Commands are text for you to read and run yourself. Risky ones are labelled.</li>
</ul>
<p>Check it: DevTools (F12) → Network stays empty while you use the app.</p>
</details>
</footer>
</main>
<script src="src/version.js"></script>
<script src="src/panic-data.js"></script>
<script src="src/panic.js"></script>
</body>
</html>