示例#1
0
from django.conf import settings
from edc_navbar import NavbarItem, site_navbars, Navbar


no_url_namespace = True if settings.APP_NAME == 'td_export' else False

td_export = Navbar(name='td_export')

td_export.append_item(
    NavbarItem(
        name='export_data',
        title='Export Data',
        label='TD Export Data',
        fa_icon='fa fa-file-export',
        url_name=settings.DASHBOARD_URL_NAMES[
            'export_listboard_url'],
        no_url_namespace=no_url_namespace))


site_navbars.register(td_export)
示例#2
0
from edc_navbar import NavbarItem, site_navbars, Navbar

potlako_follow = Navbar(name='potlako_follow')
no_url_namespace = True if settings.APP_NAME == 'potlako_follow' else False

potlako_follow.append_item(
    NavbarItem(name='potlako_follow',
               label='Potlako follow',
               fa_icon='fa-cogs',
               url_name='potlako_follow:home_url'))

potlako_follow.append_item(
    NavbarItem(
        name='appointmet_worklist',
        title='Appointments Worklist',
        label='Appointments Worklist',
        fa_icon='fa-user-plus',
        url_name=settings.DASHBOARD_URL_NAMES['potlako_follow_listboard_url'],
        no_url_namespace=no_url_namespace))

potlako_follow.append_item(
    NavbarItem(name='navigation_worklist',
               title='Navigation Plan Worklist',
               label='Navigation Plan Worklist',
               fa_icon='fa-user-plus',
               url_name=settings.
               DASHBOARD_URL_NAMES['potlako_navigation_listboard_url'],
               no_url_namespace=no_url_namespace))

site_navbars.register(potlako_follow)
示例#3
0
from django.conf import settings

from edc_navbar import NavbarItem, site_navbars, Navbar

flourish_follow = Navbar(name='flourish_follow')
no_url_namespace = True if settings.APP_NAME == 'flourish_follow' else False

flourish_follow.append_item(
    NavbarItem(name='flourish_follow',
               label='Flourish follow',
               fa_icon='fa-cogs',
               url_name='flourish_follow:home_url'))

flourish_follow.append_item(
    NavbarItem(
        name='worklist',
        title='Worklist',
        label='Worklist',
        fa_icon='fa-user-plus',
        url_name=settings.DASHBOARD_URL_NAMES['flourish_follow_listboard_url'],
        no_url_namespace=no_url_namespace))

site_navbars.register(flourish_follow)
示例#4
0
no_url_namespace = True if settings.APP_NAME == 'pre_flourish' else False

pre_flourish_dashboard = Navbar(name='pre_flourish_dashboard')

pre_flourish_dashboard.append_item(
    NavbarItem(name='pre_flourish_screening',
               title='Pre Flourish Screening',
               label='pre flourish screening',
               fa_icon='far fa-user-circle',
               url_name='pre_flourish_screening_listboard_url',
               no_url_namespace=False))

pre_flourish_dashboard.append_item(
    NavbarItem(name='pre_flourish_consent',
               title='Caregiver Subjects',
               label='caregiver subjects',
               fa_icon='far fa-user-circle',
               url_name='pre_flourish_consent_listboard_url',
               no_url_namespace=False))

pre_flourish_dashboard.append_item(
    NavbarItem(name='child_subjects',
               title='Child Subjects',
               label='child subjects',
               fa_icon='far fa-user-circle',
               url_name='pre_flourish_child_listboard_url',
               no_url_namespace=False))

site_navbars.register(pre_flourish_dashboard)
示例#5
0
from edc_navbar import NavbarItem, site_navbars, Navbar

motheo = Navbar(name='motheo_call_manager')

motheo.append_item(
    NavbarItem(name='call_manager',
               label='Call Manager',
               fa_icon='fa-phone-square',
               url_name='call_manager_listboard_url'))

motheo.append_item(
    NavbarItem(name='reports',
               label='Call Reports',
               fa_icon='fa-bar-chart',
               url_name='report_url'))

site_navbars.register(motheo)
示例#6
0
from django.conf import settings
from edc_navbar import Navbar, NavbarItem, site_navbars

device = Navbar(name='edc_device')

