Exemple #1
0
def index(request):
    panels = [
        ajax.call('/leads/my_leads.html'),
        ajax.call('/tasks/my_tasks.html')
    ]
    return render_to_response('base.html', {
        'body': panels,
        'title': 'EasySnP'
    })
Exemple #2
0
def new(request, app):
    panels = [ajax.call('/%s/new' % (app))]
    request.session['new_referer'] = request.get_full_path()
    return render_to_response('base.html', {
        'body': panels,
        'title': 'Hello Kitty'
    })
Exemple #3
0
def tasks(request):
    panels = [ajax.call('/tasks/tasks.html')]
    return render_to_response('base.html', {'body': panels, 'title': 'Tasks'})
Exemple #4
0
def contacts(request):
    panels = [ajax.call('/contacts/contacts.html')]
    return render_to_response('base.html', {
        'body': panels,
        'title': 'Contacts'
    })
Exemple #5
0
def settings(request):
    panels = [ajax.call('/security/settings.html')]
    return render_to_response('base.html', {
        'body': panels,
        'title': 'Settings'
    })
Exemple #6
0
def leads(request):
    panels = [ajax.call('/leads/leads.html')]
    return render_to_response('base.html', {'body': panels, 'title': 'Leads'})
Exemple #7
0
def settings(request):
    panels = [ ajax.call('/security/settings.html') ]
    return render_to_response('base.html',
            {'body': panels, 'title': 'Settings' })
Exemple #8
0
def files(request):
    panels = [ajax.call('/files/files.html')]
    return render_to_response('base.html', {'body': panels, 'title': 'Files'})
Exemple #9
0
def new(request, app):
    panels = [ ajax.call('/%s/new' % (app)) ]
    request.session['new_referer'] = request.get_full_path()
    return render_to_response('base.html',
            {'body': panels, 'title': 'Hello Kitty' })
Exemple #10
0
def delete(request, app, oid):
    panels = [ ajax.call('/%s/delete/%s/' % (app, oid)) ]
    return render_to_response('base.html',
            {'body': panels, 'title': 'Hello Kitty' })
Exemple #11
0
def files(request):
    panels = [ ajax.call('/files/files.html') ]
    return render_to_response('base.html',
            {'body': panels, 'title': 'Files' })
Exemple #12
0
def inquiries(request):
    panels = [ ajax.call('/inquiries/inquiries.html') ]
    return render_to_response('base.html',
            {'body': panels, 'title': 'Inquiries' })
Exemple #13
0
def vessels(request):
    panels = [ ajax.call('/vessels/vessels.html') ]
    return render_to_response('base.html',
            {'body': panels, 'title': 'Vessels' })
Exemple #14
0
def tasks(request):
    panels = [ ajax.call('/tasks/tasks.html') ]
    return render_to_response('base.html',
            {'body': panels, 'title': 'Tasks' })
Exemple #15
0
def contacts(request):
    panels = [ ajax.call('/contacts/contacts.html') ]
    return render_to_response('base.html',
            {'body': panels, 'title': 'Contacts' })
Exemple #16
0
def vessels(request):
    panels = [ajax.call('/vessels/vessels.html')]
    return render_to_response('base.html', {
        'body': panels,
        'title': 'Vessels'
    })
Exemple #17
0
def inquiries(request):
    panels = [ajax.call('/inquiries/inquiries.html')]
    return render_to_response('base.html', {
        'body': panels,
        'title': 'Inquiries'
    })
Exemple #18
0
def index(request):
    panels = [ ajax.call('/leads/my_leads.html'),
               ajax.call('/tasks/my_tasks.html') ]
    return render_to_response('base.html',
            {'body': panels, 'title': 'EasySnP' })
Exemple #19
0
def delete(request, app, oid):
    panels = [ajax.call('/%s/delete/%s/' % (app, oid))]
    return render_to_response('base.html', {
        'body': panels,
        'title': 'Hello Kitty'
    })
Exemple #20
0
def leads(request):
    panels = [ ajax.call('/leads/leads.html') ]
    return render_to_response('base.html',
            {'body': panels, 'title': 'Leads' })