2022-07-25 17:03:10 +00:00
|
|
|
from django.shortcuts import render
|
|
|
|
from django.views import View
|
|
|
|
|
|
|
|
from core.views.manage.permissions import SuperUserRequiredMixin
|
|
|
|
|
|
|
|
|
|
|
|
class ThresholdIRCOverview(SuperUserRequiredMixin, View):
|
2022-07-27 12:12:16 +00:00
|
|
|
template_name = "manage/threshold/irc/overview/overview.html"
|
2022-07-25 17:03:10 +00:00
|
|
|
|
|
|
|
def get(self, request):
|
|
|
|
return render(request, self.template_name)
|
2022-07-26 21:15:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
class ThresholdIRCNetwork(SuperUserRequiredMixin, View):
|
2022-07-27 12:12:16 +00:00
|
|
|
template_name = "manage/threshold/irc/network/network.html"
|
2022-07-26 21:15:30 +00:00
|
|
|
|
|
|
|
def get(self, request, net):
|
|
|
|
context = {"net": net}
|
|
|
|
return render(request, self.template_name, context)
|