@ -5,8 +5,8 @@ const pictures = ['jpg','jpeg','png','tif','tiff','ico','bmp','gif','eps','raw']
const videos = [ 'avi' , 'mp4' , 'mov' , 'wmv' , 'webm' , 'mkv' , '3gp' ] ;
const videos = [ 'avi' , 'mp4' , 'mov' , 'wmv' , 'webm' , 'mkv' , '3gp' ] ;
const pdfs = [ 'pdf' ] ;
const pdfs = [ 'pdf' ] ;
const documents = [ 'doc' , 'docx' , 'txt' , 'odt' , 'ppt' , 'pptx' ] ;
const documents = [ 'doc' , 'docx' , 'txt' , 'odt' , 'ppt' , 'pptx' ] ;
const spreadsheets = [ 'ods' , 'xls' , 'xlsx' ] ;
const spreadsheets = [ 'ods' , 'xls' , 'xlsx' , 'csv' ] ;
const zip = [ 'zip' , 'zipx' , 'rar' ]
frappe . query_reports [ "_File Structure" ] = {
frappe . query_reports [ "_File Structure" ] = {
"filters" : [
"filters" : [
@ -17,72 +17,83 @@ frappe.query_reports["_File Structure"] = {
if ( data && column . fieldname == "filename" && data . folder == 0 ) {
if ( data && column . fieldname == "filename" && data . folder == 0 ) {
if ( data . private == 1 ) {
if ( data . private == 1 ) {
if ( pictures . includes ( data . fileformat ) ) {
if ( pictures . includes ( data . fileformat ) ) {
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 40 40">
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28.24 35.667">
< g id = "Image" transform = "translate(-2584 -2277)" >
< g id = "image" transform = "translate(-1556 -3572)" >
< rect id = "Rectangle_1711" data - name = "Rectangle 1711" width = "40" height = "40" transform = "translate(2584 2277)" fill = "none" / >
< path id = "Path_25" data - name = "Path 25" d = "M314.128,26.861h-9.14c-.4,0-.57-.089-.515-.515a3.327,3.327,0,0,0,0-.956c-.2-1.011.441-1.581,1.086-2.188,1.011-.956,1.986-1.95,2.96-2.943.294-.294.46-.332.754,0,.46.514.975.974,1.453,1.471.257.294.441.258.7,0,2.1-2.114,4.193-4.193,6.289-6.308.276-.276.4-.294.7,0,1.655,1.673,3.347,3.329,5.039,4.984a1.051,1.051,0,0,1,.35.846c-.019,1.692-.019,3.366,0,5.058,0,.422-.09.57-.552.57-3.052-.019-6.087-.019-9.122-.019" transform = "translate(1256 3572)" fill = "#bababa" / >
< path id = "folder_icon" data - name = "folder icon" d = "M95.845,122.5H81.811a3.856,3.856,0,0,1-3.837-3.144,4.1,4.1,0,0,1-.074-.792V99.036A3.853,3.853,0,0,1,81.836,95.1h9.133a3.855,3.855,0,0,1,2.723,1.064c.594.569,1.213,1.114,1.807,1.683a2.238,2.238,0,0,0,1.683.668h12.7a3.853,3.853,0,0,1,3.886,3.292,5.215,5.215,0,0,1,.049.619v16.188a3.857,3.857,0,0,1-3.911,3.911C105.2,122.5,100.523,122.5,95.845,122.5Zm0-2h13.935a1.887,1.887,0,0,0,2.054-2.054c0-5.3-.025-10.594.025-15.891a1.988,1.988,0,0,0-2.079-2.079c-4.233.025-8.44.025-12.673.025a3.872,3.872,0,0,1-2.747-1.064L92.4,97.625a1.993,1.993,0,0,0-1.361-.52H81.885a2.266,2.266,0,0,0-.421.025,1.862,1.862,0,0,0-1.485,1.931v19.653a1.856,1.856,0,0,0,.817,1.46,1.984,1.984,0,0,0,1.238.322Z" transform = "translate(2508.143 2188.188)" fill = "#aaaaaa" / >
< path id = "Path_26" data - name = "Path 26" d = "M307.136,12.994a2.465,2.465,0,0,1,2.578,2.347,2.669,2.669,0,0,1,0,.283,2.6,2.6,0,0,1-2.648,2.538,2.7,2.7,0,0,1-2.607-2.648,2.591,2.591,0,0,1,2.659-2.521h.021" transform = "translate(1256 3572)" fill = "#bababa" / >
< path id = "Path_2926" data - name = "Path 2926" d = "M112.744,139.881H102.513c-.453,0-.638-.1-.576-.576a3.73,3.73,0,0,0,0-1.07c-.226-1.132.494-1.77,1.215-2.45,1.132-1.07,2.223-2.182,3.314-3.294.329-.329.515-.371.844,0,.515.576,1.091,1.091,1.626,1.647.288.329.494.288.782,0,2.347-2.367,4.694-4.694,7.04-7.061.309-.309.453-.329.782,0,1.853,1.873,3.747,3.726,5.641,5.579a1.175,1.175,0,0,1,.391.947c-.021,1.894-.021,3.767,0,5.661,0,.473-.1.638-.618.638C119.538,139.881,116.141,139.881,112.744,139.881Z" transform = "translate(2490.793 2165.386)" fill = "#606060" / >
< path id = "Path_27" data - name = "Path 27" d = "M325.745,34.667h-23.25A1.5,1.5,0,0,1,301,33.172V2.495A1.5,1.5,0,0,1,302.495,1h19.56l5.185,5.186V33.172A1.5,1.5,0,0,1,325.745,34.667Z" transform = "translate(1256 3572)" fill = "none" stroke = "#bababa" stroke - miterlimit = "10" stroke - width = "2" / >
< path id = "Path_2927" data - name = "Path 2927" d = "M105,114.71a2.759,2.759,0,0,1,2.882,2.944,2.914,2.914,0,0,1-2.964,2.841A3.025,3.025,0,0,1,102,117.531,2.9,2.9,0,0,1,105,114.71Z" transform = "translate(2490.71 2175.035)" fill = "#606060" / >
< / g >
< / g >
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
} else if ( pdfs . includes ( data . fileformat ) ) {
} else if ( pdfs . includes ( data . fileformat ) ) {
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 40 40">
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28.24 35.667">
< g id = "Pdf" transform = "translate(-2581 -2115)" >
< g id = "pdf" transform = "translate(-1496 -3572)" >
< rect id = "Rectangle_1708" data - name = "Rectangle 1708" width = "40" height = "40" transform = "translate(2581 2115)" fill = "none" / >
< path id = "Path_23" data - name = "Path 23" d = "M253.244,12.639a1.527,1.527,0,0,0,.069,2.057c.6-1.34-.046-2.057-.069-2.057m.393,5.431A44.428,44.428,0,0,1,251.9,22.9a32.847,32.847,0,0,1,4.206-1.294,23.672,23.672,0,0,1-2.473-3.536m4.853,4.206c.532.393.647.6.994.6a.82.82,0,0,0,.924-.555c-.069-.046-.185-.116-.763-.116a10.159,10.159,0,0,0-1.156.069m-8.851,2.843c-1.387.763-1.941,1.41-1.988,1.756,0,.069-.023.208.277.439.116-.023.67-.277,1.71-2.2m-1.71,3.282a1.012,1.012,0,0,1-.624-.208,1.54,1.54,0,0,1-.716-1.433c.116-1.04,1.433-2.126,3.883-3.236a42.9,42.9,0,0,0,2.45-6.887c-.647-1.387-1.271-3.189-.809-4.252a1.309,1.309,0,0,1,.74-.786,3.16,3.16,0,0,1,.647-.116c.347,0,.67.416.832.67a2.625,2.625,0,0,1,.254,1.618c-.046.532-.139,1.063-.231,1.6-.069.393-.162.763-.254,1.156a19.7,19.7,0,0,0,3.3,4.83,13.9,13.9,0,0,1,2.172-.231c1.017,0,1.641.231,1.872.716a1.284,1.284,0,0,1-.254,1.387,1.7,1.7,0,0,1-1.433.763,4.3,4.3,0,0,1-2.727-1.456,31.169,31.169,0,0,0-5.731,1.8,18.748,18.748,0,0,1-1.548,2.727c-.693.9-1.271,1.34-1.826,1.34" transform = "translate(1256 3572)" fill = "#bababa" / >
< path id = "folder_icon" data - name = "folder icon" d = "M95.845,122.5H81.811a3.856,3.856,0,0,1-3.837-3.144,4.1,4.1,0,0,1-.074-.792V99.036A3.853,3.853,0,0,1,81.836,95.1h9.133a3.855,3.855,0,0,1,2.723,1.064c.594.569,1.213,1.114,1.807,1.683a2.238,2.238,0,0,0,1.683.668h12.7a3.853,3.853,0,0,1,3.886,3.292,5.215,5.215,0,0,1,.049.619v16.188a3.857,3.857,0,0,1-3.911,3.911C105.2,122.5,100.523,122.5,95.845,122.5Zm0-2h13.935a1.887,1.887,0,0,0,2.054-2.054c0-5.3-.025-10.594.025-15.891a1.988,1.988,0,0,0-2.079-2.079c-4.233.025-8.44.025-12.673.025a3.872,3.872,0,0,1-2.747-1.064L92.4,97.625a1.993,1.993,0,0,0-1.361-.52H81.885a2.266,2.266,0,0,0-.421.025,1.862,1.862,0,0,0-1.485,1.931v19.653a1.856,1.856,0,0,0,.817,1.46,1.984,1.984,0,0,0,1.238.322Z" transform = "translate(2505.1 2025.9)" fill = "#aaaaaa" / >
< path id = "Path_24" data - name = "Path 24" d = "M265.745,34.667h-23.25A1.5,1.5,0,0,1,241,33.172V2.495A1.5,1.5,0,0,1,242.495,1h19.56l5.185,5.186V33.172A1.5,1.5,0,0,1,265.745,34.667Z" transform = "translate(1256 3572)" fill = "none" stroke = "#bababa" stroke - miterlimit = "10" stroke - width = "2" / >
< path id = "Path_2419" d = "M195.339,89.256a1.526,1.526,0,0,0,.069,2.057c.6-1.34-.046-2.057-.069-2.057m.393,5.431A44.493,44.493,0,0,1,194,99.517a32.789,32.789,0,0,1,4.206-1.294,23.631,23.631,0,0,1-2.473-3.536m4.853,4.206c.532.393.647.6.994.6a.82.82,0,0,0,.924-.555c-.069-.046-.185-.116-.763-.116a9.987,9.987,0,0,0-1.156.069m-8.851,2.843c-1.387.763-1.941,1.41-1.988,1.756,0,.069-.023.208.277.439.116-.023.67-.277,1.71-2.2m-1.71,3.282a1.014,1.014,0,0,1-.624-.208,1.539,1.539,0,0,1-.716-1.433c.116-1.04,1.433-2.126,3.883-3.236a42.827,42.827,0,0,0,2.45-6.887c-.647-1.387-1.271-3.189-.809-4.252a1.307,1.307,0,0,1,.74-.786,3.174,3.174,0,0,1,.647-.116c.347,0,.67.416.832.67a2.622,2.622,0,0,1,.254,1.618c-.046.532-.139,1.063-.231,1.595-.069.393-.162.763-.254,1.156a19.686,19.686,0,0,0,3.3,4.83,13.865,13.865,0,0,1,2.172-.231c1.017,0,1.641.231,1.872.716a1.284,1.284,0,0,1-.254,1.387,1.706,1.706,0,0,1-1.433.763,4.3,4.3,0,0,1-2.727-1.456,31.135,31.135,0,0,0-5.731,1.8,18.771,18.771,0,0,1-1.548,2.727c-.693.9-1.271,1.34-1.826,1.34" transform = "translate(2404.322 2039.9)" fill = "#606060" / >
< / g >
< / g >
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
} else if ( spreadsheets . includes ( data . fileformat ) ) {
} else if ( spreadsheets . includes ( data . fileformat ) ) {
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 40 40 ">
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28.24 35.667 ">
< g id = "Other " transform = "translate(-2581 -2384 )" >
< g id = "spreadsheet " transform = "translate(-1316 -3572 )" >
< rect id = "Rectangle_1713 " data - name = "Rectangle 1713" width = "40" height = "40" transform = "translate(2581 2384)" fill = "none " / >
< path id = "Path_14 " data - name = "Path 14" d = "M85.745,34.667H62.495A1.5,1.5,0,0,1,61,33.172V2.495A1.5,1.5,0,0,1,62.495,1h19.56L87.24,6.186V33.172A1.5,1.5,0,0,1,85.745,34.667Z" transform = "translate(1256 3572)" fill = "none" stroke = "#bababa" stroke - miterlimit = "10" stroke - width = "2 " / >
< path id = "folder_icon " data - name = "folder icon" d = "M95.845,122.5H81.811a3.856,3.856,0,0,1-3.837-3.144,4.1,4.1,0,0,1-.074-.792V99.036A3.853,3.853,0,0,1,81.836,95.1h9.133a3.855,3.855,0,0,1,2.723,1.064c.594.569,1.213,1.114,1.807,1.683a2.238,2.238,0,0,0,1.683.668h12.7a3.853,3.853,0,0,1,3.886,3.292,5.215,5.215,0,0,1,.049.619v16.188a3.857,3.857,0,0,1-3.911,3.911C105.2,122.5,100.523,122.5,95.845,122.5Zm0-2h13.935a1.887,1.887,0,0,0,2.054-2.054c0-5.3-.025-10.594.025-15.891a1.988,1.988,0,0,0-2.079-2.079c-4.233.025-8.44.025-12.673.025a3.872,3.872,0,0,1-2.747-1.064L92.4,97.625a1.993,1.993,0,0,0-1.361-.52H81.885a2.266,2.266,0,0,0-.421.025,1.862,1.862,0,0,0-1.485,1.931v19.653a1.856,1.856,0,0,0,.817,1.46,1.984,1.984,0,0,0,1.238.322Z" transform = "translate(2505.143 2296.188)" fill = "#aaaaaa " / >
< rect id = "Rectangle_9 " data - name = "Rectangle 9" width = "18.008" height = "13.323" transform = "translate(1321.116 3585.274)" fill = "none" stroke = "#bababa" stroke - miterlimit = "10" stroke - width = "1.5 " / >
< g id = "apps_black_24dp_1_ " data - name = "apps_black_24dp (1) " transform = "translate(2590.12 2395.12)" >
< line id = "Line_4 " data - name = "Line 4" x2 = "18.008 " transform = "translate(1321.116 3594.156)" fill = "none" stroke = "#bababa" stroke - miterlimit = "10" stroke - width = "1.5" / >
< path id = "Path_2930 " data - name = "Path 2930" d = "M0,0H21.76V21.76H0Z " fill = "none" / >
< line id = "Line_5 " data - name = "Line 5" x2 = "18.008" transform = "translate(1321.116 3589.715) " fill = "none" stroke = "#bababa" stroke - miterlimit = "10" stroke - width = "1.5 " / >
< path id = "Path_2931 " data - name = "Path 2931" d = "M4,7.627H7.627V4H4Zm5.44,10.88h3.627V14.88H9.44Zm-5.44,0H7.627V14.88H4Zm0-5.44H7.627V9.44H4Zm5.44,0h3.627V9.44H9.44ZM14.88,4V7.627h3.627V4ZM9.44,7.627h3.627V4H9.44Zm5.44,5.44h3.627V9.44H14.88Zm0,5.44h3.627V14.88H14.88Z" transform = "translate(-0.373 -0.373)" fill = "#606060 " / >
< line id = "Line_6 " data - name = "Line 6" y2 = "13.323" transform = "translate(1333.121 3585.274)" fill = "none" stroke = "#bababa" stroke - miterlimit = "10" stroke - width = "1.5 " / >
< / g >
< line id = "Line_7" data - name = "Line 7" y2 = "13.323" transform = "translate(1327.119 3585.274)" fill = "none" stroke = "#bababa" stroke - miterlimit = "10" stroke - width = "1.5" / >
< / g >
< / g >
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
} else if ( documents . includes ( data . fileformat ) ) {
} else if ( documents . includes ( data . fileformat ) ) {
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 40 40">
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28.24 35.667">
< g id = "Text" transform = "translate(-2584 -2223)" >
< g id = "text" transform = "translate(-1256 -3572)" >
< rect id = "Rectangle_1710" data - name = "Rectangle 1710" width = "40" height = "40" transform = "translate(2584 2223)" fill = "none" / >
< path id = "Path_8" data - name = "Path 8" d = "M12.616,14.225a15.577,15.577,0,0,0-1.588.009,2.534,2.534,0,0,0-2.159,2.293c-.054.259-.107.473-.473.321V13.609H19.843v3.256c-.036.036-.071.062-.107.1-.116-.116-.25-.223-.357-.348a.723.723,0,0,1-.08-.2c-.669-2.114-1.8-2.355-3.64-2.177-.009.134-.027.277-.027.419v9.5c0,.161.009.33.009.491.036.9.41,1.285,1.312,1.32a.643.643,0,0,1,.223.009,1.973,1.973,0,0,1,.259.152,1.522,1.522,0,0,1-.232.125c-.036.018-.089,0-.134,0q-2.945,0-5.888-.009a1.21,1.21,0,0,1-.375-.125,1.409,1.409,0,0,1,.384-.161c.981-.054,1.32-.366,1.41-1.347.018-.2.018-.419.018-.625v-9.76Z" transform = "translate(1256 3572)" fill = "#bababa" / >
< g id = "txt_icon" data - name = "txt icon" transform = "translate(2545.684 2180.6)" >
< path id = "Path_9" data - name = "Path 9" d = "M5.7,14.181H5.1V11.5h2.65v.562H5.7Z" transform = "translate(1256 3572)" fill = "#bababa" / >
< path id = "Path_2917" data - name = "Path 2917" d = "M90.22,80.216a15.563,15.563,0,0,0-1.588.009,2.535,2.535,0,0,0-2.159,2.293c-.054.259-.107.473-.473.321V79.6H97.447v3.256c-.036.036-.071.062-.107.1-.116-.116-.25-.223-.357-.348a.7.7,0,0,1-.08-.205c-.669-2.114-1.8-2.355-3.64-2.177-.009.134-.027.277-.027.419v9.5c0,.161.009.33.009.491.036.9.41,1.285,1.312,1.32a.626.626,0,0,1,.223.009,1.949,1.949,0,0,1,.259.152,1.475,1.475,0,0,1-.232.125c-.036.018-.089,0-.134,0q-2.944,0-5.888-.009a1.236,1.236,0,0,1-.375-.125,1.407,1.407,0,0,1,.384-.161c.981-.054,1.32-.366,1.41-1.347.018-.205.018-.419.018-.625v-9.76Z" transform = "translate(-33.881 -21.586)" fill = "#aaaaaa" / >
< path id = "Path_10" data - name = "Path 10" d = "M5.077,28.376V25.7h.58v2.07H7.736v.6c-.875.007-1.749.007-2.659.007" transform = "translate(1256 3572)" fill = "#bababa" / >
< path id = "Path_2918" data - name = "Path 2918" d = "M49.6,58.677H49V56h2.65v.562H49.6Z" transform = "translate(-0.182 -0.091)" fill = "#606060" / >
< path id = "Path_11" data - name = "Path 11" d = "M23.153,14.189h-.541V12.084h-2.1v-.589h2.65c-.009.91-.009,1.793-.009,2.694" transform = "translate(1256 3572)" fill = "#bababa" / >
< path id = "Path_2919" data - name = "Path 2919" d = "M48.8,217.777V215.1h.58v2.07h2.079v.6C50.584,217.777,49.71,217.777,48.8,217.777Z" transform = "translate(0 -144.996)" fill = "#606060" / >
< path id = "Path_12" data - name = "Path 12" d = "M22.582,25.7h.58v2.677h-2.65V27.8h2.07Z" transform = "translate(1256 3572)" fill = "#bababa" / >
< path id = "Path_2920" data - name = "Path 2920" d = "M224.441,58.594H223.9V56.489h-2.1V55.9h2.65C224.441,56.81,224.441,57.693,224.441,58.594Z" transform = "translate(-157.565)" fill = "#606060" / >
< path id = "Path_13" data - name = "Path 13" d = "M25.745,34.667H2.495A1.5,1.5,0,0,1,1,33.172V2.495A1.5,1.5,0,0,1,2.495,1h19.56L27.24,6.186V33.172A1.5,1.5,0,0,1,25.745,34.667Z" transform = "translate(1256 3572)" fill = "none" stroke = "#bababa" stroke - miterlimit = "10" stroke - width = "2" / >
< path id = "Path_2921" data - name = "Path 2921" d = "M223.87,215.1h.58v2.677H221.8v-.58h2.07Z" transform = "translate(-157.565 -144.996)" fill = "#606060" / >
< / g >
< path id = "folder_icon" data - name = "folder icon" d = "M95.845,122.5H81.811a3.856,3.856,0,0,1-3.837-3.144,4.1,4.1,0,0,1-.074-.792V99.036A3.853,3.853,0,0,1,81.836,95.1h9.133a3.855,3.855,0,0,1,2.723,1.064c.594.569,1.213,1.114,1.807,1.683a2.238,2.238,0,0,0,1.683.668h12.7a3.853,3.853,0,0,1,3.886,3.292,5.215,5.215,0,0,1,.049.619v16.188a3.857,3.857,0,0,1-3.911,3.911C105.2,122.5,100.523,122.5,95.845,122.5Zm0-2h13.935a1.887,1.887,0,0,0,2.054-2.054c0-5.3-.025-10.594.025-15.891a1.988,1.988,0,0,0-2.079-2.079c-4.233.025-8.44.025-12.673.025a3.872,3.872,0,0,1-2.747-1.064L92.4,97.625a1.993,1.993,0,0,0-1.361-.52H81.885a2.266,2.266,0,0,0-.421.025,1.862,1.862,0,0,0-1.485,1.931v19.653a1.856,1.856,0,0,0,.817,1.46,1.984,1.984,0,0,0,1.238.322Z" transform = "translate(2508.143 2134.188)" fill = "#aaaaaa" / >
< / g >
< / g >
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
} else if ( videos . includes ( data . fileformat ) ) {
} else if ( videos . includes ( data . fileformat ) ) {
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 40 40">
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28.24 35.667">
< g id = "Video" transform = "translate(-2584 -2330)" >
< g id = "video" transform = "translate(-1436 -3572)" >
< rect id = "Rectangle_1712" data - name = "Rectangle 1712" width = "40" height = "40" transform = "translate(2584 2330)" fill = "none" / >
< path id = "Path_20" data - name = "Path 20" d = "M205.745,34.667h-23.25A1.5,1.5,0,0,1,181,33.172V2.495A1.5,1.5,0,0,1,182.495,1h19.56l5.185,5.186V33.172A1.5,1.5,0,0,1,205.745,34.667Z" transform = "translate(1256 3572)" fill = "none" stroke = "#bababa" stroke - miterlimit = "10" stroke - width = "2" / >
< g id = "vid_icon" data - name = "vid icon" transform = "translate(2502.8 2244.175)" >
< path id = "Path_21" data - name = "Path 21" d = "M191.622,26.043h-4.84a2.211,2.211,0,0,1-2.471-1.916,2.184,2.184,0,0,1,0-.542V15.75a2.2,2.2,0,0,1,2.474-2.458q4.84-.022,9.679,0a2.153,2.153,0,0,1,2.443,1.817,2.188,2.188,0,0,1,0,.626V23.57a2.158,2.158,0,0,1-2.443,2.458c-1.614.027-3.227.015-4.84.015m-3-6.391c0,1.029-.015,2.043.015,3.073a1,1,0,0,0,.246.737c.154.092.522-.061.722-.2,1.49-1,2.965-2.013,4.44-3.027.707-.492.722-.691.015-1.152-1.506-1.029-3-2.043-4.517-3.042-.184-.123-.522-.261-.661-.184a.894.894,0,0,0-.246.661c-.027,1.045-.01,2.089-.01,3.137Z" transform = "translate(1256 3572)" fill = "#bababa" / >
< path id = "Path_2922" data - name = "Path 2922" d = "M98.513,112.588h-4.84A2.211,2.211,0,0,1,91.2,110.13v-7.835a2.2,2.2,0,0,1,2.474-2.458q4.84-.023,9.679,0a2.153,2.153,0,0,1,2.443,2.443v7.835a2.158,2.158,0,0,1-2.443,2.458C101.739,112.6,100.126,112.588,98.513,112.588Zm-3-6.391c0,1.029-.015,2.043.015,3.073a1,1,0,0,0,.246.737c.154.092.522-.061.722-.2,1.49-1,2.965-2.013,4.44-3.027.707-.492.722-.691.015-1.152-1.506-1.029-3-2.043-4.517-3.042-.184-.123-.522-.261-.661-.184a.893.893,0,0,0-.246.661C95.5,104.108,95.517,105.152,95.517,106.2Z" fill = "#606060" / >
< path id = "Path_22" data - name = "Path 22" d = "M203.944,19.683c0,1.26.015,2.5-.015,3.764a1,1,0,0,1-.307.784.957.957,0,0,1-.814-.154c-1.029-.676-2.059-1.352-3.027-2.1a1.614,1.614,0,0,1-.507-1c-.077-.676.031-1.383-.031-2.074a1.7,1.7,0,0,1,.922-1.828c.922-.553,1.767-1.214,2.673-1.8a1.158,1.158,0,0,1,.83-.154c.169.061.261.461.277.722Z" transform = "translate(1256 3572)" fill = "#bababa" / >
< path id = "Path_2923" data - name = "Path 2923" d = "M193.007,116.21c0,1.26.015,2.5-.015,3.764a1,1,0,0,1-.307.784.955.955,0,0,1-.814-.154c-1.029-.676-2.059-1.352-3.027-2.1a1.61,1.61,0,0,1-.507-1c-.077-.676.031-1.383-.031-2.074a1.7,1.7,0,0,1,.922-1.828c.922-.553,1.767-1.214,2.673-1.8a1.16,1.16,0,0,1,.83-.154c.169.061.261.461.277.722Z" transform = "translate(-82.172 -9.982)" fill = "#606060" / >
< / g >
< / g >
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
< path id = "folder_icon" data - name = "folder icon" d = "M95.845,122.5H81.811a3.856,3.856,0,0,1-3.837-3.144,4.1,4.1,0,0,1-.074-.792V99.036A3.853,3.853,0,0,1,81.836,95.1h9.133a3.855,3.855,0,0,1,2.723,1.064c.594.569,1.213,1.114,1.807,1.683a2.238,2.238,0,0,0,1.683.668h12.7a3.853,3.853,0,0,1,3.886,3.292,5.215,5.215,0,0,1,.049.619v16.188a3.857,3.857,0,0,1-3.911,3.911C105.2,122.5,100.523,122.5,95.845,122.5Zm0-2h13.935a1.887,1.887,0,0,0,2.054-2.054c0-5.3-.025-10.594.025-15.891a1.988,1.988,0,0,0-2.079-2.079c-4.233.025-8.44.025-12.673.025a3.872,3.872,0,0,1-2.747-1.064L92.4,97.625a1.993,1.993,0,0,0-1.361-.52H81.885a2.266,2.266,0,0,0-.421.025,1.862,1.862,0,0,0-1.485,1.931v19.653a1.856,1.856,0,0,0,.817,1.46,1.984,1.984,0,0,0,1.238.322Z" transform = "translate(2508.1 2240.9)" fill = "#aaaaaa" / >
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
} else if ( zip . includes ( data . fileformat ) ) {
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="28.24" height="35.667" viewBox="0 0 28.24 35.667">
< g id = "zip" transform = "translate(-1616 -3572)" >
< path id = "Path_28" data - name = "Path 28" d = "M385.745,34.667h-23.25A1.5,1.5,0,0,1,361,33.172V2.495A1.5,1.5,0,0,1,362.495,1h19.56l5.185,5.186V33.172A1.5,1.5,0,0,1,385.745,34.667Z" transform = "translate(1256 3572)" fill = "none" stroke = "#bababa" stroke - miterlimit = "10" stroke - width = "2" / >
< rect id = "Rectangle_15" data - name = "Rectangle 15" width = "2.917" height = "1.944" transform = "translate(1628.175 3601.806)" fill = "#bababa" / >
< rect id = "Rectangle_16" data - name = "Rectangle 16" width = "2.917" height = "1.944" transform = "translate(1628.175 3597.806)" fill = "#bababa" / >
< rect id = "Rectangle_17" data - name = "Rectangle 17" width = "2.917" height = "1.944" transform = "translate(1628.175 3593.806)" fill = "#bababa" / >
< rect id = "Rectangle_18" data - name = "Rectangle 18" width = "2.917" height = "1.944" transform = "translate(1628.175 3589.806)" fill = "#bababa" / >
< rect id = "Rectangle_19" data - name = "Rectangle 19" width = "2.917" height = "1.944" transform = "translate(1628.175 3585.806)" fill = "#bababa" / >
< rect id = "Rectangle_20" data - name = "Rectangle 20" width = "2.917" height = "1.944" transform = "translate(1628.175 3581.806)" fill = "#bababa" / >
< rect id = "Rectangle_21" data - name = "Rectangle 21" width = "2.917" height = "1.944" transform = "translate(1628.175 3577.806)" fill = "#bababa" / >
< rect id = "Rectangle_22" data - name = "Rectangle 22" width = "2.917" height = "1.944" transform = "translate(1628.175 3573.806)" fill = "#bababa" / >
< rect id = "Rectangle_23" data - name = "Rectangle 23" width = "2.917" height = "1.944" transform = "translate(1631.092 3603.751)" fill = "#bababa" / >
< rect id = "Rectangle_24" data - name = "Rectangle 24" width = "2.917" height = "1.944" transform = "translate(1631.092 3599.751)" fill = "#bababa" / >
< rect id = "Rectangle_25" data - name = "Rectangle 25" width = "2.917" height = "1.944" transform = "translate(1631.092 3595.751)" fill = "#bababa" / >
< rect id = "Rectangle_26" data - name = "Rectangle 26" width = "2.917" height = "1.944" transform = "translate(1631.092 3591.751)" fill = "#bababa" / >
< rect id = "Rectangle_27" data - name = "Rectangle 27" width = "2.917" height = "1.944" transform = "translate(1631.092 3587.751)" fill = "#bababa" / >
< rect id = "Rectangle_28" data - name = "Rectangle 28" width = "2.917" height = "1.944" transform = "translate(1631.092 3583.751)" fill = "#bababa" / >
< rect id = "Rectangle_29" data - name = "Rectangle 29" width = "2.917" height = "1.944" transform = "translate(1631.092 3579.751)" fill = "#bababa" / >
< rect id = "Rectangle_30" data - name = "Rectangle 30" width = "2.917" height = "1.944" transform = "translate(1631.092 3575.751)" fill = "#bababa" / >
< / g >
< / g >
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
} else {
} else {
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 40 40">
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28.24 35.667">
< g id = "Spreadsheet" transform = "translate(-2581 -2169)" >
< g id = "othersupport" transform = "translate(-1796 -3572)" >
< rect id = "Rectangle_1709" data - name = "Rectangle 1709" width = "40" height = "40" transform = "translate(2581 2169)" fill = "none" / >
< path id = "Path_37" data - name = "Path 37" d = "M565.745,34.667h-23.25A1.5,1.5,0,0,1,541,33.172V2.495A1.5,1.5,0,0,1,542.495,1h19.56l5.185,5.186V33.172A1.5,1.5,0,0,1,565.745,34.667Z" transform = "translate(1256 3572)" fill = "none" stroke = "#bababa" stroke - miterlimit = "10" stroke - width = "2" / >
< path id = "folder_icon" data - name = "folder icon" d = "M95.845,122.5H81.811a3.856,3.856,0,0,1-3.837-3.144,4.1,4.1,0,0,1-.074-.792V99.036A3.853,3.853,0,0,1,81.836,95.1h9.133a3.855,3.855,0,0,1,2.723,1.064c.594.569,1.213,1.114,1.807,1.683a2.238,2.238,0,0,0,1.683.668h12.7a3.853,3.853,0,0,1,3.886,3.292,5.215,5.215,0,0,1,.049.619v16.188a3.857,3.857,0,0,1-3.911,3.911C105.2,122.5,100.523,122.5,95.845,122.5Zm0-2h13.935a1.887,1.887,0,0,0,2.054-2.054c0-5.3-.025-10.594.025-15.891a1.988,1.988,0,0,0-2.079-2.079c-4.233.025-8.44.025-12.673.025a3.872,3.872,0,0,1-2.747-1.064L92.4,97.625a1.993,1.993,0,0,0-1.361-.52H81.885a2.266,2.266,0,0,0-.421.025,1.862,1.862,0,0,0-1.485,1.931v19.653a1.856,1.856,0,0,0,.817,1.46,1.984,1.984,0,0,0,1.238.322Z" transform = "translate(2505.1 2079.9)" fill = "#aaaaaa" / >
< path id = "Path_38" data - name = "Path 38" d = "M546.866,16.309h3.627V12.682h-3.627Zm5.44,10.88h3.627V23.562h-3.627Zm-5.44,0h3.627V23.562h-3.627Zm0-5.44h3.627V18.122h-3.627Zm5.44,0h3.627V18.122h-3.627Zm5.44-5.44h3.627V12.682h-3.627Zm-5.44,0h3.627V12.682h-3.627Zm5.44,5.44h3.627V18.122h-3.627Zm0,5.44h3.627V23.562h-3.627Z" transform = "translate(1256 3572)" fill = "#bababa" / >
< g id = "format_list_bulleted_black_24dp" transform = "translate(2591.152 2180.683)" >
< path id = "Path_2928" data - name = "Path 2928" d = "M0,0H19.7V19.7H0Z" fill = "none" / >
< path id = "Path_2929" data - name = "Path 2929" d = "M3.731,9.424a1.231,1.231,0,1,0,1.231,1.231A1.229,1.229,0,0,0,3.731,9.424Zm0-4.924A1.231,1.231,0,1,0,4.962,5.731,1.229,1.229,0,0,0,3.731,4.5Zm0,9.848a1.231,1.231,0,1,0,1.231,1.231A1.235,1.235,0,0,0,3.731,14.348ZM6.193,16.4h11.49V14.759H6.193Zm0-4.924h11.49V9.835H6.193Zm0-6.566V6.552h11.49V4.91Z" transform = "translate(-0.448 -0.807)" fill = "#606060" / >
< / g >
< / g >
< / g >
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
@ -90,72 +101,83 @@ frappe.query_reports["_File Structure"] = {
} else if ( data . private == 0 ) {
} else if ( data . private == 0 ) {
if ( pictures . includes ( data . fileformat ) ) {
if ( pictures . includes ( data . fileformat ) ) {
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 40 40">
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28.24 35.667">
< g id = "Image" transform = "translate(-2584 -2277)" >
< g id = "image" transform = "translate(-1556 -3572)" >
< rect id = "Rectangle_1711" data - name = "Rectangle 1711" width = "40" height = "40" transform = "translate(2584 2277)" fill = "none" / >
< path id = "Path_25" data - name = "Path 25" d = "M314.128,26.861h-9.14c-.4,0-.57-.089-.515-.515a3.327,3.327,0,0,0,0-.956c-.2-1.011.441-1.581,1.086-2.188,1.011-.956,1.986-1.95,2.96-2.943.294-.294.46-.332.754,0,.46.514.975.974,1.453,1.471.257.294.441.258.7,0,2.1-2.114,4.193-4.193,6.289-6.308.276-.276.4-.294.7,0,1.655,1.673,3.347,3.329,5.039,4.984a1.051,1.051,0,0,1,.35.846c-.019,1.692-.019,3.366,0,5.058,0,.422-.09.57-.552.57-3.052-.019-6.087-.019-9.122-.019" transform = "translate(1256 3572)" fill = "#606060" / >
< path id = "folder_icon" data - name = "folder icon" d = "M95.845,122.5H81.811a3.856,3.856,0,0,1-3.837-3.144,4.1,4.1,0,0,1-.074-.792V99.036A3.853,3.853,0,0,1,81.836,95.1h9.133a3.855,3.855,0,0,1,2.723,1.064c.594.569,1.213,1.114,1.807,1.683a2.238,2.238,0,0,0,1.683.668h12.7a3.853,3.853,0,0,1,3.886,3.292,5.215,5.215,0,0,1,.049.619v16.188a3.857,3.857,0,0,1-3.911,3.911C105.2,122.5,100.523,122.5,95.845,122.5Zm0-2h13.935a1.887,1.887,0,0,0,2.054-2.054c0-5.3-.025-10.594.025-15.891a1.988,1.988,0,0,0-2.079-2.079c-4.233.025-8.44.025-12.673.025a3.872,3.872,0,0,1-2.747-1.064L92.4,97.625a1.993,1.993,0,0,0-1.361-.52H81.885a2.266,2.266,0,0,0-.421.025,1.862,1.862,0,0,0-1.485,1.931v19.653a1.856,1.856,0,0,0,.817,1.46,1.984,1.984,0,0,0,1.238.322Z" transform = "translate(2508.143 2188.188)" fill = "#000000" / >
< path id = "Path_26" data - name = "Path 26" d = "M307.136,12.994a2.465,2.465,0,0,1,2.578,2.347,2.669,2.669,0,0,1,0,.283,2.6,2.6,0,0,1-2.648,2.538,2.7,2.7,0,0,1-2.607-2.648,2.591,2.591,0,0,1,2.659-2.521h.021" transform = "translate(1256 3572)" fill = "#606060" / >
< path id = "Path_2926" data - name = "Path 2926" d = "M112.744,139.881H102.513c-.453,0-.638-.1-.576-.576a3.73,3.73,0,0,0,0-1.07c-.226-1.132.494-1.77,1.215-2.45,1.132-1.07,2.223-2.182,3.314-3.294.329-.329.515-.371.844,0,.515.576,1.091,1.091,1.626,1.647.288.329.494.288.782,0,2.347-2.367,4.694-4.694,7.04-7.061.309-.309.453-.329.782,0,1.853,1.873,3.747,3.726,5.641,5.579a1.175,1.175,0,0,1,.391.947c-.021,1.894-.021,3.767,0,5.661,0,.473-.1.638-.618.638C119.538,139.881,116.141,139.881,112.744,139.881Z" transform = "translate(2490.793 2165.386)" fill = "#606060" / >
< path id = "Path_27" data - name = "Path 27" d = "M325.745,34.667h-23.25A1.5,1.5,0,0,1,301,33.172V2.495A1.5,1.5,0,0,1,302.495,1h19.56l5.185,5.186V33.172A1.5,1.5,0,0,1,325.745,34.667Z" transform = "translate(1256 3572)" fill = "none" stroke = "#606060" stroke - miterlimit = "10" stroke - width = "2" / >
< path id = "Path_2927" data - name = "Path 2927" d = "M105,114.71a2.759,2.759,0,0,1,2.882,2.944,2.914,2.914,0,0,1-2.964,2.841A3.025,3.025,0,0,1,102,117.531,2.9,2.9,0,0,1,105,114.71Z" transform = "translate(2490.71 2175.035)" fill = "#606060" / >
< / g >
< / g >
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
} else if ( pdfs . includes ( data . fileformat ) ) {
} else if ( pdfs . includes ( data . fileformat ) ) {
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 40 40">
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28.24 35.667">
< g id = "Pdf" transform = "translate(-2581 -2115)" >
< g id = "pdf" transform = "translate(-1496 -3572)" >
< rect id = "Rectangle_1708" data - name = "Rectangle 1708" width = "40" height = "40" transform = "translate(2581 2115)" fill = "none" / >
< path id = "Path_23" data - name = "Path 23" d = "M253.244,12.639a1.527,1.527,0,0,0,.069,2.057c.6-1.34-.046-2.057-.069-2.057m.393,5.431A44.428,44.428,0,0,1,251.9,22.9a32.847,32.847,0,0,1,4.206-1.294,23.672,23.672,0,0,1-2.473-3.536m4.853,4.206c.532.393.647.6.994.6a.82.82,0,0,0,.924-.555c-.069-.046-.185-.116-.763-.116a10.159,10.159,0,0,0-1.156.069m-8.851,2.843c-1.387.763-1.941,1.41-1.988,1.756,0,.069-.023.208.277.439.116-.023.67-.277,1.71-2.2m-1.71,3.282a1.012,1.012,0,0,1-.624-.208,1.54,1.54,0,0,1-.716-1.433c.116-1.04,1.433-2.126,3.883-3.236a42.9,42.9,0,0,0,2.45-6.887c-.647-1.387-1.271-3.189-.809-4.252a1.309,1.309,0,0,1,.74-.786,3.16,3.16,0,0,1,.647-.116c.347,0,.67.416.832.67a2.625,2.625,0,0,1,.254,1.618c-.046.532-.139,1.063-.231,1.6-.069.393-.162.763-.254,1.156a19.7,19.7,0,0,0,3.3,4.83,13.9,13.9,0,0,1,2.172-.231c1.017,0,1.641.231,1.872.716a1.284,1.284,0,0,1-.254,1.387,1.7,1.7,0,0,1-1.433.763,4.3,4.3,0,0,1-2.727-1.456,31.169,31.169,0,0,0-5.731,1.8,18.748,18.748,0,0,1-1.548,2.727c-.693.9-1.271,1.34-1.826,1.34" transform = "translate(1256 3572)" fill = "#606060" / >
< path id = "folder_icon" data - name = "folder icon" d = "M95.845,122.5H81.811a3.856,3.856,0,0,1-3.837-3.144,4.1,4.1,0,0,1-.074-.792V99.036A3.853,3.853,0,0,1,81.836,95.1h9.133a3.855,3.855,0,0,1,2.723,1.064c.594.569,1.213,1.114,1.807,1.683a2.238,2.238,0,0,0,1.683.668h12.7a3.853,3.853,0,0,1,3.886,3.292,5.215,5.215,0,0,1,.049.619v16.188a3.857,3.857,0,0,1-3.911,3.911C105.2,122.5,100.523,122.5,95.845,122.5Zm0-2h13.935a1.887,1.887,0,0,0,2.054-2.054c0-5.3-.025-10.594.025-15.891a1.988,1.988,0,0,0-2.079-2.079c-4.233.025-8.44.025-12.673.025a3.872,3.872,0,0,1-2.747-1.064L92.4,97.625a1.993,1.993,0,0,0-1.361-.52H81.885a2.266,2.266,0,0,0-.421.025,1.862,1.862,0,0,0-1.485,1.931v19.653a1.856,1.856,0,0,0,.817,1.46,1.984,1.984,0,0,0,1.238.322Z" transform = "translate(2505.1 2025.9)" fill = "#000000" / >
< path id = "Path_24" data - name = "Path 24" d = "M265.745,34.667h-23.25A1.5,1.5,0,0,1,241,33.172V2.495A1.5,1.5,0,0,1,242.495,1h19.56l5.185,5.186V33.172A1.5,1.5,0,0,1,265.745,34.667Z" transform = "translate(1256 3572)" fill = "none" stroke = "#606060" stroke - miterlimit = "10" stroke - width = "2" / >
< path id = "Path_2419" d = "M195.339,89.256a1.526,1.526,0,0,0,.069,2.057c.6-1.34-.046-2.057-.069-2.057m.393,5.431A44.493,44.493,0,0,1,194,99.517a32.789,32.789,0,0,1,4.206-1.294,23.631,23.631,0,0,1-2.473-3.536m4.853,4.206c.532.393.647.6.994.6a.82.82,0,0,0,.924-.555c-.069-.046-.185-.116-.763-.116a9.987,9.987,0,0,0-1.156.069m-8.851,2.843c-1.387.763-1.941,1.41-1.988,1.756,0,.069-.023.208.277.439.116-.023.67-.277,1.71-2.2m-1.71,3.282a1.014,1.014,0,0,1-.624-.208,1.539,1.539,0,0,1-.716-1.433c.116-1.04,1.433-2.126,3.883-3.236a42.827,42.827,0,0,0,2.45-6.887c-.647-1.387-1.271-3.189-.809-4.252a1.307,1.307,0,0,1,.74-.786,3.174,3.174,0,0,1,.647-.116c.347,0,.67.416.832.67a2.622,2.622,0,0,1,.254,1.618c-.046.532-.139,1.063-.231,1.595-.069.393-.162.763-.254,1.156a19.686,19.686,0,0,0,3.3,4.83,13.865,13.865,0,0,1,2.172-.231c1.017,0,1.641.231,1.872.716a1.284,1.284,0,0,1-.254,1.387,1.706,1.706,0,0,1-1.433.763,4.3,4.3,0,0,1-2.727-1.456,31.135,31.135,0,0,0-5.731,1.8,18.771,18.771,0,0,1-1.548,2.727c-.693.9-1.271,1.34-1.826,1.34" transform = "translate(2404.322 2039.9)" fill = "#606060" / >
< / g >
< / g >
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
} else if ( spreadsheets . includes ( data . fileformat ) ) {
} else if ( spreadsheets . includes ( data . fileformat ) ) {
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 40 40 ">
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28.24 35.667 ">
< g id = "Other " transform = "translate(-2581 -2384 )" >
< g id = "spreadsheet " transform = "translate(-1316 -3572 )" >
< rect id = "Rectangle_1713 " data - name = "Rectangle 1713" width = "40" height = "40" transform = "translate(2581 2384)" fill = "none " / >
< path id = "Path_14 " data - name = "Path 14" d = "M85.745,34.667H62.495A1.5,1.5,0,0,1,61,33.172V2.495A1.5,1.5,0,0,1,62.495,1h19.56L87.24,6.186V33.172A1.5,1.5,0,0,1,85.745,34.667Z" transform = "translate(1256 3572)" fill = "none" stroke = "#606060" stroke - miterlimit = "10" stroke - width = "2 " / >
< path id = "folder_icon " data - name = "folder icon" d = "M95.845,122.5H81.811a3.856,3.856,0,0,1-3.837-3.144,4.1,4.1,0,0,1-.074-.792V99.036A3.853,3.853,0,0,1,81.836,95.1h9.133a3.855,3.855,0,0,1,2.723,1.064c.594.569,1.213,1.114,1.807,1.683a2.238,2.238,0,0,0,1.683.668h12.7a3.853,3.853,0,0,1,3.886,3.292,5.215,5.215,0,0,1,.049.619v16.188a3.857,3.857,0,0,1-3.911,3.911C105.2,122.5,100.523,122.5,95.845,122.5Zm0-2h13.935a1.887,1.887,0,0,0,2.054-2.054c0-5.3-.025-10.594.025-15.891a1.988,1.988,0,0,0-2.079-2.079c-4.233.025-8.44.025-12.673.025a3.872,3.872,0,0,1-2.747-1.064L92.4,97.625a1.993,1.993,0,0,0-1.361-.52H81.885a2.266,2.266,0,0,0-.421.025,1.862,1.862,0,0,0-1.485,1.931v19.653a1.856,1.856,0,0,0,.817,1.46,1.984,1.984,0,0,0,1.238.322Z" transform = "translate(2505.143 2296.188)" fill = "#000000 " / >
< rect id = "Rectangle_9 " data - name = "Rectangle 9" width = "18.008" height = "13.323" transform = "translate(1321.116 3585.274)" fill = "none" stroke = "#606060" stroke - miterlimit = "10" stroke - width = "1.5 " / >
< g id = "apps_black_24dp_1_ " data - name = "apps_black_24dp (1) " transform = "translate(2590.12 2395.12)" >
< line id = "Line_4 " data - name = "Line 4" x2 = "18.008 " transform = "translate(1321.116 3594.156)" fill = "none" stroke = "#606060" stroke - miterlimit = "10" stroke - width = "1.5" / >
< path id = "Path_2930 " data - name = "Path 2930" d = "M0,0H21.76V21.76H0Z " fill = "none" / >
< line id = "Line_5 " data - name = "Line 5" x2 = "18.008" transform = "translate(1321.116 3589.715) " fill = "none" stroke = "#606060" stroke - miterlimit = "10" stroke - width = "1.5 " / >
< path id = "Path_2931 " data - name = "Path 2931" d = "M4,7.627H7.627V4H4Zm5.44, 10.88h 3.627V14.88H9.44Zm-5.44,0H7.627V14.88H4Zm0-5.44H7.627V9.44H4Zm5.44,0h 3.6 27V9.44H9.44ZM14.88,4V7.627h 3.627V4ZM9.44,7.627h3.627V4H9.44Zm5.44,5.44h3.627V9.44H14.88Zm0,5.44h3.627V14.88H14.88Z " transform = "translate(-0.373 -0.373 )" fill = "#606060" / >
< line id = "Line_6 " data - name = "Line 6" y2 = "13.323" transform = "translate(1333.121 3585.274 )" fill = "none" stroke = " #606060" stroke - miterlimit = "10" stroke - width = "1.5 " / >
< / g >
< line id = "Line_7" data - name = "Line 7" y2 = "13.323" transform = "translate(1327.119 3585.274)" fill = "none" stroke = "#606060" stroke - miterlimit = "10" stroke - width = "1.5" / >
< / g >
< / g >
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
} else if ( documents . includes ( data . fileformat ) ) {
} else if ( documents . includes ( data . fileformat ) ) {
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 40 40">
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28.24 35.667">
< g id = "Text" transform = "translate(-2584 -2223)" >
< g id = "text" transform = "translate(-1256 -3572)" >
< rect id = "Rectangle_1710" data - name = "Rectangle 1710" width = "40" height = "40" transform = "translate(2584 2223)" fill = "none" / >
< path id = "Path_8" data - name = "Path 8" d = "M12.616,14.225a15.577,15.577,0,0,0-1.588.009,2.534,2.534,0,0,0-2.159,2.293c-.054.259-.107.473-.473.321V13.609H19.843v3.256c-.036.036-.071.062-.107.1-.116-.116-.25-.223-.357-.348a.723.723,0,0,1-.08-.2c-.669-2.114-1.8-2.355-3.64-2.177-.009.134-.027.277-.027.419v9.5c0,.161.009.33.009.491.036.9.41,1.285,1.312,1.32a.643.643,0,0,1,.223.009,1.973,1.973,0,0,1,.259.152,1.522,1.522,0,0,1-.232.125c-.036.018-.089,0-.134,0q-2.945,0-5.888-.009a1.21,1.21,0,0,1-.375-.125,1.409,1.409,0,0,1,.384-.161c.981-.054,1.32-.366,1.41-1.347.018-.2.018-.419.018-.625v-9.76Z" transform = "translate(1256 3572)" fill = "#606060" / >
< g id = "txt_icon" data - name = "txt icon" transform = "translate(2545.684 2180.6)" >
< path id = "Path_9" data - name = "Path 9" d = "M5.7,14.181H5.1V11.5h2.65v.562H5.7Z" transform = "translate(1256 3572)" fill = "#606060" / >
< path id = "Path_2917" data - name = "Path 2917" d = "M90.22,80.216a15.563,15.563,0,0,0-1.588.009,2.535,2.535,0,0,0-2.159,2.293c-.054.259-.107.473-.473.321V79.6H97.447v3.256c-.036.036-.071.062-.107.1-.116-.116-.25-.223-.357-.348a.7.7,0,0,1-.08-.205c-.669-2.114-1.8-2.355-3.64-2.177-.009.134-.027.277-.027.419v9.5c0,.161.009.33.009.491.036.9.41,1.285,1.312,1.32a.626.626,0,0,1,.223.009,1.949,1.949,0,0,1,.259.152,1.475,1.475,0,0,1-.232.125c-.036.018-.089,0-.134,0q-2.944,0-5.888-.009a1.236,1.236,0,0,1-.375-.125,1.407,1.407,0,0,1,.384-.161c.981-.054,1.32-.366,1.41-1.347.018-.205.018-.419.018-.625v-9.76Z" transform = "translate(-33.881 -21.586)" fill = "#606060" / >
< path id = "Path_10" data - name = "Path 10" d = "M5.077,28.376V25.7h.58v2.07H7.736v.6c-.875.007-1.749.007-2.659.007" transform = "translate(1256 3572)" fill = "#606060" / >
< path id = "Path_2918" data - name = "Path 2918" d = "M49.6,58.677H49V56h2.65v.562H49.6Z" transform = "translate(-0.182 -0.091)" fill = "#606060" / >
< path id = "Path_11" data - name = "Path 11" d = "M23.153,14.189h-.541V12.084h-2.1v-.589h2.65c-.009.91-.009,1.793-.009,2.694" transform = "translate(1256 3572)" fill = "#606060" / >
< path id = "Path_2919" data - name = "Path 2919" d = "M48.8,217.777V215.1h.58v2.07h2.079v.6C50.584,217.777,49.71,217.777,48.8,217.777Z" transform = "translate(0 -144.996)" fill = "#606060" / >
< path id = "Path_12" data - name = "Path 12" d = "M22.582,25.7h.58v2.677h-2.65V27.8h2.07Z" transform = "translate(1256 3572)" fill = "#606060" / >
< path id = "Path_2920" data - name = "Path 2920" d = "M224.441,58.594H223.9V56.489h-2.1V55.9h2.65C224.441,56.81,224.441,57.693,224.441,58.594Z" transform = "translate(-157.565)" fill = "#606060" / >
< path id = "Path_13" data - name = "Path 13" d = "M25.745,34.667H2.495A1.5,1.5,0,0,1,1,33.172V2.495A1.5,1.5,0,0,1,2.495,1h19.56L27.24,6.186V33.172A1.5,1.5,0,0,1,25.745,34.667Z" transform = "translate(1256 3572)" fill = "none" stroke = "#606060" stroke - miterlimit = "10" stroke - width = "2" / >
< path id = "Path_2921" data - name = "Path 2921" d = "M223.87,215.1h.58v2.677H221.8v-.58h2.07Z" transform = "translate(-157.565 -144.996)" fill = "#606060" / >
< / g >
< path id = "folder_icon" data - name = "folder icon" d = "M95.845,122.5H81.811a3.856,3.856,0,0,1-3.837-3.144,4.1,4.1,0,0,1-.074-.792V99.036A3.853,3.853,0,0,1,81.836,95.1h9.133a3.855,3.855,0,0,1,2.723,1.064c.594.569,1.213,1.114,1.807,1.683a2.238,2.238,0,0,0,1.683.668h12.7a3.853,3.853,0,0,1,3.886,3.292,5.215,5.215,0,0,1,.049.619v16.188a3.857,3.857,0,0,1-3.911,3.911C105.2,122.5,100.523,122.5,95.845,122.5Zm0-2h13.935a1.887,1.887,0,0,0,2.054-2.054c0-5.3-.025-10.594.025-15.891a1.988,1.988,0,0,0-2.079-2.079c-4.233.025-8.44.025-12.673.025a3.872,3.872,0,0,1-2.747-1.064L92.4,97.625a1.993,1.993,0,0,0-1.361-.52H81.885a2.266,2.266,0,0,0-.421.025,1.862,1.862,0,0,0-1.485,1.931v19.653a1.856,1.856,0,0,0,.817,1.46,1.984,1.984,0,0,0,1.238.322Z" transform = "translate(2508.143 2134.188)" fill = "#000000" / >
< / g >
< / g >
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
} else if ( videos . includes ( data . fileformat ) ) {
} else if ( videos . includes ( data . fileformat ) ) {
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 40 40">
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28.24 35.667">
< g id = "Video" transform = "translate(-2584 -2330)" >
< g id = "video" transform = "translate(-1436 -3572)" >
< rect id = "Rectangle_1712" data - name = "Rectangle 1712" width = "40" height = "40" transform = "translate(2584 2330)" fill = "none" / >
< path id = "Path_20" data - name = "Path 20" d = "M205.745,34.667h-23.25A1.5,1.5,0,0,1,181,33.172V2.495A1.5,1.5,0,0,1,182.495,1h19.56l5.185,5.186V33.172A1.5,1.5,0,0,1,205.745,34.667Z" transform = "translate(1256 3572)" fill = "none" stroke = "#606060" stroke - miterlimit = "10" stroke - width = "2" / >
< g id = "vid_icon" data - name = "vid icon" transform = "translate(2502.8 2244.175)" >
< path id = "Path_21" data - name = "Path 21" d = "M191.622,26.043h-4.84a2.211,2.211,0,0,1-2.471-1.916,2.184,2.184,0,0,1,0-.542V15.75a2.2,2.2,0,0,1,2.474-2.458q4.84-.022,9.679,0a2.153,2.153,0,0,1,2.443,1.817,2.188,2.188,0,0,1,0,.626V23.57a2.158,2.158,0,0,1-2.443,2.458c-1.614.027-3.227.015-4.84.015m-3-6.391c0,1.029-.015,2.043.015,3.073a1,1,0,0,0,.246.737c.154.092.522-.061.722-.2,1.49-1,2.965-2.013,4.44-3.027.707-.492.722-.691.015-1.152-1.506-1.029-3-2.043-4.517-3.042-.184-.123-.522-.261-.661-.184a.894.894,0,0,0-.246.661c-.027,1.045-.01,2.089-.01,3.137Z" transform = "translate(1256 3572)" fill = "#606060" / >
< path id = "Path_2922" data - name = "Path 2922" d = "M98.513,112.588h-4.84A2.211,2.211,0,0,1,91.2,110.13v-7.835a2.2,2.2,0,0,1,2.474-2.458q4.84-.023,9.679,0a2.153,2.153,0,0,1,2.443,2.443v7.835a2.158,2.158,0,0,1-2.443,2.458C101.739,112.6,100.126,112.588,98.513,112.588Zm-3-6.391c0,1.029-.015,2.043.015,3.073a1,1,0,0,0,.246.737c.154.092.522-.061.722-.2,1.49-1,2.965-2.013,4.44-3.027.707-.492.722-.691.015-1.152-1.506-1.029-3-2.043-4.517-3.042-.184-.123-.522-.261-.661-.184a.893.893,0,0,0-.246.661C95.5,104.108,95.517,105.152,95.517,106.2Z" fill = "#606060" / >
< path id = "Path_22" data - name = "Path 22" d = "M203.944,19.683c0,1.26.015,2.5-.015,3.764a1,1,0,0,1-.307.784.957.957,0,0,1-.814-.154c-1.029-.676-2.059-1.352-3.027-2.1a1.614,1.614,0,0,1-.507-1c-.077-.676.031-1.383-.031-2.074a1.7,1.7,0,0,1,.922-1.828c.922-.553,1.767-1.214,2.673-1.8a1.158,1.158,0,0,1,.83-.154c.169.061.261.461.277.722Z" transform = "translate(1256 3572)" fill = "#606060" / >
< path id = "Path_2923" data - name = "Path 2923" d = "M193.007,116.21c0,1.26.015,2.5-.015,3.764a1,1,0,0,1-.307.784.955.955,0,0,1-.814-.154c-1.029-.676-2.059-1.352-3.027-2.1a1.61,1.61,0,0,1-.507-1c-.077-.676.031-1.383-.031-2.074a1.7,1.7,0,0,1,.922-1.828c.922-.553,1.767-1.214,2.673-1.8a1.16,1.16,0,0,1,.83-.154c.169.061.261.461.277.722Z" transform = "translate(-82.172 -9.982)" fill = "#606060" / >
< / g >
< / g >
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
< path id = "folder_icon" data - name = "folder icon" d = "M95.845,122.5H81.811a3.856,3.856,0,0,1-3.837-3.144,4.1,4.1,0,0,1-.074-.792V99.036A3.853,3.853,0,0,1,81.836,95.1h9.133a3.855,3.855,0,0,1,2.723,1.064c.594.569,1.213,1.114,1.807,1.683a2.238,2.238,0,0,0,1.683.668h12.7a3.853,3.853,0,0,1,3.886,3.292,5.215,5.215,0,0,1,.049.619v16.188a3.857,3.857,0,0,1-3.911,3.911C105.2,122.5,100.523,122.5,95.845,122.5Zm0-2h13.935a1.887,1.887,0,0,0,2.054-2.054c0-5.3-.025-10.594.025-15.891a1.988,1.988,0,0,0-2.079-2.079c-4.233.025-8.44.025-12.673.025a3.872,3.872,0,0,1-2.747-1.064L92.4,97.625a1.993,1.993,0,0,0-1.361-.52H81.885a2.266,2.266,0,0,0-.421.025,1.862,1.862,0,0,0-1.485,1.931v19.653a1.856,1.856,0,0,0,.817,1.46,1.984,1.984,0,0,0,1.238.322Z" transform = "translate(2508.1 2240.9)" fill = "#000000" / >
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
} else if ( zip . includes ( data . fileformat ) ) {
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="28.24" height="35.667" viewBox="0 0 28.24 35.667">
< g id = "zip" transform = "translate(-1616 -3572)" >
< path id = "Path_28" data - name = "Path 28" d = "M385.745,34.667h-23.25A1.5,1.5,0,0,1,361,33.172V2.495A1.5,1.5,0,0,1,362.495,1h19.56l5.185,5.186V33.172A1.5,1.5,0,0,1,385.745,34.667Z" transform = "translate(1256 3572)" fill = "none" stroke = "#606060" stroke - miterlimit = "10" stroke - width = "2" / >
< rect id = "Rectangle_15" data - name = "Rectangle 15" width = "2.917" height = "1.944" transform = "translate(1628.175 3601.806)" fill = "#606060" / >
< rect id = "Rectangle_16" data - name = "Rectangle 16" width = "2.917" height = "1.944" transform = "translate(1628.175 3597.806)" fill = "#606060" / >
< rect id = "Rectangle_17" data - name = "Rectangle 17" width = "2.917" height = "1.944" transform = "translate(1628.175 3593.806)" fill = "#606060" / >
< rect id = "Rectangle_18" data - name = "Rectangle 18" width = "2.917" height = "1.944" transform = "translate(1628.175 3589.806)" fill = "#606060" / >
< rect id = "Rectangle_19" data - name = "Rectangle 19" width = "2.917" height = "1.944" transform = "translate(1628.175 3585.806)" fill = "#606060" / >
< rect id = "Rectangle_20" data - name = "Rectangle 20" width = "2.917" height = "1.944" transform = "translate(1628.175 3581.806)" fill = "#606060" / >
< rect id = "Rectangle_21" data - name = "Rectangle 21" width = "2.917" height = "1.944" transform = "translate(1628.175 3577.806)" fill = "#606060" / >
< rect id = "Rectangle_22" data - name = "Rectangle 22" width = "2.917" height = "1.944" transform = "translate(1628.175 3573.806)" fill = "#606060" / >
< rect id = "Rectangle_23" data - name = "Rectangle 23" width = "2.917" height = "1.944" transform = "translate(1631.092 3603.751)" fill = "#606060" / >
< rect id = "Rectangle_24" data - name = "Rectangle 24" width = "2.917" height = "1.944" transform = "translate(1631.092 3599.751)" fill = "#606060" / >
< rect id = "Rectangle_25" data - name = "Rectangle 25" width = "2.917" height = "1.944" transform = "translate(1631.092 3595.751)" fill = "#606060" / >
< rect id = "Rectangle_26" data - name = "Rectangle 26" width = "2.917" height = "1.944" transform = "translate(1631.092 3591.751)" fill = "#606060" / >
< rect id = "Rectangle_27" data - name = "Rectangle 27" width = "2.917" height = "1.944" transform = "translate(1631.092 3587.751)" fill = "#606060" / >
< rect id = "Rectangle_28" data - name = "Rectangle 28" width = "2.917" height = "1.944" transform = "translate(1631.092 3583.751)" fill = "#606060" / >
< rect id = "Rectangle_29" data - name = "Rectangle 29" width = "2.917" height = "1.944" transform = "translate(1631.092 3579.751)" fill = "#606060" / >
< rect id = "Rectangle_30" data - name = "Rectangle 30" width = "2.917" height = "1.944" transform = "translate(1631.092 3575.751)" fill = "#606060" / >
< / g >
< / g >
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
} else {
} else {
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 40 40">
value = ` <p><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28.24 35.667">
< g id = "Spreadsheet" transform = "translate(-2581 -2169)" >
< g id = "othersupport" transform = "translate(-1796 -3572)" >
< rect id = "Rectangle_1709" data - name = "Rectangle 1709" width = "40" height = "40" transform = "translate(2581 2169)" fill = "none" / >
< path id = "Path_37" data - name = "Path 37" d = "M565.745,34.667h-23.25A1.5,1.5,0,0,1,541,33.172V2.495A1.5,1.5,0,0,1,542.495,1h19.56l5.185,5.186V33.172A1.5,1.5,0,0,1,565.745,34.667Z" transform = "translate(1256 3572)" fill = "none" stroke = "#606060" stroke - miterlimit = "10" stroke - width = "2" / >
< path id = "folder_icon" data - name = "folder icon" d = "M95.845,122.5H81.811a3.856,3.856,0,0,1-3.837-3.144,4.1,4.1,0,0,1-.074-.792V99.036A3.853,3.853,0,0,1,81.836,95.1h9.133a3.855,3.855,0,0,1,2.723,1.064c.594.569,1.213,1.114,1.807,1.683a2.238,2.238,0,0,0,1.683.668h12.7a3.853,3.853,0,0,1,3.886,3.292,5.215,5.215,0,0,1,.049.619v16.188a3.857,3.857,0,0,1-3.911,3.911C105.2,122.5,100.523,122.5,95.845,122.5Zm0-2h13.935a1.887,1.887,0,0,0,2.054-2.054c0-5.3-.025-10.594.025-15.891a1.988,1.988,0,0,0-2.079-2.079c-4.233.025-8.44.025-12.673.025a3.872,3.872,0,0,1-2.747-1.064L92.4,97.625a1.993,1.993,0,0,0-1.361-.52H81.885a2.266,2.266,0,0,0-.421.025,1.862,1.862,0,0,0-1.485,1.931v19.653a1.856,1.856,0,0,0,.817,1.46,1.984,1.984,0,0,0,1.238.322Z" transform = "translate(2505.1 2079.9)" fill = "#000000" / >
< path id = "Path_38" data - name = "Path 38" d = "M546.866,16.309h3.627V12.682h-3.627Zm5.44,10.88h3.627V23.562h-3.627Zm-5.44,0h3.627V23.562h-3.627Zm0-5.44h3.627V18.122h-3.627Zm5.44,0h3.627V18.122h-3.627Zm5.44-5.44h3.627V12.682h-3.627Zm-5.44,0h3.627V12.682h-3.627Zm5.44,5.44h3.627V18.122h-3.627Zm0,5.44h3.627V23.562h-3.627Z" transform = "translate(1256 3572)" fill = "#606060" / >
< g id = "format_list_bulleted_black_24dp" transform = "translate(2591.152 2180.683)" >
< path id = "Path_2928" data - name = "Path 2928" d = "M0,0H19.7V19.7H0Z" fill = "none" / >
< path id = "Path_2929" data - name = "Path 2929" d = "M3.731,9.424a1.231,1.231,0,1,0,1.231,1.231A1.229,1.229,0,0,0,3.731,9.424Zm0-4.924A1.231,1.231,0,1,0,4.962,5.731,1.229,1.229,0,0,0,3.731,4.5Zm0,9.848a1.231,1.231,0,1,0,1.231,1.231A1.235,1.235,0,0,0,3.731,14.348ZM6.193,16.4h11.49V14.759H6.193Zm0-4.924h11.49V9.835H6.193Zm0-6.566V6.552h11.49V4.91Z" transform = "translate(-0.448 -0.807)" fill = "#606060" / >
< / g >
< / g >
< / g >
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
< / s v g > & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; & n b s p ; $ { v a l u e } < / p > `
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
column . link_onclick = "frappe.query_reports['_File Structure'].set_route_to_file(" + JSON . stringify ( data . filename ) + ")"
@ -217,5 +239,5 @@ frappe.query_reports["_File Structure"] = {
"tree" : true ,
"tree" : true ,
"name_field" : "filename" ,
"name_field" : "filename" ,
"parent_field" : "" ,
"parent_field" : "" ,
"initial_depth" : 0
"initial_depth" : 4
} ;
} ;