2022-01-02 11:39:22 -05:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2022-01-03 10:11:24 -05:00
|
|
|
|
|
|
|
{include 'components/head.latte', title: 'Settings'}
|
|
|
|
|
2022-01-02 11:39:22 -05:00
|
|
|
<body>
|
2022-01-03 10:11:24 -05:00
|
|
|
{include 'components/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 10:11:24 -05:00
|
|
|
{include 'components/footer.latte'}
|
2022-01-02 11:39:22 -05:00
|
|
|
</body>
|
|
|
|
</html>
|