no_url_namespace = True if settings.APP_NAME == 'edc_device' else False

device.append_item(
    NavbarItem(name='device',
               label='device',
               fa_icon='fa-calculator',
               no_url_namespace=no_url_namespace,
               url_name='edc_device:home_url'))

site_navbars.register(device)
示例#7
0
from django.conf import settings
from edc_navbar import NavbarItem, site_navbars, Navbar

no_url_namespace = True if settings.APP_NAME == 'ambition_ae' else False

ambition_ae = Navbar(name='ambition_ae')

ambition_ae.append_item(
    NavbarItem(
        name='ae',
        title='Adverse Events',
        # label='AE',
        fa_icon='fa-heartbeat',
        url_name='ambition_ae:home_url',
        no_url_namespace=no_url_namespace))

site_navbars.register(ambition_ae)
示例#8
0
               fa_icon='fa fa-user',
               url_name=settings.DASHBOARD_URL_NAMES['patient_listboard_url'],
               no_url_namespace=no_url_namespace))

pharma_dashboard.append_item(
    NavbarItem(name='dispensary',
               title='Dispensary',
               label='dispensary',
               fa_icon='fa-medkit',
               url_name=settings.DASHBOARD_URL_NAMES['dispense_listboard_url'],
               no_url_namespace=no_url_namespace))

pharma_dashboard.append_item(
    NavbarItem(name='stock_management',
               title='Stock Management',
               label='Stock Management',
               fa_icon='fa-area-chart',
               url_name=settings.
               DASHBOARD_URL_NAMES['stock_management_listboard_url'],
               no_url_namespace=no_url_namespace))

pharma_dashboard.append_item(
    NavbarItem(name='report',
               title='Stock Report',
               label='report',
               fa_icon='fa-file-excel',
               url_name=settings.DASHBOARD_URL_NAMES['report_listboard_url'],
               no_url_namespace=no_url_namespace))

site_navbars.register(pharma_dashboard)
示例#9
0
from edc_navbar import Navbar, NavbarItem, site_navbars

edc_sync = Navbar(name='edc_sync')

edc_sync.append_item(
    NavbarItem(name='synchronization',
               label='Data Synchronization',
               fa_icon='fa-exchange',
               url_name='edc_sync:home_url'))

site_navbars.register(edc_sync)
示例#10
0
        label='Subjects',
        fa_icon='far fa-user-circle',
        url_name=settings.DASHBOARD_URL_NAMES.get('subject_listboard_url')))

potlako.append_item(
    NavbarItem(name='reports',
               label='Reports',
               fa_icon='fa-cogs',
               url_name='potlako_reports:home_url'))

potlako.append_item(
    NavbarItem(
        name='endpoint_recordings',
        label='Endpoint Recordings',
        fa_icon='fa-user-plus',
        url_name=settings.DASHBOARD_URL_NAMES.get('endpoint_listboard_url')))

potlako.append_item(
    NavbarItem(name='synchronization',
               label='Data Synchronization',
               fa_icon='fa-exchange',
               url_name='edc_sync:home_url'))

potlako.append_item(
    NavbarItem(name='worklist',
               label='Follow ups',
               fa_icon='fa-exchange',
               url_name='potlako_follow:home_url'))

site_navbars.register(potlako)
示例#11
0
tshilo_dikotla.append_item(
    NavbarItem(
        name='eligible_subject',
        label='Subject Screening',
        fa_icon='fa-user-plus',
        url_name=settings.DASHBOARD_URL_NAMES.get('screening_listboard_url')))

tshilo_dikotla.append_item(
    NavbarItem(
        name='maternal_subject',
        label='Maternal Subjects',
        fa_icon='far fa-user-circle',
        url_name=settings.DASHBOARD_URL_NAMES.get('subject_listboard_url')))

tshilo_dikotla.append_item(
    NavbarItem(
        name='infant_subject',
        title='Infant Subjects',
        label='Infant Subjects',
        fa_icon='far fa-user-circle',
        url_name=settings.DASHBOARD_URL_NAMES.get('infant_listboard_url')))

tshilo_dikotla.append_item(
    NavbarItem(
        name='export_data',
        label='Export Data',
        fa_icon='fa fa-file-export',
        url_name=settings.DASHBOARD_URL_NAMES.get('export_listboard_url')))

