make chat easy to change across ctf's (#19)
parent
54441d4db9
commit
c0c9bdb63f
|
@ -2,6 +2,8 @@ import os
|
|||
from datetime import datetime
|
||||
|
||||
ctf_name = "TJCTF"
|
||||
#IRC Channel
|
||||
ctf_chat_channel = "#tjctf"
|
||||
ctf_home_url = "http://tjctf.org"
|
||||
eligibility = "In order to be eligible for prizes, all members of your team must be in high school, and you must not have more than four team members."
|
||||
tagline = "a cybersecurity competition created by TJHSST students"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<div class="center" style="margin-top: 50px;">
|
||||
<iframe src="//webchat.freenode.net?nick=tjctf-.....&channels=%23tjctf&prompt=1&uio=MTY9dHJ1ZSYyPXRydWUmOT10cnVlJjExPTI1NiYxMj10cnVl1c" width="647" height="400" frameBorder="0" style="border-width: 0px;" >Browser Incompatible. To access in another tab, go <a href="webchat.freenode.net?nick=tjctf-.....&channels=%23tjctf&prompt=1&uio=MTY9dHJ1ZSYyPXRydWUmOT10cnVlJjExPTI1NiYxMj10cnVl1c" target="_blank" rel="noopener noreferrer">here</a></iframe>
|
||||
<iframe src="//webchat.freenode.net?nick={{ config.ctf_name | lower | urlencode }}|.....&channels={{ config.ctf_chat_channel | urlencode }}&prompt=1&uio=MTY9dHJ1ZSYyPXRydWUmOT10cnVlJjExPTI1NiYxMj10cnVl1c" width="647" height="400" frameBorder="0" style="border-width: 0px;" >Browser Incompatible. To access in another tab, go <a href="webchat.freenode.net?nick={{ config.ctf_name | lower | urlencode }}|.....&channels={{ config.ctf_chat_channel | urlencode }}&prompt=1&uio=MTY9dHJ1ZSYyPXRydWUmOT10cnVlJjExPTI1NiYxMj10cnVl1c" target="_blank" rel="noopener noreferrer">here</a></iframe>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue