2017-09-06 11:06:25 -06:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2019-02-02 03:38:52 -07:00
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,minimal-ui" />
|
2018-11-26 15:51:25 -07:00
|
|
|
<title>
|
|
|
|
<%= Application.get_env(:pleroma, :instance)[:name] %>
|
|
|
|
</title>
|
2017-11-16 04:26:56 -07:00
|
|
|
<style>
|
|
|
|
body {
|
2019-03-11 06:57:04 -06:00
|
|
|
background-color: #121a24;
|
2017-11-16 04:26:56 -07:00
|
|
|
font-family: sans-serif;
|
2019-03-11 06:57:04 -06:00
|
|
|
color: #b9b9ba;
|
2017-11-16 04:58:33 -07:00
|
|
|
text-align: center;
|
2017-11-16 04:26:56 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
2019-03-11 06:57:04 -06:00
|
|
|
max-width: 420px;
|
|
|
|
padding: 20px;
|
|
|
|
background-color: #182230;
|
2017-11-16 04:26:56 -07:00
|
|
|
border-radius: 4px;
|
2019-03-11 06:57:04 -06:00
|
|
|
margin: auto;
|
|
|
|
margin-top: 10vh;
|
|
|
|
box-shadow: 0 1px 4px 0px rgba(0, 0, 0, 0.5);
|
2017-11-16 04:26:56 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin: 0;
|
2019-03-11 06:57:04 -06:00
|
|
|
font-size: 24px;
|
2017-11-16 04:26:56 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2019-03-11 06:57:04 -06:00
|
|
|
color: #b9b9ba;
|
2017-11-16 04:26:56 -07:00
|
|
|
font-weight: normal;
|
2019-03-11 06:57:04 -06:00
|
|
|
font-size: 18px;
|
|
|
|
margin-bottom: 20px;
|
2017-11-16 04:26:56 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
form {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-03-11 06:57:04 -06:00
|
|
|
.input {
|
|
|
|
text-align: left;
|
|
|
|
color: #89898a;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2017-11-16 04:26:56 -07:00
|
|
|
input {
|
2019-03-11 06:57:04 -06:00
|
|
|
box-sizing: content-box;
|
2017-11-16 04:26:56 -07:00
|
|
|
padding: 10px;
|
2019-03-11 06:57:04 -06:00
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
background-color: #121a24;
|
|
|
|
color: #b9b9ba;
|
2017-11-16 04:26:56 -07:00
|
|
|
border: 0;
|
2019-03-11 06:57:04 -06:00
|
|
|
transition-property: border-bottom;
|
|
|
|
transition-duration: 0.35s;
|
|
|
|
border-bottom: 2px solid #2a384a;
|
2017-11-16 04:26:56 -07:00
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2019-03-11 06:57:04 -06:00
|
|
|
.scopes-input {
|
|
|
|
display: flex;
|
|
|
|
margin-top: 1em;
|
|
|
|
text-align: left;
|
|
|
|
color: #89898a;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scopes-input label:first-child {
|
|
|
|
flex-basis: 40%;
|
2017-11-16 04:26:56 -07:00
|
|
|
}
|
|
|
|
|
2019-03-11 06:57:04 -06:00
|
|
|
.scopes {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
text-align: left;
|
|
|
|
color: #b9b9ba;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scope {
|
|
|
|
flex-basis: 100%;
|
|
|
|
display: flex;
|
|
|
|
height: 2em;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
[type="checkbox"] + label {
|
|
|
|
margin: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
[type="checkbox"] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
[type="checkbox"] + label:before {
|
|
|
|
display: inline-block;
|
|
|
|
color: white;
|
|
|
|
background-color: #121a24;
|
|
|
|
border: 4px solid #121a24;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 1.2em;
|
|
|
|
height: 1.2em;
|
|
|
|
margin-right: 1.0em;
|
|
|
|
content: "";
|
|
|
|
transition-property: background-color;
|
|
|
|
transition-duration: 0.35s;
|
|
|
|
color: #121a24;
|
|
|
|
margin-bottom: -0.2em;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
[type="checkbox"]:checked + label:before {
|
|
|
|
background-color: #d8a070;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:focus {
|
2019-03-11 07:10:42 -06:00
|
|
|
outline: none;
|
2019-03-11 06:57:04 -06:00
|
|
|
border-bottom: 2px solid #d8a070;
|
2019-02-13 14:29:29 -07:00
|
|
|
}
|
|
|
|
|
2017-11-16 04:26:56 -07:00
|
|
|
button {
|
2017-11-16 04:58:33 -07:00
|
|
|
box-sizing: border-box;
|
2017-11-16 04:26:56 -07:00
|
|
|
width: 100%;
|
2019-03-11 06:57:04 -06:00
|
|
|
background-color: #1c2a3a;
|
|
|
|
color: #b9b9ba;
|
2017-11-16 04:26:56 -07:00
|
|
|
border-radius: 4px;
|
|
|
|
border: none;
|
|
|
|
padding: 10px;
|
|
|
|
margin-top: 30px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 16px;
|
2019-03-11 06:57:04 -06:00
|
|
|
box-shadow: 0px 0px 2px 0px black,
|
|
|
|
0px 1px 0px 0px rgba(255, 255, 255, 0.2) inset,
|
|
|
|
0px -1px 0px 0px rgba(0, 0, 0, 0.2) inset;
|
|
|
|
}
|
|
|
|
|
|
|
|
button:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
box-shadow: 0px 0px 0px 1px #d8a070,
|
|
|
|
0px 1px 0px 0px rgba(255, 255, 255, 0.2) inset,
|
|
|
|
0px -1px 0px 0px rgba(0, 0, 0, 0.2) inset;
|
2017-11-16 04:26:56 -07:00
|
|
|
}
|
2019-02-13 15:33:22 -07:00
|
|
|
|
|
|
|
.alert-danger {
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
2019-03-11 06:57:04 -06:00
|
|
|
background-color: #931014;
|
2019-02-13 15:33:22 -07:00
|
|
|
border-radius: 4px;
|
|
|
|
border: none;
|
|
|
|
padding: 10px;
|
|
|
|
margin-top: 20px;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-info {
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
border-radius: 4px;
|
2019-03-11 06:57:04 -06:00
|
|
|
border: 1px solid #7d796a;
|
2019-02-13 15:33:22 -07:00
|
|
|
padding: 10px;
|
|
|
|
margin-top: 20px;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2019-03-11 06:57:04 -06:00
|
|
|
|
|
|
|
@media all and (max-width: 440px) {
|
|
|
|
.container {
|
|
|
|
margin-top: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
.scopes-input {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scope {
|
|
|
|
flex-basis: 50%;
|
|
|
|
}
|
|
|
|
}
|
2017-11-16 04:26:56 -07:00
|
|
|
</style>
|
2017-09-06 11:06:25 -06:00
|
|
|
</head>
|
|
|
|
<body>
|
2017-11-16 04:26:56 -07:00
|
|
|
<div class="container">
|
2019-03-11 06:57:04 -06:00
|
|
|
<h1><%= Application.get_env(:pleroma, :instance)[:name] %></h1>
|
2017-11-16 04:26:56 -07:00
|
|
|
<%= render @view_module, @view_template, assigns %>
|
|
|
|
</div>
|
2017-09-06 11:06:25 -06:00
|
|
|
</body>
|
|
|
|
</html>
|