site_navbars.register(tshilo_dikotla)
示例#12
0
from django.conf import settings
from edc_navbar import NavbarItem, site_navbars, Navbar


bhp_utility_systems = Navbar(name='bhp_utility_systems')

bhp_utility_systems.append_item(
    NavbarItem(
        name='procurement',
        label='Procurement',
        fa_icon='',
        url_name=settings.DASHBOARD_URL_NAMES.get('procurement_url')))


site_navbars.register(bhp_utility_systems)
示例#13
0
from edc_navbar import NavbarItem, site_navbars, Navbar


odk_dashboard = Navbar(name='edc_odk_forms')

odk_dashboard.append_item(
    NavbarItem(name='edc_odk_usage',
               label='EDC ODK Usage',
               fa_icon='fa-cogs',
               url_name='edc_odk:home_url'))

odk_dashboard.append_item(
    NavbarItem(name='edc_odk_admin',
               label='EDC ODK Admin',
               fa_icon='fa-cogs',
               url_name='edc_odk:admin_url'))

site_navbars.register(odk_dashboard)
示例#14
0
from django.conf import settings
from edc_navbar import NavbarItem, site_navbars, Navbar

no_url_namespace = True if settings.APP_NAME == 'tp_dashboard' else False

tp_dashboard = Navbar(name='tp_dashboard')

tp_dashboard.append_item(
    NavbarItem(
        name='screened_subject',
        title='Screening',
        label='screening',
        fa_icon='fa fa-user-plus',
        url_name=settings.DASHBOARD_URL_NAMES['screening_listboard_url'],
        no_url_namespace=no_url_namespace))

tp_dashboard.append_item(
    NavbarItem(name='consented_subject',
               title='Subjects',
               label='subjects',
               fa_icon='far fa-user-circle',
               url_name=settings.DASHBOARD_URL_NAMES['subject_listboard_url'],
               no_url_namespace=no_url_namespace))

site_navbars.register(tp_dashboard)
示例#15
0
        fa_icon='far fa-user-circle',
        url_name=settings.DASHBOARD_URL_NAMES.get('subject_listboard_url')))

flourish.append_item(
    NavbarItem(name='Follow Ups',
               title='Follow Ups',
               label='Follow Ups',
               fa_icon='fa-user-plus',
               url_name='flourish_follow:home_url'))

flourish.append_item(
    NavbarItem(name='reports',
               title='Reports',
               label='Reports',
               fa_icon='fa-user-plus',
               url_name='flourish_reports:download_report_url'))

flourish.append_item(
    NavbarItem(name='export_data',
               label=None,
               fa_icon='fa fa-database',
               url_name='flourish_export:home_url'))

flourish.append_item(
    NavbarItem(name='calendar',
               label='Calendar',
               fa_icon='fa fa-calendar',
               url_name='flourish_calendar:calendar'))

site_navbars.register(flourish)
示例#16
0
from edc_navbar import Navbar, NavbarItem, site_navbars

label = Navbar(name="edc_label")

label.append_item(
    NavbarItem(
        name="label",
        label="Label",
        fa_icon="fa-film",
        url_name="edc_label:home_url",
        codename="edc_navbar.nav_label",
    )
)

site_navbars.register(label)
示例#17
0
training_program = Navbar(name='training_program')

training_program.append_item(
    NavbarItem(name='pharmacy',
               label='Pharmacy',
               fa_icon='fa-medkit',
               url_name=f'home_url'))
# url_name=f'edc_pharmacy_dashboard:home_url'))

training_program.append_item(
    NavbarItem(name='lab',
               label='Specimens',
               fa_icon='fa-flask',
               url_name=lab_dashboard_urls.get('requisition_listboard_url')))

training_program.append_item(
    NavbarItem(
        name='screened_subject',
        label='Screening',
        fa_icon='fa-user-plus',
        url_name=settings.DASHBOARD_URL_NAMES.get('screening_listboard_url')))

training_program.append_item(
    NavbarItem(
        name='consented_subject',
        label='Subjects',
        fa_icon='far fa-user-circle',
        url_name=settings.DASHBOARD_URL_NAMES.get('subject_listboard_url')))

