aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-02-03 16:27:24 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2024-02-09 22:16:21 +0200
commite84455b95eced6015cd00a75a47594a3a1d2bc63 (patch)
tree0a5db9b388f9bdd4a74ac343022bb695cb69b213 /web
parenttempl: prepare the layout (diff)
downloadsoko-e84455b95eced6015cd00a75a47594a3a1d2bc63.tar.gz
soko-e84455b95eced6015cd00a75a47594a3a1d2bc63.tar.bz2
soko-e84455b95eced6015cd00a75a47594a3a1d2bc63.zip
migrate about pages
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'web')
-rw-r--r--web/templates/about/feedback.tmpl84
-rw-r--r--web/templates/about/feeds.tmpl43
-rw-r--r--web/templates/about/help.tmpl48
-rw-r--r--web/templates/about/index.tmpl44
-rw-r--r--web/templates/about/status.tmpl47
5 files changed, 0 insertions, 266 deletions
diff --git a/web/templates/about/feedback.tmpl b/web/templates/about/feedback.tmpl
deleted file mode 100644
index e7d50a8..0000000
--- a/web/templates/about/feedback.tmpl
+++ /dev/null
@@ -1,84 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-{{template "head" .Header}}
-<body>
-{{template "header" .Header}}
-
-
-<div class="container mb-5">
- <div class="row">
- <div class="col-12">
- <ol class="breadcrumb">
- <li class="breadcrumb-item"><a href="/">Home</a></li>
- <li class="breadcrumb-item"><a href="/about">About</a></li>
- <li class="breadcrumb-item active">Feedback</li>
- </ol>
-
- <h1>Feedback</h1>
-
- <p class="lead">
- Thanks for checking out the new packages.gentoo.org!
- </p>
- <p>
- This site is currently in an <abbr title="minimum viable product">MVP</abbr> state and will be extended further to provide more useful features.
- To help us prioritize new features and learn about your use case for the site, please share your ideas below.
- <br><br>
- </p>
-
- <div class="row">
- <div class="col-md-8">
- <div class="card">
- <h4 class="card-header">
- Send Feedback
- </h4>
- <div class="card-body">
- <form class="form-horizontal" method="post" action="/about/feedback">
- <div class="form-group row">
- <label for="feedback" class="col-sm-2 col-form-label font-weight-bold text-right">Your Feedback:</label>
- <div class="col-sm-10">
- <textarea name="feedback" id="feedback" class="form-control" rows="10" placeholder="Please be sure to explain issues in detail and with exact URL references."></textarea>
- </div>
- </div>
- <div class="form-group row">
- <label for="contact" class="col-sm-2 col-form-label font-weight-bold text-right">Contact (optional):</label>
- <div class="col-sm-10">
- <input type="text" name="contact" class="form-control" id="contact" placeholder="How can we reach you to follow up on your feedback?">
- </div>
- </div>
- <div class="form-group row">
- <div class="offset-sm-2 col-sm-10">
- <button type="submit" class="btn btn-outline-primary">Send</button>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- <div class="col-md-4">
- <div class="card">
- <h4 class="card-header">
- Other ways to get in touch
- </h4>
- <div class="list-group">
- <a href="mailto:gpackages@gentoo.org" class="list-group-item list-group-item-action text-dark">
- <span class="fa fa-fw fa-envelope"></span>
- E-Mail: gpackages@gentoo.org
- </a>
- <a href="irc://irc.gentoo.org/gentoo-www" class="list-group-item list-group-item-action text-dark">
- <span class="fa fa-fw fa-comments-o"></span>
- IRC: #gentoo-www
- </a>
- </div>
- </div>
- </div>
- </div>
-
- </div>
-</div>
-</div>
-
-
-{{template "footer" .Application }}
-
-</body>
-</html>
diff --git a/web/templates/about/feeds.tmpl b/web/templates/about/feeds.tmpl
deleted file mode 100644
index a1560ad..0000000
--- a/web/templates/about/feeds.tmpl
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-{{template "head" .Header}}
-<body>
-{{template "header" .Header}}
-
-
-<div class="container mb-5">
- <div class="row">
- <div class="col-12">
- <ol class="breadcrumb">
- <li class="breadcrumb-item"><a href="/">Home</a></li>
- <li class="breadcrumb-item"><a href="/about">About</a></li>
- <li class="breadcrumb-item active">Update Feeds</li>
- </ol>
-
- <h1>Update Feeds</h1>
-
- <p>
- You can find Atom feeds here:
- </p>
-
- <ul>
- <li>
- For all packages: Right column on the <a href="/categories">category listing</a>.
- </li>
- <li>
- For specific architectures: In the <a href="/arches">architectures section</a>.
- </li>
- <li>
- For specific packages: In the <em>Resources</em> box on the respective package pages.
- </li>
- </ul>
-
- </div>
-</div>
-</div>
-
-
-{{template "footer" .Application }}
-
-</body>
-</html>
diff --git a/web/templates/about/help.tmpl b/web/templates/about/help.tmpl
deleted file mode 100644
index e2c1fe6..0000000
--- a/web/templates/about/help.tmpl
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-{{template "head" .Header}}
-<body>
-{{template "header" .Header}}
-
-
-<div class="container mb-5">
- <div class="row">
- <div class="col-12">
- <ol class="breadcrumb">
- <li class="breadcrumb-item"><a href="/">Home</a></li>
- <li class="breadcrumb-item"><a href="/about">About</a></li>
- <li class="breadcrumb-item active">Help</li>
- </ol>
-
- <h1>Help</h1>
-
- <h2 id="keyword-legend">Keyword table legend</h2>
-
- <ul class="list-group kk-keyword-legend">
- <li class="list-group-item kk-keyword-stable">
- <svg height="16" class="octicon octicon-diff-added" viewBox="0 0 14 16" version="1.1" width="14" aria-hidden="true"><path fill-rule="evenodd" d="M13 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 13H1V2h12v12zM6 9H3V7h3V4h2v3h3v2H8v3H6V9z"></path></svg> &nbsp;Stable
- </li>
- <li class="list-group-item kk-keyword-testing">
- <svg height="16" class="octicon octicon-diff-modified" viewBox="0 0 14 16" version="1.1" width="14" aria-hidden="true"><path fill-rule="evenodd" d="M13 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path></svg> &nbsp;Testing
- </li>
- <li class="list-group-item kk-keyword-unavailable">
- <svg height="16" class="octicon octicon-diff-removed" viewBox="0 0 14 16" version="1.1" width="14" aria-hidden="true"><path fill-rule="evenodd" d="M13 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 13H1V2h12v12zm-2-5H3V7h8v2z"></path></svg> &nbsp;Explicitly unavailable
- </li>
- <li class="list-group-item kk-keyword-masked">
- <svg height="16" class="octicon octicon-diff-ignored" viewBox="0 0 14 16" version="1.1" width="14" aria-hidden="true"><path fill-rule="evenodd" d="M13 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 13H1V2h12v12zm-8.5-2H3v-1.5L9.5 4H11v1.5L4.5 12z"></path></svg> &nbsp;Masked
- </li>
- <li class="list-group-item kk-keyword-unknown">
- <span class="kk-octicon-spacer"></span>&nbsp;Unknown
- </li>
- </ul>
-
-
- </div>
-</div>
-</div>
-
-
-{{template "footer" .Application }}
-
-</body>
-</html>
diff --git a/web/templates/about/index.tmpl b/web/templates/about/index.tmpl
deleted file mode 100644
index af72f4f..0000000
--- a/web/templates/about/index.tmpl
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-{{template "head" .Header}}
-<body>
-{{template "header" .Header}}
-
-
-<div class="container mb-5">
- <div class="row">
- <div class="col-12 text-center">
-
- <h1 class="px-3 pt-5 pb-1" style="font-size: 3em;">About packages.gentoo.org</h1>
- <span style="font-size: 90%;" class="text-muted">Feel free to <a href="/about/feedback">get in touch</a> if you have any questions that are not answered on this page.<br/>
- And welcome to the new packages.gentoo.org!</span>
-
- </div>
-
- <div class="col-12 mt-5 pt-4">
-
-
- <h2>FAQ</h2>
-
- <dl>
- <dt>Which version is currently running?</dt>
- <dd>
- Currently {{.Application.Version}} is running{{if ne .CommitId ""}}, based on commit {{.CommitId}}{{end}}.
- </dd>
- <br>
- <dt>How often is the site updated?</dt>
- <dd>
- Updates are scheduled <strong>every 5 minutes now</strong>.
- You can find the last time an import task was started in the footer.
- </dd>
- </dl>
-
-</div>
-</div>
-</div>
-
-
-{{template "footer" .Application }}
-
-</body>
-</html>
diff --git a/web/templates/about/status.tmpl b/web/templates/about/status.tmpl
deleted file mode 100644
index 14b151f..0000000
--- a/web/templates/about/status.tmpl
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-{{template "head" .Header}}
-<body>
-{{template "header" .Header}}
-
-
-<div class="container mb-5">
- <div class="row">
- <div class="col-12 text-center">
-
- <h1 class="px-3 pt-5 pb-1" style="font-size: 3em;">About packages.gentoo.org</h1>
- <span style="font-size: 90%;" class="text-muted">Feel free to <a href="/about/feedback">get in touch</a> if you have any questions that are not answered on this page.<br/>
- And welcome to the new packages.gentoo.org!</span>
-
- </div>
-
- <div class="col-8 offset-md-2 mt-5 pt-4">
-
- <table class="table">
- <thead>
- <tr>
- <th scope="col">Type</th>
- <th scope="col">Last Update</th>
- <th scope="col">Age</th>
- </tr>
- </thead>
- <tbody>
- {{range .Applications}}
- <tr>
- <th scope="row" class="text-capitalize">{{.Id}}</th>
- <td>{{.LastUpdate.Format "2006-01-02 15:04:05"}} UTC</td>
- <td>{{timeSince .LastUpdate}}</td>
- </tr>
- {{end}}
- </tbody>
- </table>
-
- </div>
-</div>
-</div>
-
-
-{{template "footer" .Application }}
-
-</body>
-</html>