Custom 2.0 register page
This commit is contained in:
parent
5d98ee8bcc
commit
7f9ed0ef55
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Регистрация</title>
|
||||
<link rel="stylesheet" href="register.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="boards">
|
||||
<table id="boardlist" border="0" align="center" cellpadding="0" cellspacing="0"><tbody><tr><td valign="top">
|
||||
<div class="content">
|
||||
<h2><div class="newssub">$pегистрация</div><div class="permalink"></div></h2>
|
||||
<p>Регистрация позволяет создавать собственные доски и осуществлять полноценную их модерацию. <br />Это никак не отразится на вашей анонимности.</p><br />
|
||||
<form action="/manage_page.php?action=sregister" method="post" id="sregister">
|
||||
<div class="hf fl">
|
||||
Логин:<br>
|
||||
<input type="text" name="username" id="username"><br/>
|
||||
Пароль:<br>
|
||||
<input type="password" name="pass1" id="pass1"><br/>
|
||||
<input type="password" name="pass2" id="pass2" placeholder="Еще раз"><br>
|
||||
</div>
|
||||
<div class="hf">
|
||||
<img src="/captcha.php?color=204,204,204" alt="Капча" onclick="this.src='/captcha.php?color=204,204,204&'+Math.random()" id="captcha"><br/>
|
||||
<input type="text" name="captcha" id="captcha"><br/>
|
||||
<input id="wryyy" type="submit" value="WRYYY!!" />
|
||||
</div>
|
||||
</form>
|
||||
</td></tr></tbody></table>
|
||||
</div>
|
||||
<script>document.querySelector('#captcha').onclick()</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,39 @@
|
|||
body {
|
||||
background: black;
|
||||
color: white;
|
||||
font-family: Roboto, sans-serif;
|
||||
}
|
||||
.hf {display: inline-block;}
|
||||
.fl {float: left;}
|
||||
input:not([type='submit']) {
|
||||
border: 2px solid #D8D8D8;
|
||||
border-radius: 2px;
|
||||
text-align: center;
|
||||
background: transparent;
|
||||
outline: none;
|
||||
color: white;
|
||||
}
|
||||
input:not([type='submit']):focus {
|
||||
border-color: #00ff7e;
|
||||
}
|
||||
form {text-align: center;}
|
||||
input[type=submit] {
|
||||
margin-top: 5px;
|
||||
font-size: 30px;
|
||||
padding: 4px 14px;
|
||||
border: none;
|
||||
background: #bf76ff;
|
||||
border-radius: 2px;
|
||||
transition-property: box-shadow, transform, filter;
|
||||
transition-duration: 0.5s;
|
||||
}
|
||||
input[type=submit]:hover {
|
||||
box-shadow: inset 0 22px 38px #00ff7e;
|
||||
}
|
||||
input[type=submit]:active {
|
||||
transform: scale(0.95);
|
||||
filter: brightness(0.9);
|
||||
}
|
||||
.newssub {
|
||||
color: #bf76ff;
|
||||
}
|
|
@ -55,6 +55,7 @@ if (!$cache_loaded) {
|
|||
$cf['KU_CAPTCHALENGTH'] = rand(4, 7); // Captcha length in letters, rand(a, b) can be used to create random length from a to b.
|
||||
$cf['KU_20_BOARDSLIMIT'] = 5; // How many 2.0 boards a user can create
|
||||
$cf['KU_20_CLOUDTIME'] = "-24 hours";
|
||||
$cf['I0_20_LINK'] = "/?p=2.0"; // A link yo 2.0 boards page. "/?p=2.0" (default) will work with default index page; try "/register" if you use a custom index page (take /register directory from UTIL)
|
||||
$cf['KU_20MAXLOGINPASS'] = 50; // Maximum login and password size for 2.0
|
||||
$cf['KU_SUPPORTED_LOCALES'] = 'ru|en'; //
|
||||
$cf['KU_FFMPEGPATH'] = '/usr/local/bin/ffmpeg'; //path to FFMPEG, for example 'C:\ffmpeg\bin'
|
||||
|
|
|
@ -123,7 +123,7 @@
|
|||
<span class="olm-link">[<a href="{%KU_BOARDSFOLDER}">home</a>]</span>
|
||||
{if %I0_OVERBOARD_ENABLED}<span class="olm-link">[<a title="{%I0_OVERBOARD_DESCRIPTION}" href="{%KU_BOARDSFOLDER}{%I0_OVERBOARD_DIR}/">{%I0_OVERBOARD_DIR}</a>]</span>{/if}
|
||||
{foreach name=sections item=sect from=$boardlist}
|
||||
<b class="olm-link">[<a href="{if $sect.abbreviation eq '20'}{%KU_BOARDSPATH}/?p=2.0{else}#{/if}" class="sect-exr" data-toexpand="{$sect.abbreviation}">{$sect.nick}</a>]</b>
|
||||
<b class="olm-link">[<a href="{%I0_20_LINK}" class="sect-exr" data-toexpand="{$sect.abbreviation}">{$sect.nick}</a>]</b>
|
||||
{/foreach}
|
||||
<span class="olm-link">[<a href="#" class="sect-exr" data-toexpand="_options">options</a>]</span>
|
||||
{foreach name=sections item=sect from=$boardlist}
|
||||
|
|
Loading…
Reference in New Issue