browser.viewlets - Viewlets¶
-
class
waeup.kofa.browser.viewlets.
ActionBar
(context, request, view)[source]¶ Bases:
grokcore.viewlet.components.ViewletManager
-
__doc__
= None¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
-
class
waeup.kofa.browser.viewlets.
ActionButton
(context, request, view, manager)[source]¶ Bases:
grokcore.viewlet.components.Viewlet
A base for action buttons.
An action button provides an icon, some text, links to a target and optionally an onclick event handler. If you want to set a different text, icon or target name for some active button below, just override the approriate attribute in the concerned viewlet.
Action buttons provide by default dynamic attributes
alt
An alternative text for the icon. By default the same as the text.
icon_url
The URL of the icon.
target_url
The URL of the link target.
onclick
An onclick Javascript event handler.
-
__doc__
= 'A base for action buttons.\n\n An action button provides an icon, some text, links to a\n target and optionally an onclick event handler.\n If you want to set a different text, icon or target name\n for some active button below, just override the approriate\n attribute in the concerned viewlet.\n\n Action buttons provide by default dynamic attributes\n\n * ``alt``\n An alternative text for the icon. By default the same as\n the text.\n\n * ``icon_url``\n The URL of the icon.\n\n * ``target_url``\n The URL of the link target.\n\n * ``onclick``\n An onclick Javascript event handler.\n\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
alt
¶ Alternative text for icon.
-
icon
= 'actionicon_modify.png'¶
-
icon_url
¶ Get the icon URL.
-
onclick
¶ Onclick event...
-
target
= '@@manage'¶
-
target_url
¶ Get a URL to the target...
-
template
= < template in >¶
-
text
= u'Edit'¶
-
class
waeup.kofa.browser.viewlets.
AddActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ActionButton
A base for ‘add’ buttons.
-
__doc__
= "A base for 'add' buttons.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_add.png'¶
-
target
= 'add'¶
-
text
= u'Add'¶
-
-
class
waeup.kofa.browser.viewlets.
AddUserActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.AddActionButton
-
__doc__
= None¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
text
= u'Add officer'¶
-
-
class
waeup.kofa.browser.viewlets.
AdminTask
(context, request, view, manager)[source]¶ Bases:
grokcore.viewlet.components.Viewlet
The base for task entries on administration page.
-
__doc__
= 'The base for task entries on administration page.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
link_target
¶
-
link_title
= 'Manage users'¶
-
target_viewname
= 'users'¶
-
-
class
waeup.kofa.browser.viewlets.
AdminTaskDatacenter
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.AdminTask
Entry on administration page that link to datacenter.
-
__doc__
= 'Entry on administration page that link to datacenter.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
link_title
= u'Data Center'¶
-
target_viewname
= 'datacenter'¶
-
-
class
waeup.kofa.browser.viewlets.
AdminTaskPortalConfiguration
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.AdminTask
Entry on administration page that link to portal settings.
-
__doc__
= 'Entry on administration page that link to portal settings.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
link_title
= u'Portal Configuration'¶
-
-
class
waeup.kofa.browser.viewlets.
AdminTaskReports
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.AdminTask
Entry on administration page that link to datacenter.
-
__doc__
= 'Entry on administration page that link to datacenter.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
link_title
= u'Reports'¶
-
target_viewname
= 'reports'¶
-
-
class
waeup.kofa.browser.viewlets.
AdminTaskUsers
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.AdminTask
Entry on administration page that link to user folder.
-
__doc__
= 'Entry on administration page that link to user folder.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
link_title
= u'Officers'¶
-
target_viewname
= 'users'¶
-
-
class
waeup.kofa.browser.viewlets.
AdministrationTasks
(context, request, view)[source]¶ Bases:
grokcore.viewlet.components.ViewletManager
-
__doc__
= None¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
-
class
waeup.kofa.browser.viewlets.
AppCatsSource
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.InstTypesSource
Available application categories for the sources overview page.
-
__doc__
= 'Available application categories for the sources overview page.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
name
= 'AppCats'¶
-
source_name
= 'app_cats'¶
-
title
= u'Application Categories'¶
-
-
class
waeup.kofa.browser.viewlets.
AppTypesSource
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.InstTypesSource
Available application types for the sources overview page.
-
__doc__
= 'Available application types for the sources overview page.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
name
= 'AppTypes'¶
-
source_name
= 'app_types'¶
-
title
= u'Application Types (Prefixes)'¶
-
-
class
waeup.kofa.browser.viewlets.
BatchOpButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ActionButton
-
__doc__
= None¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_gear.png'¶
-
target
= '@@import1'¶
-
text
= u'Process data'¶
-
-
class
waeup.kofa.browser.viewlets.
BreadCrumbManager
(context, request, view)[source]¶ Bases:
grokcore.viewlet.components.ViewletManager
-
__doc__
= None¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
-
class
waeup.kofa.browser.viewlets.
BreadCrumbs
(context, request, view, manager)[source]¶ Bases:
grokcore.viewlet.components.Viewlet
-
__doc__
= None¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
-
class
waeup.kofa.browser.viewlets.
BrowseDatacenterLogs
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ActionButton
-
__doc__
= None¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_info.png'¶
-
target
= '@@logs'¶
-
text
= u'Show logs'¶
-
-
class
waeup.kofa.browser.viewlets.
BrowseFinishedFiles
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ActionButton
-
__doc__
= None¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_finished.png'¶
-
target
= '@@processed'¶
-
text
= u'View processed files'¶
-
-
class
waeup.kofa.browser.viewlets.
ClearDepartmentStudentsActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Clear all students’ button for departments.
-
__doc__
= " 'Clear all students' button for departments.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_accept.png'¶
-
onclick
¶
-
target
= 'clearallstudents'¶
-
text
= u'Clear all students'¶
-
-
class
waeup.kofa.browser.viewlets.
ContactActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
-
__doc__
= None¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_mail.png'¶
-
target
= 'contactuser'¶
-
text
= u'Send email'¶
-
-
class
waeup.kofa.browser.viewlets.
CourseLevelSource
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.InstTypesSource
Available course levels for the sources overview page.
-
__doc__
= 'Available course levels for the sources overview page.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
name
= 'CourseLevels'¶
-
source_name
= 'course_levels'¶
-
title
= u'Course Levels'¶
-
-
class
waeup.kofa.browser.viewlets.
DegreeSource
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.InstTypesSource
Available study modes for the sources overview page.
-
__doc__
= 'Available study modes for the sources overview page.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
name
= 'Degrees'¶
-
source_name
= 'degrees'¶
-
title
= u'Degrees'¶
-
-
class
waeup.kofa.browser.viewlets.
DisablePaymentGroupSource
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.InstTypesSource
Available payment groups for the sources overview page.
-
__doc__
= 'Available payment groups for the sources overview page.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
column
= 'right'¶
-
name
= 'DisablePaymentGroups'¶
-
source_name
= 'disable_payment_groups'¶
-
title
= u'Disable Payment Groups'¶
-
-
class
waeup.kofa.browser.viewlets.
DownloadAttendanceSheetActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Download ticket overview’ button for courses.
-
__doc__
= " 'Download ticket overview' button for courses.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_pdf.png'¶
-
target
= 'attendance.pdf'¶
-
text
= u'Download attendance sheet'¶
-
-
class
waeup.kofa.browser.viewlets.
DownloadCSVFileActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Download csv file’ button for courses.
-
__doc__
= " 'Download csv file' button for courses.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_down.png'¶
-
target
= 'download_scores'¶
-
text
= u'Download csv file (editable scores only)'¶
-
-
class
waeup.kofa.browser.viewlets.
DownloadTicketOverviewActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Download ticket overview’ button for courses.
-
__doc__
= " 'Download ticket overview' button for courses.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_pdf.png'¶
-
target
= 'coursetickets.pdf'¶
-
text
= u'Download course tickets overview'¶
-
-
class
waeup.kofa.browser.viewlets.
EditFlashDepartmentStudentsActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Edit all flash notices’ button for departments.
-
__doc__
= " 'Edit all flash notices' button for departments.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_flash.png'¶
-
target
= 'edit_flash_notices'¶
-
text
= u'Edit all flash notices'¶
-
-
class
waeup.kofa.browser.viewlets.
EnquiriesTab
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.PrimaryNavTab
Contact tab in primary navigation.
Display tab only for anonymous. Authenticated users can call a contact form from the user navigation bar.
-
__doc__
= 'Contact tab in primary navigation.\n\n Display tab only for anonymous. Authenticated users can call a\n contact form from the user navigation bar.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
link_target
¶
-
tab_title
= u'Enquiries'¶
-
-
class
waeup.kofa.browser.viewlets.
ExamGradesSource
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.InstTypesSource
Available exam grades for the sources overview page.
-
__doc__
= 'Available exam grades for the sources overview page.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
column
= 'right'¶
-
name
= 'ExamGrades'¶
-
source_name
= 'exam_grades'¶
-
title
= u'Exam Grades'¶
-
-
class
waeup.kofa.browser.viewlets.
ExamSubjectsSource
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.InstTypesSource
Available exam subjects for the sources overview page.
-
__doc__
= 'Available exam subjects for the sources overview page.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
column
= 'right'¶
-
name
= 'ExamSubjects'¶
-
source_name
= 'exam_subjects'¶
-
title
= u'Exam Subjects'¶
-
-
class
waeup.kofa.browser.viewlets.
ExportCSVButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ActionButton
-
__doc__
= None¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_down.png'¶
-
target
= '@@export'¶
-
text
= u'Export data'¶
-
-
class
waeup.kofa.browser.viewlets.
ExportCertificateStudentsActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Export student data’ button for certificates.
-
__doc__
= " 'Export student data' button for certificates.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_down.png'¶
-
target
= 'exports'¶
-
text
= u'Export student data'¶
-
-
class
waeup.kofa.browser.viewlets.
ExportCourseStudentsActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Export student data’ button for courses.
-
__doc__
= " 'Export student data' button for courses.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_down.png'¶
-
target
= 'exports'¶
-
text
= u'Export student data'¶
-
-
class
waeup.kofa.browser.viewlets.
ExportDepartmentStudentsActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Export student data’ button for departments.
-
__doc__
= " 'Export student data' button for departments.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_down.png'¶
-
target
= 'exports'¶
-
text
= u'Export student data'¶
-
-
class
waeup.kofa.browser.viewlets.
ExportFacultiesStudentsActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Export student data’ button for faculties.
-
__doc__
= " 'Export student data' button for faculties.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_down.png'¶
-
target
= 'exports'¶
-
text
= u'Export student data'¶
-
-
class
waeup.kofa.browser.viewlets.
ExportFacultyStudentsActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Export student data’ button for faculties.
-
__doc__
= " 'Export student data' button for faculties.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_down.png'¶
-
target
= 'exports'¶
-
text
= u'Export student data'¶
-
-
class
waeup.kofa.browser.viewlets.
FacultiesContainerListHead
(context, request, view, manager)[source]¶ Bases:
grokcore.viewlet.components.Viewlet
The header line of faculty container subobject lists.
-
__doc__
= 'The header line of faculty container subobject lists.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
-
class
waeup.kofa.browser.viewlets.
FacultiesTab
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.PrimaryNavTab
Faculties-tab in primary navigation.
-
__doc__
= 'Faculties-tab in primary navigation.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
link_target
¶
-
tab_title
= u'Academics'¶
-
-
class
waeup.kofa.browser.viewlets.
FacultyListName
(context, request, view, manager)[source]¶ Bases:
grokcore.viewlet.components.Viewlet
Display a the title of a faculty as link in a list.
-
__doc__
= 'Display a the title of a faculty as link in a list.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
-
class
waeup.kofa.browser.viewlets.
FacultyListTitle
(context, request, view, manager)[source]¶ Bases:
grokcore.viewlet.components.Viewlet
Display the title of a faculty in a list.
-
__doc__
= 'Display the title of a faculty in a list.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
-
class
waeup.kofa.browser.viewlets.
FacultyRemoveButton
(context, request, view, manager)[source]¶ Bases:
grokcore.viewlet.components.Viewlet
Render a remove button for faculty lists.
-
__doc__
= 'Render a remove button for faculty lists.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
-
class
waeup.kofa.browser.viewlets.
InstTypesSource
(context, request, view, manager)[source]¶ Bases:
grokcore.viewlet.components.Viewlet
Available institution types for the sources overview page.
-
__doc__
= 'Available institution types for the sources overview page.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
column
= 'left'¶
-
name
= 'InstTypes'¶
-
source_name
= 'inst_types'¶
-
title
= u'Institution Types'¶
-
-
class
waeup.kofa.browser.viewlets.
LanguageManager
(context, request, view)[source]¶ Bases:
grokcore.viewlet.components.ViewletManager
-
__doc__
= None¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
-
class
waeup.kofa.browser.viewlets.
LanguagesLink
(context, request, view, manager)[source]¶ Bases:
grokcore.viewlet.components.Viewlet
The language selector itself.
-
__doc__
= ' The language selector itself.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
title
= u'Languages'¶
-
-
class
waeup.kofa.browser.viewlets.
LecturerCourses
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageLink
A link to courses of lecturers.
-
__doc__
= 'A link to courses of lecturers.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
link
= u'my_courses'¶
-
text
= u'My Courses'¶
-
-
class
waeup.kofa.browser.viewlets.
Login
(context, request, view, manager)[source]¶ Bases:
grokcore.viewlet.components.Viewlet
This viewlet allows to login in the sidebar.
-
__doc__
= 'This viewlet allows to login in the sidebar.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
link
= 'login'¶
-
text
= u'Login'¶
-
-
class
waeup.kofa.browser.viewlets.
ManageActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ActionButton
A base for ‘edit’ buttons
-
__doc__
= "A base for 'edit' buttons\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_modify.png'¶
-
target
= '@@manage'¶
-
text
= u'Edit'¶
-
-
class
waeup.kofa.browser.viewlets.
ManageCertificateActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Manage settings’ button for certificates.
-
__doc__
= " 'Manage settings' button for certificates.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
text
= u'Manage certificate'¶
-
-
class
waeup.kofa.browser.viewlets.
ManageCertificateCourseActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Manage settings’ button for certificate courses.
-
__doc__
= " 'Manage settings' button for certificate courses.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
text
= u'Edit certificate course'¶
-
-
class
waeup.kofa.browser.viewlets.
ManageCourseActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Edit settings’ button for courses.
-
__doc__
= " 'Edit settings' button for courses.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
text
= u'Edit course'¶
-
-
class
waeup.kofa.browser.viewlets.
ManageDataCenter
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageLink
A link to datacenter, placed in upper left box.
-
__doc__
= 'A link to datacenter, placed in upper left box.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
link
= u'datacenter'¶
-
text
= u'Data Center'¶
-
-
class
waeup.kofa.browser.viewlets.
ManageDataCenterActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Edit settings’ button for datacenter.
-
__doc__
= " 'Edit settings' button for datacenter.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
text
= u'Edit settings'¶
-
-
class
waeup.kofa.browser.viewlets.
ManageDepartmentActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Manage settings’ button for departments.
-
__doc__
= " 'Manage settings' button for departments.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
text
= u'Manage department'¶
-
-
class
waeup.kofa.browser.viewlets.
ManageFacultiesContainerActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Manage settings’ button for faculties.
-
__doc__
= " 'Manage settings' button for faculties.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
text
= u'Manage academic section'¶
-
-
class
waeup.kofa.browser.viewlets.
ManageFacultyActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Manage settings’ button for faculties.
-
__doc__
= " 'Manage settings' button for faculties.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
text
= u'Manage faculty'¶
-
-
class
waeup.kofa.browser.viewlets.
ManageLink
(context, request, view, manager)[source]¶ Bases:
grokcore.viewlet.components.Viewlet
A link displayed in the upper left box.
This viewlet renders a link to the application object’s settings form (the ‘manage’ view).
In derived classes you can create different links by setting a different link and text attribute. The link parameter is understood relative to the respective application object, so that
@@manage
will create a link tolocalhost:8080/app/@@manage
.Links defined by descendants from this viewlet are displayed on every page the user is allowed to go to, if the user has also the permissions set by grok.require(). By default only users with
waeup.managePortal
permission will see links defined by this or derivated classes.-
__doc__
= "A link displayed in the upper left box.\n\n This viewlet renders a link to the application object's settings\n form (the 'manage' view).\n\n In derived classes you can create different links by setting a\n different link and text attribute. The `link` parameter is\n understood relative to the respective application object, so that\n ``@@manage`` will create a link to\n ``localhost:8080/app/@@manage``.\n\n Links defined by descendants from this viewlet are displayed on\n every page the user is allowed to go to, if the user has also the\n permissions set by `grok.require()`. By default only users with\n ``waeup.managePortal`` permission will see links defined by\n this or derivated classes.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
link
= 'relative_link'¶
-
text
= u'Any link text'¶
-
-
class
waeup.kofa.browser.viewlets.
ManagePortalConfiguration
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageLink
A link to portal configuration.
-
__doc__
= 'A link to portal configuration.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
link
= 'configuration'¶
-
text
= u'Portal Configuration'¶
-
-
class
waeup.kofa.browser.viewlets.
ManageReports
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageLink
A link to reports, placed in upper left box.
-
__doc__
= 'A link to reports, placed in upper left box.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
link
= u'reports'¶
-
text
= u'Reports'¶
-
-
class
waeup.kofa.browser.viewlets.
ManageSidebar
(context, request, view)[source]¶ Bases:
grokcore.viewlet.components.ViewletManager
-
__doc__
= None¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
-
class
waeup.kofa.browser.viewlets.
ManageUsersLink
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageLink
A link to users management, placed in upper left box.
-
__doc__
= 'A link to users management, placed in upper left box.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
link
= u'users'¶
-
text
= u'Officers'¶
-
-
class
waeup.kofa.browser.viewlets.
MyPreferences
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageLink
A link to personal preferences, placed in upper left box.
-
__doc__
= 'A link to personal preferences, placed in upper left box.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
text
= u'My Preferences'¶
-
-
class
waeup.kofa.browser.viewlets.
MyRoles
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageLink
A link to display site and local roles.
-
__doc__
= 'A link to display site and local roles.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
text
= u'My Roles'¶
-
-
class
waeup.kofa.browser.viewlets.
PaymentCatsSource
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.InstTypesSource
Available payment categories for the sources overview page.
-
__doc__
= 'Available payment categories for the sources overview page.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
name
= 'PaymentCats'¶
-
source_name
= 'payment_cats'¶
-
title
= u'Payment Categories'¶
-
-
class
waeup.kofa.browser.viewlets.
PlainActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ActionButton
A base for action buttons without image
-
__doc__
= 'A base for action buttons without image\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
template
= < template in >¶
-
Bases:
grokcore.viewlet.components.ViewletManager
Viewlet manager for the primary navigation tab.
Bases:
grokcore.viewlet.components.Viewlet
Base for primary nav tabs.
-
class
waeup.kofa.browser.viewlets.
RemoveActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ActionButton
A base for ‘remove’ buttons.
-
__doc__
= "A base for 'remove' buttons.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_delete.png'¶
-
target
= 'remove'¶
-
text
= u'Remove'¶
-
-
class
waeup.kofa.browser.viewlets.
SearchActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ActionButton
A base for ‘search’ buttons.
-
__doc__
= "A base for 'search' buttons.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_search.png'¶
-
target
= 'search'¶
-
text
= u'Search'¶
-
-
class
waeup.kofa.browser.viewlets.
SearchFacultiesContainerActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Manage settings’ button for faculties.
-
__doc__
= " 'Manage settings' button for faculties.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_search.png'¶
-
target
= '@@search'¶
-
text
= u'Search academic section'¶
-
-
class
waeup.kofa.browser.viewlets.
SessionSource
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.InstTypesSource
Available sessions for the sources overview page.
-
__doc__
= 'Available sessions for the sources overview page.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
name
= 'Sessions'¶
-
source_name
= 'sessions'¶
-
title
= u'Academic Sessions'¶
-
-
class
waeup.kofa.browser.viewlets.
SexSource
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.InstTypesSource
Available sex values for the sources overview page.
-
__doc__
= 'Available sex values for the sources overview page.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
column
= 'right'¶
-
name
= 'Sex'¶
-
source_name
= 'sex'¶
-
title
= u'Sex'¶
-
-
class
waeup.kofa.browser.viewlets.
ShowCertificateStudentsActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Show students’ button for certificates.
-
__doc__
= " 'Show students' button for certificates.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_student.png'¶
-
target
= 'students'¶
-
text
= u'Show students'¶
-
-
class
waeup.kofa.browser.viewlets.
ShowCourseStudentsActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Show students’ button in course.
-
__doc__
= " 'Show students' button in course.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_student.png'¶
-
target
= 'students'¶
-
text
= u'Show students'¶
-
-
class
waeup.kofa.browser.viewlets.
ShowDepartmentStudentsActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Show students’ button for departments.
-
__doc__
= " 'Show students' button for departments.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_student.png'¶
-
target
= 'students'¶
-
text
= u'Show students'¶
-
-
class
waeup.kofa.browser.viewlets.
SourcesLeft
(context, request, view)[source]¶ Bases:
grokcore.viewlet.components.ViewletManager
-
__doc__
= None¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
-
class
waeup.kofa.browser.viewlets.
SourcesRight
(context, request, view)[source]¶ Bases:
grokcore.viewlet.components.ViewletManager
-
__doc__
= None¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
-
class
waeup.kofa.browser.viewlets.
StudentSearchActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
-
__doc__
= None¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_search.png'¶
-
target
= 'find_students'¶
-
text
= u'Find students'¶
-
-
class
waeup.kofa.browser.viewlets.
StudentStatesSource
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.InstTypesSource
Available student sates for the sources overview page.
-
__doc__
= 'Available student sates for the sources overview page.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
column
= 'right'¶
-
name
= 'StudentStates'¶
-
source_name
= 'student_states'¶
-
title
= u'Student Registration States'¶
-
-
class
waeup.kofa.browser.viewlets.
StudyLevelSource
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.InstTypesSource
Available study levels for the sources overview page.
-
__doc__
= 'Available study levels for the sources overview page.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
name
= 'StudyLevels'¶
-
source_name
= 'study_levels'¶
-
title
= u'Study Levels'¶
-
-
class
waeup.kofa.browser.viewlets.
StudyModeSource
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.InstTypesSource
Available study modes for the sources overview page.
-
__doc__
= 'Available study modes for the sources overview page.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
name
= 'StudyModes'¶
-
source_name
= 'study_modes'¶
-
title
= u'Study Modes'¶
-
-
class
waeup.kofa.browser.viewlets.
SubobjectLister
(context, request, view)[source]¶ Bases:
grokcore.viewlet.components.ViewletManager
Very special viewlet manager that displays lists of subobjects.
-
__doc__
= 'Very special viewlet manager that displays lists of subobjects.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
-
class
waeup.kofa.browser.viewlets.
SwitchMaintMode
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ActionButton
-
__doc__
= None¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_stop.png'¶
-
onclick
¶
-
target
= 'switchmaintmode'¶
-
text
= u'Switch maintenance mode'¶
-
-
class
waeup.kofa.browser.viewlets.
TranscriptOfficerStudents
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageLink
A link to transcript requests.
-
__doc__
= 'A link to transcript requests.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
link
= u'my_transcript_requests'¶
-
text
= u'My ToDoList'¶
-
-
class
waeup.kofa.browser.viewlets.
TranscriptSigneeStudents
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageLink
A link to transcript signing requests.
-
__doc__
= 'A link to transcript signing requests.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
link
= u'my_transcript_signing_requests'¶
-
text
= u'My ToDoList'¶
-
-
class
waeup.kofa.browser.viewlets.
UpdateCourseTicketsActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Update credits in course tickets’ button for courses.
-
__doc__
= " 'Update credits in course tickets' button for courses.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_reload.png'¶
-
onclick
¶
-
target
= 'update_coursetickets'¶
-
target_url
¶
-
text
¶
-
-
class
waeup.kofa.browser.viewlets.
UpdateScoresActionButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ManageActionButton
‘Update scores’ button in course.
-
__doc__
= " 'Update scores' button in course.\n "¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_scores.png'¶
-
target
= 'edit_scores'¶
-
target_url
¶
-
text
¶
-
-
class
waeup.kofa.browser.viewlets.
UploadCSVButton
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.ActionButton
-
__doc__
= None¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
icon
= 'actionicon_up.png'¶
-
target
= '@@upload'¶
-
text
= u'Upload data'¶
-
-
class
waeup.kofa.browser.viewlets.
VerdictsSource
(context, request, view, manager)[source]¶ Bases:
waeup.kofa.browser.viewlets.InstTypesSource
Available verdicts for the sources overview page.
-
__doc__
= 'Available verdicts for the sources overview page.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
column
= 'right'¶
-
name
= 'Verdicts'¶
-
source_name
= 'verdicts'¶
-
title
= u'Verdicts'¶
-
-
class
waeup.kofa.browser.viewlets.
WidgetsSlot
(context, request, view)[source]¶ Bases:
grokcore.viewlet.components.ViewletManager
-
__doc__
= None¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
-
class
waeup.kofa.browser.viewlets.
WidgetsTableRows
(context, request, view, manager)[source]¶ Bases:
grokcore.viewlet.components.Viewlet
The only viewlet for the WidgetsSlot viewlet manager.
-
__doc__
= 'The only viewlet for the WidgetsSlot viewlet manager.\n '¶
-
__module__
= 'waeup.kofa.browser.viewlets'¶
-
template
= < template in >¶
-