mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-20 15:24:25 +01:00
General fixes and PEP8 enforcement (#258)
* Fixing index page links when you deploy on a subdirectory * Updating travis for pep8 * autopep8 with just formatting changes
This commit is contained in:
@@ -45,7 +45,7 @@ def setup():
|
||||
|
||||
# Index page
|
||||
page = Pages('index', """<div class="container main-container">
|
||||
<img class="logo" src="{0}/static/original/img/logo.png" />
|
||||
<img class="logo" src="static/original/img/logo.png" />
|
||||
<h3 class="text-center">
|
||||
<p>A cool CTF platform from <a href="https://ctfd.io">ctfd.io</a></p>
|
||||
<p>Follow us on social media:</p>
|
||||
@@ -55,7 +55,7 @@ def setup():
|
||||
</h3>
|
||||
<br>
|
||||
<h4 class="text-center">
|
||||
<a href="{0}/admin">Click here</a> to login and setup your CTF
|
||||
<a href="admin">Click here</a> to login and setup your CTF
|
||||
</h4>
|
||||
</div>""".format(request.script_root))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user