site_navbars.register(training_program)
示例#18
0
    NavbarItem(name='subjects',
               title='Subjects',
               label='subjects',
               fa_icon='fa-user-circle-o',
               url_name=f'bcpp_subject_dashboard:listboard_url'))

bcpp.append_item(
    NavbarItem(name='follow-up',
               title='Follow',
               label='follow-up',
               fa_icon='fa-comments-o',
               url_name=f'bcpp_follow:listboard_url'))

bcpp.append_item(
    NavbarItem(name='plots',
               title='Plots',
               label='plots',
               fa_icon='fa-building',
               url_name=f'edc_lab_dashboard:home_url'))

anonymous = Navbar(name='anonymous')
anonymous.append_item(
    NavbarItem(name='anonymous_subjects',
               title='Anonymous Subjects',
               label='anonymous_subjects',
               fa_icon='fa-user-secret',
               url_name=f'bcpp_subject_dashboard:anonymous_listboard_url'))

site_navbars.register(bcpp)
site_navbars.register(anonymous)
示例#19
0
from edc_navbar import NavbarItem, site_navbars, Navbar

edc_calendar = Navbar(name='edc_calendar')

edc_calendar.append_item(
    NavbarItem(name='edc_calendar',
               label='EDC CALENDER',
               fa_icon='fa-cogs',
               url_name='home_url'))

site_navbars.register(edc_calendar)
示例#20
0
from edc_navbar import Navbar, NavbarItem, site_navbars


consent = Navbar(name='edc_consent')

consent.append_item(
    NavbarItem(name='consent',
               label='Consent',
               fa_icon='far fa-user-circle',
               url_name='edc_consent:home_url'))

site_navbars.register(consent)
示例#21
0
from django.conf import settings
from edc_navbar import NavbarItem, site_navbars, Navbar

no_url_namespace = True if settings.APP_NAME == 'trainee_dashboard' else False

trainee_dashboard = Navbar(name='trainee_dashboard')

trainee_dashboard.append_item(
    NavbarItem(name='consented_subject',
               title='Subjects',
               label='subjects',
               fa_icon='far fa-user-circle',
               url_name=settings.DASHBOARD_URL_NAMES['subject_listboard_url'],
               no_url_namespace=no_url_namespace))

site_navbars.register(trainee_dashboard)
示例#22
0
from edc_navbar import Navbar, NavbarItem, site_navbars

visit_schedule = Navbar(name="edc_visit_schedule")

visit_schedule.append_item(
    NavbarItem(
        name="visit_schedule",
        title="Visit Schedule",
        label="Visit Schedule",
        fa_icon="fa-calendar",
        url_name="edc_visit_schedule:home_url",
        codename="edc_navbar.nav_visit_schedule",
    )
)

visit_schedule.append_item(
    NavbarItem(
        name="admin",
        title="Subject History",
        label="Subject History",
        fa_icon="fa-history",
        url_name=(
            "edc_visit_schedule:edc_visit_schedule_admin:"
            "edc_visit_schedule_subjectschedulehistory_changelist"
        ),
        codename="edc_navbar.nav_visit_schedule",
    )
)

site_navbars.register(visit_schedule)
示例#23
0
from edc_navbar import Navbar, NavbarItem, site_navbars

reference = Navbar(name='edc_reference')

reference.append_item(
    NavbarItem(name='reference',
               title='reference',
               label='reference',
               url_name='edc_reference:home_url'))

site_navbars.register(reference)
示例#24
0
from edc_navbar import Navbar, NavbarItem, site_navbars

protocol = Navbar(name="edc_protocol")

protocol.append_item(
    NavbarItem(
        name="protocol",
        title="Protocol",
        label="protocol",
        codename="edc_navbar.nav_edc_protocol",
        url_name="edc_protocol:home_url",
    ))

site_navbars.register(protocol)
示例#25
0
from edc_navbar import Navbar, NavbarItem, site_navbars


edc_sync = Navbar(name='edc_sync')

edc_sync.append_item(
    NavbarItem(name='synchronization',
               label='Data Synchronization',
               fa_icon='fa-exchange',
               url_name='edc_sync:home_url'))

