mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-08-03 12:50:02 +00:00
Move installable html into the website/ subdirectory.
This commit is contained in:
parent
c7545f27cf
commit
5baaa8c8a8
15 changed files with 1 additions and 1 deletions
BIN
html/website/Pictures/C++-icon.jpeg
Normal file
BIN
html/website/Pictures/C++-icon.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.6 KiB |
BIN
html/website/Pictures/edit-ink.png
Normal file
BIN
html/website/Pictures/edit-ink.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 942 B |
BIN
html/website/Pictures/new-ink.png
Normal file
BIN
html/website/Pictures/new-ink.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 813 B |
BIN
html/website/Pictures/save-ink.png
Normal file
BIN
html/website/Pictures/save-ink.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 946 B |
BIN
html/website/Pictures/tawashi-icon-new.png
Normal file
BIN
html/website/Pictures/tawashi-icon-new.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
BIN
html/website/Pictures/text-ink.png
Normal file
BIN
html/website/Pictures/text-ink.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 777 B |
32
html/website/edit.html.mstch
Normal file
32
html/website/edit.html.mstch
Normal file
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<head>
|
||||
<title>Tawashi</title>
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="description" content="Tawashi, text storage site." />
|
||||
<meta name="keywords" content="text storage, pastebin, source code snippets, code review" />
|
||||
<meta name="author" content="Unknown" />
|
||||
<link rel="stylesheet" href="tawashi.css" />
|
||||
<link rel="icon" href="icon" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="topbar">
|
||||
<p id="version">tawashi 1.0.0</p>
|
||||
<a href="index.html"><img src="Pictures/tawashi-icon-new.png" alt="tawashi icon" class="icon"></a>
|
||||
<a href="save.html"><input type="image" src="Pictures/save-ink-t.png" alt="Submit" class="icon-green" title="Save"/></a>
|
||||
<a href="index.html"><img src="Pictures/new-ink-t.png" alt="new icon" class="icon-green" title="New"/></a>
|
||||
<a href=""><img src="Pictures/edit-ink-t.png" alt="duplicate and edit icon" class="icon-green" title="Duplicate and Edit"/></a>
|
||||
<a href=""><img src="Pictures/text-ink-t.png" alt="text icon" class="icon-green" title="Text only"/></a>
|
||||
<img src="Pictures/C++-icon.jpeg" alt="c++ icon" class="icon-right"/>
|
||||
<a href=""><img src="Pictures/github-icon.jpeg" alt="github icon" class="icon-right" /></a>
|
||||
</div>
|
||||
|
||||
<div id="content">
|
||||
<p></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
12
html/website/error.html.mstch
Normal file
12
html/website/error.html.mstch
Normal file
|
@ -0,0 +1,12 @@
|
|||
{{>head}}
|
||||
<body>
|
||||
|
||||
<div id="content" class="error">
|
||||
|
||||
{{> error_code}}
|
||||
{{> error_message}}
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
13
html/website/head.mustache
Normal file
13
html/website/head.mustache
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<head>
|
||||
<title>Tawashi</title>
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="description" content="Tawashi, text storage site." />
|
||||
<meta name="keywords" content="text storage, pastebin, source code snippets, code review" />
|
||||
<meta name="author" content="Elena" />
|
||||
<link rel="stylesheet" href="tawashi.css" />
|
||||
<link rel="icon" href="icon" />
|
||||
|
||||
</head>
|
35
html/website/index.html.mstch
Normal file
35
html/website/index.html.mstch
Normal file
|
@ -0,0 +1,35 @@
|
|||
{{> head}}
|
||||
<body>
|
||||
<form action="{{base_uri}}/paste.cgi" method="post" accept-charset="UTF-8">
|
||||
|
||||
{{> topbar}}
|
||||
|
||||
<div id="content">
|
||||
<textarea type="text" id="PasteTextBox" name="pastie" placeholder=">Text..." autofocus required autocomplete="off" name="text"></textarea>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p class="title">Syntax Highlighting:</p>
|
||||
<select name="lang" class="selectBox">
|
||||
<option value="" selected="selected">None </option>
|
||||
{{#languages}}
|
||||
<option value="{{language_name}}">{{language_name}}</option>
|
||||
{{/languages}}
|
||||
</select>
|
||||
|
||||
<p class="title">Paste Expiration:</p>
|
||||
<select name="ttl" class="selectBox">
|
||||
<option value="600">10 minutes</option>
|
||||
<option value="3600">1 hour</option>
|
||||
<option value="86400" selected="selected">1 day</option>
|
||||
<option value="604800">1 week</option>
|
||||
<option value="1209600">2 weeks</option>
|
||||
<option value="2628000">1 month</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
11
html/website/paste.html.mstch
Normal file
11
html/website/paste.html.mstch
Normal file
|
@ -0,0 +1,11 @@
|
|||
{{> head}}
|
||||
<body>
|
||||
|
||||
{{> topbar}}
|
||||
|
||||
<div id="content">
|
||||
<p>{{pastie}}</p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
84
html/website/tawashi.css
Normal file
84
html/website/tawashi.css
Normal file
|
@ -0,0 +1,84 @@
|
|||
---
|
||||
---
|
||||
/*get rid of defaults*/
|
||||
|
||||
*{/*everything on the webpage*/
|
||||
margin:0px;
|
||||
padding:0px;
|
||||
}
|
||||
|
||||
/* Tell the browser to render HTML5 elements as block */
|
||||
header, footer, aside, nav, article {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*caratteristiche generali di tutto il body*/
|
||||
body {
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
background: #303030;
|
||||
}
|
||||
|
||||
/*style della barra di navigazione*/
|
||||
#topbar {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
border-bottom: 2px solid black;
|
||||
}
|
||||
|
||||
#content {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#version{
|
||||
font-size: 17px;
|
||||
margin: 0px;
|
||||
padding: 0px 0px;
|
||||
color: RGBA(0, 146, 0, 255);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.icon {
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.icon-right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#PasteTextBox{
|
||||
height: 400px;
|
||||
width: 600px;
|
||||
margin: 20px;
|
||||
border: 0px;
|
||||
background-color: #303030;
|
||||
color: #EDEDED;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.title{
|
||||
display: inline-block;
|
||||
color: #EDEDED;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.selectBox {
|
||||
font-size: 15px;
|
||||
background: #EDEDED;
|
||||
color: black;
|
||||
padding: 5px;
|
||||
margin-right: 20px;
|
||||
border: solid #9e9e9e 1px;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.error {
|
||||
font-size: 28px;
|
||||
text-align: center;
|
||||
}
|
11
html/website/text.html.mstch
Normal file
11
html/website/text.html.mstch
Normal file
|
@ -0,0 +1,11 @@
|
|||
{{>head}}
|
||||
<body>
|
||||
|
||||
{{> topbar}}
|
||||
|
||||
<div id="content">
|
||||
{{pastie}}
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
11
html/website/topbar.mustache
Normal file
11
html/website/topbar.mustache
Normal file
|
@ -0,0 +1,11 @@
|
|||
<div id="topbar">
|
||||
<p id="version">tawashi {{version}}</p>
|
||||
<a href="index.html"><img src="Pictures/tawashi-icon-new.png" alt="tawashi icon" class="icon"></a>
|
||||
<a href="save.html"><input type="image" src="Pictures/save-ink.png" alt="Submit" class="icon-green" title="Paste"/></a>
|
||||
<a href="index.html"><img src="Pictures/new-ink.png" alt="new icon" class="icon-green" title="New"/></a>
|
||||
<a href="edit.html"><img src="Pictures/edit-ink.png" alt="duplicate and edit icon" class="icon-green" title="Duplicate and Edit"/></a>
|
||||
<a href="text.html"><img src="Pictures/text-ink.png" alt="text icon" class="icon-green" title="Text only"/></a>
|
||||
|
||||
<a href="https://github.com/KingDuckZ/tawashi"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a>
|
||||
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue