class OptionForm(View): interval = BootstrapSelect(id='perf_typ') compare_to = BootstrapSelect(id='compare_to') show_weeks_back = BootstrapSelect(id='perf_days') show_mints_back = BootstrapSelect(id='perf_minutes') range = Text("//div[label[contains(.,'Range')]]//p") time_profile = Text("//div[label[contains(.,'Time Profile')]]//p") calendar = DatePicker(id='miq_date_1')
class timer(View): # noqa run = BootstrapSelect("timer_typ") # Adding timer for hour, day, week, and zone because there is no single element # for the timer_interval. timer_hour = BootstrapSelect("timer_hours") timer_day = BootstrapSelect("timer_days") timer_month = BootstrapSelect("timer_months") timer_week = BootstrapSelect("timer_weeks") time_zone = BootstrapSelect("time_zone") starting_date = DatePicker("miq_date_1") hour = BootstrapSelect("start_hour") minute = BootstrapSelect("start_min")
class candugapcollection(Tab): # noqa TAB_NAME = "C & U Gap Collection" end_date = DatePicker(id='miq_date_2') start_date = DatePicker(id='miq_date_1') submit = Button(title='Submit')
class TestView(View): dp_readwrite = DatePicker(name="date_readwrite") dp_readonly = DatePicker(id="date_readonly") dp_basic_patternfly = DatePicker(id="patternfly_dp")
class ReportOptionView(View): show_weeks_back = BootstrapSelect(id='report_days') classification = BootstrapSelect(id='report_tag') calendar = DatePicker(id='miq_date_2')
class SummaryOptionView(View): show_weeks_back = BootstrapSelect(id='summ_days') classification = BootstrapSelect(id='summ_tag') calendar = DatePicker(id='miq_date_1')