示例#1
0
     ("report_fields", MultiBoxSelect(
         select(id="available_fields"),
         select(id="selected_fields"),
         img(alt="Move selected fields up"),
         img(alt="Move selected fields down"),
     )),
     ("cancel_after", select(id="chosen_queue_timeout")),
 ],
 "Consolidation": [
     ("group_records", ShowingInputs(
         select(id="chosen_pivot1"),
         select(id="chosen_pivot2"),
         select(id="chosen_pivot3"),
     )),
     ("calculations_grouped", RecordGrouper(
         table_in_object("Specify Calculations of Numeric Values for Grouped Records"))),
 ],
 "Formatting": [
     ("page_size", select(id="pdf_page_size")),
     ("headers",
         ColumnHeaderFormatTable(table_in_object("Specify Column Headers and Formats"))),
 ],
 "Styling": [
     ("column_styles", ColumnStyleTable("styling_div")),
 ],
 "Filter": [
     ("filter", Expression()),
 ],
 "Summary": [
     ("sort", ShowingInputs(
         Form(fields=[
示例#2
0
     ("report_fields", MultiBoxSelect(
         select(id="available_fields"),
         select(id="selected_fields"),
         button(alt="Move selected fields up"),
         button(alt="Move selected fields down"),
     )),
     ("cancel_after", select(id="chosen_queue_timeout")),
 ],
 "Consolidation": [
     ("group_records", ShowingInputs(
         select(id="chosen_pivot1"),
         select(id="chosen_pivot2"),
         select(id="chosen_pivot3"),
     )),
     ("calculations_grouped", RecordGrouper(
         table_in_object("Specify Calculations of Numeric Values for Grouped Records"))),
 ],
 "Formatting": [
     ("page_size", select(id="pdf_page_size")),
     ("headers",
         ColumnHeaderFormatTable(table_in_object("Specify Column Headers and Formats"))),
 ],
 "Styling": [
     ("column_styles", ColumnStyleTable("styling_div")),
 ],
 "Filter": [
     ("filter", Expression()),
     ("filter_show_costs", select(id="cb_show_typ")),
     ('provider', ShowingInputs(select(id="cb_provider_id"))),
     ("project", ShowingInputs(select(id="cb_entity_id"))),
     ("filter_owner", select(id="cb_owner_id")),