Added projects tab and local projects list processing. Fxed some memory errors
This commit is contained in:
36
static/projects/index.html
Normal file
36
static/projects/index.html
Normal file
@@ -0,0 +1,36 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
|
||||
<title>Projects</title>
|
||||
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<a href="/" id="logo"><img src="/logo.png" alt="logo" /></a>
|
||||
<!-- <a id="modern" href="/modern"
|
||||
title="If you have modern browser, you can visit more fancy version of my site">Modernize</a> -->
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<h1 id="header">My projects</h1>
|
||||
<ul>%s</ul>
|
||||
</main>
|
||||
|
||||
<style>
|
||||
main>ul li {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
main>ul li>a {
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
</body>
|
||||
|
||||
</html>
|
7
static/projects/item.html
Normal file
7
static/projects/item.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<li>
|
||||
<a href="%s">
|
||||
<h1>%s</h1>
|
||||
</a>
|
||||
<p>%s - <b><i>%s</i></b></p>
|
||||
<span><i>%s</i></span>
|
||||
</li>
|
3
static/projects/list.db
Normal file
3
static/projects/list.db
Normal file
@@ -0,0 +1,3 @@
|
||||
Mshell;A simple yet comfortable UNIX shell;C;MIT License;https://github.com/Dm1tr1y147/mshell
|
||||
thetriangle;A simple program for drawing triangles;C;None;https://github.com/Dm1tr1y147/thetriangle
|
||||
md_offliner;Tool for uploading articles to the server;Lua;MIT License;https://github.com/Dm1tr1y147/md_offliner
|
Reference in New Issue
Block a user