Esempio n. 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'
    })
Esempio n. 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'
    })
Esempio n. 3
0
def tasks(request):
    panels = [ajax.call('/tasks/tasks.html')]
    return render_to_response('base.html', {'body': panels, 'title': 'Tasks'})
Esempio n. 4
0
def contacts(request):
    panels = [ajax.call('/contacts/contacts.html')]
    return render_to_response('base.html', {
        'body': panels,
        'title': 'Contacts'
    })
Esempio n. 5
0
def settings(request):
    panels = [ajax.call('/security/settings.html')]
    return render_to_response('base.html', {
        'body': panels,
        'title': 'Settings'
    })
Esempio n. 6
0
def leads(request):
    panels = [ajax.call('/leads/leads.html')]
    return render_to_response('base.html', {'body': panels, 'title': 'Leads'})
Esempio n. 7
0
def settings(request):
    panels = [ ajax.call('/security/settings.html') ]
    return render_to_response('base.html',
            {'body': panels, 'title': 'Settings' })
Esempio n. 8
0
def files(request):
    panels = [ajax.call('/files/files.html')]
    return render_to_response('base.html', {'body': panels, 'title': 'Files'})
Esempio n. 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' })
Esempio n. 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' })
Esempio n. 11
0
def files(request):
    panels = [ ajax.call('/files/files.html') ]
    return render_to_response('base.html',
            {'body': panels, 'title': 'Files' })
Esempio n. 12
0
def inquiries(request):
    panels = [ ajax.call('/inquiries/inquiries.html') ]
    return render_to_response('base.html',
            {'body': panels, 'title': 'Inquiries' })
Esempio n. 13
0
def vessels(request):
    panels = [ ajax.call('/vessels/vessels.html') ]
    return render_to_response('base.html',
            {'body': panels, 'title': 'Vessels' })
Esempio n. 14
0
def tasks(request):
    panels = [ ajax.call('/tasks/tasks.html') ]
    return render_to_response('base.html',
            {'body': panels, 'title': 'Tasks' })
Esempio n. 15
0
def contacts(request):
    panels = [ ajax.call('/contacts/contacts.html') ]
    return render_to_response('base.html',
            {'body': panels, 'title': 'Contacts' })
Esempio n. 16
0
def vessels(request):
    panels = [ajax.call('/vessels/vessels.html')]
    return render_to_response('base.html', {
        'body': panels,
        'title': 'Vessels'
    })
Esempio n. 17
0
def inquiries(request):
    panels = [ajax.call('/inquiries/inquiries.html')]
    return render_to_response('base.html', {
        'body': panels,
        'title': 'Inquiries'
    })
Esempio n. 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' })
Esempio n. 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'
    })
Esempio n. 20
0
def leads(request):
    panels = [ ajax.call('/leads/leads.html') ]
    return render_to_response('base.html',
            {'body': panels, 'title': 'Leads' })