site_navbars.register(edc_sync)
示例#26
0
from edc_navbar import Navbar, NavbarItem, site_navbars

consent = Navbar(name='edc_consent')

consent.append_item(
    NavbarItem(name='consent',
               label='Consent',
               fa_icon='fa-user-circle-o',
               url_name='edc_consent:home_url'))

site_navbars.register(consent)
示例#27
0
from django.conf import settings
from edc_lab_dashboard.dashboard_urls import dashboard_urls as lab_dashboard_urls
from edc_navbar import NavbarItem, site_navbars, Navbar


cancer = Navbar(name='cancer')


cancer.append_item(
    NavbarItem(
        name='consented_subject',
        label='Subjects',
        fa_icon='far fa-user-circle',
        url_name=settings.DASHBOARD_URL_NAMES.get('subject_listboard_url')))

cancer.append_item(
    NavbarItem(
        name='lab',
        label='Specimens',
        fa_icon='fa-flask',
        url_name=lab_dashboard_urls.get('requisition_listboard_url')))

site_navbars.register(cancer)
示例#28
0
from django.conf import settings

from edc_navbar import NavbarItem, site_navbars, Navbar

flourish_reports = Navbar(name='flourish_reports')
no_url_namespace = True if settings.APP_NAME == 'flourish_reports' else False

flourish_reports.append_item(
    NavbarItem(name='flourish_reports',
               label='Flourish reports',
               fa_icon='fa-cogs',
               url_name='flourish_reports:home_url'))

site_navbars.register(flourish_reports)
示例#29
0
from django.conf import settings
from edc_navbar import NavbarItem, site_navbars, Navbar

vaccine = Navbar(name='vaccine')

# vaccine.append_item(
# NavbarItem(
# name='eligible_subject',
# label='Eligibility Checklist',
# fa_icon='fa-user-plus',
# url_name=settings.DASHBOARD_URL_NAMES.get('eligibility_listboard_url')))
#
# vaccine.append_item(
# NavbarItem(
# name='vaccine_subject',
# label='Subjects',
# fa_icon='far fa-user-circle',
# url_name=settings.DASHBOARD_URL_NAMES.get('subject_listboard_url')))

# vaccine.append_item(
# NavbarItem(name='synchronization',
# label='Data Synchronization',
# fa_icon='fa-exchange',
# url_name='edc_sync:home_url'))

site_navbars.register(vaccine)
示例#30
0
navbar = Navbar(name="inte_dashboard")

navbar.append_item(
    NavbarItem(
        name="screened_subject",
        title="Screening",
        label="Screening",
        fa_icon="fas fa-user-plus",
        codename="edc_navbar.nav_screening_section",
        url_name="screening_listboard_url",
        no_url_namespace=no_url_namespace,
    ))

navbar.append_item(
    NavbarItem(
        name="consented_subject",
        title="Subjects",
        label="Subjects",
        fa_icon="far fa-user-circle",
        codename="edc_navbar.nav_subject_section",
        url_name="subject_listboard_url",
        no_url_namespace=no_url_namespace,
    ))

navbar.append_item(review_navbar_item)
navbar.append_item(tmg_navbar_item)
navbar.append_item(ae_navbar_item)
navbar.append_item(dm_navbar_item)

site_navbars.register(navbar)
               url_name=dashboard_urls.get('process_listboard_url')))

specimens.append_item(
    NavbarItem(name='pack',
               label='Pack',
               url_name=dashboard_urls.get('pack_listboard_url')))

specimens.append_item(
    NavbarItem(name='manifest',
               label='Manifest',
               url_name=dashboard_urls.get('manifest_listboard_url')))

specimens.append_item(
    NavbarItem(name='aliquot',
               label='Aliquot',
               url_name=dashboard_urls.get('aliquot_listboard_url')))

specimens.append_item(
    NavbarItem(name='result',
               label='Result',
               url_name=dashboard_urls.get('result_listboard_url')))

specimens.append_item(
    NavbarItem(name='specimens',
               title='specimens',
               fa_icon='fa fa-flask',
               url_name='#',
               active=True))

site_navbars.register(specimens)