forked from leftypol/leftypol
Make slack report notifier, donate page, irc page and radio page use configuration variables instead of hard coding values.
This commit is contained in:
parent
c58e37ce39
commit
03075e7a8c
10 changed files with 242 additions and 228 deletions
|
@ -17,7 +17,12 @@ $theme = array(
|
|||
array('title' => 'File',
|
||||
'name' => 'file',
|
||||
'type' => 'text',
|
||||
'default' => 'irc.html')),
|
||||
'default' => 'irc.html'),
|
||||
|
||||
array('title' => 'Channel',
|
||||
'name' => 'channel',
|
||||
'type' => 'text',
|
||||
'default' => 'lainchan')),
|
||||
|
||||
'build_function' => 'irc_build');
|
||||
?>
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
|
||||
|
||||
<div class="ban" style="text-align: left!important;">
|
||||
<h2>Web Client - Point your own clients to #lainchan on irc.freenode.net.</h2>
|
||||
<iframe src="https://webchat.freenode.net?channels=%23lainchan&uio=MTE9MTMz98" width="766" height="400"></iframe>
|
||||
<h2>Web Client - Point your own clients to #{{ settings.channel }} on irc.freenode.net.</h2>
|
||||
<iframe src="https://webchat.freenode.net?channels=%23{{ settings.channel }}&uio=MTE9MTMz98" width="766" height="400"></iframe>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
{% filter remove_whitespace %}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
||||
<title>{{ settings.title }}</title>
|
||||
<link rel="shortcut icon" href="/favicon.png">
|
||||
<link rel="stylesheet" media="screen" href="/stylesheets/style.css"/>
|
||||
<link rel="stylesheet" media="screen" href="/stylesheets/dark.css"/>
|
||||
<link rel="stylesheet" media="screen" href="/stylesheets/dark_irc.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="bar top">
|
||||
{{ boardlist.top }}
|
||||
</div>
|
||||
|
||||
<header>
|
||||
<h1>{{ settings.title }}</h1>
|
||||
<div class="subtitle">{{ settings.subtitle }}</div>
|
||||
</header>
|
||||
|
||||
|
||||
<div class="ban" style="text-align: left!important;">
|
||||
<h2>Web Client - Point your own clients to #lainchan on irc.freenode.net.</h2>
|
||||
<iframe src="https://webchat.freenode.net?channels=%23lainchan&uio=MTE9MTMz98" width="766" height="400"></iframe>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
{% endfilter %}
|
Loading…
Add table
Add a link
Reference in a new issue