proxitok/views/settings.latte

41 lines
1.2 KiB
Plaintext
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Settings - TikTok</title>
<link rel="stylesheet" href="https://unpkg.com/bulmaswatch/superhero/bulmaswatch.min.css">
</head>
<body>
2022-01-03 07:43:22 -05:00
{include 'navbar.latte'}
<section class="hero is-primary">
<div class="hero-body">
<div class="container">
<p class="title">Settings</p>
</div>
</div>
</section>
<section class="section">
<!-- Proxy settings -->
<p class="title">Proxy</p>
<form action="./settings" method="POST">
2022-01-03 07:43:22 -05:00
{foreach $proxy_elements as $proxy_element}
<div class="field">
2022-01-03 07:43:22 -05:00
<label class="label">{$proxy_element}</label>
<div class="control">
2022-01-03 07:43:22 -05:00
<input name="{$proxy_element}" class="input" value="{isset($_COOKIE[$proxy_element]) ? $_COOKIE[$proxy_element] : ''}" required />
</div>
</div>
2022-01-03 07:43:22 -05:00
{/foreach}
<div class="field">
<div class="control">
<button class="button is-success" type="submit">Submit</button>
</div>
</div>
</form>
</section>
2022-01-03 07:43:22 -05:00
{include 'footer.latte'}
</body>
</html>