mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-19 15:04:23 +01:00
Remove more legacy functions
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
|
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<a href="{{ url_for('views.static_html', route='/') }}" class="navbar-brand">
|
<a href="{{ url_for('views.static_html', route='/') }}" class="navbar-brand">
|
||||||
{% if get_ctf_logo() %}
|
{% if Configs.ctf_logo %}
|
||||||
<img class="img-responsive ctf_logo" src="{{ url_for('views.files', path=get_ctf_logo()) }}" height="25" alt="{{ get_ctf_name() }}">
|
<img class="img-responsive ctf_logo" src="{{ url_for('views.files', path=Configs.ctf_logo) }}" height="25" alt="{{ Configs.ctf_name }}">
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ get_ctf_name() }}
|
{{ Configs.ctf_name }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#base-navbars"
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#base-navbars"
|
||||||
|
|||||||
Reference in New Issue
Block a user