summaryrefslogtreecommitdiff
blob: b7ec356c1ae10a145d14d731b25e0849d397f2b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<html lang="en">

<head>
    <title>Gentoo Security</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="theme-color" content="#54487a">
    <meta name="description" content="Gentoo CVE Tool">

    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">

    <link rel="icon" href="https://packages.gentoo.org/favicon.ico" type="image/x-icon">
</head>

<body style="border-top: none;background: #fff;">

<div class="container vh-100 d-flex">
    <div class="row flex-grow-1">
        <div class="col-12 d-flex align-items-center">

            <div class="row w-100">

                <div class="col-12 align-items-center">
                    <div class="card border-grey mx-auto" style="max-width: 430px;border-color: lightgrey!important;">
                        <div class="card-body">
                            <div class="text-center" style="margin-top:10px;margin-bottom:20px;">
                                <object data="https://www.gentoo.org/assets/img/logo/gentoo-signet.svg" type="image/svg+xml" style="max-width: 80px;">
                                    <img src="https://assets.gentoo.org/tyrian/site-logo.png" alt="Gentoo Linux logo">
                                </object>
                            </div>

                            <form name="login" action="/login" method="POST">

                                <div class="row">
                                    <div class="col-12" style="padding-bottom:20px!important;padding-left:50px!important;padding-right:50px!important;">
                                        <label for="username" class="d-none">Username:</label>
                                        <input style="border-top: none;border-left: none; border-right: none; border-radius: 0px;" placeholder="Username" size="35" id="username" name="username" class="form-control" type="text" autofocus="" required="">
                                    </div>
                                    <div class="col-12" style="padding-bottom:20px!important;padding-left:50px!important;padding-right:50px!important;">
                                        <label for="password" class="d-none">Password:</label>
                                        <input style="border-top: none;border-left: none; border-right: none; border-radius: 0px;" type="password" size="35" id="password" name="password" placeholder="Password" class="form-control" required="">
                                    </div>
                                    <div class="col-12" style="padding-bottom:20px!important;padding-left:50px!important;padding-right:50px!important;">
                                        <input type="checkbox" id="restrictlogin" name="restrictlogin" checked="checked">
                                        <small class="text-muted">Restrict this session to this IP address
                                            (using this option improves security)</small>
                                    </div>
                                    <div class="col-12">
                                        <input style="display: none;" name="cameFrom" id="cameFrom" value="{{ .CameFrom }}" />
                                    </div>


                                    <div class="col-12 mt-3" style="padding-bottom:10px; padding-right:50px; padding-left:50px; width:100%;">
                                        <div class="text-right"style="width:100%;">
                                            <input type="submit" class="btn btn-primary" name="GoAheadAndLogIn" style="border-color: #54487A!important;background-color: #54487A!important;" value="Log in" id="log_in">
                                        </div>
                                    </div>

                                    <div class="col-12 d-none" style="padding-right:50px; padding-left: 50px; width:100%;">
                                        <hr>
                                    </div>
                                </div>


                            </form>

                        </div>
                    </div>
                </div>

                <div class="col-12 mt-3 align-items-center">
                    <div class="card border-0 text-right text-muted mx-auto" style="max-width: 430px;">
                        <span class="" style="font-size: 80%;">
                            <a class="mr-4 text-muted" style="text-decoration: none;" data-toggle="collapse" href="#create-new-account-notice" role="button" aria-expanded="false" aria-controls="multiCollapseExample1">New Account</a>
                            <a class="text-muted" style="text-decoration: none;" data-toggle="collapse" href="#reset-password-notice" role="button" aria-expanded="false" aria-controls="multiCollapseExample1">Reset Password</a>
                        </span>



                        <div class="card-body">
                            <div class="collapse mt-2" id="create-new-account-notice">
                                <div class="card card-body border-0 p-0">
                                    <small>To create a new account, please contact the security team and request access.</small>
                                </div>
                            </div>

                            <div class="collapse mt-2" id="reset-password-notice">
                                <div class="card card-body border-0 p-0">
                                    <small>In case you've forgotten your password, please contact the security team and ask an admin to reset your password.</small>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>

            </div>
        </div>



    </div>
</div>


<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>


</body>
</html>