browser.pages - Pages (Views)

Viewing components for Kofa objects.

class waeup.kofa.browser.pages.AddUserFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaAddFormPage

Add a user account.

__doc__ = 'Add a user account.\n '
__module__ = 'waeup.kofa.browser.pages'
actions
addUser
form_fields = <zope.formlib.form.FormFields object>
label = u'Add officer'
class waeup.kofa.browser.pages.AdministrationPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

The administration overview page.

__doc__ = ' The administration overview page.\n '
__module__ = 'waeup.kofa.browser.pages'
label = u'Administration'
pnav = 0
class waeup.kofa.browser.pages.CertificateAddFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaAddFormPage

Add-form to add certificate to a department.

__doc__ = 'Add-form to add certificate to a department.\n '
__module__ = 'waeup.kofa.browser.pages'
actions
addCertificate
cancel
form_fields = <zope.formlib.form.FormFields object>
label = u'Add certificate'
pnav = 1
class waeup.kofa.browser.pages.CertificateCourseAddFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaAddFormPage

Add-page to add a course ref to a certificate

__doc__ = 'Add-page to add a course ref to a certificate\n '
__module__ = 'waeup.kofa.browser.pages'
actions
addCertcourse
cancel
form_fields = <zope.formlib.form.FormFields object>
label = u'Add certificate course'
pnav = 1
class waeup.kofa.browser.pages.CertificateCourseManageFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaEditFormPage

Manage the basic properties of a CertificateCourse instance.

__doc__ = 'Manage the basic properties of a `CertificateCourse` instance.\n '
__module__ = 'waeup.kofa.browser.pages'
actions
cancel
form_fields = <zope.formlib.form.FormFields object>
label = u'Edit certificate course'
pnav = 1
save
class waeup.kofa.browser.pages.CertificateCoursePage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

CertificateCourse index page.

__doc__ = 'CertificateCourse index page.\n '
__module__ = 'waeup.kofa.browser.pages'
course_category_title
label
leveltitle
pnav = 1
class waeup.kofa.browser.pages.CertificateManageFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaEditFormPage, waeup.kofa.browser.pages.LocalRoleAssignmentUtilityView

Manage the properties of a Certificate instance.

__doc__ = 'Manage the properties of a `Certificate` instance.\n '
__module__ = 'waeup.kofa.browser.pages'
actions
addCertificateCourse
addLocalRole
cancel
delCertificateCourses
delLocalRoles
form_fields = <zope.formlib.form.FormFields object>
label
pnav = 1
save
taboneactions = [u'Save', u'Cancel']
tabthreeactions1 = [u'Remove selected local roles']
tabthreeactions2 = [u'Add local role']
tabtwoactions = [u'Add certificate course', u'Remove selected certificate courses', u'Cancel']
class waeup.kofa.browser.pages.CertificatePage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaDisplayFormPage, waeup.kofa.browser.pages.LocalRoleAssignmentUtilityView

Index page for certificates.

__doc__ = 'Index page for certificates.\n '
__module__ = 'waeup.kofa.browser.pages'
form_fields = <zope.formlib.form.FormFields object>
label
pnav = 1
update()[source]
class waeup.kofa.browser.pages.ChangePasswordRequestPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaFormPage

Captcha’d page for all kind of users to request a password change.

__doc__ = "Captcha'd page for all kind of users to request a password change.\n "
__module__ = 'waeup.kofa.browser.pages'
_searchUser(identifier, email)[source]
actions
form_fields = <zope.formlib.form.FormFields object>
label()[source]
request
update()[source]
class waeup.kofa.browser.pages.ConfigurationContainerManageFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaEditFormPage

Manage page of the configuration container. We always use the manage page in the UI not the view page, thus we use the index name here.

__doc__ = 'Manage page of the configuration container. We always use the\n manage page in the UI not the view page, thus we use the index name here.\n '
__module__ = 'waeup.kofa.browser.pages'
actions
addSubunit
delSessonConfigurations
form_fields = <zope.formlib.form.FormFields object>
getSessionConfigurations()[source]

Get a list of all stored session configuration objects.

label = u'Edit portal configuration'
pnav = 0
purgeMandates
save
taboneactions = [u'Save', u'Update plugins', u'Purge mandates']
tabtwoactions = [u'Add session configuration', u'Remove selected']
updatePlugins
class waeup.kofa.browser.pages.ContactAdminFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaFormPage

