def print_scrum_notes(facade): clear_screen() banner = os.path.join(os.path.dirname(__file__), "banners/scrum.txt") print_ascii_banner(parse_ascii_banner(banner)) table_rows = display.display_last_days_items(facade) for row in table_rows: print(row)
def prompt_analytics(): banner = os.path.join(os.path.dirname(__file__), "banners/lytics.txt") print_ascii_banner(parse_ascii_banner(banner)) return input(""" 0: Return to MODE 1: Print metrics 2: Quit """)
def prompt_maintenance(): banner = os.path.join(os.path.dirname(__file__), "banners/maint.txt") print_ascii_banner(parse_ascii_banner(banner)) return input(""" 0: Return to MODE 1: Delete history 2: Quit """)
def prompt_maintenance(): print_ascii_banner(parse_ascii_banner("time_management/banners/maintenance.txt")) return input( """ 0: Return to mode menu 1: Delete history 2: Quit """ )
def prompt_mode(): initialize_menu(run_menu_loop_mode) print_ascii_banner(parse_ascii_banner("time_management/banners/mode.txt")) return input(""" 1: Time management 2: Analytics 3: Maintenance 4: Quit """)
def prompt_mode(): initialize_menu(run_menu_loop_mode, True) banner = os.path.join(os.path.dirname(__file__), "banners/mode.txt") print_ascii_banner(parse_ascii_banner(banner)) return input(""" 1: Time management 2: Analytics 3: Maintenance 4: Quit """)
def __print_scrum_notes(self): interface_common.clear_screen() banner = os.path.join(os.path.dirname(__file__), "banners/scrum.txt") interface_common.print_ascii_banner(interface_common.parse_ascii_banner(banner)) note_rows = self.notes_facade.get_last_workday() formatted_notes = format_decorators.format_note(note_rows) task_rows = self.tasks_facade.get_last_workday() formatted_tasks = format_decorators.format_task(task_rows) all_items = formatted_notes + list("\n") + formatted_tasks InterfaceTM.__print_entries(all_items)
def prompt_time_management(): banner = os.path.join(os.path.dirname(__file__), "banners/tm.txt") print_ascii_banner(parse_ascii_banner(banner)) return input("""0: Return to MODE 1: Make a note 2: Set a task 3: Print notes and tasks 4: Complete tasks 5: Print overdue tasks 6: Print SCRUM notes 7: Quit """)
def prompt_mode(self): interface_common.initialize_menu(self.run_menu_loop_mode, True) banner = os.path.join(os.path.dirname(__file__), "banners/mode.txt") interface_common.print_ascii_banner(interface_common.parse_ascii_banner(banner)) return input(textwrap.dedent(InterfaceMode.__menu))
def prompt_maintenance(self): banner = os.path.join(os.path.dirname(__file__), "banners/maint.txt") interface_common.print_ascii_banner(interface_common.parse_ascii_banner(banner)) return input(textwrap.dedent(InterfaceMaintenance.__menu))
def prompt_study(self): threading.Timer(2.5, self.print_glossary).start() banner = os.path.join(os.path.dirname(__file__), "banners/study.txt") interface_common.print_ascii_banner(interface_common.parse_ascii_banner(banner)) return input(textwrap.dedent(InterfaceStudy.__menu))
def prompt_analytics(self): banner = os.path.join(os.path.dirname(__file__), "banners/lytics.txt") interface_common.print_ascii_banner( interface_common.parse_ascii_banner(banner)) return input(textwrap.dedent(InterfaceAnalytics.__menu))
def __prompt_time_management(self): banner = os.path.join(os.path.dirname(__file__), "banners/tm.txt") interface_common.print_ascii_banner( interface_common.parse_ascii_banner(banner)) return input(textwrap.dedent(InterfaceTM.__menu))