def __init__(self, **kwargs): Dashboard.__init__(self, **kwargs) self.children.extend([ modules.ModelList( title=_('People and organizations'), column=1, models=[ 'academic.people.*', 'academic.organizations.*',], ), modules.ModelList( title=_('Publishing'), column=1, models=['academic.publishing.*',], ), modules.ModelList( title=_('Projects'), column=1, models=('academic.projects.*',), ), modules.LinkList( title=_('Media Management'), column=2, children=[ { 'title': _('Browse and upload files'), 'url': '/admin/filebrowser/browse/', 'external': False, }, ] ), modules.ModelList( title=_('Content and pages'), column=1, models=[ 'academic.content.*', 'django.contrib.flatpages.*', 'flatcontent.*'], ), modules.ModelList( title=_('Administration'), column=2, models=[ 'django.contrib.auth.*', 'django.contrib.sites.*'], ), modules.Feed( title=_(''), column=3, feed_url='http://www.djangoproject.com/rss/weblog/', limit=5, ), modules.RecentActions( title='Recent actions', column=2, limit=5 ), ])
def __init__(self, **kwargs): Dashboard.__init__(self, **kwargs) # append an app list module for "Applications" self.children.append(modules.AppList( title=_('Applications'), column=1, collapsible=True, exclude=('django.contrib.*',), )) # append an app list module for "Administration" self.children.append(modules.AppList( title=_('Administration'), column=1, collapsible=True, models=('django.contrib.*',), )) # append a recent actions module self.children.append(modules.RecentActions( title=_('Recent Actions'), column=2, collapsible=False, limit=5, )) self.children.append(modules.LinkList( layout='inline', column=2, children=( { 'title': 'Python website', 'url': 'http://www.python.org', 'external': True, 'description': 'Python programming language rocks!', }, ['Django website', 'http://www.djangoproject.com', True], ['Some internal link', '/some/internal/link/'], ) ))
def __init__(self, **kwargs): Dashboard.__init__(self, **kwargs) self.children.append(modules.Group( title= _('Admin central'), column=1, collapsible=True, children=[ modules.AppList( title=_('Administration'), collapsible=False, models=('django.contrib.*',) ), modules.AppList( title=_('Applications'), collapsible=False, exclude=('django.contrib.*',) ) ] )) self.children.append(modules.AppList( title=_('Admin'), column=1, collapsible=True, models=('django.contrib.*',) )) self.children.append(modules.AppList( title=_('Apps'), column=1, collapsible=True, exclude=('django.contrib.*',) )) self.children.append(modules.RecentActions( title=_('Recent Actions'), column=3, collapsible=False, limit=5, ))
def __init__(self, **kwargs): Dashboard.__init__(self, **kwargs) self.children.append(modules.Group( column=1, title='CWSP', children=[ modules.ModelList( models=( 'ecwsp.work_study.models.StudentWorker', 'ecwsp.work_study.models.StudentInteraction', 'ecwsp.work_study.models.Attendance', 'ecwsp.work_study.models.PickupLocation', 'ecwsp.work_study.models.CraContact', 'ecwsp.work_study.models.Personality', 'ecwsp.work_study.models.Handout33', 'ecwsp.work_study.models.PresetComment', 'ecwsp.work_study.models.AttendanceFee', 'ecwsp.work_study.models.AttendanceReason', ), ), modules.ModelList( title="Company Data", models=( 'ecwsp.work_study.models.Company', 'ecwsp.work_study.models.WorkTeam', 'ecwsp.work_study.models.WorkTeamUser', 'ecwsp.work_study.models.TimeSheet', 'ecwsp.work_study.models.TimeSheetPerformanceChoice', 'ecwsp.work_study.models.Contact', 'ecwsp.work_study.models.CompanyContract', 'ecwsp.work_study.models.CompanyHistory', 'ecwsp.work_study.models.ClientVisit', 'ecwsp.work_study.models.PaymentOption', 'ecwsp.work_study.models.StudentDesiredSkill', 'ecwsp.work_study.models.StudentFunctionalResponsibility', 'ecwsp.work_study.models.CompContract', 'ecwsp.work_study.models.MessageToSupervisor', ), ), ] )) self.children.append(modules.ModelList( title=_('School Information'), column=1, models=( 'ecwsp.sis.models.SchoolYear', 'ecwsp.sis.models.Student', 'ecwsp.sis.models.EmergencyContact', 'ecwsp.sis.models.Cohort', 'ecwsp.sis.models.PerCourseSectionCohort', 'ecwsp.sis.models.ReasonLeft', 'ecwsp.sis.models.Faculty', 'ecwsp.sis.models.MessageToStudent', 'ecwsp.sis.models.FamilyAccessUser', 'ecwsp.sis.models.GradeScale', ), )) self.children.append(modules.ModelList( title=('Volunteer Tracking'), column=1, models=( 'ecwsp.volunteer_track.*', ), )) self.children.append(modules.ModelList( title=_('Attendance'), column=1, models=('ecwsp.sis.models.StudentAttendance', 'ecwsp.sis.models.AttendanceStatus', 'ecwsp.sis.models.ASPAttendance', ), )) self.children.append(modules.ModelList( title = 'Discipline', column=1, models=( 'ecwsp.discipline.models.StudentDiscipline', 'ecwsp.discipline.models.DisciplineAction', 'ecwsp.discipline.models.PresetComment', ), )) self.children.append(modules.ModelList( title = 'Attendance', column=1, models=( 'ecwsp.attendance.*', ), )) self.children.append(modules.ModelList( title='Courses and Grades', column=1, models=('ecwsp.schedule.*', 'ecwsp.benchmark_grade.*', 'ecwsp.benchmarks.*'), )) self.children.append(modules.ModelList( title='Standard Tests', column=1, models=('ecwsp.standard_test.*',), )) self.children.append(modules.ModelList( title='Admissions', column=1, models=('ecwsp.admissions.*',), )) self.children.append(modules.ModelList( title='Counseling', column=1, models=('ecwsp.counseling.*',), )) self.children.append(modules.ModelList( title='Alumni', column=1, models=('ecwsp.alumni.*',), )) self.children.append(modules.AppList( title='Administration', column=2, models=( 'django.contrib.*', 'ecwsp.administration.*', 'constance.*', 'ecwsp.engrade_sync.*', 'ldap_groups.*', 'google_auth.*', ) )) # append a recent actions module self.children.append(modules.RecentActions( title='Recent Actions', column=2, limit=5 )) self.children.append(modules.LinkList( column=2, children=( { 'title': 'django-sis Wiki and Manual', 'url': 'https://sword.readthedocs.org', 'external': True, }, { 'title': 'Student Worker Relation Database Community', 'url': 'http://github.com/burke-software/django-sis', 'external': True, }, { 'title': 'Burke Software', 'url': 'http://burkesoftware.com', 'external': True, }, ) ))
def __init__(self, **kwargs): Dashboard.__init__(self, **kwargs) self.children.append( modules.Group( column=1, title='CWSP', children=[ modules.ModelList(models=( 'ecwsp.work_study.models.StudentWorker', 'ecwsp.work_study.models.StudentInteraction', 'ecwsp.work_study.models.Attendance', 'ecwsp.work_study.models.PickupLocation', 'ecwsp.work_study.models.CraContact', 'ecwsp.work_study.models.Personality', 'ecwsp.work_study.models.Handout33', 'ecwsp.work_study.models.PresetComment', 'ecwsp.work_study.models.AttendanceFee', 'ecwsp.work_study.models.AttendanceReason', ), ), modules.ModelList( title="Company Data", models=( 'ecwsp.work_study.models.Company', 'ecwsp.work_study.models.WorkTeam', 'ecwsp.work_study.models.WorkTeamUser', 'ecwsp.work_study.models.TimeSheet', 'ecwsp.work_study.models.TimeSheetPerformanceChoice', 'ecwsp.work_study.models.Contact', 'ecwsp.work_study.models.CompanyContract', 'ecwsp.work_study.models.CompanyHistory', 'ecwsp.work_study.models.ClientVisit', 'ecwsp.work_study.models.PaymentOption', 'ecwsp.work_study.models.StudentDesiredSkill', 'ecwsp.work_study.models.StudentFunctionalResponsibility', 'ecwsp.work_study.models.CompContract', 'ecwsp.work_study.models.MessageToSupervisor', ), ), ])) self.children.append( modules.ModelList( title=_('School Information'), column=1, models=( 'ecwsp.sis.models.SchoolYear', 'ecwsp.sis.models.Student', 'ecwsp.sis.models.EmergencyContact', 'ecwsp.sis.models.Cohort', 'ecwsp.sis.models.PerCourseCohort', 'ecwsp.sis.models.ReasonLeft', 'ecwsp.sis.models.Faculty', 'ecwsp.sis.models.MessageToStudent', 'ecwsp.sis.models.FamilyAccessUser', ), )) self.children.append( modules.ModelList( title=('Volunteer Tracking'), column=1, models=('ecwsp.volunteer_track.*', ), )) self.children.append( modules.ModelList( title=_('Attendance'), column=1, models=( 'ecwsp.sis.models.StudentAttendance', 'ecwsp.sis.models.AttendanceStatus', 'ecwsp.sis.models.ASPAttendance', ), )) self.children.append( modules.ModelList( title='Discipline', column=1, models=( 'ecwsp.discipline.models.StudentDiscipline', 'ecwsp.discipline.models.DisciplineAction', 'ecwsp.discipline.models.PresetComment', ), )) self.children.append( modules.ModelList( title='Attendance', column=1, models=('ecwsp.attendance.*', ), )) self.children.append( modules.ModelList( title='Courses and Grades', column=1, models=('ecwsp.schedule.*', 'ecwsp.grades.*', 'ecwsp.benchmark_grade.*', 'ecwsp.benchmarks.*'), )) self.children.append( modules.ModelList( title='Standard Tests', column=1, models=('ecwsp.standard_test.*', ), )) self.children.append( modules.ModelList( title='Admissions', column=1, models=('ecwsp.admissions.*', ), )) self.children.append( modules.ModelList( title='Counseling', column=1, models=('ecwsp.counseling.*', ), )) self.children.append( modules.ModelList( title='Alumni', column=1, models=('ecwsp.alumni.*', ), )) self.children.append( modules.ModelList( title='OpenMetricRecognition', column=1, models=('ecwsp.omr.*', ), )) self.children.append( modules.AppList(title='Administration', column=2, models=( 'django.contrib.*', 'ecwsp.administration.*', 'ecwsp.engrade_sync.*', 'ldap_groups.*', 'google_auth.*', ))) # append a recent actions module self.children.append( modules.RecentActions(title='Recent Actions', column=2, limit=5)) self.children.append( modules.LinkList( column=2, children=( { 'title': 'django-sis Wiki and Manual', 'url': 'https://sword.readthedocs.org', 'external': True, }, { 'title': 'Student Worker Relation Database Community', 'url': 'http://github.com/burke-software/django-sis', 'external': True, }, { 'title': 'Burke Software', 'url': 'http://burkesoftware.com', 'external': True, }, )))
def __init__(self, **kwargs): Dashboard.__init__(self, **kwargs) self.children.append(modules.Group( column=1, title='CWSP', children=[ modules.ModelList( models=( 'ecwsp.work_study.models.StudentWorker', 'ecwsp.work_study.models.StudentInteraction', 'ecwsp.work_study.models.Attendance', 'ecwsp.work_study.models.PickupLocation', 'ecwsp.work_study.models.CraContact', 'ecwsp.work_study.models.Personality', 'ecwsp.work_study.models.Handout33', 'ecwsp.work_study.models.PresetComment', 'ecwsp.work_study.models.AttendanceFee', 'ecwsp.work_study.models.AttendanceReason', ), ), modules.ModelList( title="Company Data", models=( 'ecwsp.work_study.models.Company', 'ecwsp.work_study.models.WorkTeam', 'ecwsp.work_study.models.WorkTeamUser', 'ecwsp.work_study.models.TimeSheet', 'ecwsp.work_study.models.TimeSheetPerformanceChoice', 'ecwsp.work_study.models.Contact', 'ecwsp.work_study.models.CompanyContract', 'ecwsp.work_study.models.CompanyHistory', 'ecwsp.work_study.models.ClientVisit', 'ecwsp.work_study.models.PaymentOption', 'ecwsp.work_study.models.StudentDesiredSkill', 'ecwsp.work_study.models.StudentFunctionalResponsibility', 'ecwsp.work_study.models.CompContract', 'ecwsp.work_study.models.MessageToSupervisor', ), ), ] )) self.children.append(modules.ModelList( title=_('School Information'), column=1, models=( 'ecwsp.sis.models.SchoolYear', 'ecwsp.sis.models.Student', 'ecwsp.sis.models.EmergencyContact', 'ecwsp.sis.models.Cohort', 'ecwsp.sis.models.PerCourseCohort', 'ecwsp.sis.models.ReasonLeft', 'ecwsp.sis.models.Faculty', 'ecwsp.sis.models.MessageToStudent', 'ecwsp.sis.models.FamilyAccessUser', ), )) self.children.append(modules.ModelList( title=('Volunteer Tracking'), column=1, models=( 'ecwsp.volunteer_track.*', ), )) self.children.append(modules.ModelList( title=_('Attendance'), column=1, models=('ecwsp.sis.models.StudentAttendance', 'ecwsp.sis.models.AttendanceStatus', 'ecwsp.sis.models.ASPAttendance', ), )) self.children.append(modules.ModelList( title = 'Discipline', column=1, models=( 'ecwsp.discipline.models.StudentDiscipline', 'ecwsp.discipline.models.DisciplineAction', 'ecwsp.discipline.models.PresetComment', ), )) self.children.append(modules.ModelList( title = 'Attendance', column=1, models=( 'ecwsp.attendance.*', ), )) self.children.append(modules.ModelList( title='Courses and Grades', column=1, models=('ecwsp.schedule.*','ecwsp.grades.*','ecwsp.benchmark_grade.*','ecwsp.benchmarks.*'), )) self.children.append(modules.ModelList( title='Standard Tests', column=1, models=('ecwsp.standard_test.*',), )) self.children.append(modules.ModelList( title='Admissions', column=1, models=('ecwsp.admissions.*',), )) self.children.append(modules.ModelList( title='Counseling', column=1, models=('ecwsp.counseling.*',), )) self.children.append(modules.ModelList( title='Alumni', column=1, models=('ecwsp.alumni.*',), )) self.children.append(modules.ModelList( title='OpenMetricRecognition', column=1, models=('ecwsp.omr.*',), )) self.children.append(modules.Feed( title='Annoucements', column=2, # Run feed through feedburner to prevent pain if it gets slow or something happens. feed_url='http://feeds.feedburner.com/FeedForBurkeSoftwareAndConsultingLlc', limit=2 )) self.children.append(modules.AppList( title='Administration', column=2, models=( 'django.contrib.*', 'ecwsp.sis.models.ReportField', 'ecwsp.administration.*', 'ecwsp.engrade_sync.*', 'ldap_groups.*', 'google_auth.*', ) )) # append a recent actions module self.children.append(modules.RecentActions( title='Recent Actions', column=2, limit=5 )) self.children.append(modules.LinkList( column=2, children=( { 'title': 'SWORD Wiki and Manual', 'url': 'https://sites.google.com/a/cristoreyny.org/sword-wiki/', 'external': True, }, { 'title': 'Student Worker Relation Database Community', 'url': 'http://code.google.com/p/student-worker-relational-database/', 'external': True, }, { 'title': 'Database documentation', 'url': 'admin/doc', }, { 'title': 'Burke Software', 'url': 'http://burkesoftware.com', 'external': True, }, ) ))
def __init__(self, **kwargs): Dashboard.__init__(self, **kwargs) self.children.append(modules.AppList( title=_('Catalogue'), column=1, collapsible=False, models=('cat.models.MuseumObject', 'parties.*', 'loans.models.LoanAgreement', 'condition.*', 'subcollections.*'), exclude=('django.contrib.*', 'djcelery.*', 'location.*'), )) self.children.append(modules.LinkList( title=_('Geo-location'), column=1, children=( ['Geo-locations', '/admin/location/globalregion/jstree'], ) )) # self.children.append(modules.ModelList( # title=_('Geo-location'), # column=1, # models=('location.models.GlobalRegion', 'location.models.Country', # 'location.models.StateProvince', 'location.models.RegionDistrict', # 'location.models.Locality', 'location.models.Place', 'location.models.Region'), # )) self.children.append(modules.AppList( title='Data dictionary', column=1, models=('cat.models.*', 'loans.models.LoanPurpose'), exclude=('cat.models.MuseumObject',) )) # append an app list module for "Administration" self.children.append(modules.AppList( title=_('Administration'), column=1, collapsible=True, models=('django.contrib.*', 'djcelergy.*', 'mediaman.*', 'common.*'), )) # append a recent actions module self.children.append(modules.RecentActions( title=_('Recent Actions'), column=2, collapsible=False, limit=5, )) self.children.append(modules.LinkList( layout='inline', title=_('Admin tools'), column=2, children=( ['Upload media', '/mediaman/bulk_upload/'], ['Filter/query items', '/admin/cat/museumobject/search'], # ['New acquisition', '/admin/common/siteconfiguration'], ['Bulk update storage locations', '/admin/cat/museumobject/upload_storagelocations'], ['Update new acquisition', '/admin/common/siteconfiguration/1/'] ) ))
def __init__(self, **kwargs): Dashboard.__init__(self, **kwargs) self.children.append( modules.ModelList('Clientes', collapsible=False, column=1, models=[ 'apps.custom_auth.models.' + model for model in ('Usuario', ) ])) self.children.append( modules.ModelList( _('Pedidos Paypal'), column=1, collapsible=False, models=( # 'django.contrib.*', 'paypal.standard.pdt.models.*', ), )) self.children.append( modules.ModelList(_('Pedidos PagoEfectivo'), column=1, collapsible=False, models=[ 'apps.pedidos.models.' + model for model in ('PagoEfectivoData', ) ])) self.children.append( modules.ModelList('Pedidos', collapsible=False, column=1, models=[ 'apps.pedidos.models.' + model for model in ('Pedido', 'CodigosDeDescuento', 'PaypalInfo') ])) self.children.append( modules.ModelList('Formularios', collapsible=False, column=1, models=[ 'apps.formularios.models.' + model for model in ('Contacto', 'Suscript', 'ContactoInformacion', 'LibRec', 'Destinatarios') ])) self.children.append( modules.ModelList('Home : Pantalla Principal', collapsible=False, column=1, models=[ 'apps.web.models.' + model for model in ( 'InfoSite', 'Sliders', 'SeccionInferior', 'PorqueElegirnos', 'ContactoSeccion', 'LibroSeccion', ) ])) self.children.append( modules.ModelList('Nosotros', collapsible=False, column=1, models=[ 'apps.web.models.' + model for model in ('Conocenos', 'Clientes', 'EllosOpinan', 'Respaldos', 'Paises') ])) self.children.append( modules.ModelList( 'Cursos', collapsible=False, column=1, models=[ 'apps.cursos.models.' + model for model in ('CursosCategorias', 'CursosDeInteres', 'Rubros', 'Idiomas', 'Cursos', 'Profesores') ])) self.children.append( modules.ModelList( 'Eventos y Noticias', collapsible=False, column=1, models=[ 'apps.eventos_noticias.models.' + model for model in ('HomeEventosSeccion', 'EventosSociales', 'HomeNoticiasSeccion', 'Noticias') ])) self.children.append( modules.ModelList('Terminos y Preguntas frecuentes', collapsible=False, column=1, models=[ 'apps.terminos_preguntas.models.' + model for model in ('TermsSeccion', 'Terms', 'QuestSeccion', 'Quest') ])) self.children.append( modules.LinkList(u'Información del Sitio', collapsible=False, column=2, children=[{ 'title': 'Configuración', 'url': '/{0}/web/infosite/1'.format(ADMIN_URL), 'external': False, }, { 'title': 'Diccionario de Textos Estáticos', 'url': '/{0}/web/translaterdicc/'.format(ADMIN_URL), 'external': False, }])) self.children.append( modules.LinkList(u'Herramientas SEO', collapsible=False, column=2, children=[{ 'title': u'Información URL (MetaTags)', 'url': '/{0}/seo/seotags/'.format(ADMIN_URL), 'external': False, }, { 'title': u'Re-Direccionamientos', 'url': '/{0}/seo/seoredirects/'.format(ADMIN_URL), 'external': False, }, { 'title': u'URL registradas', 'url': '/{0}/seo/urlregister/'.format(ADMIN_URL), 'external': False, }])) self.children.append( modules.LinkList(_('Soporte'), collapsible=False, column=2, children=[ { 'title': 'StaffDigital', 'url': 'http://www.staffdigital.pe/', 'external': False, }, { 'title': _('*****@*****.**'), 'url': 'mailto:[email protected]', 'external': True, 'description': u'Escríbenos', }, ])) self.children.append( modules.RecentActions( _('Acciones Recientes'), limit=10, collapsible=False, column=2, ))