Commit 87a989dc authored by echel0n's avatar echel0n

Removed IRC from main layout

parent c17dc551
......@@ -83,7 +83,6 @@ from sickrage.core.webserver.handlers.home.add_shows import HomeAddShowsHandler,
MassAddTableHandler, NewShowHandler, TraktShowsHandler, PopularShowsHandler, AddShowToBlacklistHandler, \
ExistingShowsHandler, AddShowByIDHandler, AddNewShowHandler, AddExistingShowsHandler
from sickrage.core.webserver.handlers.home.postprocess import HomePostProcessHandler, HomeProcessEpisodeHandler
from sickrage.core.webserver.handlers.irc import IRCHandler
from sickrage.core.webserver.handlers.login import LoginHandler
from sickrage.core.webserver.handlers.logout import LogoutHandler
from sickrage.core.webserver.handlers.logs import LogsHandler, LogsClearAllHanlder, LogsViewHandler, \
......@@ -325,7 +324,6 @@ class WebServer(threading.Thread):
(fr'{sickrage.app.config.general.web_root}/history(/?)', HistoryHandler),
(fr'{sickrage.app.config.general.web_root}/history/clear(/?)', HistoryClearHandler),
(fr'{sickrage.app.config.general.web_root}/history/trim(/?)', HistoryTrimHandler),
(fr'{sickrage.app.config.general.web_root}/irc(/?)', IRCHandler),
(fr'{sickrage.app.config.general.web_root}/logs(/?)', LogsHandler),
(fr'{sickrage.app.config.general.web_root}/logs/errorCount(/?)', ErrorCountHandler),
(fr'{sickrage.app.config.general.web_root}/logs/warningCount(/?)', WarningCountHandler),
......
# ##############################################################################
# Author: echel0n <[email protected]>
# URL: https://sickrage.ca/
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
# -
# This file is part of SiCKRAGE.
# -
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# -
# SiCKRAGE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# -
# You should have received a copy of the GNU General Public License
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
# ##############################################################################
from tornado.web import authenticated
from sickrage.core.webserver.handlers.base import BaseHandler
class IRCHandler(BaseHandler):
@authenticated
def get(self, *args, **kwargs):
return self.render('irc.mako',
topmenu="system",
header="IRC",
title="IRC",
controller='root',
action='irc')
......@@ -200,16 +200,6 @@
onclick="window.open(this.href, '_blank'); return false;">https://git.sickrage.ca/SiCKRAGE/sickrage/</a>
</div>
</div>
<br/>
<div class="form-row">
<div class="col-lg-3 col-md-3 col-sm-3">
<i class="sickrage-core sickrage-core-irc"></i> ${_('IRChat')}
</div>
<div class="col-lg-9 col-md-9 col-sm-9">
<a href="irc://irc.freenode.net/#sickrage" rel="noreferrer"><i>#sickrage</i>
${_('on')} <i>irc.freenode.net</i></a>
</div>
</div>
</div>
</div>
</div>
......
<%inherit file="./layouts/main.mako"/>
<%block name="content">
<%
import sickrage
username = "SiCKRAGE-UI|?"
%>
<iframe id="extFrame" src="https://kiwiirc.com/client/irc.freenode.net/?nick=${username}&theme=basic#sickrage" width="100%" height="500" frameBorder="0" style="border: 1px black solid;"></iframe>
</%block>
......@@ -279,9 +279,6 @@
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarSystem">
<a class="dropdown-item" href="${srWebRoot}/IRC/">
<i class="fas fa-fw fa-hashtag"></i>&nbsp;${_('IRC')}
</a>
<a class="dropdown-item" href="#" id="changelog">
<i class="fas fa-fw fa-globe"></i>&nbsp;${_('Changelog')}
</a>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment