Reformat with djlint
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Michel Roux 2022-09-07 17:57:09 +00:00
parent 4125c20cd8
commit bf2918795f
4 changed files with 16 additions and 16 deletions

View File

@ -6,10 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="" /> <meta name="description" content="" />
<meta name="keywords" content="" /> <meta name="keywords" content="" />
<title> <title>{{ client.user.display_name }} - {{ _('The discord scheduled event calendar generator') }}</title>
{% block title %}
{% endblock title %}
</title>
<link rel="stylesheet" <link rel="stylesheet"
href="{{ url_for('static', filename='css/font-awesome.min.css') }}"/> href="{{ url_for('static', filename='css/font-awesome.min.css') }}"/>
<link rel="stylesheet" <link rel="stylesheet"
@ -17,10 +14,10 @@
</head> </head>
<body> <body>
<img src="{{ url_for('static', filename='img/Discord-Logo+Wordmark-White.svg') }}" <img src="{{ url_for('static', filename='img/Discord-Logo+Wordmark-White.svg') }}"
id="logo" id="logo"
height="36" height="36"
width="130" width="130"
alt="{{ _('Discord Logo') }}"/> alt="{{ _('Discord Logo') }}"/>
<div id="content"> <div id="content">
{% block content %} {% block content %}
{% endblock content %} {% endblock content %}

View File

@ -8,9 +8,7 @@
width="173"/> width="173"/>
</div> </div>
<hr /> <hr />
<span id="details"> <span id="details">{{ error }}</span>
{{ error }}
</span>
</div> </div>
<div id="buttons"> <div id="buttons">
<a href="{{ url_for('index') }}"> <a href="{{ url_for('index') }}">

View File

@ -3,7 +3,10 @@
<form action="" method="get"> <form action="" method="get">
<div id="box"> <div id="box">
<div id="avatars"> <div id="avatars">
<img src="{{ client.user.display_avatar }}" alt="{{ _('Bot Logo') }}" width="80" height="80" /> <img src="{{ client.user.display_avatar }}"
alt="{{ _('Bot Logo') }}"
width="80"
height="80"/>
</div> </div>
<h1>{{ client.user.display_name }}</h1> <h1>{{ client.user.display_name }}</h1>
<h2>{{ _('The discord scheduled event calendar generator') }}</h2> <h2>{{ _('The discord scheduled event calendar generator') }}</h2>
@ -22,11 +25,12 @@
<hr /> <hr />
<h3>{{ _('Choose a server:') }}</h3> <h3>{{ _('Choose a server:') }}</h3>
<select name="guild"> <select name="guild">
<option>Choose a server:</option> <option>
{% for guild in client.guilds %}
<option value="{{ guild.id }}">
{{ guild.name }}
</option> </option>
{% for guild in client.guilds %}
<option value="{{ guild.id }}">
{{ guild.name }}
</option>
{% endfor %} {% endfor %}
</select> </select>
</div> </div>

View File

@ -0,0 +1 @@