434ec2e8bd
FossilOrigin-Name: 397b4d1c5981fe12defbe8d643a4cc8deba637d3ccbbf465c919fe91ab512d78
83 lines
4.9 KiB
Cheetah
83 lines
4.9 KiB
Cheetah
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>{{ %s : title }}</title>
|
|
<link rel="icon" type="image/png" href="/favicon.png">
|
|
<link rel="stylesheet" type="text/css" href="/{{ %s : theme }}{{ %s : theme_clr }}.css">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="{{ %s : title }} is a decentralized social media platform">
|
|
</head>
|
|
<body {{ %s : background_url }}>
|
|
<div id="main-page">
|
|
<header id="navbar">
|
|
<label for="leftbar-show">
|
|
<svg class="leftbar-btn navbar-btn" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line></svg>
|
|
</label>
|
|
<a href="{{ %s : prefix }}/"><img src="/treebird_logo.png" height="42"></a>
|
|
<span class="info">{{ %s : name }}</span>
|
|
<label for="rightbar-show">
|
|
<svg class="rightbar-btn navbar-btn" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 17H2a3 3 0 0 0 3-3V9a7 7 0 0 1 14 0v5a3 3 0 0 0 3 3zm-8.27 4a2 2 0 0 1-3.46 0"></path></svg>
|
|
</label>
|
|
<label for="searchbar-show">
|
|
<svg class="search-btn-show" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
|
|
</label>
|
|
<input type="checkbox" class="hidden" id="searchbar-show">
|
|
<div id="navbar-right-container">
|
|
<div id="navbar-right">
|
|
{{ %s : sidebar_cnt }}
|
|
<!-- Searchbox -->
|
|
<form action="{{ %s : prefix }}/search" method="get">
|
|
<input type="textbox" class="group group-left group-inputbox" placeholder="{{ %s : placeholder }}" id="searchbox" name="q"><!-- i hate HTML
|
|
--><input type="submit" class="btn group group-right" value="{{ %s : search_btn }}">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<input type="checkbox" id="leftbar-show" class="hidden">
|
|
<input type="checkbox" id="rightbar-show" class="hidden">
|
|
<table id="content" class="ui-table">
|
|
<!-- Navigation -->
|
|
<tr>
|
|
<td id="leftbar" class="sidebar">
|
|
<ul>
|
|
<li><a class="sidebarbtn {{ %s : active_home }}" href="{{ %s : prefix}}/">{{ %s : home }}</a></li>
|
|
<li><a class="sidebarbtn {{ %s : active_local }}" href="{{ %s : prefix}}/local/">{{ %s : local}}</a></li>
|
|
<li><a class="sidebarbtn {{ %s : active_federated }}" href="{{ %s : prefix}}/federated/">{{ %s : federated }}</a></li>
|
|
<li><a class="sidebarbtn {{ %s : active_notifications }}" href="{{ %s : prefix}}/notifications">{{ %s : notifications }}</a></li>
|
|
<li><a class="sidebarbtn {{ %s : active_lists }}" href="{{ %s : prefix}}/lists">{{ %s : lists }}</a></li>
|
|
<li><a class="sidebarbtn {{ %s : active_favourites }}" href="{{ %s : prefix}}/favourites">{{ %s : favourites }}</a></li>
|
|
<li><a class="sidebarbtn {{ %s : active_bookmarks }}" href="{{ %s : prefix}}/bookmarks">{{ %s : bookmarks }}</a></li>
|
|
<li><a class="sidebarbtn {{ %s : active_direct }}" href="{{ %s : prefix}}/direct">{{ %s : direct }}</a></li>
|
|
<li><a class="sidebarbtn {{ %s : active_chats }}" href="{{ %s : prefix}}/chats">{{ %s : chats }}</a></li>
|
|
<li><a class="sidebarbtn {{ %s : active_config }}" href="{{ %s : prefix}}/config">{{ %s : config }}</a></li>
|
|
</ul>
|
|
{{ %s : sidebar_leftbar }}
|
|
{{ %s : instance_panel }}
|
|
<div class="mini-links">
|
|
<a href="{{%s:prefix}}/about">{{ %s : about_link_str }}</a>
|
|
<span class="bullet-separate">•</span>
|
|
<a href="{{%s:prefix}}/about/license">{{ %s : license_link_str }}</a>
|
|
<span class="bullet-separate">•</span>
|
|
<a href="https://fossil.nekobit.net/treebird">{{ %s : source_link_str }}</a>
|
|
</div>
|
|
</td>
|
|
|
|
<!-- Display for posts -->
|
|
<td id="main">
|
|
{{ %s : main }}
|
|
</td>
|
|
|
|
<!-- Notifications and such -->
|
|
<td id="rightbar" class="sidebar">
|
|
{{ %s : sidebar_rightbar }}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<!-- Source -->
|
|
<script src="/js/main.js"></script>
|
|
<script src="/js/emoji.js"></script>
|
|
</body>
|
|
</html>
|