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