mirror of
https://github.com/eduardogsilva/routerfleet.git
synced 2025-08-02 01:04:26 +02:00
14 lines
434 B
Python
14 lines
434 B
Python
from django.shortcuts import render
|
|
from django.contrib.auth.decorators import login_required
|
|
|
|
|
|
@login_required
|
|
def view_dashboard(request):
|
|
context = {'page_title': 'Welcome to routerfleet'}
|
|
return render(request, 'dashboard/welcome.html', context=context)
|
|
|
|
|
|
@login_required
|
|
def view_status(request):
|
|
context = {'page_title': 'Welcome to routerfleet'}
|
|
return render(request, 'dashboard/status.html', context=context)
|