Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
89 lines (81 loc) 路 4.44 KB
/
Copy pathindex.html
File metadata and controls
89 lines (81 loc) 路 4.44 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="color-scheme" content="dark light">
<meta name="description" content="Select and install multiple WinGet packages with one command">
<link rel="shortcut icon" type="image/x-icon" href="./images/favicon.ico">
<title>My Software List</title>
<link rel="stylesheet" href="./styles/home.css">
</head>
<body>
<a href="#main" class="skip-link">Skip to main content</a>
<header class="header">
<button class="theme-toggle" aria-label="Toggle dark mode" id="themeToggle">
<span id="themeIcon">馃寵</span>
</button>
<div class="header-content">
<h1 class="heading">MySoftwareList</h1>
<p class="sub-heading">Select apps and install them with one WinGet command</p>
</div>
</header>
<main class="main" id="main">
<form class="package-form">
<div class="controls">
<div class="search-wrapper">
<svg class="search-icon" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="11" cy="11" r="8"></circle>
<line x1="21" y1="21" x2="16.65" y2="16.65"></line>
</svg>
<input type="text" class="search-input" id="searchInput" placeholder="Search packages..." autocomplete="off">
</div>
<div class="input-group">
<input class="command-input" type="text" readonly id="commandInput" placeholder="Selected packages will appear here...">
<button class="btn btn-secondary" type="button" id="selectAllBtn">Select All</button>
<button class="btn btn-primary" type="button" id="copyBtn">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
<path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
</svg>
Copy
</button>
<button class="btn btn-secondary" type="reset" id="resetBtn">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<polyline points="1 4 1 10 7 10"></polyline>
<path d="M3.51 15a9 9 0 1 0 2.13-9.36L1 10"></path>
</svg>
Reset
</button>
</div>
</div>
<div class="stats-bar">
<span class="selected-count"><span id="selectedCount">0</span> packages selected</span>
<span id="totalPackages"></span>
</div>
<ul class="package-list" id="packageList">
<li class="skeleton" aria-hidden="true"></li>
<li class="skeleton" aria-hidden="true"></li>
<li class="skeleton" aria-hidden="true"></li>
<li class="skeleton" aria-hidden="true"></li>
<li class="skeleton" aria-hidden="true"></li>
</ul>
</form>
<button class="scroll-top" id="scrollTopBtn" aria-label="Scroll to top">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<polyline points="18 15 12 9 6 15"></polyline>
</svg>
</button>
</main>
<div class="toast" id="toast"></div>
<footer class="footer">
<div class="footer-content">
<span>View Source: <a href="https://github.com/AzimsTech/MySoftwareList" target="_blank" rel="noopener">AzimsTech/MySoftwareList</a></span>
<span>路</span>
<span>Read More: <a href="https://learn.microsoft.com/en-us/windows/package-manager/" target="_blank" rel="noopener">What is WinGet?</a></span>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/js-yaml/dist/browser/js-yaml.umd.min.js"></script>
<script src="./scripts/home.js"></script>
</body>
</html>