prometheus/web/ui/react-app/src/App.css

227 lines
3.7 KiB
CSS
Raw Normal View History

Integrate beginning of React UI (#5694) * Initial commit from Create React App Signed-off-by: Julius Volz <[email protected]> * Initial Prometheus expression browser code Signed-off-by: Julius Volz <[email protected]> * Grpahing, try out echarts Signed-off-by: Julius Volz <[email protected]> * Switch to flot Signed-off-by: Julius Volz <[email protected]> * Add metrics fetching and stuff Signed-off-by: Julius Volz <[email protected]> * Autosuggest and graph improvements Signed-off-by: Julius Volz <[email protected]> * Start implementing graph controls, add loading spinner Signed-off-by: Julius Volz <[email protected]> * So many new features and fixes Signed-off-by: Julius Volz <[email protected]> * Fixed and built more features Signed-off-by: Julius Volz <[email protected]> * Make datetimepicker clear work Signed-off-by: Julius Volz <[email protected]> * Don't abort when executing empty expression Signed-off-by: Julius Volz <[email protected]> * Remove TabPaneAlert Signed-off-by: Julius Volz <[email protected]> * Split components into separate files Signed-off-by: Julius Volz <[email protected]> * Add table time input Signed-off-by: Julius Volz <[email protected]> * Move first files to TypeScript! Signed-off-by: Julius Volz <[email protected]> * More TypeScript conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS fixes Signed-off-by: Julius Volz <[email protected]> * Convert Graph to TS Signed-off-by: Julius Volz <[email protected]> * Changes Signed-off-by: Julius Volz <[email protected]> * Resize detector, start building legend, axis font colors Signed-off-by: Julius Volz <[email protected]> * Make graph legend work Signed-off-by: Julius Volz <[email protected]> * Add URL params support and much more Signed-off-by: Julius Volz <[email protected]> * Put panel state into panel list, write URL options Signed-off-by: Julius Volz <[email protected]> * Change order of Graph and Table tabs Signed-off-by: Julius Volz <[email protected]> * Generalize time input naming more Signed-off-by: Julius Volz <[email protected]> * Work on history functionality Signed-off-by: Julius Volz <[email protected]> * npm updates Signed-off-by: Julius Volz <[email protected]> * Move loading indicator into "Execute" button Signed-off-by: Julius Volz <[email protected]> * Fix typo Signed-off-by: Julius Volz <[email protected]> * Revert "Move loading indicator into "Execute" button" This reverts commit ce7daee1f1af35da6c0d8b5517272839285ccfec. Signed-off-by: Julius Volz <[email protected]> * Improve error message when failing to fetch server time Signed-off-by: Julius Volz <[email protected]> * Move all code to Prometheus repo target dir Signed-off-by: Julius Volz <[email protected]> * Add react-app Makefile step and check in generated assets Signed-off-by: Julius Volz <[email protected]> * Add preliminary npm packages notice to NOTICE file Signed-off-by: Julius Volz <[email protected]> * Update React app's favicon and metadata Signed-off-by: Julius Volz <[email protected]> * Remove RP server refs, cleanups Signed-off-by: Julius Volz <[email protected]> * Use CircleCI image that includes NodeJS Signed-off-by: Julius Volz <[email protected]> * Add some missing React output assets Signed-off-by: Julius Volz <[email protected]> * Preserve CRLF in generated React files Signed-off-by: Julius Volz <[email protected]> * Switch from npm to yarn for React UI Signed-off-by: Julius Volz <[email protected]> * Save npm licenses and include them in release tarball Signed-off-by: Julius Volz <[email protected]> * Install npm on Travis Signed-off-by: Julius Volz <[email protected]> * Remove npm license tarball from source Signed-off-by: Julius Volz <[email protected]> * Remove React graph bundle from source Signed-off-by: Julius Volz <[email protected]> * Don't check in any compiled web assets Signed-off-by: Julius Volz <[email protected]> * Update README.md with node/yarn/React UI info Signed-off-by: Julius Volz <[email protected]> * Fix asset build step on CircleCI promu crossbuild Signed-off-by: Julius Volz <[email protected]> * Try to fix multi-arch go generate Signed-off-by: Julius Volz <[email protected]> * Remove check_assets from Travis CI build Signed-off-by: Julius Volz <[email protected]> * Prevent rebuilding of unchanged React app parts Signed-off-by: Julius Volz <[email protected]> * Fix npm license tarball path for promu Signed-off-by: Julius Volz <[email protected]> * Simplify Makefile Signed-off-by: Julius Volz <[email protected]> * Clarify build instructions in README.md Signed-off-by: Julius Volz <[email protected]> * Make minimal JS test pass Signed-off-by: Julius Volz <[email protected]> * Integrate React app tests into Makefile Signed-off-by: Julius Volz <[email protected]> * Separate react-app-tests target, but run it from CI Signed-off-by: Julius Volz <[email protected]> * Fix working directory for React app tests Signed-off-by: Julius Volz <[email protected]> * Remove local modifications to Makefile.common This means that CircleCI will not run the React app tests, but at least Travis still will... Signed-off-by: Julius Volz <[email protected]> * Depend on node_modules path for npm_licenses target Signed-off-by: Julius Volz <[email protected]> * Simplify tarball/docker/build Makefile targets Signed-off-by: Julius Volz <[email protected]> * Include React tests in "test" target Signed-off-by: Julius Volz <[email protected]> * Remove reference to removed "check_assets" target Signed-off-by: Julius Volz <[email protected]> * Do initial resize of expression input field Signed-off-by: Julius Volz <[email protected]> * Add React app proxying to local Prometheus in dev mode Signed-off-by: Julius Volz <[email protected]>
2019-10-17 05:38:09 -07:00
.panel {
margin-bottom: 20px;
}
input[type='checkbox']:checked + label {
color: #286090;
}
.custom-control-label {
cursor: pointer;
font-size: .875rem;
line-height: 1.8;
}
.capitalize-title::first-letter {
text-transform: capitalize;
}
Integrate beginning of React UI (#5694) * Initial commit from Create React App Signed-off-by: Julius Volz <[email protected]> * Initial Prometheus expression browser code Signed-off-by: Julius Volz <[email protected]> * Grpahing, try out echarts Signed-off-by: Julius Volz <[email protected]> * Switch to flot Signed-off-by: Julius Volz <[email protected]> * Add metrics fetching and stuff Signed-off-by: Julius Volz <[email protected]> * Autosuggest and graph improvements Signed-off-by: Julius Volz <[email protected]> * Start implementing graph controls, add loading spinner Signed-off-by: Julius Volz <[email protected]> * So many new features and fixes Signed-off-by: Julius Volz <[email protected]> * Fixed and built more features Signed-off-by: Julius Volz <[email protected]> * Make datetimepicker clear work Signed-off-by: Julius Volz <[email protected]> * Don't abort when executing empty expression Signed-off-by: Julius Volz <[email protected]> * Remove TabPaneAlert Signed-off-by: Julius Volz <[email protected]> * Split components into separate files Signed-off-by: Julius Volz <[email protected]> * Add table time input Signed-off-by: Julius Volz <[email protected]> * Move first files to TypeScript! Signed-off-by: Julius Volz <[email protected]> * More TypeScript conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS fixes Signed-off-by: Julius Volz <[email protected]> * Convert Graph to TS Signed-off-by: Julius Volz <[email protected]> * Changes Signed-off-by: Julius Volz <[email protected]> * Resize detector, start building legend, axis font colors Signed-off-by: Julius Volz <[email protected]> * Make graph legend work Signed-off-by: Julius Volz <[email protected]> * Add URL params support and much more Signed-off-by: Julius Volz <[email protected]> * Put panel state into panel list, write URL options Signed-off-by: Julius Volz <[email protected]> * Change order of Graph and Table tabs Signed-off-by: Julius Volz <[email protected]> * Generalize time input naming more Signed-off-by: Julius Volz <[email protected]> * Work on history functionality Signed-off-by: Julius Volz <[email protected]> * npm updates Signed-off-by: Julius Volz <[email protected]> * Move loading indicator into "Execute" button Signed-off-by: Julius Volz <[email protected]> * Fix typo Signed-off-by: Julius Volz <[email protected]> * Revert "Move loading indicator into "Execute" button" This reverts commit ce7daee1f1af35da6c0d8b5517272839285ccfec. Signed-off-by: Julius Volz <[email protected]> * Improve error message when failing to fetch server time Signed-off-by: Julius Volz <[email protected]> * Move all code to Prometheus repo target dir Signed-off-by: Julius Volz <[email protected]> * Add react-app Makefile step and check in generated assets Signed-off-by: Julius Volz <[email protected]> * Add preliminary npm packages notice to NOTICE file Signed-off-by: Julius Volz <[email protected]> * Update React app's favicon and metadata Signed-off-by: Julius Volz <[email protected]> * Remove RP server refs, cleanups Signed-off-by: Julius Volz <[email protected]> * Use CircleCI image that includes NodeJS Signed-off-by: Julius Volz <[email protected]> * Add some missing React output assets Signed-off-by: Julius Volz <[email protected]> * Preserve CRLF in generated React files Signed-off-by: Julius Volz <[email protected]> * Switch from npm to yarn for React UI Signed-off-by: Julius Volz <[email protected]> * Save npm licenses and include them in release tarball Signed-off-by: Julius Volz <[email protected]> * Install npm on Travis Signed-off-by: Julius Volz <[email protected]> * Remove npm license tarball from source Signed-off-by: Julius Volz <[email protected]> * Remove React graph bundle from source Signed-off-by: Julius Volz <[email protected]> * Don't check in any compiled web assets Signed-off-by: Julius Volz <[email protected]> * Update README.md with node/yarn/React UI info Signed-off-by: Julius Volz <[email protected]> * Fix asset build step on CircleCI promu crossbuild Signed-off-by: Julius Volz <[email protected]> * Try to fix multi-arch go generate Signed-off-by: Julius Volz <[email protected]> * Remove check_assets from Travis CI build Signed-off-by: Julius Volz <[email protected]> * Prevent rebuilding of unchanged React app parts Signed-off-by: Julius Volz <[email protected]> * Fix npm license tarball path for promu Signed-off-by: Julius Volz <[email protected]> * Simplify Makefile Signed-off-by: Julius Volz <[email protected]> * Clarify build instructions in README.md Signed-off-by: Julius Volz <[email protected]> * Make minimal JS test pass Signed-off-by: Julius Volz <[email protected]> * Integrate React app tests into Makefile Signed-off-by: Julius Volz <[email protected]> * Separate react-app-tests target, but run it from CI Signed-off-by: Julius Volz <[email protected]> * Fix working directory for React app tests Signed-off-by: Julius Volz <[email protected]> * Remove local modifications to Makefile.common This means that CircleCI will not run the React app tests, but at least Travis still will... Signed-off-by: Julius Volz <[email protected]> * Depend on node_modules path for npm_licenses target Signed-off-by: Julius Volz <[email protected]> * Simplify tarball/docker/build Makefile targets Signed-off-by: Julius Volz <[email protected]> * Include React tests in "test" target Signed-off-by: Julius Volz <[email protected]> * Remove reference to removed "check_assets" target Signed-off-by: Julius Volz <[email protected]> * Do initial resize of expression input field Signed-off-by: Julius Volz <[email protected]> * Add React app proxying to local Prometheus in dev mode Signed-off-by: Julius Volz <[email protected]>
2019-10-17 05:38:09 -07:00
.expression-input {
margin-bottom: 10px;
}
.expression-input textarea {
/* font-family: Menlo,Monaco,Consolas,'Courier New',monospace; */
resize: none;
overflow: hidden;
Integrate beginning of React UI (#5694) * Initial commit from Create React App Signed-off-by: Julius Volz <[email protected]> * Initial Prometheus expression browser code Signed-off-by: Julius Volz <[email protected]> * Grpahing, try out echarts Signed-off-by: Julius Volz <[email protected]> * Switch to flot Signed-off-by: Julius Volz <[email protected]> * Add metrics fetching and stuff Signed-off-by: Julius Volz <[email protected]> * Autosuggest and graph improvements Signed-off-by: Julius Volz <[email protected]> * Start implementing graph controls, add loading spinner Signed-off-by: Julius Volz <[email protected]> * So many new features and fixes Signed-off-by: Julius Volz <[email protected]> * Fixed and built more features Signed-off-by: Julius Volz <[email protected]> * Make datetimepicker clear work Signed-off-by: Julius Volz <[email protected]> * Don't abort when executing empty expression Signed-off-by: Julius Volz <[email protected]> * Remove TabPaneAlert Signed-off-by: Julius Volz <[email protected]> * Split components into separate files Signed-off-by: Julius Volz <[email protected]> * Add table time input Signed-off-by: Julius Volz <[email protected]> * Move first files to TypeScript! Signed-off-by: Julius Volz <[email protected]> * More TypeScript conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS fixes Signed-off-by: Julius Volz <[email protected]> * Convert Graph to TS Signed-off-by: Julius Volz <[email protected]> * Changes Signed-off-by: Julius Volz <[email protected]> * Resize detector, start building legend, axis font colors Signed-off-by: Julius Volz <[email protected]> * Make graph legend work Signed-off-by: Julius Volz <[email protected]> * Add URL params support and much more Signed-off-by: Julius Volz <[email protected]> * Put panel state into panel list, write URL options Signed-off-by: Julius Volz <[email protected]> * Change order of Graph and Table tabs Signed-off-by: Julius Volz <[email protected]> * Generalize time input naming more Signed-off-by: Julius Volz <[email protected]> * Work on history functionality Signed-off-by: Julius Volz <[email protected]> * npm updates Signed-off-by: Julius Volz <[email protected]> * Move loading indicator into "Execute" button Signed-off-by: Julius Volz <[email protected]> * Fix typo Signed-off-by: Julius Volz <[email protected]> * Revert "Move loading indicator into "Execute" button" This reverts commit ce7daee1f1af35da6c0d8b5517272839285ccfec. Signed-off-by: Julius Volz <[email protected]> * Improve error message when failing to fetch server time Signed-off-by: Julius Volz <[email protected]> * Move all code to Prometheus repo target dir Signed-off-by: Julius Volz <[email protected]> * Add react-app Makefile step and check in generated assets Signed-off-by: Julius Volz <[email protected]> * Add preliminary npm packages notice to NOTICE file Signed-off-by: Julius Volz <[email protected]> * Update React app's favicon and metadata Signed-off-by: Julius Volz <[email protected]> * Remove RP server refs, cleanups Signed-off-by: Julius Volz <[email protected]> * Use CircleCI image that includes NodeJS Signed-off-by: Julius Volz <[email protected]> * Add some missing React output assets Signed-off-by: Julius Volz <[email protected]> * Preserve CRLF in generated React files Signed-off-by: Julius Volz <[email protected]> * Switch from npm to yarn for React UI Signed-off-by: Julius Volz <[email protected]> * Save npm licenses and include them in release tarball Signed-off-by: Julius Volz <[email protected]> * Install npm on Travis Signed-off-by: Julius Volz <[email protected]> * Remove npm license tarball from source Signed-off-by: Julius Volz <[email protected]> * Remove React graph bundle from source Signed-off-by: Julius Volz <[email protected]> * Don't check in any compiled web assets Signed-off-by: Julius Volz <[email protected]> * Update README.md with node/yarn/React UI info Signed-off-by: Julius Volz <[email protected]> * Fix asset build step on CircleCI promu crossbuild Signed-off-by: Julius Volz <[email protected]> * Try to fix multi-arch go generate Signed-off-by: Julius Volz <[email protected]> * Remove check_assets from Travis CI build Signed-off-by: Julius Volz <[email protected]> * Prevent rebuilding of unchanged React app parts Signed-off-by: Julius Volz <[email protected]> * Fix npm license tarball path for promu Signed-off-by: Julius Volz <[email protected]> * Simplify Makefile Signed-off-by: Julius Volz <[email protected]> * Clarify build instructions in README.md Signed-off-by: Julius Volz <[email protected]> * Make minimal JS test pass Signed-off-by: Julius Volz <[email protected]> * Integrate React app tests into Makefile Signed-off-by: Julius Volz <[email protected]> * Separate react-app-tests target, but run it from CI Signed-off-by: Julius Volz <[email protected]> * Fix working directory for React app tests Signed-off-by: Julius Volz <[email protected]> * Remove local modifications to Makefile.common This means that CircleCI will not run the React app tests, but at least Travis still will... Signed-off-by: Julius Volz <[email protected]> * Depend on node_modules path for npm_licenses target Signed-off-by: Julius Volz <[email protected]> * Simplify tarball/docker/build Makefile targets Signed-off-by: Julius Volz <[email protected]> * Include React tests in "test" target Signed-off-by: Julius Volz <[email protected]> * Remove reference to removed "check_assets" target Signed-off-by: Julius Volz <[email protected]> * Do initial resize of expression input field Signed-off-by: Julius Volz <[email protected]> * Add React app proxying to local Prometheus in dev mode Signed-off-by: Julius Volz <[email protected]>
2019-10-17 05:38:09 -07:00
}
button.execute-btn {
width: 84px;
}
.alert.alert-danger {
margin-bottom: 10px;
}
.nav-tabs .nav-link {
cursor: pointer;
}
.tab-content {
border-left: 1px solid #dee2e6;
border-right: 1px solid #dee2e6;
border-bottom: 1px solid #dee2e6;
padding: 10px;
}
.tab-content .alert {
margin-bottom: 0;
}
.data-table.table {
margin: 10px 0 2px 0;
}
.data-table > tbody > tr > td {
padding: 5px 0 5px 8px;
font-size: 0.8em;
overflow: hidden;
}
.autosuggest-dropdown {
position: absolute;
border: 1px solid #ced4da;
background-color: #fff;
color: #495057;
font-size: 1rem;
z-index: 1000;
left: 56px;
margin-top: -6px;
}
.autosuggest-dropdown-list {
padding: 0;
margin: 0;
Integrate beginning of React UI (#5694) * Initial commit from Create React App Signed-off-by: Julius Volz <[email protected]> * Initial Prometheus expression browser code Signed-off-by: Julius Volz <[email protected]> * Grpahing, try out echarts Signed-off-by: Julius Volz <[email protected]> * Switch to flot Signed-off-by: Julius Volz <[email protected]> * Add metrics fetching and stuff Signed-off-by: Julius Volz <[email protected]> * Autosuggest and graph improvements Signed-off-by: Julius Volz <[email protected]> * Start implementing graph controls, add loading spinner Signed-off-by: Julius Volz <[email protected]> * So many new features and fixes Signed-off-by: Julius Volz <[email protected]> * Fixed and built more features Signed-off-by: Julius Volz <[email protected]> * Make datetimepicker clear work Signed-off-by: Julius Volz <[email protected]> * Don't abort when executing empty expression Signed-off-by: Julius Volz <[email protected]> * Remove TabPaneAlert Signed-off-by: Julius Volz <[email protected]> * Split components into separate files Signed-off-by: Julius Volz <[email protected]> * Add table time input Signed-off-by: Julius Volz <[email protected]> * Move first files to TypeScript! Signed-off-by: Julius Volz <[email protected]> * More TypeScript conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS fixes Signed-off-by: Julius Volz <[email protected]> * Convert Graph to TS Signed-off-by: Julius Volz <[email protected]> * Changes Signed-off-by: Julius Volz <[email protected]> * Resize detector, start building legend, axis font colors Signed-off-by: Julius Volz <[email protected]> * Make graph legend work Signed-off-by: Julius Volz <[email protected]> * Add URL params support and much more Signed-off-by: Julius Volz <[email protected]> * Put panel state into panel list, write URL options Signed-off-by: Julius Volz <[email protected]> * Change order of Graph and Table tabs Signed-off-by: Julius Volz <[email protected]> * Generalize time input naming more Signed-off-by: Julius Volz <[email protected]> * Work on history functionality Signed-off-by: Julius Volz <[email protected]> * npm updates Signed-off-by: Julius Volz <[email protected]> * Move loading indicator into "Execute" button Signed-off-by: Julius Volz <[email protected]> * Fix typo Signed-off-by: Julius Volz <[email protected]> * Revert "Move loading indicator into "Execute" button" This reverts commit ce7daee1f1af35da6c0d8b5517272839285ccfec. Signed-off-by: Julius Volz <[email protected]> * Improve error message when failing to fetch server time Signed-off-by: Julius Volz <[email protected]> * Move all code to Prometheus repo target dir Signed-off-by: Julius Volz <[email protected]> * Add react-app Makefile step and check in generated assets Signed-off-by: Julius Volz <[email protected]> * Add preliminary npm packages notice to NOTICE file Signed-off-by: Julius Volz <[email protected]> * Update React app's favicon and metadata Signed-off-by: Julius Volz <[email protected]> * Remove RP server refs, cleanups Signed-off-by: Julius Volz <[email protected]> * Use CircleCI image that includes NodeJS Signed-off-by: Julius Volz <[email protected]> * Add some missing React output assets Signed-off-by: Julius Volz <[email protected]> * Preserve CRLF in generated React files Signed-off-by: Julius Volz <[email protected]> * Switch from npm to yarn for React UI Signed-off-by: Julius Volz <[email protected]> * Save npm licenses and include them in release tarball Signed-off-by: Julius Volz <[email protected]> * Install npm on Travis Signed-off-by: Julius Volz <[email protected]> * Remove npm license tarball from source Signed-off-by: Julius Volz <[email protected]> * Remove React graph bundle from source Signed-off-by: Julius Volz <[email protected]> * Don't check in any compiled web assets Signed-off-by: Julius Volz <[email protected]> * Update README.md with node/yarn/React UI info Signed-off-by: Julius Volz <[email protected]> * Fix asset build step on CircleCI promu crossbuild Signed-off-by: Julius Volz <[email protected]> * Try to fix multi-arch go generate Signed-off-by: Julius Volz <[email protected]> * Remove check_assets from Travis CI build Signed-off-by: Julius Volz <[email protected]> * Prevent rebuilding of unchanged React app parts Signed-off-by: Julius Volz <[email protected]> * Fix npm license tarball path for promu Signed-off-by: Julius Volz <[email protected]> * Simplify Makefile Signed-off-by: Julius Volz <[email protected]> * Clarify build instructions in README.md Signed-off-by: Julius Volz <[email protected]> * Make minimal JS test pass Signed-off-by: Julius Volz <[email protected]> * Integrate React app tests into Makefile Signed-off-by: Julius Volz <[email protected]> * Separate react-app-tests target, but run it from CI Signed-off-by: Julius Volz <[email protected]> * Fix working directory for React app tests Signed-off-by: Julius Volz <[email protected]> * Remove local modifications to Makefile.common This means that CircleCI will not run the React app tests, but at least Travis still will... Signed-off-by: Julius Volz <[email protected]> * Depend on node_modules path for npm_licenses target Signed-off-by: Julius Volz <[email protected]> * Simplify tarball/docker/build Makefile targets Signed-off-by: Julius Volz <[email protected]> * Include React tests in "test" target Signed-off-by: Julius Volz <[email protected]> * Remove reference to removed "check_assets" target Signed-off-by: Julius Volz <[email protected]> * Do initial resize of expression input field Signed-off-by: Julius Volz <[email protected]> * Add React app proxying to local Prometheus in dev mode Signed-off-by: Julius Volz <[email protected]>
2019-10-17 05:38:09 -07:00
list-style: none;
}
.autosuggest-dropdown-list li {
Integrate beginning of React UI (#5694) * Initial commit from Create React App Signed-off-by: Julius Volz <[email protected]> * Initial Prometheus expression browser code Signed-off-by: Julius Volz <[email protected]> * Grpahing, try out echarts Signed-off-by: Julius Volz <[email protected]> * Switch to flot Signed-off-by: Julius Volz <[email protected]> * Add metrics fetching and stuff Signed-off-by: Julius Volz <[email protected]> * Autosuggest and graph improvements Signed-off-by: Julius Volz <[email protected]> * Start implementing graph controls, add loading spinner Signed-off-by: Julius Volz <[email protected]> * So many new features and fixes Signed-off-by: Julius Volz <[email protected]> * Fixed and built more features Signed-off-by: Julius Volz <[email protected]> * Make datetimepicker clear work Signed-off-by: Julius Volz <[email protected]> * Don't abort when executing empty expression Signed-off-by: Julius Volz <[email protected]> * Remove TabPaneAlert Signed-off-by: Julius Volz <[email protected]> * Split components into separate files Signed-off-by: Julius Volz <[email protected]> * Add table time input Signed-off-by: Julius Volz <[email protected]> * Move first files to TypeScript! Signed-off-by: Julius Volz <[email protected]> * More TypeScript conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS fixes Signed-off-by: Julius Volz <[email protected]> * Convert Graph to TS Signed-off-by: Julius Volz <[email protected]> * Changes Signed-off-by: Julius Volz <[email protected]> * Resize detector, start building legend, axis font colors Signed-off-by: Julius Volz <[email protected]> * Make graph legend work Signed-off-by: Julius Volz <[email protected]> * Add URL params support and much more Signed-off-by: Julius Volz <[email protected]> * Put panel state into panel list, write URL options Signed-off-by: Julius Volz <[email protected]> * Change order of Graph and Table tabs Signed-off-by: Julius Volz <[email protected]> * Generalize time input naming more Signed-off-by: Julius Volz <[email protected]> * Work on history functionality Signed-off-by: Julius Volz <[email protected]> * npm updates Signed-off-by: Julius Volz <[email protected]> * Move loading indicator into "Execute" button Signed-off-by: Julius Volz <[email protected]> * Fix typo Signed-off-by: Julius Volz <[email protected]> * Revert "Move loading indicator into "Execute" button" This reverts commit ce7daee1f1af35da6c0d8b5517272839285ccfec. Signed-off-by: Julius Volz <[email protected]> * Improve error message when failing to fetch server time Signed-off-by: Julius Volz <[email protected]> * Move all code to Prometheus repo target dir Signed-off-by: Julius Volz <[email protected]> * Add react-app Makefile step and check in generated assets Signed-off-by: Julius Volz <[email protected]> * Add preliminary npm packages notice to NOTICE file Signed-off-by: Julius Volz <[email protected]> * Update React app's favicon and metadata Signed-off-by: Julius Volz <[email protected]> * Remove RP server refs, cleanups Signed-off-by: Julius Volz <[email protected]> * Use CircleCI image that includes NodeJS Signed-off-by: Julius Volz <[email protected]> * Add some missing React output assets Signed-off-by: Julius Volz <[email protected]> * Preserve CRLF in generated React files Signed-off-by: Julius Volz <[email protected]> * Switch from npm to yarn for React UI Signed-off-by: Julius Volz <[email protected]> * Save npm licenses and include them in release tarball Signed-off-by: Julius Volz <[email protected]> * Install npm on Travis Signed-off-by: Julius Volz <[email protected]> * Remove npm license tarball from source Signed-off-by: Julius Volz <[email protected]> * Remove React graph bundle from source Signed-off-by: Julius Volz <[email protected]> * Don't check in any compiled web assets Signed-off-by: Julius Volz <[email protected]> * Update README.md with node/yarn/React UI info Signed-off-by: Julius Volz <[email protected]> * Fix asset build step on CircleCI promu crossbuild Signed-off-by: Julius Volz <[email protected]> * Try to fix multi-arch go generate Signed-off-by: Julius Volz <[email protected]> * Remove check_assets from Travis CI build Signed-off-by: Julius Volz <[email protected]> * Prevent rebuilding of unchanged React app parts Signed-off-by: Julius Volz <[email protected]> * Fix npm license tarball path for promu Signed-off-by: Julius Volz <[email protected]> * Simplify Makefile Signed-off-by: Julius Volz <[email protected]> * Clarify build instructions in README.md Signed-off-by: Julius Volz <[email protected]> * Make minimal JS test pass Signed-off-by: Julius Volz <[email protected]> * Integrate React app tests into Makefile Signed-off-by: Julius Volz <[email protected]> * Separate react-app-tests target, but run it from CI Signed-off-by: Julius Volz <[email protected]> * Fix working directory for React app tests Signed-off-by: Julius Volz <[email protected]> * Remove local modifications to Makefile.common This means that CircleCI will not run the React app tests, but at least Travis still will... Signed-off-by: Julius Volz <[email protected]> * Depend on node_modules path for npm_licenses target Signed-off-by: Julius Volz <[email protected]> * Simplify tarball/docker/build Makefile targets Signed-off-by: Julius Volz <[email protected]> * Include React tests in "test" target Signed-off-by: Julius Volz <[email protected]> * Remove reference to removed "check_assets" target Signed-off-by: Julius Volz <[email protected]> * Do initial resize of expression input field Signed-off-by: Julius Volz <[email protected]> * Add React app proxying to local Prometheus in dev mode Signed-off-by: Julius Volz <[email protected]>
2019-10-17 05:38:09 -07:00
width: 100%;
padding: .25rem 1.5rem;
clear: both;
white-space: nowrap;
background-color: transparent;
border: 0;
display: block;
}
.autosuggest-dropdown-list li.autosuggest-dropdown-header {
background-color: #bfdeff;
font-size: 10px;
line-height: 1.5;
text-transform: uppercase;
text-align: center;
}
Integrate beginning of React UI (#5694) * Initial commit from Create React App Signed-off-by: Julius Volz <[email protected]> * Initial Prometheus expression browser code Signed-off-by: Julius Volz <[email protected]> * Grpahing, try out echarts Signed-off-by: Julius Volz <[email protected]> * Switch to flot Signed-off-by: Julius Volz <[email protected]> * Add metrics fetching and stuff Signed-off-by: Julius Volz <[email protected]> * Autosuggest and graph improvements Signed-off-by: Julius Volz <[email protected]> * Start implementing graph controls, add loading spinner Signed-off-by: Julius Volz <[email protected]> * So many new features and fixes Signed-off-by: Julius Volz <[email protected]> * Fixed and built more features Signed-off-by: Julius Volz <[email protected]> * Make datetimepicker clear work Signed-off-by: Julius Volz <[email protected]> * Don't abort when executing empty expression Signed-off-by: Julius Volz <[email protected]> * Remove TabPaneAlert Signed-off-by: Julius Volz <[email protected]> * Split components into separate files Signed-off-by: Julius Volz <[email protected]> * Add table time input Signed-off-by: Julius Volz <[email protected]> * Move first files to TypeScript! Signed-off-by: Julius Volz <[email protected]> * More TypeScript conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS fixes Signed-off-by: Julius Volz <[email protected]> * Convert Graph to TS Signed-off-by: Julius Volz <[email protected]> * Changes Signed-off-by: Julius Volz <[email protected]> * Resize detector, start building legend, axis font colors Signed-off-by: Julius Volz <[email protected]> * Make graph legend work Signed-off-by: Julius Volz <[email protected]> * Add URL params support and much more Signed-off-by: Julius Volz <[email protected]> * Put panel state into panel list, write URL options Signed-off-by: Julius Volz <[email protected]> * Change order of Graph and Table tabs Signed-off-by: Julius Volz <[email protected]> * Generalize time input naming more Signed-off-by: Julius Volz <[email protected]> * Work on history functionality Signed-off-by: Julius Volz <[email protected]> * npm updates Signed-off-by: Julius Volz <[email protected]> * Move loading indicator into "Execute" button Signed-off-by: Julius Volz <[email protected]> * Fix typo Signed-off-by: Julius Volz <[email protected]> * Revert "Move loading indicator into "Execute" button" This reverts commit ce7daee1f1af35da6c0d8b5517272839285ccfec. Signed-off-by: Julius Volz <[email protected]> * Improve error message when failing to fetch server time Signed-off-by: Julius Volz <[email protected]> * Move all code to Prometheus repo target dir Signed-off-by: Julius Volz <[email protected]> * Add react-app Makefile step and check in generated assets Signed-off-by: Julius Volz <[email protected]> * Add preliminary npm packages notice to NOTICE file Signed-off-by: Julius Volz <[email protected]> * Update React app's favicon and metadata Signed-off-by: Julius Volz <[email protected]> * Remove RP server refs, cleanups Signed-off-by: Julius Volz <[email protected]> * Use CircleCI image that includes NodeJS Signed-off-by: Julius Volz <[email protected]> * Add some missing React output assets Signed-off-by: Julius Volz <[email protected]> * Preserve CRLF in generated React files Signed-off-by: Julius Volz <[email protected]> * Switch from npm to yarn for React UI Signed-off-by: Julius Volz <[email protected]> * Save npm licenses and include them in release tarball Signed-off-by: Julius Volz <[email protected]> * Install npm on Travis Signed-off-by: Julius Volz <[email protected]> * Remove npm license tarball from source Signed-off-by: Julius Volz <[email protected]> * Remove React graph bundle from source Signed-off-by: Julius Volz <[email protected]> * Don't check in any compiled web assets Signed-off-by: Julius Volz <[email protected]> * Update README.md with node/yarn/React UI info Signed-off-by: Julius Volz <[email protected]> * Fix asset build step on CircleCI promu crossbuild Signed-off-by: Julius Volz <[email protected]> * Try to fix multi-arch go generate Signed-off-by: Julius Volz <[email protected]> * Remove check_assets from Travis CI build Signed-off-by: Julius Volz <[email protected]> * Prevent rebuilding of unchanged React app parts Signed-off-by: Julius Volz <[email protected]> * Fix npm license tarball path for promu Signed-off-by: Julius Volz <[email protected]> * Simplify Makefile Signed-off-by: Julius Volz <[email protected]> * Clarify build instructions in README.md Signed-off-by: Julius Volz <[email protected]> * Make minimal JS test pass Signed-off-by: Julius Volz <[email protected]> * Integrate React app tests into Makefile Signed-off-by: Julius Volz <[email protected]> * Separate react-app-tests target, but run it from CI Signed-off-by: Julius Volz <[email protected]> * Fix working directory for React app tests Signed-off-by: Julius Volz <[email protected]> * Remove local modifications to Makefile.common This means that CircleCI will not run the React app tests, but at least Travis still will... Signed-off-by: Julius Volz <[email protected]> * Depend on node_modules path for npm_licenses target Signed-off-by: Julius Volz <[email protected]> * Simplify tarball/docker/build Makefile targets Signed-off-by: Julius Volz <[email protected]> * Include React tests in "test" target Signed-off-by: Julius Volz <[email protected]> * Remove reference to removed "check_assets" target Signed-off-by: Julius Volz <[email protected]> * Do initial resize of expression input field Signed-off-by: Julius Volz <[email protected]> * Add React app proxying to local Prometheus in dev mode Signed-off-by: Julius Volz <[email protected]>
2019-10-17 05:38:09 -07:00
.graph-controls, .table-controls {
margin-bottom: 10px;
}
.graph-controls input, .table-controls input {
Integrate beginning of React UI (#5694) * Initial commit from Create React App Signed-off-by: Julius Volz <[email protected]> * Initial Prometheus expression browser code Signed-off-by: Julius Volz <[email protected]> * Grpahing, try out echarts Signed-off-by: Julius Volz <[email protected]> * Switch to flot Signed-off-by: Julius Volz <[email protected]> * Add metrics fetching and stuff Signed-off-by: Julius Volz <[email protected]> * Autosuggest and graph improvements Signed-off-by: Julius Volz <[email protected]> * Start implementing graph controls, add loading spinner Signed-off-by: Julius Volz <[email protected]> * So many new features and fixes Signed-off-by: Julius Volz <[email protected]> * Fixed and built more features Signed-off-by: Julius Volz <[email protected]> * Make datetimepicker clear work Signed-off-by: Julius Volz <[email protected]> * Don't abort when executing empty expression Signed-off-by: Julius Volz <[email protected]> * Remove TabPaneAlert Signed-off-by: Julius Volz <[email protected]> * Split components into separate files Signed-off-by: Julius Volz <[email protected]> * Add table time input Signed-off-by: Julius Volz <[email protected]> * Move first files to TypeScript! Signed-off-by: Julius Volz <[email protected]> * More TypeScript conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS fixes Signed-off-by: Julius Volz <[email protected]> * Convert Graph to TS Signed-off-by: Julius Volz <[email protected]> * Changes Signed-off-by: Julius Volz <[email protected]> * Resize detector, start building legend, axis font colors Signed-off-by: Julius Volz <[email protected]> * Make graph legend work Signed-off-by: Julius Volz <[email protected]> * Add URL params support and much more Signed-off-by: Julius Volz <[email protected]> * Put panel state into panel list, write URL options Signed-off-by: Julius Volz <[email protected]> * Change order of Graph and Table tabs Signed-off-by: Julius Volz <[email protected]> * Generalize time input naming more Signed-off-by: Julius Volz <[email protected]> * Work on history functionality Signed-off-by: Julius Volz <[email protected]> * npm updates Signed-off-by: Julius Volz <[email protected]> * Move loading indicator into "Execute" button Signed-off-by: Julius Volz <[email protected]> * Fix typo Signed-off-by: Julius Volz <[email protected]> * Revert "Move loading indicator into "Execute" button" This reverts commit ce7daee1f1af35da6c0d8b5517272839285ccfec. Signed-off-by: Julius Volz <[email protected]> * Improve error message when failing to fetch server time Signed-off-by: Julius Volz <[email protected]> * Move all code to Prometheus repo target dir Signed-off-by: Julius Volz <[email protected]> * Add react-app Makefile step and check in generated assets Signed-off-by: Julius Volz <[email protected]> * Add preliminary npm packages notice to NOTICE file Signed-off-by: Julius Volz <[email protected]> * Update React app's favicon and metadata Signed-off-by: Julius Volz <[email protected]> * Remove RP server refs, cleanups Signed-off-by: Julius Volz <[email protected]> * Use CircleCI image that includes NodeJS Signed-off-by: Julius Volz <[email protected]> * Add some missing React output assets Signed-off-by: Julius Volz <[email protected]> * Preserve CRLF in generated React files Signed-off-by: Julius Volz <[email protected]> * Switch from npm to yarn for React UI Signed-off-by: Julius Volz <[email protected]> * Save npm licenses and include them in release tarball Signed-off-by: Julius Volz <[email protected]> * Install npm on Travis Signed-off-by: Julius Volz <[email protected]> * Remove npm license tarball from source Signed-off-by: Julius Volz <[email protected]> * Remove React graph bundle from source Signed-off-by: Julius Volz <[email protected]> * Don't check in any compiled web assets Signed-off-by: Julius Volz <[email protected]> * Update README.md with node/yarn/React UI info Signed-off-by: Julius Volz <[email protected]> * Fix asset build step on CircleCI promu crossbuild Signed-off-by: Julius Volz <[email protected]> * Try to fix multi-arch go generate Signed-off-by: Julius Volz <[email protected]> * Remove check_assets from Travis CI build Signed-off-by: Julius Volz <[email protected]> * Prevent rebuilding of unchanged React app parts Signed-off-by: Julius Volz <[email protected]> * Fix npm license tarball path for promu Signed-off-by: Julius Volz <[email protected]> * Simplify Makefile Signed-off-by: Julius Volz <[email protected]> * Clarify build instructions in README.md Signed-off-by: Julius Volz <[email protected]> * Make minimal JS test pass Signed-off-by: Julius Volz <[email protected]> * Integrate React app tests into Makefile Signed-off-by: Julius Volz <[email protected]> * Separate react-app-tests target, but run it from CI Signed-off-by: Julius Volz <[email protected]> * Fix working directory for React app tests Signed-off-by: Julius Volz <[email protected]> * Remove local modifications to Makefile.common This means that CircleCI will not run the React app tests, but at least Travis still will... Signed-off-by: Julius Volz <[email protected]> * Depend on node_modules path for npm_licenses target Signed-off-by: Julius Volz <[email protected]> * Simplify tarball/docker/build Makefile targets Signed-off-by: Julius Volz <[email protected]> * Include React tests in "test" target Signed-off-by: Julius Volz <[email protected]> * Remove reference to removed "check_assets" target Signed-off-by: Julius Volz <[email protected]> * Do initial resize of expression input field Signed-off-by: Julius Volz <[email protected]> * Add React app proxying to local Prometheus in dev mode Signed-off-by: Julius Volz <[email protected]>
2019-10-17 05:38:09 -07:00
text-align: center;
}
.graph-controls .range-input input {
width: 50px;
}
.time-input input {
Integrate beginning of React UI (#5694) * Initial commit from Create React App Signed-off-by: Julius Volz <[email protected]> * Initial Prometheus expression browser code Signed-off-by: Julius Volz <[email protected]> * Grpahing, try out echarts Signed-off-by: Julius Volz <[email protected]> * Switch to flot Signed-off-by: Julius Volz <[email protected]> * Add metrics fetching and stuff Signed-off-by: Julius Volz <[email protected]> * Autosuggest and graph improvements Signed-off-by: Julius Volz <[email protected]> * Start implementing graph controls, add loading spinner Signed-off-by: Julius Volz <[email protected]> * So many new features and fixes Signed-off-by: Julius Volz <[email protected]> * Fixed and built more features Signed-off-by: Julius Volz <[email protected]> * Make datetimepicker clear work Signed-off-by: Julius Volz <[email protected]> * Don't abort when executing empty expression Signed-off-by: Julius Volz <[email protected]> * Remove TabPaneAlert Signed-off-by: Julius Volz <[email protected]> * Split components into separate files Signed-off-by: Julius Volz <[email protected]> * Add table time input Signed-off-by: Julius Volz <[email protected]> * Move first files to TypeScript! Signed-off-by: Julius Volz <[email protected]> * More TypeScript conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS fixes Signed-off-by: Julius Volz <[email protected]> * Convert Graph to TS Signed-off-by: Julius Volz <[email protected]> * Changes Signed-off-by: Julius Volz <[email protected]> * Resize detector, start building legend, axis font colors Signed-off-by: Julius Volz <[email protected]> * Make graph legend work Signed-off-by: Julius Volz <[email protected]> * Add URL params support and much more Signed-off-by: Julius Volz <[email protected]> * Put panel state into panel list, write URL options Signed-off-by: Julius Volz <[email protected]> * Change order of Graph and Table tabs Signed-off-by: Julius Volz <[email protected]> * Generalize time input naming more Signed-off-by: Julius Volz <[email protected]> * Work on history functionality Signed-off-by: Julius Volz <[email protected]> * npm updates Signed-off-by: Julius Volz <[email protected]> * Move loading indicator into "Execute" button Signed-off-by: Julius Volz <[email protected]> * Fix typo Signed-off-by: Julius Volz <[email protected]> * Revert "Move loading indicator into "Execute" button" This reverts commit ce7daee1f1af35da6c0d8b5517272839285ccfec. Signed-off-by: Julius Volz <[email protected]> * Improve error message when failing to fetch server time Signed-off-by: Julius Volz <[email protected]> * Move all code to Prometheus repo target dir Signed-off-by: Julius Volz <[email protected]> * Add react-app Makefile step and check in generated assets Signed-off-by: Julius Volz <[email protected]> * Add preliminary npm packages notice to NOTICE file Signed-off-by: Julius Volz <[email protected]> * Update React app's favicon and metadata Signed-off-by: Julius Volz <[email protected]> * Remove RP server refs, cleanups Signed-off-by: Julius Volz <[email protected]> * Use CircleCI image that includes NodeJS Signed-off-by: Julius Volz <[email protected]> * Add some missing React output assets Signed-off-by: Julius Volz <[email protected]> * Preserve CRLF in generated React files Signed-off-by: Julius Volz <[email protected]> * Switch from npm to yarn for React UI Signed-off-by: Julius Volz <[email protected]> * Save npm licenses and include them in release tarball Signed-off-by: Julius Volz <[email protected]> * Install npm on Travis Signed-off-by: Julius Volz <[email protected]> * Remove npm license tarball from source Signed-off-by: Julius Volz <[email protected]> * Remove React graph bundle from source Signed-off-by: Julius Volz <[email protected]> * Don't check in any compiled web assets Signed-off-by: Julius Volz <[email protected]> * Update README.md with node/yarn/React UI info Signed-off-by: Julius Volz <[email protected]> * Fix asset build step on CircleCI promu crossbuild Signed-off-by: Julius Volz <[email protected]> * Try to fix multi-arch go generate Signed-off-by: Julius Volz <[email protected]> * Remove check_assets from Travis CI build Signed-off-by: Julius Volz <[email protected]> * Prevent rebuilding of unchanged React app parts Signed-off-by: Julius Volz <[email protected]> * Fix npm license tarball path for promu Signed-off-by: Julius Volz <[email protected]> * Simplify Makefile Signed-off-by: Julius Volz <[email protected]> * Clarify build instructions in README.md Signed-off-by: Julius Volz <[email protected]> * Make minimal JS test pass Signed-off-by: Julius Volz <[email protected]> * Integrate React app tests into Makefile Signed-off-by: Julius Volz <[email protected]> * Separate react-app-tests target, but run it from CI Signed-off-by: Julius Volz <[email protected]> * Fix working directory for React app tests Signed-off-by: Julius Volz <[email protected]> * Remove local modifications to Makefile.common This means that CircleCI will not run the React app tests, but at least Travis still will... Signed-off-by: Julius Volz <[email protected]> * Depend on node_modules path for npm_licenses target Signed-off-by: Julius Volz <[email protected]> * Simplify tarball/docker/build Makefile targets Signed-off-by: Julius Volz <[email protected]> * Include React tests in "test" target Signed-off-by: Julius Volz <[email protected]> * Remove reference to removed "check_assets" target Signed-off-by: Julius Volz <[email protected]> * Do initial resize of expression input field Signed-off-by: Julius Volz <[email protected]> * Add React app proxying to local Prometheus in dev mode Signed-off-by: Julius Volz <[email protected]>
2019-10-17 05:38:09 -07:00
border-right: none;
}
.time-input {
width: 270px !important;
Integrate beginning of React UI (#5694) * Initial commit from Create React App Signed-off-by: Julius Volz <[email protected]> * Initial Prometheus expression browser code Signed-off-by: Julius Volz <[email protected]> * Grpahing, try out echarts Signed-off-by: Julius Volz <[email protected]> * Switch to flot Signed-off-by: Julius Volz <[email protected]> * Add metrics fetching and stuff Signed-off-by: Julius Volz <[email protected]> * Autosuggest and graph improvements Signed-off-by: Julius Volz <[email protected]> * Start implementing graph controls, add loading spinner Signed-off-by: Julius Volz <[email protected]> * So many new features and fixes Signed-off-by: Julius Volz <[email protected]> * Fixed and built more features Signed-off-by: Julius Volz <[email protected]> * Make datetimepicker clear work Signed-off-by: Julius Volz <[email protected]> * Don't abort when executing empty expression Signed-off-by: Julius Volz <[email protected]> * Remove TabPaneAlert Signed-off-by: Julius Volz <[email protected]> * Split components into separate files Signed-off-by: Julius Volz <[email protected]> * Add table time input Signed-off-by: Julius Volz <[email protected]> * Move first files to TypeScript! Signed-off-by: Julius Volz <[email protected]> * More TypeScript conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS fixes Signed-off-by: Julius Volz <[email protected]> * Convert Graph to TS Signed-off-by: Julius Volz <[email protected]> * Changes Signed-off-by: Julius Volz <[email protected]> * Resize detector, start building legend, axis font colors Signed-off-by: Julius Volz <[email protected]> * Make graph legend work Signed-off-by: Julius Volz <[email protected]> * Add URL params support and much more Signed-off-by: Julius Volz <[email protected]> * Put panel state into panel list, write URL options Signed-off-by: Julius Volz <[email protected]> * Change order of Graph and Table tabs Signed-off-by: Julius Volz <[email protected]> * Generalize time input naming more Signed-off-by: Julius Volz <[email protected]> * Work on history functionality Signed-off-by: Julius Volz <[email protected]> * npm updates Signed-off-by: Julius Volz <[email protected]> * Move loading indicator into "Execute" button Signed-off-by: Julius Volz <[email protected]> * Fix typo Signed-off-by: Julius Volz <[email protected]> * Revert "Move loading indicator into "Execute" button" This reverts commit ce7daee1f1af35da6c0d8b5517272839285ccfec. Signed-off-by: Julius Volz <[email protected]> * Improve error message when failing to fetch server time Signed-off-by: Julius Volz <[email protected]> * Move all code to Prometheus repo target dir Signed-off-by: Julius Volz <[email protected]> * Add react-app Makefile step and check in generated assets Signed-off-by: Julius Volz <[email protected]> * Add preliminary npm packages notice to NOTICE file Signed-off-by: Julius Volz <[email protected]> * Update React app's favicon and metadata Signed-off-by: Julius Volz <[email protected]> * Remove RP server refs, cleanups Signed-off-by: Julius Volz <[email protected]> * Use CircleCI image that includes NodeJS Signed-off-by: Julius Volz <[email protected]> * Add some missing React output assets Signed-off-by: Julius Volz <[email protected]> * Preserve CRLF in generated React files Signed-off-by: Julius Volz <[email protected]> * Switch from npm to yarn for React UI Signed-off-by: Julius Volz <[email protected]> * Save npm licenses and include them in release tarball Signed-off-by: Julius Volz <[email protected]> * Install npm on Travis Signed-off-by: Julius Volz <[email protected]> * Remove npm license tarball from source Signed-off-by: Julius Volz <[email protected]> * Remove React graph bundle from source Signed-off-by: Julius Volz <[email protected]> * Don't check in any compiled web assets Signed-off-by: Julius Volz <[email protected]> * Update README.md with node/yarn/React UI info Signed-off-by: Julius Volz <[email protected]> * Fix asset build step on CircleCI promu crossbuild Signed-off-by: Julius Volz <[email protected]> * Try to fix multi-arch go generate Signed-off-by: Julius Volz <[email protected]> * Remove check_assets from Travis CI build Signed-off-by: Julius Volz <[email protected]> * Prevent rebuilding of unchanged React app parts Signed-off-by: Julius Volz <[email protected]> * Fix npm license tarball path for promu Signed-off-by: Julius Volz <[email protected]> * Simplify Makefile Signed-off-by: Julius Volz <[email protected]> * Clarify build instructions in README.md Signed-off-by: Julius Volz <[email protected]> * Make minimal JS test pass Signed-off-by: Julius Volz <[email protected]> * Integrate React app tests into Makefile Signed-off-by: Julius Volz <[email protected]> * Separate react-app-tests target, but run it from CI Signed-off-by: Julius Volz <[email protected]> * Fix working directory for React app tests Signed-off-by: Julius Volz <[email protected]> * Remove local modifications to Makefile.common This means that CircleCI will not run the React app tests, but at least Travis still will... Signed-off-by: Julius Volz <[email protected]> * Depend on node_modules path for npm_licenses target Signed-off-by: Julius Volz <[email protected]> * Simplify tarball/docker/build Makefile targets Signed-off-by: Julius Volz <[email protected]> * Include React tests in "test" target Signed-off-by: Julius Volz <[email protected]> * Remove reference to removed "check_assets" target Signed-off-by: Julius Volz <[email protected]> * Do initial resize of expression input field Signed-off-by: Julius Volz <[email protected]> * Add React app proxying to local Prometheus in dev mode Signed-off-by: Julius Volz <[email protected]>
2019-10-17 05:38:09 -07:00
}
.graph-controls input.resolution-input {
width: 90px;
}
.graph-controls > :not(:first-child) {
Integrate beginning of React UI (#5694) * Initial commit from Create React App Signed-off-by: Julius Volz <[email protected]> * Initial Prometheus expression browser code Signed-off-by: Julius Volz <[email protected]> * Grpahing, try out echarts Signed-off-by: Julius Volz <[email protected]> * Switch to flot Signed-off-by: Julius Volz <[email protected]> * Add metrics fetching and stuff Signed-off-by: Julius Volz <[email protected]> * Autosuggest and graph improvements Signed-off-by: Julius Volz <[email protected]> * Start implementing graph controls, add loading spinner Signed-off-by: Julius Volz <[email protected]> * So many new features and fixes Signed-off-by: Julius Volz <[email protected]> * Fixed and built more features Signed-off-by: Julius Volz <[email protected]> * Make datetimepicker clear work Signed-off-by: Julius Volz <[email protected]> * Don't abort when executing empty expression Signed-off-by: Julius Volz <[email protected]> * Remove TabPaneAlert Signed-off-by: Julius Volz <[email protected]> * Split components into separate files Signed-off-by: Julius Volz <[email protected]> * Add table time input Signed-off-by: Julius Volz <[email protected]> * Move first files to TypeScript! Signed-off-by: Julius Volz <[email protected]> * More TypeScript conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS fixes Signed-off-by: Julius Volz <[email protected]> * Convert Graph to TS Signed-off-by: Julius Volz <[email protected]> * Changes Signed-off-by: Julius Volz <[email protected]> * Resize detector, start building legend, axis font colors Signed-off-by: Julius Volz <[email protected]> * Make graph legend work Signed-off-by: Julius Volz <[email protected]> * Add URL params support and much more Signed-off-by: Julius Volz <[email protected]> * Put panel state into panel list, write URL options Signed-off-by: Julius Volz <[email protected]> * Change order of Graph and Table tabs Signed-off-by: Julius Volz <[email protected]> * Generalize time input naming more Signed-off-by: Julius Volz <[email protected]> * Work on history functionality Signed-off-by: Julius Volz <[email protected]> * npm updates Signed-off-by: Julius Volz <[email protected]> * Move loading indicator into "Execute" button Signed-off-by: Julius Volz <[email protected]> * Fix typo Signed-off-by: Julius Volz <[email protected]> * Revert "Move loading indicator into "Execute" button" This reverts commit ce7daee1f1af35da6c0d8b5517272839285ccfec. Signed-off-by: Julius Volz <[email protected]> * Improve error message when failing to fetch server time Signed-off-by: Julius Volz <[email protected]> * Move all code to Prometheus repo target dir Signed-off-by: Julius Volz <[email protected]> * Add react-app Makefile step and check in generated assets Signed-off-by: Julius Volz <[email protected]> * Add preliminary npm packages notice to NOTICE file Signed-off-by: Julius Volz <[email protected]> * Update React app's favicon and metadata Signed-off-by: Julius Volz <[email protected]> * Remove RP server refs, cleanups Signed-off-by: Julius Volz <[email protected]> * Use CircleCI image that includes NodeJS Signed-off-by: Julius Volz <[email protected]> * Add some missing React output assets Signed-off-by: Julius Volz <[email protected]> * Preserve CRLF in generated React files Signed-off-by: Julius Volz <[email protected]> * Switch from npm to yarn for React UI Signed-off-by: Julius Volz <[email protected]> * Save npm licenses and include them in release tarball Signed-off-by: Julius Volz <[email protected]> * Install npm on Travis Signed-off-by: Julius Volz <[email protected]> * Remove npm license tarball from source Signed-off-by: Julius Volz <[email protected]> * Remove React graph bundle from source Signed-off-by: Julius Volz <[email protected]> * Don't check in any compiled web assets Signed-off-by: Julius Volz <[email protected]> * Update README.md with node/yarn/React UI info Signed-off-by: Julius Volz <[email protected]> * Fix asset build step on CircleCI promu crossbuild Signed-off-by: Julius Volz <[email protected]> * Try to fix multi-arch go generate Signed-off-by: Julius Volz <[email protected]> * Remove check_assets from Travis CI build Signed-off-by: Julius Volz <[email protected]> * Prevent rebuilding of unchanged React app parts Signed-off-by: Julius Volz <[email protected]> * Fix npm license tarball path for promu Signed-off-by: Julius Volz <[email protected]> * Simplify Makefile Signed-off-by: Julius Volz <[email protected]> * Clarify build instructions in README.md Signed-off-by: Julius Volz <[email protected]> * Make minimal JS test pass Signed-off-by: Julius Volz <[email protected]> * Integrate React app tests into Makefile Signed-off-by: Julius Volz <[email protected]> * Separate react-app-tests target, but run it from CI Signed-off-by: Julius Volz <[email protected]> * Fix working directory for React app tests Signed-off-by: Julius Volz <[email protected]> * Remove local modifications to Makefile.common This means that CircleCI will not run the React app tests, but at least Travis still will... Signed-off-by: Julius Volz <[email protected]> * Depend on node_modules path for npm_licenses target Signed-off-by: Julius Volz <[email protected]> * Simplify tarball/docker/build Makefile targets Signed-off-by: Julius Volz <[email protected]> * Include React tests in "test" target Signed-off-by: Julius Volz <[email protected]> * Remove reference to removed "check_assets" target Signed-off-by: Julius Volz <[email protected]> * Do initial resize of expression input field Signed-off-by: Julius Volz <[email protected]> * Add React app proxying to local Prometheus in dev mode Signed-off-by: Julius Volz <[email protected]>
2019-10-17 05:38:09 -07:00
margin-left: 20px;
}
.graph-controls .clear-time-btn, .table-controls .clear-time-btn {
Integrate beginning of React UI (#5694) * Initial commit from Create React App Signed-off-by: Julius Volz <[email protected]> * Initial Prometheus expression browser code Signed-off-by: Julius Volz <[email protected]> * Grpahing, try out echarts Signed-off-by: Julius Volz <[email protected]> * Switch to flot Signed-off-by: Julius Volz <[email protected]> * Add metrics fetching and stuff Signed-off-by: Julius Volz <[email protected]> * Autosuggest and graph improvements Signed-off-by: Julius Volz <[email protected]> * Start implementing graph controls, add loading spinner Signed-off-by: Julius Volz <[email protected]> * So many new features and fixes Signed-off-by: Julius Volz <[email protected]> * Fixed and built more features Signed-off-by: Julius Volz <[email protected]> * Make datetimepicker clear work Signed-off-by: Julius Volz <[email protected]> * Don't abort when executing empty expression Signed-off-by: Julius Volz <[email protected]> * Remove TabPaneAlert Signed-off-by: Julius Volz <[email protected]> * Split components into separate files Signed-off-by: Julius Volz <[email protected]> * Add table time input Signed-off-by: Julius Volz <[email protected]> * Move first files to TypeScript! Signed-off-by: Julius Volz <[email protected]> * More TypeScript conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS fixes Signed-off-by: Julius Volz <[email protected]> * Convert Graph to TS Signed-off-by: Julius Volz <[email protected]> * Changes Signed-off-by: Julius Volz <[email protected]> * Resize detector, start building legend, axis font colors Signed-off-by: Julius Volz <[email protected]> * Make graph legend work Signed-off-by: Julius Volz <[email protected]> * Add URL params support and much more Signed-off-by: Julius Volz <[email protected]> * Put panel state into panel list, write URL options Signed-off-by: Julius Volz <[email protected]> * Change order of Graph and Table tabs Signed-off-by: Julius Volz <[email protected]> * Generalize time input naming more Signed-off-by: Julius Volz <[email protected]> * Work on history functionality Signed-off-by: Julius Volz <[email protected]> * npm updates Signed-off-by: Julius Volz <[email protected]> * Move loading indicator into "Execute" button Signed-off-by: Julius Volz <[email protected]> * Fix typo Signed-off-by: Julius Volz <[email protected]> * Revert "Move loading indicator into "Execute" button" This reverts commit ce7daee1f1af35da6c0d8b5517272839285ccfec. Signed-off-by: Julius Volz <[email protected]> * Improve error message when failing to fetch server time Signed-off-by: Julius Volz <[email protected]> * Move all code to Prometheus repo target dir Signed-off-by: Julius Volz <[email protected]> * Add react-app Makefile step and check in generated assets Signed-off-by: Julius Volz <[email protected]> * Add preliminary npm packages notice to NOTICE file Signed-off-by: Julius Volz <[email protected]> * Update React app's favicon and metadata Signed-off-by: Julius Volz <[email protected]> * Remove RP server refs, cleanups Signed-off-by: Julius Volz <[email protected]> * Use CircleCI image that includes NodeJS Signed-off-by: Julius Volz <[email protected]> * Add some missing React output assets Signed-off-by: Julius Volz <[email protected]> * Preserve CRLF in generated React files Signed-off-by: Julius Volz <[email protected]> * Switch from npm to yarn for React UI Signed-off-by: Julius Volz <[email protected]> * Save npm licenses and include them in release tarball Signed-off-by: Julius Volz <[email protected]> * Install npm on Travis Signed-off-by: Julius Volz <[email protected]> * Remove npm license tarball from source Signed-off-by: Julius Volz <[email protected]> * Remove React graph bundle from source Signed-off-by: Julius Volz <[email protected]> * Don't check in any compiled web assets Signed-off-by: Julius Volz <[email protected]> * Update README.md with node/yarn/React UI info Signed-off-by: Julius Volz <[email protected]> * Fix asset build step on CircleCI promu crossbuild Signed-off-by: Julius Volz <[email protected]> * Try to fix multi-arch go generate Signed-off-by: Julius Volz <[email protected]> * Remove check_assets from Travis CI build Signed-off-by: Julius Volz <[email protected]> * Prevent rebuilding of unchanged React app parts Signed-off-by: Julius Volz <[email protected]> * Fix npm license tarball path for promu Signed-off-by: Julius Volz <[email protected]> * Simplify Makefile Signed-off-by: Julius Volz <[email protected]> * Clarify build instructions in README.md Signed-off-by: Julius Volz <[email protected]> * Make minimal JS test pass Signed-off-by: Julius Volz <[email protected]> * Integrate React app tests into Makefile Signed-off-by: Julius Volz <[email protected]> * Separate react-app-tests target, but run it from CI Signed-off-by: Julius Volz <[email protected]> * Fix working directory for React app tests Signed-off-by: Julius Volz <[email protected]> * Remove local modifications to Makefile.common This means that CircleCI will not run the React app tests, but at least Travis still will... Signed-off-by: Julius Volz <[email protected]> * Depend on node_modules path for npm_licenses target Signed-off-by: Julius Volz <[email protected]> * Simplify tarball/docker/build Makefile targets Signed-off-by: Julius Volz <[email protected]> * Include React tests in "test" target Signed-off-by: Julius Volz <[email protected]> * Remove reference to removed "check_assets" target Signed-off-by: Julius Volz <[email protected]> * Do initial resize of expression input field Signed-off-by: Julius Volz <[email protected]> * Add React app proxying to local Prometheus in dev mode Signed-off-by: Julius Volz <[email protected]>
2019-10-17 05:38:09 -07:00
background: #fff;
border-left: none;
border-top: 1px solid #ced4da;
border-bottom: 1px solid #ced4da;
color: #495057;
}
.graph-legend {
React UI: Graph legend (#6321) * initial commit Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * eslint fixes Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * hover bug fix Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * refactoring Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * remove unnecessary check Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * fix tests Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * lint fix https://github.com/prometheus/prometheus/issues/6268 Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * fix typos Fixes<https://github.com/prometheus/prometheus/issues/6268> Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * init hover events if can Fixes: <https://github.com/prometheus/prometheus/issues/6268> Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * review changes Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * fix activeIndex bug Signed-off-by: Boyko Lalov <[email protected]> * extend plot options types Signed-off-by: Boyko Lalov <[email protected]> * adding more types Signed-off-by: blalov <[email protected]> * fix branch after wrong force push Signed-off-by: blalov <[email protected]> * unit test fixes Signed-off-by: blalov <[email protected]> * remove unused variables Signed-off-by: blalov <[email protected]>
2019-11-24 04:14:57 -08:00
margin: 15px 0 15px 55px;
font-size: 0.75em;
padding: 10px 5px;
display: inline-block;
Integrate beginning of React UI (#5694) * Initial commit from Create React App Signed-off-by: Julius Volz <[email protected]> * Initial Prometheus expression browser code Signed-off-by: Julius Volz <[email protected]> * Grpahing, try out echarts Signed-off-by: Julius Volz <[email protected]> * Switch to flot Signed-off-by: Julius Volz <[email protected]> * Add metrics fetching and stuff Signed-off-by: Julius Volz <[email protected]> * Autosuggest and graph improvements Signed-off-by: Julius Volz <[email protected]> * Start implementing graph controls, add loading spinner Signed-off-by: Julius Volz <[email protected]> * So many new features and fixes Signed-off-by: Julius Volz <[email protected]> * Fixed and built more features Signed-off-by: Julius Volz <[email protected]> * Make datetimepicker clear work Signed-off-by: Julius Volz <[email protected]> * Don't abort when executing empty expression Signed-off-by: Julius Volz <[email protected]> * Remove TabPaneAlert Signed-off-by: Julius Volz <[email protected]> * Split components into separate files Signed-off-by: Julius Volz <[email protected]> * Add table time input Signed-off-by: Julius Volz <[email protected]> * Move first files to TypeScript! Signed-off-by: Julius Volz <[email protected]> * More TypeScript conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS fixes Signed-off-by: Julius Volz <[email protected]> * Convert Graph to TS Signed-off-by: Julius Volz <[email protected]> * Changes Signed-off-by: Julius Volz <[email protected]> * Resize detector, start building legend, axis font colors Signed-off-by: Julius Volz <[email protected]> * Make graph legend work Signed-off-by: Julius Volz <[email protected]> * Add URL params support and much more Signed-off-by: Julius Volz <[email protected]> * Put panel state into panel list, write URL options Signed-off-by: Julius Volz <[email protected]> * Change order of Graph and Table tabs Signed-off-by: Julius Volz <[email protected]> * Generalize time input naming more Signed-off-by: Julius Volz <[email protected]> * Work on history functionality Signed-off-by: Julius Volz <[email protected]> * npm updates Signed-off-by: Julius Volz <[email protected]> * Move loading indicator into "Execute" button Signed-off-by: Julius Volz <[email protected]> * Fix typo Signed-off-by: Julius Volz <[email protected]> * Revert "Move loading indicator into "Execute" button" This reverts commit ce7daee1f1af35da6c0d8b5517272839285ccfec. Signed-off-by: Julius Volz <[email protected]> * Improve error message when failing to fetch server time Signed-off-by: Julius Volz <[email protected]> * Move all code to Prometheus repo target dir Signed-off-by: Julius Volz <[email protected]> * Add react-app Makefile step and check in generated assets Signed-off-by: Julius Volz <[email protected]> * Add preliminary npm packages notice to NOTICE file Signed-off-by: Julius Volz <[email protected]> * Update React app's favicon and metadata Signed-off-by: Julius Volz <[email protected]> * Remove RP server refs, cleanups Signed-off-by: Julius Volz <[email protected]> * Use CircleCI image that includes NodeJS Signed-off-by: Julius Volz <[email protected]> * Add some missing React output assets Signed-off-by: Julius Volz <[email protected]> * Preserve CRLF in generated React files Signed-off-by: Julius Volz <[email protected]> * Switch from npm to yarn for React UI Signed-off-by: Julius Volz <[email protected]> * Save npm licenses and include them in release tarball Signed-off-by: Julius Volz <[email protected]> * Install npm on Travis Signed-off-by: Julius Volz <[email protected]> * Remove npm license tarball from source Signed-off-by: Julius Volz <[email protected]> * Remove React graph bundle from source Signed-off-by: Julius Volz <[email protected]> * Don't check in any compiled web assets Signed-off-by: Julius Volz <[email protected]> * Update README.md with node/yarn/React UI info Signed-off-by: Julius Volz <[email protected]> * Fix asset build step on CircleCI promu crossbuild Signed-off-by: Julius Volz <[email protected]> * Try to fix multi-arch go generate Signed-off-by: Julius Volz <[email protected]> * Remove check_assets from Travis CI build Signed-off-by: Julius Volz <[email protected]> * Prevent rebuilding of unchanged React app parts Signed-off-by: Julius Volz <[email protected]> * Fix npm license tarball path for promu Signed-off-by: Julius Volz <[email protected]> * Simplify Makefile Signed-off-by: Julius Volz <[email protected]> * Clarify build instructions in README.md Signed-off-by: Julius Volz <[email protected]> * Make minimal JS test pass Signed-off-by: Julius Volz <[email protected]> * Integrate React app tests into Makefile Signed-off-by: Julius Volz <[email protected]> * Separate react-app-tests target, but run it from CI Signed-off-by: Julius Volz <[email protected]> * Fix working directory for React app tests Signed-off-by: Julius Volz <[email protected]> * Remove local modifications to Makefile.common This means that CircleCI will not run the React app tests, but at least Travis still will... Signed-off-by: Julius Volz <[email protected]> * Depend on node_modules path for npm_licenses target Signed-off-by: Julius Volz <[email protected]> * Simplify tarball/docker/build Makefile targets Signed-off-by: Julius Volz <[email protected]> * Include React tests in "test" target Signed-off-by: Julius Volz <[email protected]> * Remove reference to removed "check_assets" target Signed-off-by: Julius Volz <[email protected]> * Do initial resize of expression input field Signed-off-by: Julius Volz <[email protected]> * Add React app proxying to local Prometheus in dev mode Signed-off-by: Julius Volz <[email protected]>
2019-10-17 05:38:09 -07:00
}
React UI: Graph legend (#6321) * initial commit Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * eslint fixes Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * hover bug fix Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * refactoring Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * remove unnecessary check Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * fix tests Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * lint fix https://github.com/prometheus/prometheus/issues/6268 Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * fix typos Fixes<https://github.com/prometheus/prometheus/issues/6268> Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * init hover events if can Fixes: <https://github.com/prometheus/prometheus/issues/6268> Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * review changes Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * fix activeIndex bug Signed-off-by: Boyko Lalov <[email protected]> * extend plot options types Signed-off-by: Boyko Lalov <[email protected]> * adding more types Signed-off-by: blalov <[email protected]> * fix branch after wrong force push Signed-off-by: blalov <[email protected]> * unit test fixes Signed-off-by: blalov <[email protected]> * remove unused variables Signed-off-by: blalov <[email protected]>
2019-11-24 04:14:57 -08:00
.legend-item {
cursor: pointer;
React UI: Graph legend (#6321) * initial commit Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * eslint fixes Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * hover bug fix Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * refactoring Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * remove unnecessary check Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * fix tests Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * lint fix https://github.com/prometheus/prometheus/issues/6268 Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * fix typos Fixes<https://github.com/prometheus/prometheus/issues/6268> Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * init hover events if can Fixes: <https://github.com/prometheus/prometheus/issues/6268> Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * review changes Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * fix activeIndex bug Signed-off-by: Boyko Lalov <[email protected]> * extend plot options types Signed-off-by: Boyko Lalov <[email protected]> * adding more types Signed-off-by: blalov <[email protected]> * fix branch after wrong force push Signed-off-by: blalov <[email protected]> * unit test fixes Signed-off-by: blalov <[email protected]> * remove unused variables Signed-off-by: blalov <[email protected]>
2019-11-24 04:14:57 -08:00
display: flex;
align-items: center;
padding: 0 5px;
border-radius: 3px;
}
.legend-swatch {
width: 7px;
height: 7px;
Integrate beginning of React UI (#5694) * Initial commit from Create React App Signed-off-by: Julius Volz <[email protected]> * Initial Prometheus expression browser code Signed-off-by: Julius Volz <[email protected]> * Grpahing, try out echarts Signed-off-by: Julius Volz <[email protected]> * Switch to flot Signed-off-by: Julius Volz <[email protected]> * Add metrics fetching and stuff Signed-off-by: Julius Volz <[email protected]> * Autosuggest and graph improvements Signed-off-by: Julius Volz <[email protected]> * Start implementing graph controls, add loading spinner Signed-off-by: Julius Volz <[email protected]> * So many new features and fixes Signed-off-by: Julius Volz <[email protected]> * Fixed and built more features Signed-off-by: Julius Volz <[email protected]> * Make datetimepicker clear work Signed-off-by: Julius Volz <[email protected]> * Don't abort when executing empty expression Signed-off-by: Julius Volz <[email protected]> * Remove TabPaneAlert Signed-off-by: Julius Volz <[email protected]> * Split components into separate files Signed-off-by: Julius Volz <[email protected]> * Add table time input Signed-off-by: Julius Volz <[email protected]> * Move first files to TypeScript! Signed-off-by: Julius Volz <[email protected]> * More TypeScript conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS fixes Signed-off-by: Julius Volz <[email protected]> * Convert Graph to TS Signed-off-by: Julius Volz <[email protected]> * Changes Signed-off-by: Julius Volz <[email protected]> * Resize detector, start building legend, axis font colors Signed-off-by: Julius Volz <[email protected]> * Make graph legend work Signed-off-by: Julius Volz <[email protected]> * Add URL params support and much more Signed-off-by: Julius Volz <[email protected]> * Put panel state into panel list, write URL options Signed-off-by: Julius Volz <[email protected]> * Change order of Graph and Table tabs Signed-off-by: Julius Volz <[email protected]> * Generalize time input naming more Signed-off-by: Julius Volz <[email protected]> * Work on history functionality Signed-off-by: Julius Volz <[email protected]> * npm updates Signed-off-by: Julius Volz <[email protected]> * Move loading indicator into "Execute" button Signed-off-by: Julius Volz <[email protected]> * Fix typo Signed-off-by: Julius Volz <[email protected]> * Revert "Move loading indicator into "Execute" button" This reverts commit ce7daee1f1af35da6c0d8b5517272839285ccfec. Signed-off-by: Julius Volz <[email protected]> * Improve error message when failing to fetch server time Signed-off-by: Julius Volz <[email protected]> * Move all code to Prometheus repo target dir Signed-off-by: Julius Volz <[email protected]> * Add react-app Makefile step and check in generated assets Signed-off-by: Julius Volz <[email protected]> * Add preliminary npm packages notice to NOTICE file Signed-off-by: Julius Volz <[email protected]> * Update React app's favicon and metadata Signed-off-by: Julius Volz <[email protected]> * Remove RP server refs, cleanups Signed-off-by: Julius Volz <[email protected]> * Use CircleCI image that includes NodeJS Signed-off-by: Julius Volz <[email protected]> * Add some missing React output assets Signed-off-by: Julius Volz <[email protected]> * Preserve CRLF in generated React files Signed-off-by: Julius Volz <[email protected]> * Switch from npm to yarn for React UI Signed-off-by: Julius Volz <[email protected]> * Save npm licenses and include them in release tarball Signed-off-by: Julius Volz <[email protected]> * Install npm on Travis Signed-off-by: Julius Volz <[email protected]> * Remove npm license tarball from source Signed-off-by: Julius Volz <[email protected]> * Remove React graph bundle from source Signed-off-by: Julius Volz <[email protected]> * Don't check in any compiled web assets Signed-off-by: Julius Volz <[email protected]> * Update README.md with node/yarn/React UI info Signed-off-by: Julius Volz <[email protected]> * Fix asset build step on CircleCI promu crossbuild Signed-off-by: Julius Volz <[email protected]> * Try to fix multi-arch go generate Signed-off-by: Julius Volz <[email protected]> * Remove check_assets from Travis CI build Signed-off-by: Julius Volz <[email protected]> * Prevent rebuilding of unchanged React app parts Signed-off-by: Julius Volz <[email protected]> * Fix npm license tarball path for promu Signed-off-by: Julius Volz <[email protected]> * Simplify Makefile Signed-off-by: Julius Volz <[email protected]> * Clarify build instructions in README.md Signed-off-by: Julius Volz <[email protected]> * Make minimal JS test pass Signed-off-by: Julius Volz <[email protected]> * Integrate React app tests into Makefile Signed-off-by: Julius Volz <[email protected]> * Separate react-app-tests target, but run it from CI Signed-off-by: Julius Volz <[email protected]> * Fix working directory for React app tests Signed-off-by: Julius Volz <[email protected]> * Remove local modifications to Makefile.common This means that CircleCI will not run the React app tests, but at least Travis still will... Signed-off-by: Julius Volz <[email protected]> * Depend on node_modules path for npm_licenses target Signed-off-by: Julius Volz <[email protected]> * Simplify tarball/docker/build Makefile targets Signed-off-by: Julius Volz <[email protected]> * Include React tests in "test" target Signed-off-by: Julius Volz <[email protected]> * Remove reference to removed "check_assets" target Signed-off-by: Julius Volz <[email protected]> * Do initial resize of expression input field Signed-off-by: Julius Volz <[email protected]> * Add React app proxying to local Prometheus in dev mode Signed-off-by: Julius Volz <[email protected]>
2019-10-17 05:38:09 -07:00
outline-offset: 1px;
outline: 1.5px solid #ccc;
margin: 2px 8px 2px 0;
React UI: Graph legend (#6321) * initial commit Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * eslint fixes Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * hover bug fix Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * refactoring Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * remove unnecessary check Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * fix tests Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * lint fix https://github.com/prometheus/prometheus/issues/6268 Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * fix typos Fixes<https://github.com/prometheus/prometheus/issues/6268> Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * init hover events if can Fixes: <https://github.com/prometheus/prometheus/issues/6268> Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * review changes Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> * fix activeIndex bug Signed-off-by: Boyko Lalov <[email protected]> * extend plot options types Signed-off-by: Boyko Lalov <[email protected]> * adding more types Signed-off-by: blalov <[email protected]> * fix branch after wrong force push Signed-off-by: blalov <[email protected]> * unit test fixes Signed-off-by: blalov <[email protected]> * remove unused variables Signed-off-by: blalov <[email protected]>
2019-11-24 04:14:57 -08:00
display: inline-block;
}
.legend-item:hover {
background: rgba(0, 0, 0, 0.18);
Integrate beginning of React UI (#5694) * Initial commit from Create React App Signed-off-by: Julius Volz <[email protected]> * Initial Prometheus expression browser code Signed-off-by: Julius Volz <[email protected]> * Grpahing, try out echarts Signed-off-by: Julius Volz <[email protected]> * Switch to flot Signed-off-by: Julius Volz <[email protected]> * Add metrics fetching and stuff Signed-off-by: Julius Volz <[email protected]> * Autosuggest and graph improvements Signed-off-by: Julius Volz <[email protected]> * Start implementing graph controls, add loading spinner Signed-off-by: Julius Volz <[email protected]> * So many new features and fixes Signed-off-by: Julius Volz <[email protected]> * Fixed and built more features Signed-off-by: Julius Volz <[email protected]> * Make datetimepicker clear work Signed-off-by: Julius Volz <[email protected]> * Don't abort when executing empty expression Signed-off-by: Julius Volz <[email protected]> * Remove TabPaneAlert Signed-off-by: Julius Volz <[email protected]> * Split components into separate files Signed-off-by: Julius Volz <[email protected]> * Add table time input Signed-off-by: Julius Volz <[email protected]> * Move first files to TypeScript! Signed-off-by: Julius Volz <[email protected]> * More TypeScript conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS conversions Signed-off-by: Julius Volz <[email protected]> * More TS fixes Signed-off-by: Julius Volz <[email protected]> * Convert Graph to TS Signed-off-by: Julius Volz <[email protected]> * Changes Signed-off-by: Julius Volz <[email protected]> * Resize detector, start building legend, axis font colors Signed-off-by: Julius Volz <[email protected]> * Make graph legend work Signed-off-by: Julius Volz <[email protected]> * Add URL params support and much more Signed-off-by: Julius Volz <[email protected]> * Put panel state into panel list, write URL options Signed-off-by: Julius Volz <[email protected]> * Change order of Graph and Table tabs Signed-off-by: Julius Volz <[email protected]> * Generalize time input naming more Signed-off-by: Julius Volz <[email protected]> * Work on history functionality Signed-off-by: Julius Volz <[email protected]> * npm updates Signed-off-by: Julius Volz <[email protected]> * Move loading indicator into "Execute" button Signed-off-by: Julius Volz <[email protected]> * Fix typo Signed-off-by: Julius Volz <[email protected]> * Revert "Move loading indicator into "Execute" button" This reverts commit ce7daee1f1af35da6c0d8b5517272839285ccfec. Signed-off-by: Julius Volz <[email protected]> * Improve error message when failing to fetch server time Signed-off-by: Julius Volz <[email protected]> * Move all code to Prometheus repo target dir Signed-off-by: Julius Volz <[email protected]> * Add react-app Makefile step and check in generated assets Signed-off-by: Julius Volz <[email protected]> * Add preliminary npm packages notice to NOTICE file Signed-off-by: Julius Volz <[email protected]> * Update React app's favicon and metadata Signed-off-by: Julius Volz <[email protected]> * Remove RP server refs, cleanups Signed-off-by: Julius Volz <[email protected]> * Use CircleCI image that includes NodeJS Signed-off-by: Julius Volz <[email protected]> * Add some missing React output assets Signed-off-by: Julius Volz <[email protected]> * Preserve CRLF in generated React files Signed-off-by: Julius Volz <[email protected]> * Switch from npm to yarn for React UI Signed-off-by: Julius Volz <[email protected]> * Save npm licenses and include them in release tarball Signed-off-by: Julius Volz <[email protected]> * Install npm on Travis Signed-off-by: Julius Volz <[email protected]> * Remove npm license tarball from source Signed-off-by: Julius Volz <[email protected]> * Remove React graph bundle from source Signed-off-by: Julius Volz <[email protected]> * Don't check in any compiled web assets Signed-off-by: Julius Volz <[email protected]> * Update README.md with node/yarn/React UI info Signed-off-by: Julius Volz <[email protected]> * Fix asset build step on CircleCI promu crossbuild Signed-off-by: Julius Volz <[email protected]> * Try to fix multi-arch go generate Signed-off-by: Julius Volz <[email protected]> * Remove check_assets from Travis CI build Signed-off-by: Julius Volz <[email protected]> * Prevent rebuilding of unchanged React app parts Signed-off-by: Julius Volz <[email protected]> * Fix npm license tarball path for promu Signed-off-by: Julius Volz <[email protected]> * Simplify Makefile Signed-off-by: Julius Volz <[email protected]> * Clarify build instructions in README.md Signed-off-by: Julius Volz <[email protected]> * Make minimal JS test pass Signed-off-by: Julius Volz <[email protected]> * Integrate React app tests into Makefile Signed-off-by: Julius Volz <[email protected]> * Separate react-app-tests target, but run it from CI Signed-off-by: Julius Volz <[email protected]> * Fix working directory for React app tests Signed-off-by: Julius Volz <[email protected]> * Remove local modifications to Makefile.common This means that CircleCI will not run the React app tests, but at least Travis still will... Signed-off-by: Julius Volz <[email protected]> * Depend on node_modules path for npm_licenses target Signed-off-by: Julius Volz <[email protected]> * Simplify tarball/docker/build Makefile targets Signed-off-by: Julius Volz <[email protected]> * Include React tests in "test" target Signed-off-by: Julius Volz <[email protected]> * Remove reference to removed "check_assets" target Signed-off-by: Julius Volz <[email protected]> * Do initial resize of expression input field Signed-off-by: Julius Volz <[email protected]> * Add React app proxying to local Prometheus in dev mode Signed-off-by: Julius Volz <[email protected]>
2019-10-17 05:38:09 -07:00
}
.legend-metric-name {
margin-right: 1px;
}
.legend-label-name {
font-weight: bold;
}
.graph {
margin: 0 5px 0 5px;
}
.graph-chart {
height: 500px;
width: 100%;
/* This is picked up by Flot's axis label font renderer,
which ignores "color" and uses "fill" instead. */
fill: #495057;
font-size: 0.8em;
}
.graph-chart .flot-overlay {
cursor: crosshair;
}
.graph-tooltip {
background: rgba(0,0,0,.8);
color: #fff;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
white-space: nowrap;
padding: 8px;
border-radius: 3px;
}
.graph-tooltip .labels {
font-size: 11px;
line-height: 11px;
}
.graph-tooltip .detail-swatch {
display: inline-block;
width: 10px;
height: 10px;
}
.add-panel-btn {
margin-bottom: 20px;
}
React UI: Implement alerts page (#6402) * url filter rules param Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> Signed-off-by: blalov <[email protected]> * address review changes Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> Signed-off-by: blalov <[email protected]> * ui initial commit Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> Signed-off-by: blalov <[email protected]> * improve ui Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> Signed-off-by: blalov <[email protected]> * fix typo in component name Signed-off-by: Boyko Lalov <[email protected]> Signed-off-by: blalov <[email protected]> * create query link + ui enhancements Signed-off-by: Boyko Lalov <[email protected]> Signed-off-by: blalov <[email protected]> * add count to state labels Signed-off-by: blalov <[email protected]> * put alerts table render in the right place Signed-off-by: blalov <[email protected]> * refactoring Signed-off-by: blalov <[email protected]> * fix rules endpoint test Signed-off-by: blalov <[email protected]> * lint fixes Signed-off-by: blalov <[email protected]> * test query params Signed-off-by: blalov <[email protected]> * refactoring Signed-off-by: blalov <[email protected]> * review changes Signed-off-by: blalov <[email protected]> * adding down arrow as click indicator in Alert Signed-off-by: blalov <[email protected]> * add period at the end of the comment Signed-off-by: blalov <[email protected]> * review changes Signed-off-by: blalov <[email protected]> * remove left-over css Signed-off-by: blalov <[email protected]> * adding expand/collapse arrows on Alert Signed-off-by: blalov <[email protected]> * create proper expression for alert name Signed-off-by: blalov <[email protected]>
2019-12-09 14:42:59 -08:00
Adds support service discovery page in react ui (#6394) * active targets component completed Signed-off-by: Harkishen-Singh <[email protected]> * support for service-discovery in react ui Signed-off-by: Harkishen-Singh <[email protected]> * restored prev files Signed-off-by: Harkishen-Singh <[email protected]> * used fc Signed-off-by: Harkishen Singh <[email protected]> * removed trivial keys Signed-off-by: Harkishen Singh <[email protected]> * FC based labels Signed-off-by: Harkishen Singh <[email protected]> * implemented suggestions Signed-off-by: Harkishen Singh <[email protected]> * implemented suggestions Signed-off-by: Harkishen Singh <[email protected]> * implmented suggestions Signed-off-by: Harkishen Singh <[email protected]> * minor word change Signed-off-by: Harkishen Singh <[email protected]> * before dropped addressed Signed-off-by: Harkishen Singh <[email protected]> * implemented suggestions Signed-off-by: Harkishen Singh <[email protected]> * linted Signed-off-by: Harkishen Singh <[email protected]> * implemented suggestions Signed-off-by: Harkishen Singh <[email protected]> * implemented suggestions. removed false styles Signed-off-by: Harkishen Singh <[email protected]> * implemented suggestions. Unified buttons with targets screen. Signed-off-by: Harkishen Singh <[email protected]> * component for ToggleButton Signed-off-by: Harkishen Singh <[email protected]> * removed false Button Signed-off-by: Harkishen Singh <[email protected]> * implemented suggestions. Signed-off-by: Harkishen Singh <[email protected]> * tests for ToggleMoreLess component Signed-off-by: Harkishen Singh <[email protected]> * linted Signed-off-by: Harkishen Singh <[email protected]> * fixed nested h3. implemented suggestions Signed-off-by: Harkishen Singh <[email protected]> * linted Signed-off-by: Harkishen Singh <[email protected]>
2019-12-31 09:41:50 -08:00
.target-head {
font-weight: 700;
font-size: large;
}
React UI: Implement alerts page (#6402) * url filter rules param Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> Signed-off-by: blalov <[email protected]> * address review changes Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> Signed-off-by: blalov <[email protected]> * ui initial commit Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> Signed-off-by: blalov <[email protected]> * improve ui Signed-off-by: blalov <[email protected]> Signed-off-by: Boyko Lalov <[email protected]> Signed-off-by: blalov <[email protected]> * fix typo in component name Signed-off-by: Boyko Lalov <[email protected]> Signed-off-by: blalov <[email protected]> * create query link + ui enhancements Signed-off-by: Boyko Lalov <[email protected]> Signed-off-by: blalov <[email protected]> * add count to state labels Signed-off-by: blalov <[email protected]> * put alerts table render in the right place Signed-off-by: blalov <[email protected]> * refactoring Signed-off-by: blalov <[email protected]> * fix rules endpoint test Signed-off-by: blalov <[email protected]> * lint fixes Signed-off-by: blalov <[email protected]> * test query params Signed-off-by: blalov <[email protected]> * refactoring Signed-off-by: blalov <[email protected]> * review changes Signed-off-by: blalov <[email protected]> * adding down arrow as click indicator in Alert Signed-off-by: blalov <[email protected]> * add period at the end of the comment Signed-off-by: blalov <[email protected]> * review changes Signed-off-by: blalov <[email protected]> * remove left-over css Signed-off-by: blalov <[email protected]> * adding expand/collapse arrows on Alert Signed-off-by: blalov <[email protected]> * create proper expression for alert name Signed-off-by: blalov <[email protected]>
2019-12-09 14:42:59 -08:00
.status-badges {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
padding: 10px;
}
.badges-wrapper > span {
margin-right: 5px;
max-height: 20px;
}