This is an automated email from the ASF dual-hosted git repository. tn pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tooling-atr-experiments.git
commit 0ede6bef46426fcd748d172656fe57e79ee75570 Author: Thomas Neidhart <[email protected]> AuthorDate: Mon Mar 3 14:16:10 2025 +0100 chore: readd fontawesome and add some icons --- atr/templates/includes/sidebar.html | 6 ++++-- atr/templates/layouts/base.html | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/atr/templates/includes/sidebar.html b/atr/templates/includes/sidebar.html index b8210dc..4e4c814 100644 --- a/atr/templates/includes/sidebar.html +++ b/atr/templates/includes/sidebar.html @@ -18,17 +18,19 @@ </div> <a href="#" onclick="location.href='/auth?logout=/';" - class="logout-link">Logout</a> + class="logout-link"><i class="fa-solid fa-right-from-bracket"></i></a> {% else %} + <a href="#" onclick="location.href='/auth?login=' + window.location.pathname;" - class="login-link">Login</a> + class="login-link">Login <i class="fa-solid fa-right-to-bracket"></i></a> {% endif %} </div> <nav> <h3>Main pages</h3> <ul> <li> + <i class="fa-solid fa-house"></i> <a href="{{ url_for('root') }}" {% if request.endpoint == 'root' %}class="active"{% endif %}>About ATR</a> </li> diff --git a/atr/templates/layouts/base.html b/atr/templates/layouts/base.html index 8cf167a..9b3f89d 100644 --- a/atr/templates/layouts/base.html +++ b/atr/templates/layouts/base.html @@ -14,6 +14,8 @@ href="{{ url_for('static', filename='css/normalize.css') }}" /> <link rel="stylesheet" href="{{ url_for('static', filename='css/atr.css') }}" /> + <link rel="stylesheet" + href="{{ url_for('static', filename='css/fontawesome.all.min.css') }}" /> <style> .warning-banner { border: 2px solid #dc3545; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
