MarseyWorld/files/templates/sign_up_failed_ref.html

95 lines
3.5 KiB
HTML
Raw Normal View History

{%- import 'util/helpers.html' as help -%}
2022-05-04 23:09:46 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<script defer src="{{'js/bootstrap.js' | asset}}"></script>
<link rel="icon" type="image/webp" href="{{'icon.webp' | asset_siteimg}}">
2022-05-27 20:03:23 +00:00
<meta name="description" content="{{DESCRIPTION}}">
2022-05-04 23:09:46 +00:00
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline'; connect-src 'self'; object-src 'none';">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="author" content="">
<meta property="og:type" content="article">
<meta property="og:title" content="{{SITE_NAME}}">
2022-07-13 18:14:37 +00:00
<meta property="og:site_name" content="{{SITE}}">
<meta property="og:image" content="{{'site_preview.webp' | asset_siteimg}}">
2022-09-10 01:54:03 +00:00
<meta property="og:url" content="{{SITE_FULL}}">
<meta property="og:description" name="description" content="{{SITE_NAME}} - {{DESCRIPTION}}">
2022-05-04 23:09:46 +00:00
<meta property="og:author" name="author" content="{{SITE_FULL}}">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="{{SITE_FULL}}">
<meta name="twitter:title" content="{{SITE_NAME}}">
<meta name="twitter:creator" content="{{SITE_FULL}}">
<meta name="twitter:description" content="{{SITE_NAME}} - {{DESCRIPTION}}">
<meta name="twitter:image" content="{{'site_preview.webp' | asset_siteimg}}">
2022-09-10 01:54:03 +00:00
<meta name="twitter:url" content="{{SITE_FULL}}">
2022-05-04 23:09:46 +00:00
<title>{% if ref_user %}{{ref_user.username}} invites you to {{SITE_NAME}}{% else %}{{SITE_NAME}}{% endif %}</title>
2022-06-24 01:28:34 +00:00
<style>:root{--primary:#{{DEFAULT_COLOR}}</style>
<link rel="stylesheet" href="{{'css/main.css' | asset}}">
<link rel="stylesheet" href="{{('css/'~DEFAULT_THEME~'.css') | asset}}">
2022-05-04 23:09:46 +00:00
</head>
<body id="login">
<div class="container-fluid position-absolute h-100 p-0">
<div class="row no-gutters h-100">
<div class="col-12 col-md-6 my-auto p-3">
<div class="row justify-content-center">
<div class="col-10 col-md-7">
<div class="text-center mb-5">
<a href="/" class="text-decoration-none"><span class="h3 text-primary"></span></a>
</div>
<div id="register-form" class="">
<h1 class="h4 font-weight-normal text-center">Whoops! You can't refer yourself!</h1>
<p class="text-center text-muted mb-md-5">Send this link to a friend instead :)</p>
<label>Referral code</label>
<input autocomplete="off" type="text" class="form-control copy-link" readonly value="{{SITE_FULL}}/signup?ref={{request.values.get('ref')}}" data-clipboard-text="{{SITE_FULL}}/signup?ref={{request.values.get('ref')}}">
2022-08-30 19:03:49 +00:00
<div class="text-center text-muted text-small mt-5 mb-3">
Already have an account? <a href="/login{{'?redirect='+redirect if redirect else ''}}" class="font-weight-bold toggle-login">Log in</a>
2022-05-04 23:09:46 +00:00
</div>
</div>
</div>
</div>
<div class="col-12 col-md-6 d-none d-md-block">
<div class="splash-wrapper">
<div class="splash-overlay"></div>
<img alt="cover" loading="lazy" class="splash-img" src="{{'cover.webp' | asset_siteimg}}"></img>
2022-05-04 23:09:46 +00:00
</div>
</div>
</div>
</div>
<div class="toast clipboard" id="toast-success" role="alert" aria-live="assertive" aria-atomic="true" data-bs-animation="true" data-bs-autohide="true" data-bs-delay="5000">
<div class="toast-body text-center">
<i class="fas fa-check-circle text-success mr-2"></i>Link copied to clipboard
</div>
</div>
</body>
</html>