Exemplo n.º 1
0
def PRS(request):
    # if request.session.has_key('username'):
    # username = request.session['username']
    pros = processingnew()
    s = pros.getDataPrs()
    contex = {'surv': s}
    return render(request, 'template/dashboard/PRS.html', contex)
Exemplo n.º 2
0
def getidgtmjes(request, id):
    name = id
    ms = 3
    pros = processingnew()
    sol = pros.showSaran(ms, name)
    alt = pros.getAltsolusi(sol)

    context = {'saran': sol[0][0], 'alt': alt}
    return render(request, 'template/dashboard/sarantujuanjes.html', context)
Exemplo n.º 3
0
def GTM(request):
    pros = processingnew()
    s = pros.getGtmstandby()
    context = {'gtm': s}
    return render(request, 'template/dashboard/GTM.html', context)
Exemplo n.º 4
0
def dashboardindogas(request):
    ms = 4
    pros = processingnew()
    gtm = pros.getGTMstanby(ms=ms)
    context = {'gtm': gtm}
    return render(request, 'template/dashboard/dashboardindogas.html', context)