__doc__ = None
__module__ = 'waeup.kofa.browser.pages'
actions
config
form_fields = <zope.formlib.form.FormFields object>
get_user_account
label()[source]
pnav = 2
send
update()[source]
class waeup.kofa.browser.pages.ContactUserFormPage(context, request)[source]

Bases: waeup.kofa.browser.pages.ContactAdminFormPage

__doc__ = None
__module__ = 'waeup.kofa.browser.pages'
actions
form_fields = <zope.formlib.form.FormFields object>
label()[source]
pnav = 0
send
class waeup.kofa.browser.pages.CourseAddFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaAddFormPage

Add-form to add course to a department.

__doc__ = 'Add-form to add course to a department.\n '
__module__ = 'waeup.kofa.browser.pages'
actions
addCourse
cancel
form_fields = <zope.formlib.form.FormFields object>
label = u'Add course'
pnav = 1
class waeup.kofa.browser.pages.CourseManageFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaEditFormPage, waeup.kofa.browser.pages.LocalRoleAssignmentUtilityView

Edit form page for courses.

__doc__ = 'Edit form page for courses.\n '
__module__ = 'waeup.kofa.browser.pages'
actions
addLocalRole
cancel
delLocalRoles
form_fields = <zope.formlib.form.FormFields object>
label = u'Edit course'
pnav = 1
save
taboneactions = [u'Save', u'Cancel']
tabtwoactions1 = [u'Remove selected local roles']
tabtwoactions2 = [u'Add local role']
class waeup.kofa.browser.pages.CoursePage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaDisplayFormPage, waeup.kofa.browser.pages.LocalRoleAssignmentUtilityView

Course index page.

__doc__ = 'Course index page.\n '
__module__ = 'waeup.kofa.browser.pages'
form_fields = <zope.formlib.form.FormFields object>
label
pnav = 1
class waeup.kofa.browser.pages.DatacenterFinishedPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaEditFormPage

