Add startpage

This commit is contained in:
Salt 2020-08-16 07:05:32 -05:00
parent abfa210303
commit efd0630e9b
2 changed files with 261 additions and 0 deletions

165
startpage/index.php Normal file
View File

@ -0,0 +1,165 @@
<html>
<head>
<?php include $_SERVER['DOCUMENT_ROOT'].'/src/common-meta.php';?>
<link href="/startpage/styles/styles.css" type="text/css" rel="stylesheet"/>
<title>New Tab</title>
</head>
<body>
<div class="content">
<div class="startpage-wrapper">
<div class="search-wrapper">
<form class="search-form" id="sp-search-form" action="https://www.startpage.com/do/dsearch" method="post">
<input type="text" name="query" class="search-input" placeholder="sp" autofocus />
</form>
<form class="search-form" id="ddg-search-form" action="https://www.duckduckgo.com/html" method="get">
<input type="text" name="q" class="search-input" placeholder="ddg" />
</form>
</div>
<div class="section-wrapper-header">labbity</div>
<div class="section-wrapper homelab">
<div class="section">
<h4 class="section-header">Quicklinks</h4>
<ul class="section-links">
<li><a href="https://nc.9iron.club/index.php/apps/files">files</a></li>
<li><a href="https://nc.9iron.club/index.php/apps/calendar">calendar</a></li>
<li><a href="https://nc.9iron.club/index.php/apps/deck">deck</a></li>
<li><a href="https://nc.9iron.club/index.php/apps/news">feed</a></li>
<li><a href="https://monitor.9iron.club/">grafana</a></li>
</ul>
</div>
<div class="section">
<h4 class="section-header">9iron</h4>
<ul class="section-links">
<li><a href="https://9iron.club">index</a></li>
<li><a href="https://git.9iron.club">gitea</a></li>
<li><a href="https://nc.9iron.club">nextcloud</a></li>
<li><a href="https://monitor.9iron.club">grafana</a></li>
</ul>
</div>
<div class="section">
<h4 class="section-header">AWS</h4>
<ul class="section-links">
<li><a href="https://console.aws.amazon.com">console</a></li>
<li><a href="https://console.aws.amazon.com/ec2/v2/home">ec2</a></li>
<li><a href="https://console.aws.amazon.com/s3/home">s3</a></li>
<li><a href="https://console.aws.amazon.com/iam/home">iam</a></li>
<li><a href="https://console.aws.amazon.com/billing/home">billing</a></li>
</ul>
</div>
<div class="section">
<h4 class="section-header">Resources</h4>
<ul class="section-links">
<li><a href="https://domains.google.com/">google domains</a></li>
<li><a href="https://docs.ansible.com/ansible/latest/index.html">ansible docs</a></li>
<li><a href="https://www.terraform.io/docs/index.html">terraform docs</a></li>
</ul>
</div>
</div>
<div class="section-wrapper-header">fun</div>
<div class="section-wrapper fun">
<div class="section">
<h4 class="section-header">Fedi</h4>
<ul class="section-links">
<li><a href="https://cowfee.moe">cowfee</a></li>
<li><a href="https://weeaboo.space">quad</a></li>
<li><a href="https://pl.smuglo.li">smugloli</a></li>
<li><a href="https://tube.seriousposter.club/r/seriousposters#">spctube</a></li>
</ul>
</div>
<div class="section">
<h4 class="section-header">Chans</h4>
<ul class="section-links">
<li><a href="https://smuglo.li">smugloli</a> (<a href="https://notso.smuglo.li/a/">a</a>, <a href="https://smugloli.net/a/">b</a>, <a href="http://bhm5koavobq353j54qichcvzr6uhtri6x4bjjy4xkybgvxkzuslzcqid.onion/a/">t</a>)</li>
<li><a href="https://arisuchan.jp">arisuchan</a></li>
<li><a href="https://8kun.top">8kun</a></li>
</ul>
</div>
<div class="section">
<h4 class="section-header">Comms</h4>
<ul class="section-links">
<li><a href="https://riot.im/app">riot</a></li>
<li><a href="https://discordapp.com/app">discord</a></li>
<li><a href="https://web.telegram.org">telegram</a></li>
</ul>
</div>
<div class="section">
<h4 class="section-header">Galleries</h4>
<ul class="section-links">
<li><a href="https://derpibooru.org">derpibooru</a></li>
<li><a href="https://gelbooru.com">gelbooru</a></li>
</ul>
</div>
</div>
<div class="section-wrapper-header">nerd</div>
<div class="section-wrapper work">
<div class="section">
<h4 class="section-header">Git</h4>
<ul class="section-links">
<li><a href="https://git.9iron.club">9iron</a></li>
<li><a href="https://gitlab.com">gitlab</a></li>
<li><a href="https://github.com">github</a></li>
<li><a href="https://git.quad.moe">quad</a></li>
</ul>
</div>
<div class="section">
<h4 class="section-header">Core</h4>
<ul class="section-links">
<li><a href="https://git.9iron.club/salt/home">home</a></li>
<li><a href="https://git.9iron.club/salt/bin">bin</a></li>
<li><a href="https://git.9iron.club/salt/firestarter">firestarter</a></li>
<li><a href="https://git.9iron.club/salt/ansible">ansible</a></li>
</ul>
</div>
<div class="section">
<h4 class="section-header">Auxiliary</h4>
<ul class="section-links">
<li><a href="https://git.9iron.club/salt/www">www</a></li>
<li><a href="https://git.9iron.club/salt/ptgdp">ptgdp</a></li>
<li><a href="https://git.9iron.club/salt/adam">adam</a></li>
</ul>
</div>
<div class="section">
<h4 class="section-header">Other</h4>
<ul class="section-links">
<li><a href="https://tcrf.net">tcrf</a></li>
<li><a href="https://itazuraneko.neocities.org/learn/guide.html">nihongo</a></li>
<li><a href="http://www.vgmpf.com">vgmpf</a></li>
<li><a href="https://git.axiodl.com/AxioDL/urde">urde</a></li>
</ul>
</div>
</div>
<div class="section-wrapper-header">util</div>
<div class="section-wrapper util">
<div class="section">
<h4 class="section-header">Search</h4>
<ul class="section-links">
<li><a href="https://sci-hub.tw">sci-hub</a></li>
<li><a href="https://nyaa.pantsu.cat">nyaa</a></li>
</ul>
</div>
<div class="section">
<h4 class="section-header">Filehosts</h4>
<ul class="section-links">
<li><a href="https://www.archiveteam.org/index.php/Pomf.se/Clones">pomf clones</a></li>
<li><a href="https://dropbox.com">dropbox</a></li>
</ul>
</div>
<div class="section">
<h4 class="section-header">Mail</h4>
<ul class="section-links">
<li><a href="https://mail.cock.li">cockmail</a></li>
<li><a href="https://mail.google.com">goog</a></li>
</ul>
</div>
<div class="section">
<h4 class="section-header">Misc</h4>
<ul class="section-links">
<li><a href="https://repology.org">repology</a></li>
<li><a href="https://dicecloud.com">dicecloud</a></li>
</ul>
</div>
</div>
</div>
<?php include $_SERVER['DOCUMENT_ROOT'].'/src/common-footer.php';?>
</body>
</html>

