<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1,minimal-ui" />
<title>
- <%= Application.get_env(:pleroma, :instance)[:name] %>
+ <%= Pleroma.Config.get([:instance, :name]) %>
</title>
<style>
body {
margin-bottom: 20px;
}
+ a {
+ color: #d8a070;
+ text-decoration: none;
+ }
+
form {
width: 100%;
}
.scope:before {
color: #b9b9ba;
- content: "✔";
+ content: "✔\fe0e";
margin-left: 1em;
margin-right: 1em;
}
width: 100%;
background-color: #931014;
border: 1px solid #a06060;
- color: #902020;
border-radius: 4px;
padding: 10px;
margin-top: 20px;
.scope:first-child:before {
margin-left: 1em;
- content: "✔";
+ content: "✔\fe0e";
}
.scope:after {
content: "";
}
}
+ .form-row {
+ display: flex;
+ }
+ .form-row > label {
+ text-align: left;
+ line-height: 47px;
+ flex: 1;
+ }
+ .form-row > input {
+ flex: 2;
+ }
</style>
</head>
<body>
<div class="container">
- <h1><%= Application.get_env(:pleroma, :instance)[:name] %></h1>
- <%= render @view_module, @view_template, assigns %>
+ <h1><%= Pleroma.Config.get([:instance, :name]) %></h1>
+ <%= @inner_content %>
</div>
</body>
</html>