initial commit
This commit is contained in:
25
templates/view-all-icons.html
Normal file
25
templates/view-all-icons.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>nKode Icon Manager</title>
|
||||
<link rel="stylesheet" href="/assets/css/main.css" />
|
||||
<script src="/assets/js/main.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Number of SVGs: {{.SVGCount}}</h1>
|
||||
<div id="svg-grid">
|
||||
{{ range .SVGs }}
|
||||
<div class="grid-item">
|
||||
<div id="{{.Name}}" onclick="iconClick('{{.Name}}')" o>
|
||||
{{.SVG | safeHTML}}
|
||||
</div>
|
||||
<div>{{.Name}}</div>
|
||||
</div>
|
||||
{{else}}
|
||||
<h1>No SVGs Found</h1>
|
||||
<p>no svgs in: {{.Path}}</p>
|
||||
{{end}}
|
||||
</div>
|
||||
<button type="button" onclick="deleteSelected()">Delete Selected</button>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user