karafka-web 0.9.0 → 0.10.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/.github/workflows/ci.yml +30 -0
- data/.gitignore +2 -0
- data/.ruby-version +1 -1
- data/CHANGELOG.md +88 -1
- data/Gemfile +1 -0
- data/Gemfile.lock +30 -25
- data/LICENSE +1 -1
- data/bin/build_assets +51 -0
- data/bin/release +6 -0
- data/config/locales/pro_errors.yml +18 -0
- data/docker-compose.yml +1 -1
- data/gulpfile.js +73 -0
- data/karafka-web.gemspec +2 -2
- data/lib/karafka/web/config.rb +9 -10
- data/lib/karafka/web/contracts/base.rb +2 -0
- data/lib/karafka/web/contracts/config.rb +2 -1
- data/lib/karafka/web/errors.rb +12 -0
- data/lib/karafka/web/inflector.rb +1 -1
- data/lib/karafka/web/management/actions/enable.rb +11 -0
- data/lib/karafka/web/management/migrations/consumers_metrics/0_set_initial.rb +39 -0
- data/lib/karafka/web/management/migrations/consumers_metrics/1699543515_fill_missing_received_and_sent_bytes.rb +28 -0
- data/lib/karafka/web/management/migrations/consumers_metrics/1700234522_introduce_waiting.rb +26 -0
- data/lib/karafka/web/management/migrations/consumers_metrics/1700234522_remove_processing.rb +26 -0
- data/lib/karafka/web/management/migrations/consumers_metrics/1704722380_split_listeners_into_active_and_paused.rb +38 -0
- data/lib/karafka/web/management/migrations/consumers_metrics/1706607960_introduce_lag_total.rb +40 -0
- data/lib/karafka/web/management/migrations/consumers_metrics/1706611396_rename_lag_total_to_lag_hybrid.rb +38 -0
- data/lib/karafka/web/management/migrations/consumers_metrics/1716218393_populate_jobs_metrics.rb +26 -0
- data/lib/karafka/web/management/migrations/consumers_states/0_set_initial.rb +46 -0
- data/lib/karafka/web/management/migrations/consumers_states/1699543515_fill_missing_received_and_sent_bytes.rb +25 -0
- data/lib/karafka/web/management/migrations/consumers_states/1700234522_introduce_waiting.rb +22 -0
- data/lib/karafka/web/management/migrations/consumers_states/1700234522_remove_processing.rb +22 -0
- data/lib/karafka/web/management/migrations/consumers_states/1704722380_split_listeners_into_active_and_paused.rb +34 -0
- data/lib/karafka/web/management/migrations/consumers_states/1706607960_introduce_lag_total.rb +24 -0
- data/lib/karafka/web/management/migrations/consumers_states/1706611396_rename_lag_total_to_lag_hybrid.rb +23 -0
- data/lib/karafka/web/management/migrations/consumers_states/1716218393_add_jobs_counter.rb +24 -0
- data/lib/karafka/web/management/migrator.rb +5 -5
- data/lib/karafka/web/pro/commanding/commands/base.rb +8 -0
- data/lib/karafka/web/pro/commanding/commands/quiet.rb +4 -1
- data/lib/karafka/web/pro/commanding/commands/stop.rb +4 -1
- data/lib/karafka/web/pro/loader.rb +8 -0
- data/lib/karafka/web/pro/ui/app.rb +44 -7
- data/lib/karafka/web/pro/ui/controllers/dlq_controller.rb +1 -1
- data/lib/karafka/web/pro/ui/controllers/errors_controller.rb +1 -0
- data/lib/karafka/web/pro/ui/controllers/explorer_controller.rb +6 -14
- data/lib/karafka/web/pro/ui/controllers/messages_controller.rb +5 -4
- data/lib/karafka/web/pro/ui/controllers/search_controller.rb +73 -0
- data/lib/karafka/web/pro/ui/controllers/support_controller.rb +26 -0
- data/lib/karafka/web/pro/ui/controllers/topics_controller.rb +31 -0
- data/lib/karafka/web/pro/ui/controllers/ux_controller.rb +26 -0
- data/lib/karafka/web/pro/ui/lib/policies/config.rb +39 -0
- data/lib/karafka/web/pro/ui/lib/policies/contracts/config.rb +46 -0
- data/lib/karafka/web/pro/ui/lib/policies/messages.rb +76 -0
- data/lib/karafka/web/pro/ui/lib/policies/requests.rb +36 -0
- data/lib/karafka/web/pro/ui/lib/policies.rb +34 -0
- data/lib/karafka/web/pro/ui/lib/safe_runner.rb +98 -0
- data/lib/karafka/web/pro/ui/lib/search/config.rb +53 -0
- data/lib/karafka/web/pro/ui/lib/search/contracts/config.rb +101 -0
- data/lib/karafka/web/pro/ui/lib/search/contracts/form.rb +111 -0
- data/lib/karafka/web/pro/ui/lib/search/matchers/base.rb +59 -0
- data/lib/karafka/web/pro/ui/lib/search/matchers/raw_header_includes.rb +57 -0
- data/lib/karafka/web/pro/ui/lib/search/matchers/raw_key_includes.rb +41 -0
- data/lib/karafka/web/pro/ui/lib/search/matchers/raw_payload_includes.rb +45 -0
- data/lib/karafka/web/pro/ui/lib/search/normalizer.rb +47 -0
- data/lib/karafka/web/pro/ui/lib/search/runner.rb +230 -0
- data/lib/karafka/web/pro/ui/lib/search.rb +36 -0
- data/lib/karafka/web/pro/ui/views/cluster/_breadcrumbs.erb +4 -4
- data/lib/karafka/web/pro/ui/views/cluster/_tabs.erb +14 -24
- data/lib/karafka/web/pro/ui/views/cluster/index.erb +20 -22
- data/lib/karafka/web/pro/ui/views/cluster/show.erb +21 -25
- data/lib/karafka/web/pro/ui/views/commands/_backtrace.erb +4 -19
- data/lib/karafka/web/pro/ui/views/commands/_breadcrumbs.erb +3 -3
- data/lib/karafka/web/pro/ui/views/commands/_command.erb +6 -6
- data/lib/karafka/web/pro/ui/views/commands/_command_details.erb +1 -11
- data/lib/karafka/web/pro/ui/views/commands/_incompatible_schema.erb +3 -14
- data/lib/karafka/web/pro/ui/views/commands/_metadata.erb +33 -42
- data/lib/karafka/web/pro/ui/views/commands/_table.erb +9 -3
- data/lib/karafka/web/pro/ui/views/commands/index.erb +18 -12
- data/lib/karafka/web/pro/ui/views/commands/show.erb +24 -29
- data/lib/karafka/web/pro/ui/views/consumers/_breadcrumbs.erb +8 -8
- data/lib/karafka/web/pro/ui/views/consumers/_consumer.erb +13 -23
- data/lib/karafka/web/pro/ui/views/consumers/_consumer_controls.erb +51 -35
- data/lib/karafka/web/pro/ui/views/consumers/_consumer_performance.erb +1 -1
- data/lib/karafka/web/pro/ui/views/consumers/_tabs.erb +28 -30
- data/lib/karafka/web/pro/ui/views/consumers/consumer/_commands.erb +68 -28
- data/lib/karafka/web/pro/ui/views/consumers/consumer/_job.erb +1 -1
- data/lib/karafka/web/pro/ui/views/consumers/consumer/_metrics.erb +114 -133
- data/lib/karafka/web/pro/ui/views/consumers/consumer/_partition.erb +4 -4
- data/lib/karafka/web/pro/ui/views/consumers/consumer/_stopped.erb +6 -9
- data/lib/karafka/web/pro/ui/views/consumers/consumer/_subscription_group.erb +116 -126
- data/lib/karafka/web/pro/ui/views/consumers/consumer/_tabs.erb +26 -31
- data/lib/karafka/web/pro/ui/views/consumers/controls.erb +53 -57
- data/lib/karafka/web/pro/ui/views/consumers/details.erb +4 -17
- data/lib/karafka/web/pro/ui/views/consumers/index.erb +31 -34
- data/lib/karafka/web/pro/ui/views/consumers/pending_jobs.erb +41 -46
- data/lib/karafka/web/pro/ui/views/consumers/performance.erb +43 -47
- data/lib/karafka/web/pro/ui/views/consumers/running_jobs.erb +41 -46
- data/lib/karafka/web/pro/ui/views/consumers/subscriptions.erb +14 -17
- data/lib/karafka/web/pro/ui/views/dashboard/index.erb +67 -76
- data/lib/karafka/web/pro/ui/views/dlq/_breadcrumbs.erb +1 -1
- data/lib/karafka/web/pro/ui/views/dlq/_no_topics.erb +1 -7
- data/lib/karafka/web/pro/ui/views/dlq/_topic.erb +7 -10
- data/lib/karafka/web/pro/ui/views/dlq/index.erb +8 -10
- data/lib/karafka/web/pro/ui/views/errors/_breadcrumbs.erb +3 -3
- data/lib/karafka/web/pro/ui/views/errors/_error.erb +8 -5
- data/lib/karafka/web/pro/ui/views/errors/_selector.erb +12 -0
- data/lib/karafka/web/pro/ui/views/errors/_table.erb +5 -4
- data/lib/karafka/web/pro/ui/views/errors/index.erb +50 -15
- data/lib/karafka/web/pro/ui/views/errors/partition.erb +61 -14
- data/lib/karafka/web/pro/ui/views/errors/show.erb +28 -46
- data/lib/karafka/web/pro/ui/views/explorer/_breadcrumbs.erb +11 -3
- data/lib/karafka/web/pro/ui/views/explorer/_failed_deserialization.erb +8 -3
- data/lib/karafka/web/pro/ui/views/explorer/_message.erb +12 -6
- data/lib/karafka/web/pro/ui/views/explorer/_no_topics.erb +1 -5
- data/lib/karafka/web/pro/ui/views/explorer/_selector.erb +12 -0
- data/lib/karafka/web/pro/ui/views/explorer/_topic.erb +6 -8
- data/lib/karafka/web/pro/ui/views/explorer/index.erb +13 -15
- data/lib/karafka/web/pro/ui/views/explorer/message/_metadata.erb +68 -32
- data/lib/karafka/web/pro/ui/views/explorer/message/_payload.erb +17 -16
- data/lib/karafka/web/pro/ui/views/explorer/message/_resources_utilization.erb +127 -0
- data/lib/karafka/web/pro/ui/views/explorer/message/_too_big_to_be_displayed.erb +20 -0
- data/lib/karafka/web/pro/ui/views/explorer/messages/_detail.erb +1 -1
- data/lib/karafka/web/pro/ui/views/explorer/partition/_cleaned.erb +3 -5
- data/lib/karafka/web/pro/ui/views/explorer/partition/_empty.erb +3 -5
- data/lib/karafka/web/pro/ui/views/explorer/partition/_messages.erb +6 -3
- data/lib/karafka/web/pro/ui/views/explorer/partition.erb +67 -46
- data/lib/karafka/web/pro/ui/views/explorer/show.erb +85 -21
- data/lib/karafka/web/pro/ui/views/explorer/topic/_actions.erb +27 -0
- data/lib/karafka/web/pro/ui/views/explorer/topic/_empty.erb +3 -5
- data/lib/karafka/web/pro/ui/views/explorer/topic/_limited.erb +8 -10
- data/lib/karafka/web/pro/ui/views/explorer/topic.erb +24 -44
- data/lib/karafka/web/pro/ui/views/health/_breadcrumbs.erb +7 -7
- data/lib/karafka/web/pro/ui/views/health/_no_data.erb +1 -7
- data/lib/karafka/web/pro/ui/views/health/_partition.erb +3 -3
- data/lib/karafka/web/pro/ui/views/health/_partition_lags.erb +3 -3
- data/lib/karafka/web/pro/ui/views/health/_partition_offset.erb +2 -2
- data/lib/karafka/web/pro/ui/views/health/_partition_times.erb +3 -7
- data/lib/karafka/web/pro/ui/views/health/_table_metadata.erb +8 -0
- data/lib/karafka/web/pro/ui/views/health/_tabs.erb +32 -49
- data/lib/karafka/web/pro/ui/views/health/changes.erb +51 -51
- data/lib/karafka/web/pro/ui/views/health/cluster_lags.erb +28 -41
- data/lib/karafka/web/pro/ui/views/health/lags.erb +52 -52
- data/lib/karafka/web/pro/ui/views/health/offsets.erb +55 -55
- data/lib/karafka/web/pro/ui/views/health/overview.erb +60 -60
- data/lib/karafka/web/pro/ui/views/jobs/_job.erb +1 -1
- data/lib/karafka/web/pro/ui/views/jobs/_no_jobs.erb +1 -7
- data/lib/karafka/web/pro/ui/views/jobs/pending.erb +36 -38
- data/lib/karafka/web/pro/ui/views/jobs/running.erb +36 -38
- data/lib/karafka/web/pro/ui/views/routing/_consumer_group.erb +7 -12
- data/lib/karafka/web/pro/ui/views/routing/_topic.erb +13 -11
- data/lib/karafka/web/pro/ui/views/routing/index.erb +7 -9
- data/lib/karafka/web/pro/ui/views/routing/show.erb +41 -33
- data/lib/karafka/web/pro/ui/views/search/_fix_errors.erb +3 -0
- data/lib/karafka/web/pro/ui/views/search/_metadata.erb +71 -0
- data/lib/karafka/web/pro/ui/views/search/_no_results.erb +3 -0
- data/lib/karafka/web/pro/ui/views/search/_no_search_criteria.erb +5 -0
- data/lib/karafka/web/pro/ui/views/search/_search_criteria.erb +37 -0
- data/lib/karafka/web/pro/ui/views/search/_search_modal.erb +139 -0
- data/lib/karafka/web/pro/ui/views/search/_timeout.erb +3 -0
- data/lib/karafka/web/pro/ui/views/search/index.erb +29 -0
- data/lib/karafka/web/pro/ui/views/shared/_navigation.erb +80 -28
- data/lib/karafka/web/pro/ui/views/topics/_breadcrumbs.erb +14 -6
- data/lib/karafka/web/pro/ui/views/topics/_partition_offsets.erb +10 -0
- data/lib/karafka/web/pro/ui/views/topics/_tabs.erb +26 -32
- data/lib/karafka/web/pro/ui/views/topics/_topic.erb +7 -10
- data/lib/karafka/web/pro/ui/views/topics/config.erb +21 -25
- data/lib/karafka/web/pro/ui/views/topics/distribution/_badges.erb +10 -5
- data/lib/karafka/web/pro/ui/views/topics/distribution/_chart.erb +3 -1
- data/lib/karafka/web/pro/ui/views/topics/distribution/_limited.erb +1 -1
- data/lib/karafka/web/pro/ui/views/topics/distribution.erb +34 -39
- data/lib/karafka/web/pro/ui/views/topics/index.erb +13 -15
- data/lib/karafka/web/pro/ui/views/topics/offsets.erb +24 -0
- data/lib/karafka/web/pro/ui/views/topics/replication.erb +20 -24
- data/lib/karafka/web/processing/consumers/aggregators/metrics.rb +1 -1
- data/lib/karafka/web/processing/consumers/aggregators/state.rb +1 -1
- data/lib/karafka/web/processing/consumers/contracts/aggregated_stats.rb +1 -0
- data/lib/karafka/web/tracking/consumers/contracts/report.rb +6 -0
- data/lib/karafka/web/tracking/consumers/listeners/connections.rb +8 -6
- data/lib/karafka/web/tracking/consumers/listeners/processing.rb +2 -0
- data/lib/karafka/web/tracking/consumers/listeners/tags.rb +1 -1
- data/lib/karafka/web/tracking/consumers/reporter.rb +6 -8
- data/lib/karafka/web/tracking/consumers/sampler.rb +16 -5
- data/lib/karafka/web/ui/app.rb +20 -1
- data/lib/karafka/web/ui/base.rb +26 -20
- data/lib/karafka/web/ui/controllers/base_controller.rb +7 -5
- data/lib/karafka/web/ui/controllers/dashboard_controller.rb +8 -0
- data/lib/karafka/web/ui/controllers/requests/params.rb +16 -2
- data/lib/karafka/web/ui/controllers/support_controller.rb +17 -0
- data/lib/karafka/web/ui/controllers/ux_controller.rb +17 -0
- data/lib/karafka/web/ui/helpers/application_helper.rb +75 -42
- data/lib/karafka/web/ui/helpers/paths_helper.rb +24 -0
- data/lib/karafka/web/ui/helpers/tailwind_helper.rb +90 -0
- data/lib/karafka/web/ui/lib/sorter.rb +1 -1
- data/lib/karafka/web/ui/models/metrics/aggregated.rb +1 -0
- data/lib/karafka/web/ui/models/metrics/charts/topics.rb +36 -20
- data/lib/karafka/web/ui/models/status.rb +28 -1
- data/lib/karafka/web/ui/public/images/calendar.svg +3 -0
- data/lib/karafka/web/ui/public/javascripts/application.js +39 -15
- data/lib/karafka/web/ui/public/javascripts/application.min.js +64 -0
- data/lib/karafka/web/ui/public/javascripts/application.min.js.br +0 -0
- data/lib/karafka/web/ui/public/javascripts/application.min.js.gz +0 -0
- data/lib/karafka/web/ui/public/javascripts/charts/types/line.js +41 -9
- data/lib/karafka/web/ui/public/javascripts/components/btn_toggle_manager.js +37 -0
- data/lib/karafka/web/ui/public/javascripts/{live_poll.js → components/live_poll.js} +44 -8
- data/lib/karafka/web/ui/public/javascripts/{offset_datetime.js → components/offset_datetime.js} +1 -1
- data/lib/karafka/web/ui/public/javascripts/components/search.js +102 -0
- data/lib/karafka/web/ui/public/javascripts/components/tabs_manager.js +84 -0
- data/lib/karafka/web/ui/public/javascripts/components/theme_manager.js +59 -0
- data/lib/karafka/web/ui/public/javascripts/components/turbo_tracker.js +30 -0
- data/lib/karafka/web/ui/public/javascripts/libs/datepicker.js +2 -2
- data/lib/karafka/web/ui/public/javascripts/libs/turbo.js +6618 -0
- data/lib/karafka/web/ui/public/stylesheets/application.css +16 -113
- data/lib/karafka/web/ui/public/stylesheets/application.min.css +13 -0
- data/lib/karafka/web/ui/public/stylesheets/application.min.css.br +0 -0
- data/lib/karafka/web/ui/public/stylesheets/application.min.css.gz +0 -0
- data/lib/karafka/web/ui/public/stylesheets/libs/highlight_dark.min.css +8 -0
- data/lib/karafka/web/ui/public/stylesheets/libs/highlight_dark.min.css.br +0 -0
- data/lib/karafka/web/ui/public/stylesheets/libs/highlight_dark.min.css.gz +0 -0
- data/lib/karafka/web/ui/public/stylesheets/libs/highlight_light.min.css.br +0 -0
- data/lib/karafka/web/ui/public/stylesheets/libs/highlight_light.min.css.gz +0 -0
- data/lib/karafka/web/ui/public/stylesheets/libs/tailwind.css +391 -0
- data/lib/karafka/web/ui/views/cluster/_breadcrumbs.erb +3 -3
- data/lib/karafka/web/ui/views/cluster/_tabs.erb +14 -24
- data/lib/karafka/web/ui/views/cluster/brokers.erb +20 -22
- data/lib/karafka/web/ui/views/cluster/replication.erb +28 -32
- data/lib/karafka/web/ui/views/consumers/_assignments_badges.erb +1 -1
- data/lib/karafka/web/ui/views/consumers/_breadcrumbs.erb +5 -0
- data/lib/karafka/web/ui/views/consumers/_consumer.erb +10 -14
- data/lib/karafka/web/ui/views/consumers/_no_consumers.erb +2 -8
- data/lib/karafka/web/ui/views/consumers/_summary.erb +34 -45
- data/lib/karafka/web/ui/views/consumers/_tabs.erb +35 -0
- data/lib/karafka/web/ui/views/consumers/index.erb +31 -33
- data/lib/karafka/web/ui/views/dashboard/_counters.erb +76 -0
- data/lib/karafka/web/ui/views/dashboard/_feature_pro.erb +6 -2
- data/lib/karafka/web/ui/views/dashboard/_not_enough_data.erb +3 -15
- data/lib/karafka/web/ui/views/dashboard/_ranges_selector.erb +12 -12
- data/lib/karafka/web/ui/views/dashboard/index.erb +78 -52
- data/lib/karafka/web/ui/views/errors/_breadcrumbs.erb +2 -2
- data/lib/karafka/web/ui/views/errors/_detail.erb +1 -3
- data/lib/karafka/web/ui/views/errors/_error.erb +3 -5
- data/lib/karafka/web/ui/views/errors/index.erb +34 -44
- data/lib/karafka/web/ui/views/errors/show.erb +29 -47
- data/lib/karafka/web/ui/views/jobs/_breadcrumbs.erb +3 -3
- data/lib/karafka/web/ui/views/jobs/_job.erb +1 -1
- data/lib/karafka/web/ui/views/jobs/_no_jobs.erb +1 -7
- data/lib/karafka/web/ui/views/jobs/_tabs.erb +14 -24
- data/lib/karafka/web/ui/views/jobs/pending.erb +30 -32
- data/lib/karafka/web/ui/views/jobs/running.erb +30 -32
- data/lib/karafka/web/ui/views/layout.erb +37 -21
- data/lib/karafka/web/ui/views/routing/_breadcrumbs.erb +2 -2
- data/lib/karafka/web/ui/views/routing/_consumer_group.erb +7 -12
- data/lib/karafka/web/ui/views/routing/_topic.erb +3 -5
- data/lib/karafka/web/ui/views/routing/index.erb +7 -9
- data/lib/karafka/web/ui/views/routing/show.erb +30 -22
- data/lib/karafka/web/ui/views/shared/_become_pro.erb +8 -8
- data/lib/karafka/web/ui/views/shared/_brand.erb +2 -2
- data/lib/karafka/web/ui/views/shared/_breadcrumbs.erb +23 -0
- data/lib/karafka/web/ui/views/shared/_content.erb +2 -28
- data/lib/karafka/web/ui/views/shared/_controls.erb +15 -0
- data/lib/karafka/web/ui/views/shared/_flashes.erb +5 -7
- data/lib/karafka/web/ui/views/shared/_header.erb +14 -19
- data/lib/karafka/web/ui/views/shared/_navigation.erb +84 -28
- data/lib/karafka/web/ui/views/shared/_no_paginated_data.erb +5 -9
- data/lib/karafka/web/ui/views/shared/_pagination.erb +11 -11
- data/lib/karafka/web/ui/views/shared/_tab_nav.erb +4 -5
- data/lib/karafka/web/ui/views/shared/_title.erb +5 -0
- data/lib/karafka/web/ui/views/shared/alerts/_box_error.erb +15 -0
- data/lib/karafka/web/ui/views/shared/alerts/_box_info.erb +15 -0
- data/lib/karafka/web/ui/views/shared/alerts/_box_primary.erb +15 -0
- data/lib/karafka/web/ui/views/shared/alerts/_box_secondary.erb +15 -0
- data/lib/karafka/web/ui/views/shared/alerts/_box_success.erb +15 -0
- data/lib/karafka/web/ui/views/shared/alerts/_box_warning.erb +15 -0
- data/lib/karafka/web/ui/views/shared/alerts/_error.erb +4 -0
- data/lib/karafka/web/ui/views/shared/alerts/_info.erb +5 -2
- data/lib/karafka/web/ui/views/shared/alerts/_primary.erb +4 -0
- data/lib/karafka/web/ui/views/shared/alerts/_secondary.erb +4 -0
- data/lib/karafka/web/ui/views/shared/alerts/_success.erb +4 -0
- data/lib/karafka/web/ui/views/shared/alerts/_warning.erb +4 -0
- data/lib/karafka/web/ui/views/shared/charts/_line.erb +1 -1
- data/lib/karafka/web/ui/views/shared/exceptions/not_allowed.erb +14 -19
- data/lib/karafka/web/ui/views/shared/exceptions/not_found.erb +16 -21
- data/lib/karafka/web/ui/views/shared/exceptions/pro_only.erb +16 -28
- data/lib/karafka/web/ui/views/shared/icons/_arrow_down_on_square.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_arrow_down_tray.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_arrow_on_squares.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_arrow_path_rounded.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_arrow_uturn_right.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_arrows_right_left.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_blocks.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_book_open.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_bug.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_burger.erb +14 -0
- data/lib/karafka/web/ui/views/shared/icons/_calendar_days.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_chart_bar.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_check_badge.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_check_circle.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_circle_stack.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_cpu.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_document_glass.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_exclamation_triangle.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_eye.erb +4 -0
- data/lib/karafka/web/ui/views/shared/icons/_gear.erb +4 -0
- data/lib/karafka/web/ui/views/shared/icons/_github.erb +13 -0
- data/lib/karafka/web/ui/views/shared/icons/_globe.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_heart.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_home.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_info_circle.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_lifebuoy.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_light_bulb.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_list_bullets.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_magnifying_glass.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_moon.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_offices.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_pause.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_pause_circle.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_play_circle.erb +4 -0
- data/lib/karafka/web/ui/views/shared/icons/_question_circle.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_queue_list.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_refresh.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_slack.erb +16 -0
- data/lib/karafka/web/ui/views/shared/icons/_stop.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_sun.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_x_circle.erb +3 -0
- data/lib/karafka/web/ui/views/shared/icons/_x_mark.erb +3 -0
- data/lib/karafka/web/ui/views/status/_breadcrumbs.erb +1 -1
- data/lib/karafka/web/ui/views/status/_failure.erb +2 -13
- data/lib/karafka/web/ui/views/status/_halted.erb +2 -10
- data/lib/karafka/web/ui/views/status/_info.erb +2 -13
- data/lib/karafka/web/ui/views/status/_success.erb +2 -10
- data/lib/karafka/web/ui/views/status/_warning.erb +2 -13
- data/lib/karafka/web/ui/views/status/failures/_connection.erb +2 -2
- data/lib/karafka/web/ui/views/status/failures/_consumers_reports.erb +3 -3
- data/lib/karafka/web/ui/views/status/failures/_consumers_reports_schema_state.erb +4 -4
- data/lib/karafka/web/ui/views/status/failures/_enabled.erb +2 -2
- data/lib/karafka/web/ui/views/status/failures/_initial_consumers_metrics.erb +6 -6
- data/lib/karafka/web/ui/views/status/failures/_initial_consumers_state.erb +6 -6
- data/lib/karafka/web/ui/views/status/failures/_live_reporting.erb +2 -2
- data/lib/karafka/web/ui/views/status/failures/_materializing_lag.erb +11 -0
- data/lib/karafka/web/ui/views/status/failures/_partitions.erb +3 -3
- data/lib/karafka/web/ui/views/status/failures/_state_calculation.erb +2 -2
- data/lib/karafka/web/ui/views/status/failures/_topics.erb +3 -3
- data/lib/karafka/web/ui/views/status/info/_components.erb +14 -41
- data/lib/karafka/web/ui/views/status/show.erb +165 -154
- data/lib/karafka/web/ui/views/status/warnings/_connection.erb +3 -3
- data/lib/karafka/web/ui/views/status/warnings/_pro_subscription.erb +2 -2
- data/lib/karafka/web/ui/views/status/warnings/_replication.erb +2 -2
- data/lib/karafka/web/ui/views/status/warnings/_routing_topics_presence.erb +1 -1
- data/lib/karafka/web/ui/views/support/_breadcrumbs.erb +5 -0
- data/lib/karafka/web/ui/views/support/show.erb +71 -0
- data/lib/karafka/web/ui/views/ux/_alerts.erb +25 -0
- data/lib/karafka/web/ui/views/ux/_badges.erb +21 -0
- data/lib/karafka/web/ui/views/ux/_breadcrumbs.erb +5 -0
- data/lib/karafka/web/ui/views/ux/_buttons.erb +47 -0
- data/lib/karafka/web/ui/views/ux/_card_detail.erb +15 -0
- data/lib/karafka/web/ui/views/ux/_card_metric.erb +123 -0
- data/lib/karafka/web/ui/views/ux/_card_summary.erb +72 -0
- data/lib/karafka/web/ui/views/ux/_card_support.erb +39 -0
- data/lib/karafka/web/ui/views/ux/_code.erb +9 -0
- data/lib/karafka/web/ui/views/ux/_data_table.erb +52 -0
- data/lib/karafka/web/ui/views/ux/_headers.erb +2 -0
- data/lib/karafka/web/ui/views/ux/_icons.erb +9 -0
- data/lib/karafka/web/ui/views/ux/_pagination.erb +32 -0
- data/lib/karafka/web/ui/views/ux/_row_table.erb +52 -0
- data/lib/karafka/web/ui/views/ux/_status_rows.erb +53 -0
- data/lib/karafka/web/ui/views/ux/_tabs.erb +14 -0
- data/lib/karafka/web/ui/views/ux/_text.erb +2 -0
- data/lib/karafka/web/ui/views/ux/_topic_tiles.erb +42 -0
- data/lib/karafka/web/ui/views/ux/show.erb +19 -0
- data/lib/karafka/web/version.rb +1 -1
- data/lib/karafka/web.rb +2 -0
- data/package-lock.json +4158 -0
- data/package.json +15 -0
- data/postcss.config.js +6 -0
- data/tailwind.config.js +16 -0
- data.tar.gz.sig +0 -0
- metadata +172 -47
- metadata.gz.sig +0 -0
- data/lib/karafka/web/management/migrations/0_set_initial_consumers_metrics.rb +0 -36
- data/lib/karafka/web/management/migrations/0_set_initial_consumers_state.rb +0 -43
- data/lib/karafka/web/management/migrations/1699543515_fill_missing_received_and_sent_bytes_in_consumers_metrics.rb +0 -26
- data/lib/karafka/web/management/migrations/1699543515_fill_missing_received_and_sent_bytes_in_consumers_state.rb +0 -23
- data/lib/karafka/web/management/migrations/1700234522_introduce_waiting_in_consumers_metrics.rb +0 -24
- data/lib/karafka/web/management/migrations/1700234522_introduce_waiting_in_consumers_state.rb +0 -20
- data/lib/karafka/web/management/migrations/1700234522_remove_processing_from_consumers_metrics.rb +0 -24
- data/lib/karafka/web/management/migrations/1700234522_remove_processing_from_consumers_state.rb +0 -20
- data/lib/karafka/web/management/migrations/1704722380_split_listeners_into_active_and_paused_in_metrics.rb +0 -36
- data/lib/karafka/web/management/migrations/1704722380_split_listeners_into_active_and_paused_in_states.rb +0 -32
- data/lib/karafka/web/management/migrations/1706607960_introduce_lag_total_in_metrics.rb +0 -38
- data/lib/karafka/web/management/migrations/1706607960_introduce_lag_total_in_states.rb +0 -22
- data/lib/karafka/web/management/migrations/1706611396_rename_lag_total_to_lag_hybrid_in_metrics.rb +0 -36
- data/lib/karafka/web/management/migrations/1706611396_rename_lag_total_to_lag_hybrid_in_states.rb +0 -21
- data/lib/karafka/web/pro/ui/views/cluster/brokers.erb +0 -27
- data/lib/karafka/web/pro/ui/views/commands/_details.erb +0 -26
- data/lib/karafka/web/pro/ui/views/consumers/_counters.erb +0 -72
- data/lib/karafka/web/pro/ui/views/consumers/consumer/_title.erb +0 -5
- data/lib/karafka/web/pro/ui/views/errors/_title_with_select.erb +0 -31
- data/lib/karafka/web/pro/ui/views/explorer/message/_message_actions.erb +0 -18
- data/lib/karafka/web/pro/ui/views/explorer/message/_payload_actions.erb +0 -19
- data/lib/karafka/web/pro/ui/views/explorer/partition/_details.erb +0 -35
- data/lib/karafka/web/pro/ui/views/explorer/topic/_details.erb +0 -23
- data/lib/karafka/web/pro/ui/views/health/_consumer_group_header.erb +0 -14
- data/lib/karafka/web/ui/controllers/responses/deny.rb +0 -15
- data/lib/karafka/web/ui/helpers/alerts_helper.rb +0 -23
- data/lib/karafka/web/ui/lib/safe_runner.rb +0 -59
- data/lib/karafka/web/ui/models/visibility_filter.rb +0 -49
- data/lib/karafka/web/ui/public/javascripts/libs/bootstrap.min.js +0 -6
- data/lib/karafka/web/ui/public/javascripts/tabs_manager.js +0 -57
- data/lib/karafka/web/ui/public/stylesheets/libs/bootstrap.min.css +0 -6
- data/lib/karafka/web/ui/views/consumers/_counters.erb +0 -62
- data/lib/karafka/web/ui/views/errors/_watermark_offsets.erb +0 -10
- data/lib/karafka/web/ui/views/shared/_feature_pro.erb +0 -4
- data/lib/karafka/web/ui/views/shared/_footer.erb +0 -22
- data/lib/karafka/web/ui/views/shared/_live_poll.erb +0 -7
- /data/lib/karafka/web/management/migrations/{0_base.rb → base.rb} +0 -0
- /data/lib/karafka/web/ui/public/javascripts/{charts.js → components/charts.js} +0 -0
- /data/lib/karafka/web/ui/public/stylesheets/libs/{highlight.min.css → highlight_light.min.css} +0 -0
@@ -0,0 +1,47 @@
|
|
1
|
+
<div>
|
2
|
+
<span class="btn">.btn</span>
|
3
|
+
|
4
|
+
<% tailwind_types.each do |type| %>
|
5
|
+
<span class="btn btn-<%= type %>">.btn btn-<%= type %></span>
|
6
|
+
<% end %>
|
7
|
+
</div>
|
8
|
+
<div class="mb-6"></div>
|
9
|
+
|
10
|
+
<div>
|
11
|
+
<span class="btn">.btn</span>
|
12
|
+
|
13
|
+
<% tailwind_types.each do |type| %>
|
14
|
+
<span class="btn btn-<%= type %> btn-active">.btn btn-<%= type %> .btn-active</span>
|
15
|
+
<% end %>
|
16
|
+
</div>
|
17
|
+
<div class="mb-6"></div>
|
18
|
+
|
19
|
+
<div>
|
20
|
+
<span class="btn">.btn</span>
|
21
|
+
|
22
|
+
<% tailwind_types.each do |type| %>
|
23
|
+
<span class="btn btn-outline btn-<%= type %>">.btn .btn-outline btn-<%= type %></span>
|
24
|
+
<% end %>
|
25
|
+
</div>
|
26
|
+
<div class="mb-6"></div>
|
27
|
+
|
28
|
+
<div>
|
29
|
+
<span class="btn">.btn</span>
|
30
|
+
|
31
|
+
<% tailwind_types.each do |type| %>
|
32
|
+
<span class="btn btn-outline btn-<%= type %> btn-active">.btn-outline btn-<%= type %> .btn-active</span>
|
33
|
+
<% end %>
|
34
|
+
</div>
|
35
|
+
<div class="mb-6"></div>
|
36
|
+
|
37
|
+
<div>
|
38
|
+
<%== link_button '#link_button', '#' %>
|
39
|
+
|
40
|
+
<% tailwind_types.each do |type| %>
|
41
|
+
<%==
|
42
|
+
name = :"link_button_#{type}"
|
43
|
+
public_send name, "##{name}", '#'
|
44
|
+
%>
|
45
|
+
<% end %>
|
46
|
+
</div>
|
47
|
+
<div class="mb-6"></div>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<div class="col-span-12">
|
2
|
+
<div class="card-detail-container">
|
3
|
+
<% 6.times do |i| %>
|
4
|
+
<div class="card-detail">
|
5
|
+
<div class="card-detail-body">
|
6
|
+
.card-detail-body title
|
7
|
+
<span class="badge badge-sm badge-success">
|
8
|
+
some badge
|
9
|
+
</span>
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
<% end %>
|
13
|
+
</div>
|
14
|
+
</div>
|
15
|
+
<div class="mb-6"></div>
|
@@ -0,0 +1,123 @@
|
|
1
|
+
<div class="col-span-12">
|
2
|
+
<div class="grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-4 gap-4">
|
3
|
+
<div class="card-metric">
|
4
|
+
<h3>.card-metric h3</h3>
|
5
|
+
<ul>
|
6
|
+
<li>
|
7
|
+
Val1:
|
8
|
+
|
9
|
+
<span class="badge badge-success">
|
10
|
+
.badge .badge-sm .badge-success
|
11
|
+
</span>
|
12
|
+
</li>
|
13
|
+
|
14
|
+
<li>
|
15
|
+
Val2:
|
16
|
+
<span class="badge badge-secondary">
|
17
|
+
.badge .badge-sm .badge-secondary
|
18
|
+
</span>
|
19
|
+
</li>
|
20
|
+
|
21
|
+
<li>
|
22
|
+
Val3:
|
23
|
+
<span class="badge badge-primary">
|
24
|
+
.badge .badge-sm .badge-primary
|
25
|
+
</span>
|
26
|
+
</li>
|
27
|
+
</ul>
|
28
|
+
|
29
|
+
<p class="mt-4 text-right">
|
30
|
+
<span class="badge badge-info">.text-right badge</span>
|
31
|
+
</p>
|
32
|
+
</div>
|
33
|
+
|
34
|
+
<div class="card-metric">
|
35
|
+
<h3>.card-metric h3</h3>
|
36
|
+
<ul>
|
37
|
+
<li>
|
38
|
+
Val1:
|
39
|
+
|
40
|
+
<span class="badge badge-success">
|
41
|
+
.badge .badge-sm .badge-success
|
42
|
+
</span>
|
43
|
+
</li>
|
44
|
+
|
45
|
+
<li>
|
46
|
+
Val2:
|
47
|
+
<span class="badge badge-secondary">
|
48
|
+
.badge .badge-sm .badge-secondary
|
49
|
+
</span>
|
50
|
+
</li>
|
51
|
+
|
52
|
+
<li>
|
53
|
+
Val3:
|
54
|
+
<span class="badge badge-primary">
|
55
|
+
.badge .badge-sm .badge-primary
|
56
|
+
</span>
|
57
|
+
</li>
|
58
|
+
</ul>
|
59
|
+
|
60
|
+
<p class="mt-4 text-right">
|
61
|
+
<span class="badge badge-info">.text-right badge</span>
|
62
|
+
</p>
|
63
|
+
</div>
|
64
|
+
|
65
|
+
<div class="card-metric">
|
66
|
+
<h3>.card-metric h3</h3>
|
67
|
+
<ul>
|
68
|
+
<li>
|
69
|
+
Val1:
|
70
|
+
|
71
|
+
<span class="badge badge-success">
|
72
|
+
.badge .badge-sm .badge-success
|
73
|
+
</span>
|
74
|
+
</li>
|
75
|
+
|
76
|
+
<li>
|
77
|
+
Val2:
|
78
|
+
<span class="badge badge-secondary">
|
79
|
+
.badge .badge-sm .badge-secondary
|
80
|
+
</span>
|
81
|
+
</li>
|
82
|
+
|
83
|
+
<li>
|
84
|
+
Val3:
|
85
|
+
<span class="badge badge-primary">
|
86
|
+
.badge .badge-sm .badge-primary
|
87
|
+
</span>
|
88
|
+
</li>
|
89
|
+
</ul>
|
90
|
+
|
91
|
+
<p class="mt-4 text-right">
|
92
|
+
<span class="badge badge-info">.text-right badge</span>
|
93
|
+
</p>
|
94
|
+
</div>
|
95
|
+
|
96
|
+
<div class="card-metric">
|
97
|
+
<h3>.card-metric .h3 centered</h3>
|
98
|
+
|
99
|
+
<div class="text-center">
|
100
|
+
<span class="badge badge-secondary">
|
101
|
+
.badge .badge-sm .badge-secondary
|
102
|
+
</span>
|
103
|
+
|
104
|
+
<span class="badge badge-secondary">
|
105
|
+
.badge
|
106
|
+
</span>
|
107
|
+
|
108
|
+
<span class="badge badge-secondary">
|
109
|
+
.badge
|
110
|
+
</span>
|
111
|
+
|
112
|
+
<span class="badge badge-secondary">
|
113
|
+
.badge
|
114
|
+
</span>
|
115
|
+
|
116
|
+
<span class="badge badge-secondary">
|
117
|
+
.badge
|
118
|
+
</span>
|
119
|
+
</div>
|
120
|
+
</div>
|
121
|
+
</div>
|
122
|
+
</div>
|
123
|
+
<div class="mb-6"></div>
|
@@ -0,0 +1,72 @@
|
|
1
|
+
<div class="col-span-12">
|
2
|
+
<div class="mb-5 px-4 lg:px-10 text-center">
|
3
|
+
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-10 justify-center mb-10">
|
4
|
+
<div class="card-summary-container">
|
5
|
+
<div class="card-summary">
|
6
|
+
<div class="card-summary-body">
|
7
|
+
<div class="card-summary-value">
|
8
|
+
.card-summary-value
|
9
|
+
</div>
|
10
|
+
<div class="card-summary-title">
|
11
|
+
.card-summary-title
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
|
17
|
+
<div class="card-summary-container">
|
18
|
+
<div class="card-summary">
|
19
|
+
<div class="card-summary-body">
|
20
|
+
<div class="card-summary-value">
|
21
|
+
.card-summary-value
|
22
|
+
</div>
|
23
|
+
<div class="card-summary-title">
|
24
|
+
.card-summary-title
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
|
30
|
+
<div class="card-summary-container">
|
31
|
+
<div class="card-summary">
|
32
|
+
<div class="card-summary-body">
|
33
|
+
<div class="card-summary-value">
|
34
|
+
.card-summary-value
|
35
|
+
</div>
|
36
|
+
<div class="card-summary-title">
|
37
|
+
.card-summary-title
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div class="card-summary-container">
|
44
|
+
<div class="card-summary">
|
45
|
+
<div class="card-summary-body">
|
46
|
+
<div class="card-summary-value">
|
47
|
+
.card-summary-value
|
48
|
+
</div>
|
49
|
+
<div class="card-summary-title">
|
50
|
+
.card-summary-title
|
51
|
+
</div>
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
|
56
|
+
<div class="card-summary-container">
|
57
|
+
<div class="card-summary">
|
58
|
+
<div class="card-summary-body">
|
59
|
+
<div class="card-summary-value">
|
60
|
+
.card-summary-value
|
61
|
+
</div>
|
62
|
+
<div class="card-summary-title">
|
63
|
+
.card-summary-title
|
64
|
+
</div>
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
</div>
|
71
|
+
|
72
|
+
<div class="mb-6"></div>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<div class="col-span-12">
|
2
|
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
|
3
|
+
<div class="card-support">
|
4
|
+
<h3>
|
5
|
+
<%== icon(:book_open) %>
|
6
|
+
|
7
|
+
<span>.card-support h3 span</span>
|
8
|
+
</h3>
|
9
|
+
|
10
|
+
<p>
|
11
|
+
Some p fine text
|
12
|
+
</p>
|
13
|
+
|
14
|
+
<a
|
15
|
+
href="https://karafka.io/docs"
|
16
|
+
target="_blank"
|
17
|
+
>Link to somewhere</a>
|
18
|
+
</div>
|
19
|
+
|
20
|
+
<div class="card-support">
|
21
|
+
<h3>
|
22
|
+
<%== icon(:book_open) %>
|
23
|
+
|
24
|
+
<span>.card-support h3 span</span>
|
25
|
+
</h3>
|
26
|
+
|
27
|
+
<p>
|
28
|
+
Some p fine text
|
29
|
+
</p>
|
30
|
+
|
31
|
+
<a
|
32
|
+
href="https://karafka.io/docs"
|
33
|
+
target="_blank"
|
34
|
+
>Link to somewhere</a>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
|
39
|
+
<div class="mb-6"></div>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<pre class="code">
|
2
|
+
<code>code
|
3
|
+
/mnt/software/Karafka/karafka/lib/karafka/server.rb:102:in `stop'
|
4
|
+
/mnt/software/Karafka/karafka/lib/karafka/server.rb:37:in `block in run'
|
5
|
+
/mnt/software/Karafka/karafka/lib/karafka/process.rb:91:in `each'
|
6
|
+
/mnt/software/Karafka/karafka/lib/karafka/process.rb:91:in `block (2 levels) in trap_signal'
|
7
|
+
</code></pre>
|
8
|
+
</div>
|
9
|
+
<div class="mb-6"></div>
|
@@ -0,0 +1,52 @@
|
|
1
|
+
<div>
|
2
|
+
<div class="data-table-wrapper">
|
3
|
+
<table class="data-table">
|
4
|
+
<thead>
|
5
|
+
<tr>
|
6
|
+
<th>
|
7
|
+
.data-table
|
8
|
+
Header 1 with sort
|
9
|
+
<%== sort_link('Partition', :id) %>
|
10
|
+
</th>
|
11
|
+
<th>
|
12
|
+
Header 2
|
13
|
+
</th>
|
14
|
+
<th>
|
15
|
+
Header 3
|
16
|
+
</th>
|
17
|
+
</tr>
|
18
|
+
</thead>
|
19
|
+
<tbody>
|
20
|
+
<tr>
|
21
|
+
<td>Row 1 Column 1</td>
|
22
|
+
<td>Row 1 Column 2</td>
|
23
|
+
<td>Row 1 Column 3</td>
|
24
|
+
</tr>
|
25
|
+
|
26
|
+
<tr>
|
27
|
+
<td>Row 2 Column 1</td>
|
28
|
+
<td>Row 2 Column 2</td>
|
29
|
+
<td>Row 2 Column 3</td>
|
30
|
+
</tr>
|
31
|
+
|
32
|
+
<tr>
|
33
|
+
<td>Row 3 Column 1</td>
|
34
|
+
<td>Row 3 Column 2</td>
|
35
|
+
<td>Row 3 Column 3</td>
|
36
|
+
</tr>
|
37
|
+
</tbody>
|
38
|
+
</table>
|
39
|
+
|
40
|
+
<p class="table_metadata">
|
41
|
+
Metadata:
|
42
|
+
<span class="badge">
|
43
|
+
badge1: 10
|
44
|
+
</span>
|
45
|
+
<span class="badge">
|
46
|
+
badge2:
|
47
|
+
0 to 9
|
48
|
+
</span>
|
49
|
+
</p>
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
<div class="mb-6"></div>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<div class="flex space-x-2">
|
2
|
+
<% Dir["#{Karafka::Web.gem_root}/lib/karafka/web/ui/views/shared/icons/**"].each do |path| %>
|
3
|
+
<% name = path.split('/').last[1..].split('.').first %>
|
4
|
+
<span title="<%= name %>" class="inline-flex">
|
5
|
+
<%== icon(name) %>
|
6
|
+
</span>
|
7
|
+
<% end %>
|
8
|
+
</div>
|
9
|
+
<div class="mb-6"></div>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<div id="pagination">
|
2
|
+
<nav class="flex justify-center">
|
3
|
+
<ul class="pagination flex space-x-1">
|
4
|
+
<li class="disabled">
|
5
|
+
<a class="btn font-normal btn-disabled" href="#">
|
6
|
+
<span>«</span>
|
7
|
+
</a>
|
8
|
+
</li>
|
9
|
+
|
10
|
+
<li class="disabled">
|
11
|
+
<a class="btn font-normal btn-disabled" href="#">
|
12
|
+
<span>‹ Prev</span>
|
13
|
+
</a>
|
14
|
+
</li>
|
15
|
+
|
16
|
+
<li class="active">
|
17
|
+
<a class="btn btn-active font-normal" href="#">
|
18
|
+
<span>
|
19
|
+
1
|
20
|
+
</span>
|
21
|
+
</a>
|
22
|
+
</li>
|
23
|
+
|
24
|
+
<li class="">
|
25
|
+
<a class="btn font-bold font-normal" href="#">
|
26
|
+
<span>Next ›</span>
|
27
|
+
</a>
|
28
|
+
</li>
|
29
|
+
</ul>
|
30
|
+
</nav>
|
31
|
+
</div>
|
32
|
+
<div class="mb-6"></div>
|
@@ -0,0 +1,52 @@
|
|
1
|
+
<div>
|
2
|
+
<div class="row-table-wrapper">
|
3
|
+
<table class="row-table">
|
4
|
+
<thead>
|
5
|
+
<tr>
|
6
|
+
<th>
|
7
|
+
.row-table
|
8
|
+
Header 1 with sort
|
9
|
+
<%== sort_link('Partition', :id) %>
|
10
|
+
</th>
|
11
|
+
<th>
|
12
|
+
Header 2
|
13
|
+
</th>
|
14
|
+
<th>
|
15
|
+
Header 3
|
16
|
+
</th>
|
17
|
+
</tr>
|
18
|
+
</thead>
|
19
|
+
<tbody>
|
20
|
+
<tr>
|
21
|
+
<td>Row 1 Column 1</td>
|
22
|
+
<td>Row 1 Column 2</td>
|
23
|
+
<td>Row 1 Column 3</td>
|
24
|
+
</tr>
|
25
|
+
|
26
|
+
<tr>
|
27
|
+
<td>Row 2 Column 1</td>
|
28
|
+
<td>Row 2 Column 2</td>
|
29
|
+
<td>Row 2 Column 3</td>
|
30
|
+
</tr>
|
31
|
+
|
32
|
+
<tr>
|
33
|
+
<td>Row 3 Column 1</td>
|
34
|
+
<td>Row 3 Column 2</td>
|
35
|
+
<td>Row 3 Column 3</td>
|
36
|
+
</tr>
|
37
|
+
</tbody>
|
38
|
+
</table>
|
39
|
+
|
40
|
+
<p class="table_metadata">
|
41
|
+
Metadata:
|
42
|
+
<span class="badge">
|
43
|
+
badge1: 10
|
44
|
+
</span>
|
45
|
+
<span class="badge">
|
46
|
+
badge2:
|
47
|
+
0 to 9
|
48
|
+
</span>
|
49
|
+
</p>
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
<div class="mb-6"></div>
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<div>
|
2
|
+
<div class="data-table-wrapper">
|
3
|
+
<table class="data-table">
|
4
|
+
<thead>
|
5
|
+
<tr>
|
6
|
+
<th>
|
7
|
+
.row-table
|
8
|
+
Header 1 with sort
|
9
|
+
<%== sort_link('Partition', :id) %>
|
10
|
+
</th>
|
11
|
+
<th>
|
12
|
+
Header 2
|
13
|
+
</th>
|
14
|
+
<th>
|
15
|
+
Header 3
|
16
|
+
</th>
|
17
|
+
</tr>
|
18
|
+
</thead>
|
19
|
+
<tbody>
|
20
|
+
<tr class="status-row-running">
|
21
|
+
<td>.status-row-running (no special left border)</td>
|
22
|
+
<td>.status-row-running (no special left border)</td>
|
23
|
+
<td>.status-row-running (no special left border)</td>
|
24
|
+
</tr>
|
25
|
+
|
26
|
+
<tr class="status-row-quiet">
|
27
|
+
<td>.status-row-quiet</td>
|
28
|
+
<td>.status-row-quiet</td>
|
29
|
+
<td>.status-row-quiet</td>
|
30
|
+
</tr>
|
31
|
+
|
32
|
+
<tr class="status-row-quieting">
|
33
|
+
<td>.status-row-quiet</td>
|
34
|
+
<td>.status-row-quiet</td>
|
35
|
+
<td>.status-row-quiet</td>
|
36
|
+
</tr>
|
37
|
+
|
38
|
+
<tr class="status-row-stopping">
|
39
|
+
<td>.status-row-stopping</td>
|
40
|
+
<td>.status-row-stopping</td>
|
41
|
+
<td>.status-row-stopping</td>
|
42
|
+
</tr>
|
43
|
+
|
44
|
+
<tr class="status-row-stopped">
|
45
|
+
<td>.status-row-stopped</td>
|
46
|
+
<td>.status-row-stopped</td>
|
47
|
+
<td>.status-row-stopped</td>
|
48
|
+
</tr>
|
49
|
+
</tbody>
|
50
|
+
</table>
|
51
|
+
</div>
|
52
|
+
</div>
|
53
|
+
<div class="mb-6"></div>
|
@@ -0,0 +1,42 @@
|
|
1
|
+
<div class="topic-tiles">
|
2
|
+
<div class="topic-tile">
|
3
|
+
<div class="topic-tile-body">
|
4
|
+
<p class="topic-tile-text">
|
5
|
+
<a href="#" class="topic-tile-link">
|
6
|
+
Topic tile 1
|
7
|
+
</a>
|
8
|
+
</p>
|
9
|
+
</div>
|
10
|
+
</div>
|
11
|
+
|
12
|
+
<div class="topic-tile">
|
13
|
+
<div class="topic-tile-body">
|
14
|
+
<p class="topic-tile-text">
|
15
|
+
<a href="#" class="topic-tile-link">
|
16
|
+
Topic tile 2
|
17
|
+
</a>
|
18
|
+
</p>
|
19
|
+
</div>
|
20
|
+
</div>
|
21
|
+
|
22
|
+
<div class="topic-tile">
|
23
|
+
<div class="topic-tile-body">
|
24
|
+
<p class="topic-tile-text">
|
25
|
+
<a href="#" class="topic-tile-link">
|
26
|
+
Topic tile 3
|
27
|
+
</a>
|
28
|
+
</p>
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
|
32
|
+
<div class="topic-tile">
|
33
|
+
<div class="topic-tile-body">
|
34
|
+
<p class="topic-tile-text">
|
35
|
+
<a href="#" class="topic-tile-link">
|
36
|
+
Topic tile 4
|
37
|
+
</a>
|
38
|
+
</p>
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
</div>
|
42
|
+
<div class="mb-6"></div>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<% view_title 'View Title' %>
|
2
|
+
|
3
|
+
<%== partial 'ux/alerts' %>
|
4
|
+
<%== partial 'ux/badges' %>
|
5
|
+
<%== partial 'ux/buttons' %>
|
6
|
+
<%== partial 'ux/tabs' %>
|
7
|
+
<%== partial 'ux/data_table' %>
|
8
|
+
<%== partial 'ux/row_table' %>
|
9
|
+
<%== partial 'ux/topic_tiles' %>
|
10
|
+
<%== partial 'ux/headers' %>
|
11
|
+
<%== partial 'ux/text' %>
|
12
|
+
<%== partial 'ux/icons' %>
|
13
|
+
<%== partial 'ux/pagination' %>
|
14
|
+
<%== partial 'ux/status_rows' %>
|
15
|
+
<%== partial 'ux/code' %>
|
16
|
+
<%== partial 'ux/card_metric' %>
|
17
|
+
<%== partial 'ux/card_support' %>
|
18
|
+
<%== partial 'ux/card_detail' %>
|
19
|
+
<%== partial 'ux/card_summary' %>
|
data/lib/karafka/web/version.rb
CHANGED