__doc__ = None
__module__ = 'waeup.kofa.browser.pages'
cancel_button = u'Back to Data Center'
label = u'Processed Files'
pnav = 0
update(CANCEL=None)[source]
class waeup.kofa.browser.pages.DatacenterImportStep1(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

Manual import step 1: choose file

__doc__ = 'Manual import step 1: choose file\n '
__module__ = 'waeup.kofa.browser.pages'
cancel_button = u'Back to Data Center'
getFiles()[source]
label = u'Process CSV file'
pnav = 0
update(filename=None, select=None, cancel=None)[source]
class waeup.kofa.browser.pages.DatacenterImportStep2(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

Manual import step 2: choose processor

__doc__ = 'Manual import step 2: choose processor\n '
__module__ = 'waeup.kofa.browser.pages'
back_button = u'Back to step 1'
cancel_button = u'Cancel'
filename = None
getImporters()[source]
getModeFromFilename(filename)[source]

Lookup filename or path and return included mode name or None.

getPreviewHeader()[source]

Get the header fields of attached CSV file.

getPreviewTable()[source]
getWarnings()[source]
importer = None
label = u'Process CSV file'
mode = 'create'
mode_locked = False
pnav = 0
proceed_button = u'Proceed to step 3'
show_remove_button
update(mode=None, importer=None, back1=None, cancel=None, proceed=None)[source]
class waeup.kofa.browser.pages.DatacenterImportStep3(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

Manual import step 3: modify header

__doc__ = 'Manual import step 3: modify header\n '
__module__ = 'waeup.kofa.browser.pages'
back_button = u'Back to step 2'
cancel_button = u'Cancel'
filename = None
getPossibleHeaders()[source]

Get the possible headers.

The headers are described as dicts {value:internal_name, title:displayed_name}

getPreviewHeader()[source]

Get the header fields of attached CSV file.

getPreviewTable()[source]

Get transposed table with 1 sample record.

The first column contains the headers.

getWarnings()[source]
importername = None
label = u'Process CSV file'
mode = None
nextstep
pnav = 0
proceed_button = u'Perform import'
reset_button = u'Reset'
update(headerfield=None, back2=None, cancel=None, proceed=None)[source]
update_button = u'Set headerfields'
class waeup.kofa.browser.pages.DatacenterImportStep4(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

Manual import step 4: do actual import

__doc__ = 'Manual import step 4: do actual import\n '
__module__ = 'waeup.kofa.browser.pages'
back_button = u'Process next'
filename = None
headerfields = None
importername = None
label = u'Process CSV file'
mode = None
pnav = 0
update(back=None, finish=None, showlog=None)[source]
warnnum = None
class waeup.kofa.browser.pages.DatacenterLogsFileview(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

__doc__ = None
__module__ = 'waeup.kofa.browser.pages'
back_button = u'Back to Data Center'
label()[source]
placeholder = u'Enter a regular expression here...'
pnav = 0
search_button = u'Search'
title = u'Data Center'
update(back=None, query=None, logname=None)[source]
class waeup.kofa.browser.pages.DatacenterLogsOverview(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

__doc__ = None
__module__ = 'waeup.kofa.browser.pages'
back_button = u'Back to Data Center'
label = u'Show logfiles'
pnav = 0
show_button = u'Show'
update(back=None)[source]
class waeup.kofa.browser.pages.DatacenterPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaEditFormPage

__doc__ = None
__module__ = 'waeup.kofa.browser.pages'
actions
delFiles
label = u'Data Center'
pnav = 0
class waeup.kofa.browser.pages.DatacenterSettings(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

__doc__ = None
__module__ = 'waeup.kofa.browser.pages'
cancel_button = u'Back to Data Center'
label = u'Edit data center settings'
pnav = 0
reset_button = u'Reset'
save_button = u'Save'
update(newpath=None, move=False, overwrite=False, save=None, cancel=None)[source]
class waeup.kofa.browser.pages.DatacenterUploadPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

__doc__ = None
__module__ = 'waeup.kofa.browser.pages'
_notifyImportManagers(filename, normalized_filename, importer, import_mode)[source]

Send email to Import Managers

cancel_button = u'Back to Data Center'
getImporters()[source]
getNormalizedFileName(filename)[source]

Build sane filename.

An uploaded file foo.csv will be stored as foo_USERNAME.csv where username is the principal id of the currently logged in user.

Spaces in filename are replaced by underscore. Pending data filenames remain unchanged.

getPreviewHeader()[source]

Get the header fields of uploaded CSV file.

label = u'Upload portal data as CSV file'
max_files = 20
pnav = 0
update(uploadfile=None, import_mode=None, importer=None, CANCEL=None, SUBMIT=None)[source]
upload_button = u'Upload'
class waeup.kofa.browser.pages.DepartmentAddFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaAddFormPage

Add a department to a faculty.

__doc__ = 'Add a department to a faculty.\n '
__module__ = 'waeup.kofa.browser.pages'
actions
addDepartment
cancel
form_fields = <zope.formlib.form.FormFields object>
label = u'Add department'
pnav = 1
class waeup.kofa.browser.pages.DepartmentManageFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaEditFormPage, waeup.kofa.browser.pages.LocalRoleAssignmentUtilityView

Manage the basic properties of a Department instance.

__doc__ = 'Manage the basic properties of a `Department` instance.\n '
__module__ = 'waeup.kofa.browser.pages'
actions
addCertificate
addCourse
addLocalRole
cancel
delCertificates
delCourses
delLocalRoles
form_fields = <zope.formlib.form.FormFields object>
getCertificates()[source]

Get a list of all stored certificates.

getCourses()[source]

Get a list of all stored courses.

label
pnav = 1
save
tabfouractions1 = [u'Remove selected local roles']
tabfouractions2 = [u'Add local role']
taboneactions = [u'Save', u'Cancel']
tabthreeactions = [u'Add certificate', u'Remove selected certificates', u'Cancel']
tabtwoactions = [u'Add course', u'Remove selected courses', u'Cancel']
class waeup.kofa.browser.pages.DepartmentPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage, waeup.kofa.browser.pages.LocalRoleAssignmentUtilityView

Department index page.

__doc__ = 'Department index page.\n '
__module__ = 'waeup.kofa.browser.pages'
getCertificates()[source]

Get a list of all stored certificates.

getCourses()[source]

Get a list of all stored courses.

label
pnav = 1
update()[source]
class waeup.kofa.browser.pages.EnquiriesFormPage(context, request)[source]

Bases: waeup.kofa.browser.pages.ContactAdminFormPage

Captcha’d page to let anonymous send emails to the administrator.

__doc__ = "Captcha'd page to let anonymous send emails to the administrator.\n "
__module__ = 'waeup.kofa.browser.pages'
actions
form_fields = <zope.formlib.form.FormFields object>
pnav = 2
send
update()[source]
class waeup.kofa.browser.pages.ExportCSVPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

__doc__ = None
__module__ = 'waeup.kofa.browser.pages'
cancel_button = u'Back to Data Center'
export_button = u'Create CSV file'
getExporters()[source]
label = u'Download portal data as CSV file'
pnav = 0
update(CREATE=None, DISCARD=None, PURGE=None, exporter=None, job_id=None, CANCEL=None)[source]
class waeup.kofa.browser.pages.ExportCSVView(context, request)[source]

Bases: grok.components.View

__doc__ = None
__module__ = 'waeup.kofa.browser.pages'
render(job_id=None)[source]
class waeup.kofa.browser.pages.FacultiesContainerManageFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaEditFormPage

Manage the basic properties of a Faculty instance.

__doc__ = 'Manage the basic properties of a `Faculty` instance.\n '
__module__ = 'waeup.kofa.browser.pages'
actions
addFaculty
cancel
delFaculties
label
pnav = 1
subunits = u'Faculties'
taboneactions = [u'Add faculty', u'Remove selected', u'Cancel']
class waeup.kofa.browser.pages.FacultiesContainerPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

Index page for faculty containers.

__doc__ = ' Index page for faculty containers.\n '
__module__ = 'waeup.kofa.browser.pages'
label = u'Academic Section'
pnav = 1
class waeup.kofa.browser.pages.FacultyAddFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaAddFormPage

Page form to add a new faculty to a faculty container.

__doc__ = ' Page form to add a new faculty to a faculty container.\n '
__module__ = 'waeup.kofa.browser.pages'
actions
addFaculty
cancel
form_fields = <zope.formlib.form.FormFields object>
label = u'Add faculty'
pnav = 1
class waeup.kofa.browser.pages.FacultyManageFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaEditFormPage, waeup.kofa.browser.pages.LocalRoleAssignmentUtilityView

Manage the basic properties of a Faculty instance.

__doc__ = 'Manage the basic properties of a `Faculty` instance.\n '
__module__ = 'waeup.kofa.browser.pages'
actions
addLocalRole
addSubunit
cancel
delDepartments
delLocalRoles
form_fields = <zope.formlib.form.FormFields object>
label
pnav = 1
save
subunits = u'Departments'
taboneactions = [u'Save', u'Cancel']
tabthreeactions1 = [u'Remove selected local roles']
tabthreeactions2 = [u'Add local role']
tabtwoactions = [u'Add department', u'Remove selected', u'Cancel']
class waeup.kofa.browser.pages.FacultyPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage, waeup.kofa.browser.pages.LocalRoleAssignmentUtilityView

Index page of faculties.

__doc__ = 'Index page of faculties.\n '
__module__ = 'waeup.kofa.browser.pages'
label
pnav = 1
class waeup.kofa.browser.pages.FileDownloadView(context, request)[source]

Bases: waeup.kofa.browser.layout.UtilityView, grok.components.View

__doc__ = None
__module__ = 'waeup.kofa.browser.pages'
render()[source]
update(filename=None)[source]
class waeup.kofa.browser.pages.FindStudentsPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

Search students in faculty.

__doc__ = 'Search students in faculty.\n '
__module__ = 'waeup.kofa.browser.pages'
_find_students(query=None, searchtype=None, view=None)[source]
label
pnav = 1
search_button = u'Find student(s)'
update(*args, **kw)[source]
class waeup.kofa.browser.pages.LanguageChangePage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

Language switch

__doc__ = ' Language switch\n '
__module__ = 'waeup.kofa.browser.pages'
render()[source]
update(lang='en', view_name='@@index')[source]
class waeup.kofa.browser.pages.LecturerLandingPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

Display courses when lecturer logs in.

__doc__ = 'Display courses when lecturer logs in.\n '
__module__ = 'waeup.kofa.browser.pages'
academic_session
getCourses
label = u'My Courses'
class waeup.kofa.browser.pages.LocalRoleAssignmentUtilityView[source]

Bases: object

A view mixin with useful methods for local role assignment.

__dict__ = dict_proxy({'__module__': 'waeup.kofa.browser.pages', 'getUsers': <function getUsers at 0x7fe37efdc668>, 'getLocalRoles': <function getLocalRoles at 0x7fe37efdc5f0>, 'getUsersWithLocalRoles': <function getUsersWithLocalRoles at 0x7fe37efdc6e0>, '__dict__': <attribute '__dict__' of 'LocalRoleAssignmentUtilityView' objects>, '__weakref__': <attribute '__weakref__' of 'LocalRoleAssignmentUtilityView' objects>, '__doc__': 'A view mixin with useful methods for local role assignment.\n\n '})
__doc__ = 'A view mixin with useful methods for local role assignment.\n\n '
__module__ = 'waeup.kofa.browser.pages'
__weakref__

list of weak references to the object (if defined)

getLocalRoles()[source]
getUsers()[source]
getUsersWithLocalRoles()[source]
class waeup.kofa.browser.pages.LoginPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

A login page, available for all objects.

__doc__ = 'A login page, available for all objects.\n '
__module__ = 'waeup.kofa.browser.pages'
_comment(student)[source]
camefrom = None
label = u'Login'
login_button = u'Login'
update(SUBMIT=None, camefrom=None, login=None, password=None)[source]
class waeup.kofa.browser.pages.LogoutPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

A logout page. Calling this page will log the current user out.

__doc__ = 'A logout page. Calling this page will log the current user out.\n '
__module__ = 'waeup.kofa.browser.pages'
update()[source]
class waeup.kofa.browser.pages.MyRolesPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

Display site roles and local roles assigned to officers.

__doc__ = 'Display site roles and local roles assigned to officers.\n '
__module__ = 'waeup.kofa.browser.pages'
getLocalRoles
getSiteRoles
label = u'My Roles'
class waeup.kofa.browser.pages.ProcessorsOverview(context, request)[source]

Bases: grok.components.View

__doc__ = None
__module__ = 'waeup.kofa.browser.pages'
getImporters()[source]
class waeup.kofa.browser.pages.ProcessorsOverviewPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage, waeup.kofa.browser.pages.ProcessorsOverview

__doc__ = None
__module__ = 'waeup.kofa.browser.pages'
label = u'Available Processors (Importers)'
pnav = 0
class waeup.kofa.browser.pages.RSS20Feed(context, request)[source]

Bases: grok.components.View

An RSS 2.0 feed.

__doc__ = 'An RSS 2.0 feed.\n '
__module__ = 'waeup.kofa.browser.pages'
buildDate = None
contexttitle
date = None
description = 'waeup.kofa now supports RSS 2.0 feeds :-)'
editor = None
entries()[source]
language = None
name = 'General news feed'
title
update()[source]
webmaster = None
class waeup.kofa.browser.pages.SearchPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

General search page for the academic section.

__doc__ = 'General search page for the academic section.\n '
__module__ = 'waeup.kofa.browser.pages'
label = u'Search Academic Section'
pnav = 1
search_button = u'Search'
update(*args, **kw)[source]
class waeup.kofa.browser.pages.SessionConfigurationAddFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaAddFormPage

Add a session configuration object to configuration container.

__doc__ = 'Add a session configuration object to configuration container.\n '
__module__ = 'waeup.kofa.browser.pages'
actions
addSessionConfiguration
cancel
form_fields = <zope.formlib.form.FormFields object>
label = u'Add session configuration'
pnav = 0
class waeup.kofa.browser.pages.SessionConfigurationManageFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaEditFormPage

Manage session configuration object.

__doc__ = 'Manage session configuration object.\n '
__module__ = 'waeup.kofa.browser.pages'
actions
cancel
form_fields = <zope.formlib.form.FormFields object>
label
pnav = 0
save
class waeup.kofa.browser.pages.SkeletonDownloadView(context, request)[source]

Bases: waeup.kofa.browser.layout.UtilityView, grok.components.View

__doc__ = None
__module__ = 'waeup.kofa.browser.pages'
render()[source]
update(processorname=None)[source]
class waeup.kofa.browser.pages.SourcesOverview(context, request)[source]

Bases: grok.components.View

__doc__ = None
__module__ = 'waeup.kofa.browser.pages'
_set_app_cats()[source]
_set_app_types()[source]
_set_course_levels()[source]
_set_degrees()[source]
_set_disable_payment_groups()[source]
_set_exam_grades()[source]
_set_exam_subjects()[source]
_set_inst_types()[source]
_set_payment_cats()[source]
_set_sessions()[source]
_set_sex()[source]
_set_student_states()[source]
_set_study_levels()[source]
_set_study_modes()[source]
_set_verdicts()[source]
update()[source]
class waeup.kofa.browser.pages.SourcesOverviewPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage, waeup.kofa.browser.pages.SourcesOverview

__doc__ = None
__module__ = 'waeup.kofa.browser.pages'
label = u'Sources & Vocabularies'
pnav = 0
class waeup.kofa.browser.pages.SwitchMaintModeView(context, request)[source]

Bases: waeup.kofa.browser.layout.UtilityView, grok.components.View

Import managers must disable authentication for all other users before starting an import. This pages switches maintenance mode on and off.

__doc__ = 'Import managers must disable authentication for all other users\n before starting an import. This pages switches maintenance mode\n on and off.\n '
__module__ = 'waeup.kofa.browser.pages'
render()[source]
update()[source]
class waeup.kofa.browser.pages.TranscriptOfficerLandingPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

Display students, who requested a transcript, when transcript officer logs in.

__doc__ = 'Display students, who requested a transcript, when\n transcript officer logs in.\n '
__module__ = 'waeup.kofa.browser.pages'
getApplicants
getStudents
label = u'My ToDoList'
update()[source]
class waeup.kofa.browser.pages.TranscriptSigneeLandingPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

Display students with validated transcript requests, when transcript signee logs in.

__doc__ = 'Display students with validated transcript requests, when\n transcript signee logs in.\n '
__module__ = 'waeup.kofa.browser.pages'
getApplicants
getStudents
label = u'My ToDoList'
class waeup.kofa.browser.pages.UniversityPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaDisplayFormPage

The main university page.

__doc__ = ' The main university page.\n '
__module__ = 'waeup.kofa.browser.pages'
frontpage
label = ''
pnav = 0
class waeup.kofa.browser.pages.UpdateCourseTicketsView(context, request)[source]

Bases: waeup.kofa.browser.layout.UtilityView, grok.components.View

Update course tickets.

__doc__ = 'Update course tickets.\n '
__module__ = 'waeup.kofa.browser.pages'
render()[source]
update()[source]
class waeup.kofa.browser.pages.UserEditFormPage(context, request)[source]

Bases: waeup.kofa.browser.pages.UserManageFormPage

Edit a user account by user

__doc__ = 'Edit a user account by user\n '
__module__ = 'waeup.kofa.browser.pages'
form_fields = <zope.formlib.form.FormFields object>
label = u'My Preferences'
setUpWidgets(ignore_request=False)[source]
class waeup.kofa.browser.pages.UserManageFormPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaEditFormPage

Manage a user account.

__doc__ = 'Manage a user account.\n '
__module__ = 'waeup.kofa.browser.pages'
actions
cancel
form_fields = <zope.formlib.form.FormFields object>
label()[source]
save
setUpWidgets(ignore_request=False)[source]
class waeup.kofa.browser.pages.UsersContainerPage(context, request)[source]

Bases: waeup.kofa.browser.layout.KofaPage

Overview page for all local users.

__doc__ = 'Overview page for all local users.\n '
__module__ = 'waeup.kofa.browser.pages'
delete_button = u'Remove'
getLocalRoles(account)[source]
getSiteRoles(account)[source]
label = u'Officers'
manage_button = u'Manage'
update(userid=None, adduser=None, manage=None, delete=None)[source]
waeup.kofa.browser.pages.add_local_role(view, tab, **data)[source]
waeup.kofa.browser.pages.delSubobjects(view, redirect, tab=None, subcontainer=None)[source]
waeup.kofa.browser.pages.del_local_roles(view, tab, **data)[source]
waeup.kofa.browser.pages.doll_up(view, user=None, purge=False)[source]

Doll up export jobs for displaying in table.

waeup.kofa.browser.pages.exports_not_allowed(view)[source]

Return flash message if exports are not allowed.

waeup.kofa.browser.pages.getImporters(context)[source]
waeup.kofa.browser.pages.getPreviewTable(view, n)[source]

Get transposed table with n sample record.

The first column contains the headers.

waeup.kofa.browser.pages.msave(view, **data)[source]
waeup.kofa.browser.pages.running_jobs(view)[source]

True if any job is running.