コード例 #1
0
ファイル: views.py プロジェクト: Geabo/allianceauth
def fleetup_fitting(request, fittingnumber):
    logger.debug("fleetup_fitting called by user %s" % request.user)
    fitting_eft = FleetUpManager.get_fleetup_fitting_eft(fittingnumber)
    fitting_data = FleetUpManager.get_fleetup_fitting(fittingnumber)
    doctrinenumber = FleetUpManager.get_fleetup_doctrineid(fittingnumber)
    doctrines_list = FleetUpManager.get_fleetup_doctrine(doctrinenumber)
    context = {"fitting_eft": fitting_eft, "fitting_data": fitting_data, "doctrines_list": doctrines_list}
    return render_to_response("registered/fleetupfitting.html", context, context_instance=RequestContext(request))
コード例 #2
0
ファイル: views.py プロジェクト: CokkocZateki/Auth
def fleetup_fitting(request, fittingnumber):
    logger.debug("fleetup_fitting called by user %s" % request.user)
    fitting_eft = FleetUpManager.get_fleetup_fitting_eft(fittingnumber)
    fitting_data = FleetUpManager.get_fleetup_fitting(fittingnumber)
    doctrinenumber = FleetUpManager.get_fleetup_doctrineid(fittingnumber)
    doctrines_list = FleetUpManager.get_fleetup_doctrine(doctrinenumber)
    context = {
        "fitting_eft": fitting_eft,
        "fitting_data": fitting_data,
        "doctrines_list": doctrines_list
    }
    return render(request, 'registered/fleetupfitting.html', context=context)
コード例 #3
0
ファイル: views.py プロジェクト: Ydmir/allianceauth
def fleetup_view(request):
    logger.debug("fleetup_view called by user %s" % request.user)

    operations_list = FleetUpManager.get_fleetup_operations()
    timers_list = FleetUpManager.get_fleetup_timers()
    now = datetime.datetime.now().strftime('%H:%M:%S')

    context = {"timers_list": sorted(timers_list.items()),
               "operations_list": sorted(operations_list.items()),
               "now": now}

    return render_to_response('registered/fleetup.html',context, context_instance=RequestContext(request) )
コード例 #4
0
ファイル: views.py プロジェクト: CokkocZateki/Auth
def fleetup_view(request):
    logger.debug("fleetup_view called by user %s" % request.user)

    operations_list = FleetUpManager.get_fleetup_operations()
    timers_list = FleetUpManager.get_fleetup_timers()
    now = datetime.datetime.now().strftime('%H:%M:%S')

    context = {
        "timers_list": sorted(timers_list.items()),
        "operations_list": sorted(operations_list.items()),
        "now": now
    }

    return render(request, 'registered/fleetup.html', context=context)
コード例 #5
0
ファイル: views.py プロジェクト: CokkocZateki/allianceauth
def fleetup_view(request):
    logger.debug("fleetup_view called by user %s" % request.user)

    operations_list = FleetUpManager.get_fleetup_operations()
    timers_list = FleetUpManager.get_fleetup_timers()
    now = datetime.datetime.now().strftime("%H:%M:%S")

    context = {
        "timers_list": sorted(timers_list.items()),
        "operations_list": sorted(operations_list.items()),
        "now": now,
    }

    return render(request, "registered/fleetup.html", context=context)
コード例 #6
0
ファイル: views.py プロジェクト: RichterSR/TCAuth
def fleetup_doctrine(request, doctrinenumber):
    logger.debug("fleetup_doctrine called by user %s" % request.user)
    doctrine = FleetUpManager.get_fleetup_doctrine(doctrinenumber)
    context = {"doctrine": doctrine}
    return render_to_response('registered/fleetupdoctrine.html',
                              context,
                              context_instance=RequestContext(request))
コード例 #7
0
ファイル: views.py プロジェクト: CokkocZateki/Auth
def fleetup_doctrines(request):
    logger.debug("fleetup_doctrines called by user %s" % request.user)
    doctrines_list = FleetUpManager.get_fleetup_doctrines()
    context = {"doctrines_list": doctrines_list}
    return render(request,
                  'registered/fleetupdoctrinesview.html',
                  context=context)
コード例 #8
0
ファイル: views.py プロジェクト: CokkocZateki/Auth
def fleetup_fittings(request):
    logger.debug("fleetup_fittings called by user %s" % request.user)
    fitting_list = FleetUpManager.get_fleetup_fittings()
    context = {"fitting_list": sorted(fitting_list.items())}
    return render(request,
                  'registered/fleetupfittingsview.html',
                  context=context)
コード例 #9
0
ファイル: views.py プロジェクト: RichterSR/TCAuth
def fleetup_fittings(request):
    logger.debug("fleetup_fittings called by user %s" % request.user)
    fitting_list = FleetUpManager.get_fleetup_fittings()
    context = {"fitting_list": sorted(fitting_list.items())}
    return render_to_response('registered/fleetupfittingsview.html',
                              context,
                              context_instance=RequestContext(request))
