Exemplo n.º 1
0
def settings(request):
    '''
    '''

    return render_to_response("settings.html",
                              locals(),
                              context_instance=rc(request))
Exemplo n.º 2
0
def settings(request):
    '''
    '''
    
    return render_to_response(
                "settings.html", 
                locals(),
                context_instance=rc(request))
Exemplo n.º 3
0
def getstarted(request):
    '''
    '''
    
    return render_to_response(
                "getstarted.html", 
                locals(),
                context_instance=rc(request))
Exemplo n.º 4
0
def index(request):
    '''
    '''
    
    return render_to_response(
                "index.html", 
                locals(),
                context_instance=rc(request))
Exemplo n.º 5
0
def about(request):
    '''
    '''
    
    return render_to_response(
                "about.html", 
                locals(),
                context_instance=rc(request))
Exemplo n.º 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))
Exemplo n.º 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))
Exemplo n.º 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))
Exemplo n.º 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))