invidious-mod-JP/src/views/layout.ecr

55 lines
1.9 KiB
Plaintext
Raw Normal View History

2017-11-23 07:48:55 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
2018-02-07 00:52:01 +00:00
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/pure-min.css">
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/grids-responsive-min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.6/css/all.css">
2018-01-07 17:40:03 +00:00
<link rel="stylesheet" href="/css/custom.css">
2018-01-21 17:06:27 +00:00
<%= yield_content "header" %>
2017-11-23 07:48:55 +00:00
</head>
<body>
<div class="pure-g">
2018-02-06 00:41:24 +00:00
<div class="pure-u-1 pure-u-md-1-5"></div>
<div class="pure-u-1 pure-u-md-3-5">
<div class="pure-g" style="padding:1em;">
<div class="pure-u-1 pure-u-md-1-5">
<a href="/" class="pure-menu-heading">Invidious</a>
</div>
2018-03-16 16:40:29 +00:00
<div class="pure-u-1 pure-u-md-3-5">
<form class="pure-form" action="/search" method="get">
<input type="search" style="width:100%;" name="q" placeholder="search" value="<%= env.params.query["q"]? %>">
</form>
</div>
2018-03-16 16:40:29 +00:00
<div class="pure-u-1 pure-u-md-1-5">
2018-03-25 03:56:41 +00:00
<% if env.get? "authorized" %>
2018-03-25 03:38:35 +00:00
<div class="pure-g">
<div class="pure-u-1 pure-u-md-1-3">
<a href="/feed/subscriptions" class="pure-menu-heading">
<center><i class="far fa-bell"></i></center>
</a>
</div>
<div class="pure-u-1 pure-u-md-2-3">
<a href="/signout" class="pure-menu-heading">Sign out</a>
</div>
</div>
2018-03-22 17:44:36 +00:00
<% else %>
2018-03-25 03:38:35 +00:00
<center><a href="/login" class="pure-menu-heading">Login</a></center>
2018-03-22 17:44:36 +00:00
<% end %>
2018-03-16 16:40:29 +00:00
</div>
</div>
2017-11-23 07:48:55 +00:00
<%= content %>
2018-03-12 23:37:01 +00:00
<center class="h-box">
2018-01-28 17:32:40 +00:00
Released under AGPLv3 by <a href="https://github.com/omarroth">Omar Roth</a> -
source available <a href="https://github.com/omarroth/invidious">here</a>
</center>
2017-11-23 07:48:55 +00:00
</div>
2018-02-06 00:41:24 +00:00
<div class="pure-u-1 pure-u-md-1-5"></div>
2017-11-23 07:48:55 +00:00
</div>
</body>
2018-02-06 01:11:57 +00:00
</html>