コード例 #10
0
ファイル: views.py プロジェクト: RichterSR/TCAuth
def fleetup_doctrines(request):
    logger.debug("fleetup_doctrines called by user %s" % request.user)
    doctrines_list = FleetUpManager.get_fleetup_doctrines()
    context = {"doctrines_list": doctrines_list}
    return render_to_response('registered/fleetupdoctrinesview.html',
                              context,
                              context_instance=RequestContext(request))
コード例 #11
0
ファイル: views.py プロジェクト: Geabo/allianceauth
def fleetup_characters(request):
    logger.debug("fleetup_characters called by user %s" % request.user)

    member_list = FleetUpManager.get_fleetup_members()

    context = {"member_list": sorted(member_list.items())}

    return render_to_response("registered/fleetupcharacters.html", context, context_instance=RequestContext(request))
コード例 #12
0
ファイル: views.py プロジェクト: CokkocZateki/allianceauth
def fleetup_characters(request):
    logger.debug("fleetup_characters called by user %s" % request.user)

    member_list = FleetUpManager.get_fleetup_members()

    context = {"member_list": sorted(member_list.items())}

    return render(request, "registered/fleetupcharacters.html", context=context)
コード例 #13
0
ファイル: views.py プロジェクト: CokkocZateki/Auth
def fleetup_characters(request):
    logger.debug("fleetup_characters called by user %s" % request.user)

    member_list = FleetUpManager.get_fleetup_members()

    context = {"member_list": sorted(member_list.items())}

    return render(request,
                  'registered/fleetupcharacters.html',
                  context=context)
コード例 #14
0
ファイル: views.py プロジェクト: RichterSR/TCAuth
def fleetup_characters(request):
    logger.debug("fleetup_characters called by user %s" % request.user)

    member_list = FleetUpManager.get_fleetup_members()

    context = {"member_list": sorted(member_list.items())}

    return render_to_response('registered/fleetupcharacters.html',
                              context,
                              context_instance=RequestContext(request))
コード例 #15
0
ファイル: views.py プロジェクト: Geabo/allianceauth
def fleetup_doctrine(request, doctrinenumber):
    logger.debug("fleetup_doctrine called by user %s" % request.user)
    doctrine = FleetUpManager.get_fleetup_doctrine(doctrinenumber)
    context = {"doctrine": doctrine}
    return render_to_response("registered/fleetupdoctrine.html", context, context_instance=RequestContext(request))
コード例 #16
0
ファイル: views.py プロジェクト: CokkocZateki/Auth
def fleetup_doctrine(request, doctrinenumber):
    logger.debug("fleetup_doctrine called by user %s" % request.user)
    doctrine = FleetUpManager.get_fleetup_doctrine(doctrinenumber)
    context = {"doctrine": doctrine}
    return render(request, 'registered/fleetupdoctrine.html', context=context)
コード例 #17
0
ファイル: views.py プロジェクト: CokkocZateki/allianceauth
def fleetup_doctrine(request, doctrinenumber):
    logger.debug("fleetup_doctrine called by user %s" % request.user)
    doctrine = FleetUpManager.get_fleetup_doctrine(doctrinenumber)
    context = {"doctrine": doctrine}
    return render(request, "registered/fleetupdoctrine.html", context=context)
コード例 #18
0
ファイル: views.py プロジェクト: Geabo/allianceauth
def fleetup_fittings(request):
    logger.debug("fleetup_fittings called by user %s" % request.user)
    fitting_list = FleetUpManager.get_fleetup_fittings()
    context = {"fitting_list": sorted(fitting_list.items())}
    return render_to_response("registered/fleetupfittingsview.html", context, context_instance=RequestContext(request))
コード例 #19
0
ファイル: views.py プロジェクト: CokkocZateki/allianceauth
def fleetup_fittings(request):
    logger.debug("fleetup_fittings called by user %s" % request.user)
    fitting_list = FleetUpManager.get_fleetup_fittings()
    context = {"fitting_list": sorted(fitting_list.items())}
    return render(request, "registered/fleetupfittingsview.html", context=context)
コード例 #20
0
ファイル: views.py プロジェクト: Geabo/allianceauth
def fleetup_doctrines(request):
    logger.debug("fleetup_doctrines called by user %s" % request.user)
    doctrines_list = FleetUpManager.get_fleetup_doctrines()
    context = {"doctrines_list": doctrines_list}
    return render_to_response("registered/fleetupdoctrinesview.html", context, context_instance=RequestContext(request))
コード例 #21
0
ファイル: views.py プロジェクト: CokkocZateki/allianceauth
def fleetup_doctrines(request):
    logger.debug("fleetup_doctrines called by user %s" % request.user)
    doctrines_list = FleetUpManager.get_fleetup_doctrines()
    context = {"doctrines_list": doctrines_list}
    return render(request, "registered/fleetupdoctrinesview.html", context=context)