feat(ui) - dashboard - report
|
|
@ -113,8 +113,10 @@ function DashboardView(props: Props) {
|
|||
<ItemMenu
|
||||
label="Options"
|
||||
items={[
|
||||
{ icon: 'filetype-pdf', text: 'Download Report', onClick: props.renderReport },
|
||||
{ icon: 'pdf-download', text: 'Download Report', onClick: props.renderReport },
|
||||
{ icon: 'pencil', text: 'Rename', onClick: onEdit },
|
||||
{ icon: 'text-paragraph', text: 'Add Description', onClick: onEdit },
|
||||
{ icon: 'users', text: 'Visibility & Access', onClick: onEdit },
|
||||
{ icon: 'trash', text: 'Delete', onClick: onDelete },
|
||||
]}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -28,11 +28,12 @@
|
|||
display: none;
|
||||
}
|
||||
|
||||
white-space: nowrap;
|
||||
z-index: 10;
|
||||
position: absolute;
|
||||
right: 31px;
|
||||
top: 18px;
|
||||
width: 150px;
|
||||
top: 27px;
|
||||
min-width: 150px;
|
||||
background-color: $white;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0px 1px 3px 0 $gray-light;
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-filetype-pdf" viewBox="0 0 16 16">
|
||||
<path fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5L14 4.5ZM1.6 11.85H0v3.999h.791v-1.342h.803c.287 0 .531-.057.732-.173.203-.117.358-.275.463-.474a1.42 1.42 0 0 0 .161-.677c0-.25-.053-.476-.158-.677a1.176 1.176 0 0 0-.46-.477c-.2-.12-.443-.179-.732-.179Zm.545 1.333a.795.795 0 0 1-.085.38.574.574 0 0 1-.238.241.794.794 0 0 1-.375.082H.788V12.48h.66c.218 0 .389.06.512.181.123.122.185.296.185.522Zm1.217-1.333v3.999h1.46c.401 0 .734-.08.998-.237a1.45 1.45 0 0 0 .595-.689c.13-.3.196-.662.196-1.084 0-.42-.065-.778-.196-1.075a1.426 1.426 0 0 0-.589-.68c-.264-.156-.599-.234-1.005-.234H3.362Zm.791.645h.563c.248 0 .45.05.609.152a.89.89 0 0 1 .354.454c.079.201.118.452.118.753a2.3 2.3 0 0 1-.068.592 1.14 1.14 0 0 1-.196.422.8.8 0 0 1-.334.252 1.298 1.298 0 0 1-.483.082h-.563v-2.707Zm3.743 1.763v1.591h-.79V11.85h2.548v.653H7.896v1.117h1.606v.638H7.896Z"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.1 KiB |
|
|
@ -1,3 +1,3 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-graph-up-arrow" viewBox="0 0 16 16">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="bi bi-graph-up-arrow" viewBox="0 0 16 16">
|
||||
<path fill-rule="evenodd" d="M0 0h1v15h15v1H0V0Zm10 3.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-1 0V4.9l-3.613 4.417a.5.5 0 0 1-.74.037L7.06 6.767l-3.656 5.027a.5.5 0 0 1-.808-.588l4-5.5a.5.5 0 0 1 .758-.06l2.609 2.61L13.445 4H10.5a.5.5 0 0 1-.5-.5Z"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 402 B After Width: | Height: | Size: 359 B |
|
|
@ -1,3 +1,3 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-hash" viewBox="0 0 16 16">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="bi bi-hash" viewBox="0 0 16 16">
|
||||
<path d="M8.39 12.648a1.32 1.32 0 0 0-.015.18c0 .305.21.508.5.508.266 0 .492-.172.555-.477l.554-2.703h1.204c.421 0 .617-.234.617-.547 0-.312-.188-.53-.617-.53h-.985l.516-2.524h1.265c.43 0 .618-.227.618-.547 0-.313-.188-.524-.618-.524h-1.046l.476-2.304a1.06 1.06 0 0 0 .016-.164.51.51 0 0 0-.516-.516.54.54 0 0 0-.539.43l-.523 2.554H7.617l.477-2.304c.008-.04.015-.118.015-.164a.512.512 0 0 0-.523-.516.539.539 0 0 0-.531.43L6.53 5.484H5.414c-.43 0-.617.22-.617.532 0 .312.187.539.617.539h.906l-.515 2.523H4.609c-.421 0-.609.219-.609.531 0 .313.188.547.61.547h.976l-.516 2.492c-.008.04-.015.125-.015.18 0 .305.21.508.5.508.265 0 .492-.172.554-.477l.555-2.703h2.242l-.515 2.492zm-1-6.109h2.266l-.515 2.563H6.859l.532-2.563z"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 855 B After Width: | Height: | Size: 812 B |
5
frontend/app/svg/icons/pdf-download.svg
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<svg viewBox="0 0 19 19" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M10.0938 5.24878C10.0938 5.09131 10.0312 4.94028 9.91986 4.82893C9.80851 4.71759 9.65749 4.65503 9.50002 4.65503C9.34255 4.65503 9.19152 4.71759 9.08017 4.82893C8.96882 4.94028 8.90627 5.09131 8.90627 5.24878V9.75297L7.54539 8.3909C7.49019 8.3357 7.42465 8.29191 7.35252 8.26203C7.2804 8.23216 7.20309 8.21678 7.12502 8.21678C7.04695 8.21678 6.96964 8.23216 6.89751 8.26203C6.82538 8.29191 6.75985 8.3357 6.70464 8.3909C6.64944 8.44611 6.60565 8.51165 6.57577 8.58377C6.54589 8.6559 6.53052 8.73321 6.53052 8.81128C6.53052 8.88935 6.54589 8.96666 6.57577 9.03878C6.60565 9.11091 6.64944 9.17645 6.70464 9.23165L9.07964 11.6067C9.1348 11.6619 9.20032 11.7058 9.27245 11.7358C9.34459 11.7657 9.42192 11.7811 9.50002 11.7811C9.57812 11.7811 9.65545 11.7657 9.72758 11.7358C9.79972 11.7058 9.86524 11.6619 9.92039 11.6067L12.2954 9.23165C12.3506 9.17645 12.3944 9.11091 12.4243 9.03878C12.4541 8.96666 12.4695 8.88935 12.4695 8.81128C12.4695 8.73321 12.4541 8.6559 12.4243 8.58377C12.3944 8.51165 12.3506 8.44611 12.2954 8.3909C12.2402 8.3357 12.1747 8.29191 12.1025 8.26203C12.0304 8.23216 11.9531 8.21678 11.875 8.21678C11.7969 8.21678 11.7196 8.23216 11.6475 8.26203C11.5754 8.29191 11.5098 8.3357 11.4546 8.3909L10.0938 9.75297V5.24878Z" />
|
||||
<path d="M16.625 16.625V5.34375L11.2812 0H4.75C4.12011 0 3.51602 0.250223 3.07062 0.695621C2.62522 1.14102 2.375 1.74511 2.375 2.375V16.625C2.375 17.2549 2.62522 17.859 3.07062 18.3044C3.51602 18.7498 4.12011 19 4.75 19H14.25C14.8799 19 15.484 18.7498 15.9294 18.3044C16.3748 17.859 16.625 17.2549 16.625 16.625ZM11.2812 3.5625C11.2812 4.03492 11.4689 4.48799 11.803 4.82203C12.137 5.15608 12.5901 5.34375 13.0625 5.34375H15.4375V16.625C15.4375 16.9399 15.3124 17.242 15.0897 17.4647C14.867 17.6874 14.5649 17.8125 14.25 17.8125H4.75C4.43506 17.8125 4.13301 17.6874 3.91031 17.4647C3.68761 17.242 3.5625 16.9399 3.5625 16.625V2.375C3.5625 2.06006 3.68761 1.75801 3.91031 1.53531C4.13301 1.31261 4.43506 1.1875 4.75 1.1875H11.2812V3.5625Z" />
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.58 13.49H3.42004V17.86H5.20894V14.348H6.61037C6.89179 14.348 7.1338 14.3995 7.33642 14.5024C7.54064 14.6053 7.69743 14.7468 7.80678 14.9269C7.91613 15.1054 7.9708 15.3096 7.9708 15.5396C7.9708 15.7663 7.91613 15.9641 7.80678 16.133C7.69743 16.3018 7.54064 16.4337 7.33642 16.5285C7.1338 16.6218 6.89179 16.6684 6.61037 16.6684H6.05559V17.86H8.42669V14.348H8.77404H9.27334H9.55556C9.79355 14.348 10.0114 14.389 10.2092 14.471C10.4086 14.5514 10.5807 14.6672 10.7254 14.8184C10.8718 14.9679 10.9843 15.1456 11.0631 15.3514C11.1435 15.5557 11.1837 15.7824 11.1837 16.0316V16.1788C11.1837 16.4264 11.1435 16.6532 11.0631 16.859C10.9843 17.0648 10.8726 17.2425 10.7278 17.3921C10.5831 17.5416 10.4119 17.6574 10.2141 17.7394C10.0211 17.8185 9.80952 17.8587 9.57924 17.86H11.6251V14.348H12.2306H12.4718H13.9745V15.0017H12.4718V15.8097H13.8371V16.461H12.4718V17.86H15.58V13.49ZM6.05559 15.0017V16.0148H6.61037C6.72937 16.0148 6.82586 15.9947 6.89983 15.9545C6.9738 15.9143 7.02767 15.8588 7.06144 15.788C7.09682 15.7157 7.11451 15.6345 7.11451 15.5444C7.11451 15.4479 7.09682 15.3587 7.06144 15.2767C7.02767 15.1946 6.9738 15.1287 6.89983 15.0789C6.82586 15.0274 6.72937 15.0017 6.61037 15.0017H6.05559ZM9.56762 17.2088H9.27334V15.0017H9.55556C9.67938 15.0017 9.78873 15.0234 9.88361 15.0668C9.98009 15.1102 10.0605 15.1753 10.1248 15.2622C10.1891 15.3474 10.2374 15.4543 10.2695 15.583C10.3033 15.71 10.3202 15.858 10.3202 16.0268V16.1788C10.3202 16.4039 10.2904 16.5937 10.231 16.748C10.1731 16.9008 10.0878 17.0158 9.97527 17.093C9.86431 17.1702 9.72843 17.2088 9.56762 17.2088Z" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.6 KiB |
|
|
@ -1,3 +1,3 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-table" viewBox="0 0 16 16">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="bi bi-table" viewBox="0 0 16 16">
|
||||
<path d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2zm15 2h-4v3h4V4zm0 4h-4v3h4V8zm0 4h-4v3h3a1 1 0 0 0 1-1v-2zm-5 3v-3H6v3h4zm-5 0v-3H1v2a1 1 0 0 0 1 1h3zm-4-4h4V8H1v3zm0-4h4V4H1v3zm5-3v3h4V4H6zm4 4H6v3h4V8z"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 371 B After Width: | Height: | Size: 328 B |
3
frontend/app/svg/icons/text-paragraph.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-text-paragraph" viewBox="0 0 16 16">
|
||||
<path fill-rule="evenodd" d="M2 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm4-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 417 B |