forked from extern/StartTree
moved files, added skeleton, added install, added example config
This commit is contained in:
parent
74dc30e490
commit
588ca02d26
@ -1,68 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="./styles/style.css">
|
||||
<title>Home</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="prompt">~<span> λ</span> tree</div>
|
||||
<div class="column">
|
||||
<div class="tree">
|
||||
<h1>.</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<h1>general</h1>
|
||||
<ul>
|
||||
<li><a href="https://cloud.paulhouser.xyz">nextcloud</a></li>
|
||||
<li><a href="https://github.com/Paul-Houser">github</a></li>
|
||||
<li><a href="https://gitlab.cs.wwu.edu">wwu-gitlab</a></li>
|
||||
<li><a href="https://mail.google.com">gmail</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<h1>reddit</h1>
|
||||
<ul>
|
||||
<li><a href="https://reddit.com">front page</a></li>
|
||||
<li><a href="https://reddit.com/u/P_swizzles">profile</a></li>
|
||||
<li><a href="https://reddit.com/r/unixporn">unixporn</a></li>
|
||||
<li><a href="https://reddit.com/r/archlinux">archlinux</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column">
|
||||
<div class="tree">
|
||||
<h1>.</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<h1>school</h1>
|
||||
<ul>
|
||||
<li><a href="https://wwu.instructure.com/">canvas</a></li>
|
||||
<li><a href="https://dw.wwu.edu/Dashboard/dashboard">degreeworks</a></li>
|
||||
<li><a href="https://outlook.office.com">outlook</a></li>
|
||||
<li><a href="https://admin.wwu.edu/pls/wwis/twbkwbis.P_GenMenu?name=bmenu.P_MainMnu">web4u</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<h1>other</h1>
|
||||
<ul>
|
||||
<li><a href="https://archlinux.org">arch wiki</a></li>
|
||||
<li><a href="https://hulu.com">hulu</a></li>
|
||||
<li><a href="https://www.netflix.com">netflix</a></li>
|
||||
<li><a href="https://youtube.com">youtube</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="prompt" style="float:bottom">~<span> λ</span> ddg</div>
|
||||
<form action="https://duckduckgo.com/" method="GET">
|
||||
<h1>search ddg: </h1>
|
||||
<input type="text" name="q" autofocus="autofocus">
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
70
WebExample/index.html
Normal file
70
WebExample/index.html
Normal file
@ -0,0 +1,70 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="./styles/style.css">
|
||||
<title>Home</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="prompt">~<span> λ</span> tree</div>
|
||||
<div class="row">
|
||||
<div class="column">
|
||||
<div class="tree">
|
||||
<h1>.</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<h1>general</h1>
|
||||
<ul>
|
||||
<li><a href="https://cloud.paulhouser.xyz">nextcloud</a></li>
|
||||
<li><a href="https://github.com/Paul-Houser">github</a></li>
|
||||
<li><a href="https://gitlab.cs.wwu.edu">wwu-gitlab</a></li>
|
||||
<li><a href="https://mail.google.com">gmail</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<h1>reddit</h1>
|
||||
<ul>
|
||||
<li><a href="https://reddit.com">front page</a></li>
|
||||
<li><a href="https://reddit.com/u/P_swizzles">profile</a></li>
|
||||
<li><a href="https://reddit.com/r/unixporn">unixporn</a></li>
|
||||
<li><a href="https://reddit.com/r/archlinux">archlinux</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column">
|
||||
<div class="tree">
|
||||
<h1>.</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<h1>school</h1>
|
||||
<ul>
|
||||
<li><a href="https://wwu.instructure.com/">canvas</a></li>
|
||||
<li><a href="https://dw.wwu.edu/Dashboard/dashboard">degreeworks</a></li>
|
||||
<li><a href="https://outlook.office.com">outlook</a></li>
|
||||
<li><a href="https://admin.wwu.edu/pls/wwis/twbkwbis.P_GenMenu?name=bmenu.P_MainMnu">web4u</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<h1>other</h1>
|
||||
<ul>
|
||||
<li><a href="https://archlinux.org">arch wiki</a></li>
|
||||
<li><a href="https://hulu.com">hulu</a></li>
|
||||
<li><a href="https://www.netflix.com">netflix</a></li>
|
||||
<li><a href="https://youtube.com">youtube</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="prompt">~<span> λ</span> ddg</div>
|
||||
<form action="https://duckduckgo.com/" method="GET">
|
||||
<h1>search: </h1>
|
||||
<input type="text" name="q" autofocus="autofocus">
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -116,8 +116,12 @@ input {
|
||||
}
|
||||
|
||||
.column {
|
||||
float: left;
|
||||
width: 50%;
|
||||
flex: 50%;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.row {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.row:after {
|
26
config.yaml
Normal file
26
config.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
Tree_1:
|
||||
general:
|
||||
nextcloud: "https://cloud.paulhouser.xyz/"
|
||||
github: "https://www.github.com/Paul-Houser/"
|
||||
wwu-gitlab: "https://gitlab.cs.wwu.edu/"
|
||||
gmail: "https://mail.google.com/"
|
||||
reddit:
|
||||
frontpage:
|
||||
- "https://www.reddit.com/"
|
||||
- "front page"
|
||||
profile: "https://www.reddit.com/u/P_swizzles/"
|
||||
unixporn: "https://www.reddit.com/r/unixporn/"
|
||||
archlinux: "https://www.reddit.com/r/archlinux/"
|
||||
Tree_2:
|
||||
school:
|
||||
canvas: "https://wwu.instructure.com/"
|
||||
degreeworks: "https://dw.wwu.edu/Dashboard/dashboard"
|
||||
outlook: "https://outlook.office.com"
|
||||
web4u: "https://admin.wwu.edu/pls/wwis/twbkwbis.P_GenMenu?name=bmenu.P_MainMnu"
|
||||
other:
|
||||
archwiki:
|
||||
- "https://archlinux.org/"
|
||||
- "arch wiki"
|
||||
hulu: "https://www.hulu.com/"
|
||||
netflix: "https://www.netflix.com/"
|
||||
youtube: "https://www.youtube.com/"
|
13
install.py
Executable file
13
install.py
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/python3
|
||||
|
||||
import yaml
|
||||
|
||||
file_dict = {}
|
||||
num_columns = 0
|
||||
|
||||
with open(r'./config.yaml') as file:
|
||||
file_dict = yaml.full_load(file)
|
||||
file.close()
|
||||
|
||||
num_columns = len(file_dict)
|
||||
|
24
skeletons/index.html
Normal file
24
skeletons/index.html
Normal file
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="./styles/style.css">
|
||||
<title>Home</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="prompt">~<span> λ</span> tree</div>
|
||||
<div class="row">
|
||||
<!-- Columns here -->
|
||||
|
||||
</div>
|
||||
<div class="prompt">~<span> λ</span> ddg</div>
|
||||
<!-- form for search engine -->
|
||||
|
||||
</div>
|
||||
<h1>search: </h1>
|
||||
<input type="text" name="q" autofocus="autofocus">
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user