aboutsummaryrefslogtreecommitdiff
path: root/tests/resources/assets
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-05-02 18:34:58 -0300
committerEuAndreh <eu@euandre.org>2025-05-02 19:10:40 -0300
commit715815e3bea7fec41a385742b0a6a8fee4c5cf99 (patch)
treee752e49b0127cae36724877174579aaff801a0c5 /tests/resources/assets
parentWIP: Commit sh code as-is (diff)
downloadgistatic-715815e3bea7fec41a385742b0a6a8fee4c5cf99.tar.gz
gistatic-715815e3bea7fec41a385742b0a6a8fee4c5cf99.tar.xz
Switch from POSIX sh to Go
Diffstat (limited to 'tests/resources/assets')
-rw-r--r--tests/resources/assets/index.html73
-rw-r--r--tests/resources/assets/logo.svg62
-rw-r--r--tests/resources/assets/repo/logo.svg62
-rw-r--r--tests/resources/assets/repo/refs.html116
-rw-r--r--tests/resources/assets/repo/style.css100
-rw-r--r--tests/resources/assets/style.css100
6 files changed, 0 insertions, 513 deletions
diff --git a/tests/resources/assets/index.html b/tests/resources/assets/index.html
deleted file mode 100644
index 344a73b..0000000
--- a/tests/resources/assets/index.html
+++ /dev/null
@@ -1,73 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="description" content="Index of repositories" />
- <link rel="icon" type="image/svg+xml" href="logo.svg" />
- <link rel="stylesheet" type="text/css" href="style.css" />
- <title>Repositories</title>
- </head>
- <body>
- <header>
- <div class="header-horizontal-grouping">
- <img alt="Logo image of the repository list" class="logo" src="logo.svg" />
- <h1 class="header-description">
- Repositories
- </h1>
- </div>
- <hr />
- </header>
- <main>
- <table>
- <thead>
- <tr>
- <th>
- Name
- </th>
- <th>
- Description
- </th>
- <th>
- Last commit
- </th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- <a href="repo-1/">
- repo-1
- </a>
- </td>
- <td>
- Submodule repository for gistatic project tests
- </td>
- <td>
- 2021-07-31 19:29
- </td>
- </tr>
- <tr>
- <td>
- <a href="repo-2/">
- repo-2
- </a>
- </td>
- <td>
-
- </td>
- <td>
- 2021-07-31 19:27
- </td>
- </tr>
- </tbody>
- </table>
- </main>
- <footer>
- <hr />
- <p>
- Generated with <a href="https://euandreh.xyz/gistatic">gistatic</a>.
- </p>
- </footer>
- </body>
-</html>
diff --git a/tests/resources/assets/logo.svg b/tests/resources/assets/logo.svg
deleted file mode 100644
index ce566b2..0000000
--- a/tests/resources/assets/logo.svg
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
- <path d="M 0 8 L 1 8 L 1 9 L 0 9 L 0 8 Z" />
- <path d="M 0 13 L 1 13 L 1 14 L 0 14 L 0 13 Z" />
- <path d="M 1 8 L 2 8 L 2 9 L 1 9 L 1 8 Z" />
- <path d="M 1 13 L 2 13 L 2 14 L 1 14 L 1 13 Z" />
- <path d="M 2 8 L 3 8 L 3 9 L 2 9 L 2 8 Z" />
- <path d="M 2 13 L 3 13 L 3 14 L 2 14 L 2 13 Z" />
- <path d="M 3 8 L 4 8 L 4 9 L 3 9 L 3 8 Z" />
- <path d="M 3 13 L 4 13 L 4 14 L 3 14 L 3 13 Z" />
- <path d="M 4 7 L 5 7 L 5 8 L 4 8 L 4 7 Z" />
- <path d="M 4 8 L 5 8 L 5 9 L 4 9 L 4 8 Z" />
- <path d="M 4 13 L 5 13 L 5 14 L 4 14 L 4 13 Z" />
- <path d="M 5 6 L 6 6 L 6 7 L 5 7 L 5 6 Z" />
- <path d="M 5 7 L 6 7 L 6 8 L 5 8 L 5 7 Z" />
- <path d="M 5 13 L 6 13 L 6 14 L 5 14 L 5 13 Z" />
- <path d="M 6 5 L 7 5 L 7 6 L 6 6 L 6 5 Z" />
- <path d="M 6 6 L 7 6 L 7 7 L 6 7 L 6 6 Z" />
- <path d="M 6 14 L 7 14 L 7 15 L 6 15 L 6 14 Z" />
- <path d="M 7 1 L 8 1 L 8 2 L 7 2 L 7 1 Z" />
- <path d="M 7 14 L 8 14 L 8 15 L 7 15 L 7 14 Z" />
- <path d="M 7 15 L 8 15 L 8 16 L 7 16 L 7 15 Z" />
- <path d="M 7 2 L 8 2 L 8 3 L 7 3 L 7 2 Z" />
- <path d="M 7 3 L 8 3 L 8 4 L 7 4 L 7 3 Z" />
- <path d="M 7 4 L 8 4 L 8 5 L 7 5 L 7 4 Z" />
- <path d="M 7 5 L 8 5 L 8 6 L 7 6 L 7 5 Z" />
- <path d="M 8 1 L 9 1 L 9 2 L 8 2 L 8 1 Z" />
- <path d="M 8 15 L 9 15 L 9 16 L 8 16 L 8 15 Z" />
- <path d="M 9 1 L 10 1 L 10 2 L 9 2 L 9 1 Z" />
- <path d="M 9 2 L 10 2 L 10 3 L 9 3 L 9 2 Z" />
- <path d="M 9 6 L 10 6 L 10 7 L 9 7 L 9 6 Z" />
- <path d="M 9 15 L 10 15 L 10 16 L 9 16 L 9 15 Z" />
- <path d="M 10 2 L 11 2 L 11 3 L 10 3 L 10 2 Z" />
- <path d="M 10 3 L 11 3 L 11 4 L 10 4 L 10 3 Z" />
- <path d="M 10 4 L 11 4 L 11 5 L 10 5 L 10 4 Z" />
- <path d="M 10 5 L 11 5 L 11 6 L 10 6 L 10 5 Z" />
- <path d="M 10 6 L 11 6 L 11 7 L 10 7 L 10 6 Z" />
- <path d="M 11 6 L 12 6 L 12 7 L 11 7 L 11 6 Z" />
- <path d="M 11 8 L 12 8 L 12 9 L 11 9 L 11 8 Z" />
- <path d="M 10 15 L 11 15 L 11 16 L 10 16 L 10 15 Z" />
- <path d="M 11 10 L 12 10 L 12 11 L 11 11 L 11 10 Z" />
- <path d="M 11 12 L 12 12 L 12 13 L 11 13 L 11 12 Z" />
- <path d="M 11 14 L 12 14 L 12 15 L 11 15 L 11 14 Z" />
- <path d="M 11 15 L 12 15 L 12 16 L 11 16 L 11 15 Z" />
- <path d="M 12 6 L 13 6 L 13 7 L 12 7 L 12 6 Z" />
- <path d="M 12 8 L 13 8 L 13 9 L 12 9 L 12 8 Z" />
- <path d="M 12 10 L 13 10 L 13 11 L 12 11 L 12 10 Z" />
- <path d="M 12 12 L 13 12 L 13 13 L 12 13 L 12 12 Z" />
- <path d="M 12 14 L 13 14 L 13 15 L 12 15 L 12 14 Z" />
- <path d="M 13 6 L 14 6 L 14 7 L 13 7 L 13 6 Z" />
- <path d="M 13 8 L 14 8 L 14 9 L 13 9 L 13 8 Z" />
- <path d="M 13 10 L 14 10 L 14 11 L 13 11 L 13 10 Z" />
- <path d="M 13 12 L 14 12 L 14 13 L 13 13 L 13 12 Z" />
- <path d="M 13 13 L 14 13 L 14 14 L 13 14 L 13 13 Z" />
- <path d="M 13 14 L 14 14 L 14 15 L 13 15 L 13 14 Z" />
- <path d="M 14 7 L 15 7 L 15 8 L 14 8 L 14 7 Z" />
- <path d="M 14 8 L 15 8 L 15 9 L 14 9 L 14 8 Z" />
- <path d="M 14 9 L 15 9 L 15 10 L 14 10 L 14 9 Z" />
- <path d="M 14 10 L 15 10 L 15 11 L 14 11 L 14 10 Z" />
- <path d="M 14 11 L 15 11 L 15 12 L 14 12 L 14 11 Z" />
- <path d="M 14 12 L 15 12 L 15 13 L 14 13 L 14 12 Z" />
-</svg>
diff --git a/tests/resources/assets/repo/logo.svg b/tests/resources/assets/repo/logo.svg
deleted file mode 100644
index ce566b2..0000000
--- a/tests/resources/assets/repo/logo.svg
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
- <path d="M 0 8 L 1 8 L 1 9 L 0 9 L 0 8 Z" />
- <path d="M 0 13 L 1 13 L 1 14 L 0 14 L 0 13 Z" />
- <path d="M 1 8 L 2 8 L 2 9 L 1 9 L 1 8 Z" />
- <path d="M 1 13 L 2 13 L 2 14 L 1 14 L 1 13 Z" />
- <path d="M 2 8 L 3 8 L 3 9 L 2 9 L 2 8 Z" />
- <path d="M 2 13 L 3 13 L 3 14 L 2 14 L 2 13 Z" />
- <path d="M 3 8 L 4 8 L 4 9 L 3 9 L 3 8 Z" />
- <path d="M 3 13 L 4 13 L 4 14 L 3 14 L 3 13 Z" />
- <path d="M 4 7 L 5 7 L 5 8 L 4 8 L 4 7 Z" />
- <path d="M 4 8 L 5 8 L 5 9 L 4 9 L 4 8 Z" />
- <path d="M 4 13 L 5 13 L 5 14 L 4 14 L 4 13 Z" />
- <path d="M 5 6 L 6 6 L 6 7 L 5 7 L 5 6 Z" />
- <path d="M 5 7 L 6 7 L 6 8 L 5 8 L 5 7 Z" />
- <path d="M 5 13 L 6 13 L 6 14 L 5 14 L 5 13 Z" />
- <path d="M 6 5 L 7 5 L 7 6 L 6 6 L 6 5 Z" />
- <path d="M 6 6 L 7 6 L 7 7 L 6 7 L 6 6 Z" />
- <path d="M 6 14 L 7 14 L 7 15 L 6 15 L 6 14 Z" />
- <path d="M 7 1 L 8 1 L 8 2 L 7 2 L 7 1 Z" />
- <path d="M 7 14 L 8 14 L 8 15 L 7 15 L 7 14 Z" />
- <path d="M 7 15 L 8 15 L 8 16 L 7 16 L 7 15 Z" />
- <path d="M 7 2 L 8 2 L 8 3 L 7 3 L 7 2 Z" />
- <path d="M 7 3 L 8 3 L 8 4 L 7 4 L 7 3 Z" />
- <path d="M 7 4 L 8 4 L 8 5 L 7 5 L 7 4 Z" />
- <path d="M 7 5 L 8 5 L 8 6 L 7 6 L 7 5 Z" />
- <path d="M 8 1 L 9 1 L 9 2 L 8 2 L 8 1 Z" />
- <path d="M 8 15 L 9 15 L 9 16 L 8 16 L 8 15 Z" />
- <path d="M 9 1 L 10 1 L 10 2 L 9 2 L 9 1 Z" />
- <path d="M 9 2 L 10 2 L 10 3 L 9 3 L 9 2 Z" />
- <path d="M 9 6 L 10 6 L 10 7 L 9 7 L 9 6 Z" />
- <path d="M 9 15 L 10 15 L 10 16 L 9 16 L 9 15 Z" />
- <path d="M 10 2 L 11 2 L 11 3 L 10 3 L 10 2 Z" />
- <path d="M 10 3 L 11 3 L 11 4 L 10 4 L 10 3 Z" />
- <path d="M 10 4 L 11 4 L 11 5 L 10 5 L 10 4 Z" />
- <path d="M 10 5 L 11 5 L 11 6 L 10 6 L 10 5 Z" />
- <path d="M 10 6 L 11 6 L 11 7 L 10 7 L 10 6 Z" />
- <path d="M 11 6 L 12 6 L 12 7 L 11 7 L 11 6 Z" />
- <path d="M 11 8 L 12 8 L 12 9 L 11 9 L 11 8 Z" />
- <path d="M 10 15 L 11 15 L 11 16 L 10 16 L 10 15 Z" />
- <path d="M 11 10 L 12 10 L 12 11 L 11 11 L 11 10 Z" />
- <path d="M 11 12 L 12 12 L 12 13 L 11 13 L 11 12 Z" />
- <path d="M 11 14 L 12 14 L 12 15 L 11 15 L 11 14 Z" />
- <path d="M 11 15 L 12 15 L 12 16 L 11 16 L 11 15 Z" />
- <path d="M 12 6 L 13 6 L 13 7 L 12 7 L 12 6 Z" />
- <path d="M 12 8 L 13 8 L 13 9 L 12 9 L 12 8 Z" />
- <path d="M 12 10 L 13 10 L 13 11 L 12 11 L 12 10 Z" />
- <path d="M 12 12 L 13 12 L 13 13 L 12 13 L 12 12 Z" />
- <path d="M 12 14 L 13 14 L 13 15 L 12 15 L 12 14 Z" />
- <path d="M 13 6 L 14 6 L 14 7 L 13 7 L 13 6 Z" />
- <path d="M 13 8 L 14 8 L 14 9 L 13 9 L 13 8 Z" />
- <path d="M 13 10 L 14 10 L 14 11 L 13 11 L 13 10 Z" />
- <path d="M 13 12 L 14 12 L 14 13 L 13 13 L 13 12 Z" />
- <path d="M 13 13 L 14 13 L 14 14 L 13 14 L 13 13 Z" />
- <path d="M 13 14 L 14 14 L 14 15 L 13 15 L 13 14 Z" />
- <path d="M 14 7 L 15 7 L 15 8 L 14 8 L 14 7 Z" />
- <path d="M 14 8 L 15 8 L 15 9 L 14 9 L 14 8 Z" />
- <path d="M 14 9 L 15 9 L 15 10 L 14 10 L 14 9 Z" />
- <path d="M 14 10 L 15 10 L 15 11 L 14 11 L 14 10 Z" />
- <path d="M 14 11 L 15 11 L 15 12 L 14 12 L 14 11 Z" />
- <path d="M 14 12 L 15 12 L 15 13 L 14 13 L 14 12 Z" />
-</svg>
diff --git a/tests/resources/assets/repo/refs.html b/tests/resources/assets/repo/refs.html
deleted file mode 100644
index 1faaf0c..0000000
--- a/tests/resources/assets/repo/refs.html
+++ /dev/null
@@ -1,116 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="description" content="Submodule repository for gistatic project tests" />
- <link rel="icon" type="image/svg+xml" href="logo.svg" />
- <link rel="stylesheet" type="text/css" href="style.css" />
- <link rel="alternate" type="application/atom+xml" href="commits.xml" title="repo-1 - commit feed" hreflang="en" />
- <link rel="alternate" type="application/atom+xml" href="tags.xml" title="repo-1 - tags feed" hreflang="en" />
- <title>repo-1</title>
- </head>
- <body>
- <header>
- <div class="header-horizontal-grouping">
- <a href="../">
- <img alt="Logo image of the repository" class="logo" src="logo.svg" />
- </a>
- <div class="header-description">
- <h1>
- repo-1
- </h1>
- <h2>
- Submodule repository for gistatic project tests
- </h2>
- <code>
- git clone https://example.com/
- </code>
- </div>
- </div>
- <nav>
- <ul>
- <li>
- <a href="files.html">
- files
- </a>
- </li>
- <li>
- <a href="log.html">
- log
- </a>
- </li>
- <li class="selected-nav-item">
- <a href="refs.html">
- refs
- </a>
- </li>
- </ul>
- </nav>
- <hr />
- </header>
- <main>
- <table>
- <thead>
- <tr>
- <th>
- Branch
- </th>
- <th>
- Commit message
- </th>
- <th>
- Author
- </th>
- <th>
- Date
- </th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- <a href="log/main.html">
- main
- </a>
- </td>
- <td>
- <a href="commit/1eaf054b3ceb3badcb36a2293277c758454a630d.html">
- description: Add
- </a>
- </td>
- <td>
- EuAndreh
- </td>
- <td>
- 2021-07-31 19:29
- </td>
- </tr>
- </tbody>
- </table>
- <table>
- <thead>
- <tr>
- <th>
- Tag
- </th>
- <th>
- Author
- </th>
- <th>
- Date
- </th>
- </tr>
- </thead>
- <tbody>
- </tbody>
- </table>
- </main>
- <footer>
- <hr />
- <p>
- Generated with <a href="https://euandreh.xyz/gistatic">gistatic</a>.
- </p>
- </footer>
- </body>
-</html>
diff --git a/tests/resources/assets/repo/style.css b/tests/resources/assets/repo/style.css
deleted file mode 100644
index ad8a08b..0000000
--- a/tests/resources/assets/repo/style.css
+++ /dev/null
@@ -1,100 +0,0 @@
-:root {
- --color: black;
- --background-color: white;
- --hover-color: hsl(0, 0%, 93%);
- --nav-color: hsl(0, 0%, 87%);
-}
-
-@media(prefers-color-scheme: dark) {
- :root {
- --color: white;
- --background-color: black;
- --hover-color: hsl(0, 0%, 7%);
- --nav-color: hsl(0, 0%, 13%);
- }
-
- body {
- color: var(--color);
- background-color: var(--background-color);
- }
-
- a {
- color: hsl(211, 100%, 60%);
- }
-
- a:visited {
- color: hsl(242, 100%, 80%);
- }
-}
-
-body {
- font-family: monospace;
- max-width: 1100px;
- margin: 0 auto 0 auto;
-}
-
-.logo {
- height: 6em;
- width: 6em;
-}
-
-.header-horizontal-grouping {
- display: flex;
- align-items: center;
- margin-top: 1em;
- margin-bottom: 1em;
-}
-
-.header-description {
- margin-left: 2em;
-}
-
-nav {
- margin-top: 2em;
-}
-
-nav ul {
- display: flex;
- list-style-type: none;
- margin-bottom: 0;
-}
-
-nav li {
- margin-left: 10px;
-}
-
-nav a, nav a:visited {
- padding: 2px 8px 0px 8px;
- color: var(--color);
-}
-
-.selected-nav-item {
- background-color: var(--nav-color);
-}
-
-hr {
- margin-top: 0;
- border: 0;
- border-top: 3px solid var(--nav-color);
-}
-
-table {
- margin: 2em auto;
-}
-
-th {
- padding-bottom: 1em;
-}
-
-tbody tr:hover {
- background-color: var(--hover-color);
-}
-
-td {
- padding-left: 1em;
- padding-right: 1em;
-}
-
-footer {
- text-align: center;
-}
diff --git a/tests/resources/assets/style.css b/tests/resources/assets/style.css
deleted file mode 100644
index ad8a08b..0000000
--- a/tests/resources/assets/style.css
+++ /dev/null
@@ -1,100 +0,0 @@
-:root {
- --color: black;
- --background-color: white;
- --hover-color: hsl(0, 0%, 93%);
- --nav-color: hsl(0, 0%, 87%);
-}
-
-@media(prefers-color-scheme: dark) {
- :root {
- --color: white;
- --background-color: black;
- --hover-color: hsl(0, 0%, 7%);
- --nav-color: hsl(0, 0%, 13%);
- }
-
- body {
- color: var(--color);
- background-color: var(--background-color);
- }
-
- a {
- color: hsl(211, 100%, 60%);
- }
-
- a:visited {
- color: hsl(242, 100%, 80%);
- }
-}
-
-body {
- font-family: monospace;
- max-width: 1100px;
- margin: 0 auto 0 auto;
-}
-
-.logo {
- height: 6em;
- width: 6em;
-}
-
-.header-horizontal-grouping {
- display: flex;
- align-items: center;
- margin-top: 1em;
- margin-bottom: 1em;
-}
-
-.header-description {
- margin-left: 2em;
-}
-
-nav {
- margin-top: 2em;
-}
-
-nav ul {
- display: flex;
- list-style-type: none;
- margin-bottom: 0;
-}
-
-nav li {
- margin-left: 10px;
-}
-
-nav a, nav a:visited {
- padding: 2px 8px 0px 8px;
- color: var(--color);
-}
-
-.selected-nav-item {
- background-color: var(--nav-color);
-}
-
-hr {
- margin-top: 0;
- border: 0;
- border-top: 3px solid var(--nav-color);
-}
-
-table {
- margin: 2em auto;
-}
-
-th {
- padding-bottom: 1em;
-}
-
-tbody tr:hover {
- background-color: var(--hover-color);
-}
-
-td {
- padding-left: 1em;
- padding-right: 1em;
-}
-
-footer {
- text-align: center;
-}