Example #1
0
def settings(request):
    '''
    '''

    return render_to_response("settings.html",
                              locals(),
                              context_instance=rc(request))
Example #2
0
def settings(request):
    '''
    '''
    
    return render_to_response(
                "settings.html", 
                locals(),
                context_instance=rc(request))
Example #3
0
def getstarted(request):
    '''
    '''
    
    return render_to_response(
                "getstarted.html", 
                locals(),
                context_instance=rc(request))
Example #4
0
def index(request):
    '''
    '''
    
    return render_to_response(
                "index.html", 
                locals(),
                context_instance=rc(request))
Example #5
0
def about(request):
    '''
    '''
    
    return render_to_response(
                "about.html", 
                locals(),
                context_instance=rc(request))
Example #6
0
def index(request):
    '''
    
    This view doesn't do much, it only displays a error message 
    explaining that the API can only be called by the agent.
    
    '''

    return render_to_response("api/index.html",
                              locals(),
                              context_instance=rc(request))
Example #7
0
def read(request):
    '''
    
    This view will get the JSON dataset push by the agent and will try
    to associate it to a registered member having the computer in his
    list and update the information of the computer uptime.
    
    '''

    return render_to_response("read.html",
                              locals(),
                              context_instance=rc(request))
Example #8
0
def index(request):
    '''
    
    This view doesn't do much, it only displays a error message 
    explaining that the API can only be called by the agent.
    
    '''
    
    return render_to_response(
                "api/index.html", 
                locals(),
                context_instance=rc(request))
Example #9
0
def read(request):
    '''
    
    This view will get the JSON dataset push by the agent and will try
    to associate it to a registered member having the computer in his
    list and update the information of the computer uptime.
    
    '''
    
    return render_to_response(
                "read.html", 
                locals(),
                context_instance=rc(request))