View File

@ -0,0 +1,96 @@
/*
* startpage.css
* Copyright (C) 2018 salt
*
* Distributed under terms of the MIT license.
*/
/* Globals */
.content {
padding: inherit;
}
/* Specifics */
.container {
display: block;
}
.startpage-wrapper {
padding: 0 0 2em 0;
}
.search-wrapper {
display: flex;
flex-flow: row wrap;
max-width: 640px;
margin: auto;
padding: 2em 0;
position: relative;
}
.search-form {
flex-grow: 1;
padding: 0 1em;
}
.search-input {
background: var(--background-dark);
border: none;
border-bottom: 1px solid var(--link);
color: var(--text-color);
font-size: 16px;
font-family: var(--font);
padding: 0.25em;
transition: .08s ease-in;
width: 100%;
}
.search-input:hover,
.search-input:focus {
border-bottom: 1px solid var(--link-hover);
}
.section-wrapper-header {
font-size: 70%;
letter-spacing: 1em;
margin: auto;
padding-top: 2em 0 1em 0;
text-align: center;
text-transform: uppercase;
}
.section-wrapper {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: auto;
}
.section {
break-inside: avoid;
min-width: 10em;
max-width: 20em;
padding: 1em 0 1em 0;
}
.section-header {
column-span: all;
margin: 0 0 0.25em 0;
text-transform: uppercase;
}
.section-links {
list-style-type: none;
margin: 0;
padding: 0;
line-height: 1.3;
}
.section-links a {
color: var(--link);
text-decoration: none;
transition: .08s ease-in;
}
.section-links a:hover {
color: var(--link-hover);
}