Esempio n. 1
0
    class FuncFlowTable(BaseList.BaseTable):
        subfuncflow_flow = BadgesColumn(verbose_name="Sub functional flows",
                                        linkify_item=True)
        view_perms = {'subfuncflow_flow': 'funcmngt.view_subfuncflow'}

        class Meta(BaseList.BaseTable.Meta):
            model = FuncFlow
Esempio n. 2
0
    class ServerTable(BaseList.BaseTable):
        env_servers = BadgesColumn(verbose_name="Environment")
        view_perms = {
            'env_servers': 'appmngt.view_environment'
        }

        class Meta(BaseList.BaseTable.Meta):
            model = Server
Esempio n. 3
0
    class UniversTable(BaseList.BaseTable):
        app_univers = BadgesColumn(verbose_name="Applications", linkify_item=True)
        view_perms = {
            'app_univers': 'appmngt.view_application',
        }

        class Meta(BaseList.BaseTable.Meta):
            model = Univers
Esempio n. 4
0
    class PartnerTable(BaseList.BaseTable):
        app_partner = BadgesColumn(verbose_name="Applications",
                                   linkify_item=True)
        view_perms = {
            'app_partner': 'appmngt.view_application',
        }

        class Meta(BaseList.BaseTable.Meta):
            model = Partner
Esempio n. 5
0
    class ReleaseTable(BaseList.BaseTable):
        release_date = tables.DateColumn(format="D d/m/Y")
        applications = BadgesColumn(linkify_item=True)
        view_perms = {
            'applications': 'appmngt.view_application',
        }

        class Meta(BaseList.BaseTable.Meta):
            model = Release
Esempio n. 6
0
    class ApplicationTable(BaseList.BaseTable):
        univers = SingleBadgeColumn()
        partner = SingleBadgeColumn()
        env_app = BadgesColumn(verbose_name="Environments", linkify_item=True)
        release_app = BadgesColumn(verbose_name="Releases", linkify_item=True)
        subfuncflow_req_app = BadgesColumn(verbose_name="Receiver", linkify_item=True)
        subfuncflow_rec_app = BadgesColumn(verbose_name="Requester", linkify_item=True)

        view_perms = {
            'univers': 'appmngt.view_univers',
            'partner': 'appmngt.view_partner',
            'env_app': 'appmngt.view_envrionment',
            'release_app': 'appmngt.view_release',
            'subfuncflow_req_app': 'funcmngt.view_subfuncflow',
            'subfuncflow_rec_app': 'funcmngt.view_subfuncflow',
        }

        class Meta(BaseList.BaseTable.Meta):
            model = Application
Esempio n. 7
0
    class EnvironmentTable(BaseList.BaseTable):
        application = SingleBadgeColumn()
        servers = BadgesColumn(linkify_item=True)
        view_perms = {
            'application': 'appmngt.view_application',
            'servers': 'techmngt.view_server',
        }

        class Meta(BaseList.BaseTable.Meta):
            model = Environment