2022-01-02 11:39:22 -05:00
|
|
|
<!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'}
|
2022-01-02 11:39:22 -05:00
|
|
|
<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}
|
2022-01-02 11:39:22 -05:00
|
|
|
<div class="field">
|
2022-01-03 07:43:22 -05:00
|
|
|
<label class="label">{$proxy_element}</label>
|
2022-01-02 11:39:22 -05:00
|
|
|
<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 />
|
2022-01-02 11:39:22 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-01-03 07:43:22 -05:00
|
|
|
{/foreach}
|
2022-01-02 11:39:22 -05:00
|
|
|
<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'}
|
2022-01-02 11:39:22 -05:00
|
|
|
</body>
|
|
|
|
</html>
|