fix: [UI login/change_password] add missing ail-logo

pull/359/head
Terrtia 2019-06-24 17:14:16 +02:00
parent 87c5e0f9ee
commit 27ae671b3d
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
3 changed files with 3 additions and 2 deletions

View File

@ -62,7 +62,7 @@
<form class="form-signin" action="{{ url_for('change_password')}}" autocomplete="off" method="post">
<img class="mb-4" src="{{ url_for('static', filename='image/logo-small.png')}}" width="300">
<img class="mb-4" src="{{ url_for('static', filename='image/AIL-logo.png')}}" width="300">
<h1 class="h3 mb-3 text-secondary">Change Password</h1>
<label for="inputPassword1" class="sr-only">Password</label>
<input type="password" id="inputPassword1" name="password1" class="form-control {% if error %}is-invalid{% endif %}" placeholder="Password" autocomplete="new-password" required autofocus>

View File

@ -67,7 +67,7 @@
<form class="form-signin" action="{{ url_for('login')}}" method="post">
<img class="mb-4" src="{{ url_for('static', filename='image/logo-small.png')}}" width="300">
<img class="mb-4" src="{{ url_for('static', filename='image/AIL-logo.png')}}" width="300">
<h1 class="h3 mb-3 text-secondary">Please sign in</h1>
<label for="inputEmail" class="sr-only">Email address</label>
<input type="email" id="inputEmail" name="username" class="form-control" placeholder="Email address" required autofocus>

View File

@ -102,6 +102,7 @@ rm -rf temp
mkdir -p ./static/image
pushd static/image
wget -q https://www.circl.lu/assets/images/logos/AIL.png -O AIL.png
wget -q https://www.circl.lu/assets/images/logos/AIL-logo.png -O AIL-logo.png
popd
if ! [[ -n "$AIL_HOME" ]]