Add Report button
This commit is contained in:
parent
40211737bb
commit
700722f048
|
@ -26,6 +26,7 @@ function printHead($self, $pTitle, $title, $desc) {
|
|||
print "\t\t\t<span class=\"title\">$pTitle</span>\n";
|
||||
print "\t\t\t\t<a href=\"$self?action=view\"><img src=\"/viewer/home.svg\" width=\"16\" height=\"16\">Home</a>\n";
|
||||
print "\t\t\t\t<a href=\"$self?action=all\"><img src=\"/viewer/all.svg\" width=\"16\" height=\"16\">All</a>\n";
|
||||
print "\t\t\t\t<a href=\"https://git.speedie.site/speedie/speedie-aur/issues/new\"><img src=\"/viewer/report.svg\" width=\"16\" height=\"16\">Report issue</a>\n";
|
||||
print "\t\t<form method=\"post\" action=\"$self?action=search\"><input type=\"text\" name=\"q\" placeholder=\"search for packages..\"></form>\n";
|
||||
print "\t</div>\n";
|
||||
print "</head>\n";
|
||||
|
@ -142,6 +143,11 @@ function main() {
|
|||
print "\t\t\t\t<p>Then simply <code>pacman -Syu</code> to sync the repositories. Then you can install any of my packages in the same way you install official packages.</p>\n";
|
||||
print "\t\t<h2>How do I use this site?</h2>\n";
|
||||
print "\t\t\t<p>You can search for packages using the input box in the navbar. Then you can select a package to view details about it. You can press 'Home' in the navbar to go back to this page, or 'All' to display all available packages.</p>\n";
|
||||
print "\t\t<h2>FAQ</h2>\n";
|
||||
print "\t\t\t<ul class=\"faq\">\n";
|
||||
print "\t\t\t\t<li>What distros does this support?\n";
|
||||
print "\t\t\t\t<li>speedie-aur has only been tested on upstream Arch Linux, but should work on almost if not all Arch based GNU/Linux distributions.</li></li>\n";
|
||||
print "\t\t\t</ul>\n";
|
||||
} else if ($request == "view" && $query != '') {
|
||||
$packageCount = 0;
|
||||
$packageVersions = array();
|
||||
|
|
55
packages/viewer/report.svg
Executable file
55
packages/viewer/report.svg
Executable file
|
@ -0,0 +1,55 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
version="1.1"
|
||||
viewBox="0 0 256 256"
|
||||
id="svg1"
|
||||
sodipodi:docname="all.svg"
|
||||
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
|
||||
inkscape:export-filename="all.svg"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96"
|
||||
width="256"
|
||||
height="256"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:zoom="0.70056769"
|
||||
inkscape:cx="102.06009"
|
||||
inkscape:cy="15.701552"
|
||||
inkscape:window-width="1354"
|
||||
inkscape:window-height="728"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<defs
|
||||
id="defs1">
|
||||
<style
|
||||
id="current-color-scheme"
|
||||
type="text/css">.ColorScheme-Text { color:#eff0f1; }</style>
|
||||
</defs>
|
||||
<rect
|
||||
style="fill:#ececec;stroke-width:13.8421"
|
||||
id="rect1"
|
||||
width="71.367027"
|
||||
height="125.76781"
|
||||
x="95.512306"
|
||||
y="19.407494" />
|
||||
<rect
|
||||
style="fill:#ececec;stroke-width:7.87967"
|
||||
id="rect1-2"
|
||||
width="71.367027"
|
||||
height="40.754601"
|
||||
x="96.452385"
|
||||
y="197.18311" />
|
||||
</svg>
|
After Width: | Height: | Size: 1.5 KiB |
Loading…
Reference in a new issue