Commit 6d6e6b70 authored by Mathias Engelbrecht Pilegård's avatar Mathias Engelbrecht Pilegård
Browse files

added error report submit form

parent 11716596
[{"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\index.js":"1","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\App.js":"2","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\navigationbar.js":"3","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\Navigationbar.js":"4","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\searchbar\\Searchbar.js":"5","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\userDropdownMenu\\UserDropdownMenu.js":"6","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\navigationLinks\\NavigationLinks.js":"7","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\logo\\Logo.js":"8"},{"size":197,"mtime":1626217127935,"results":"9","hashOfConfig":"10"},{"size":415,"mtime":1626443307677,"results":"11","hashOfConfig":"10"},{"size":2293,"mtime":1626443292886,"results":"12","hashOfConfig":"10"},{"size":860,"mtime":1626449892823,"results":"13","hashOfConfig":"10"},{"size":520,"mtime":1626448630699,"results":"14","hashOfConfig":"10"},{"size":2405,"mtime":1626464321855,"results":"15","hashOfConfig":"10"},{"size":639,"mtime":1626449425478,"results":"16","hashOfConfig":"10"},{"size":587,"mtime":1626449789087,"results":"17","hashOfConfig":"10"},{"filePath":"18","messages":"19","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"20"},"iyhzrm",{"filePath":"21","messages":"22","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"20"},{"filePath":"23","messages":"24","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"25","messages":"26","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"27","usedDeprecatedRules":"20"},{"filePath":"28","messages":"29","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"20"},{"filePath":"30","messages":"31","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"32","messages":"33","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"34","usedDeprecatedRules":"20"},{"filePath":"35","messages":"36","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":"37","usedDeprecatedRules":"20"},"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\index.js",[],["38","39"],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\App.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\navigationbar.js",["40","41","42"],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\Navigationbar.js",["43"],"import React, { Component } from 'react'\r\nimport \"./navigationbar.css\"\r\nimport Logo from './logo/Logo'\r\nimport NavigationLinks from './navigationLinks/NavigationLinks'\r\nimport Searchbar from './searchbar/Searchbar'\r\nimport UserDropdownMenu from './userDropdownMenu/UserDropdownMenu'\r\n\r\nclass Navigationbar extends React.Component {\r\n render() {\r\n return (\r\n <div className=\"navbar\" >\r\n <div className=\"header-content\">\r\n <div className=\"title-navigation-links-container\">\r\n <Logo />\r\n <NavigationLinks />\r\n </div>\r\n <div className=\"searchbar-profile-container\">\r\n <ul className=\"right-unstyled-navbar\">\r\n <Searchbar />\r\n <UserDropdownMenu />\r\n </ul>\r\n </div>\r\n </div>\r\n </div >\r\n )\r\n }\r\n}\r\n\r\n\r\nexport default Navigationbar","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\searchbar\\Searchbar.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\userDropdownMenu\\UserDropdownMenu.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\navigationLinks\\NavigationLinks.js",["44","45","46","47"],"import React, { useRef, useState, useEffect } from 'react'\r\nimport \"./navigationLinks.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\n\r\nfunction NavigationLinks() {\r\n return (\r\n <ul className=\"left-unstyled-navbar\">\r\n <li className=\"report-bug-navbutton-container\">\r\n <a className=\"activeUnderlined\" href=\"./\">Report Bugs</a>\r\n </li>\r\n <li className=\"manage-projects-navbutton-container\">\r\n <a href=\"./\">Projects</a>\r\n </li>\r\n <li className=\"manage-team-navbutton-container\">\r\n <a href=\"./\">Team</a>\r\n </li>\r\n </ul>\r\n )\r\n}\r\n\r\nexport default NavigationLinks","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\logo\\Logo.js",["48","49","50","51","52","53"],"import React, { useRef, useState, useEffect } from 'react'\r\nimport \"./logo.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\nimport logo_picture from \"../../../images/bird-logo.jpg\"\r\nimport logo_text from \"../../../images/logo-text.jpg\"\r\n\r\nfunction Logo() {\r\n return (\r\n <h1 className=\"title\">\r\n <span className=\"title-icon\">\r\n <a id=\"logo\" href=\"./\">\r\n <img src={logo_picture} width=\"24\" height=\"24\"></img>\r\n <img src={logo_text} width=\"48\" height=\"24\"></img>\r\n </a>\r\n </span>\r\n </h1>\r\n )\r\n}\r\n\r\nexport default Logo",{"ruleId":"54","replacedBy":"55"},{"ruleId":"56","replacedBy":"57"},{"ruleId":"58","severity":1,"message":"59","line":1,"column":17,"nodeType":"60","messageId":"61","endLine":1,"endColumn":26},{"ruleId":"62","severity":1,"message":"63","line":23,"column":19,"nodeType":"64","endLine":23,"endColumn":66},{"ruleId":"62","severity":1,"message":"63","line":24,"column":19,"nodeType":"64","endLine":24,"endColumn":63},{"ruleId":"58","severity":1,"message":"59","line":1,"column":17,"nodeType":"60","messageId":"61","endLine":1,"endColumn":26},{"ruleId":"58","severity":1,"message":"65","line":1,"column":17,"nodeType":"60","messageId":"61","endLine":1,"endColumn":23},{"ruleId":"58","severity":1,"message":"66","line":1,"column":25,"nodeType":"60","messageId":"61","endLine":1,"endColumn":33},{"ruleId":"58","severity":1,"message":"67","line":1,"column":35,"nodeType":"60","messageId":"61","endLine":1,"endColumn":44},{"ruleId":"58","severity":1,"message":"68","line":3,"column":10,"nodeType":"60","messageId":"61","endLine":3,"endColumn":25},{"ruleId":"58","severity":1,"message":"65","line":1,"column":17,"nodeType":"60","messageId":"61","endLine":1,"endColumn":23},{"ruleId":"58","severity":1,"message":"66","line":1,"column":25,"nodeType":"60","messageId":"61","endLine":1,"endColumn":33},{"ruleId":"58","severity":1,"message":"67","line":1,"column":35,"nodeType":"60","messageId":"61","endLine":1,"endColumn":44},{"ruleId":"58","severity":1,"message":"68","line":3,"column":10,"nodeType":"60","messageId":"61","endLine":3,"endColumn":25},{"ruleId":"62","severity":1,"message":"63","line":12,"column":11,"nodeType":"64","endLine":12,"endColumn":58},{"ruleId":"62","severity":1,"message":"63","line":13,"column":11,"nodeType":"64","endLine":13,"endColumn":55},"no-native-reassign",["69"],"no-negated-in-lhs",["70"],"no-unused-vars","'Component' is defined but never used.","Identifier","unusedVar","jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","JSXOpeningElement","'useRef' is defined but never used.","'useState' is defined but never used.","'useEffect' is defined but never used.","'FontAwesomeIcon' is defined but never used.","no-global-assign","no-unsafe-negation"]
\ No newline at end of file
[{"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\index.js":"1","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\App.js":"2","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\navigationbar.js":"3","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\Navigationbar.js":"4","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\searchbar\\Searchbar.js":"5","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\userDropdownMenu\\UserDropdownMenu.js":"6","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\navigationLinks\\NavigationLinks.js":"7","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\logo\\Logo.js":"8","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\reportForm\\ReportForm.js":"9"},{"size":197,"mtime":1626217127935,"results":"10","hashOfConfig":"11"},{"size":641,"mtime":1626712296202,"results":"12","hashOfConfig":"11"},{"size":2293,"mtime":1626443292886,"results":"13","hashOfConfig":"11"},{"size":854,"mtime":1626466149564,"results":"14","hashOfConfig":"11"},{"size":467,"mtime":1626694853378,"results":"15","hashOfConfig":"11"},{"size":2405,"mtime":1626469271847,"results":"16","hashOfConfig":"11"},{"size":855,"mtime":1626712898370,"results":"17","hashOfConfig":"11"},{"size":587,"mtime":1626449789087,"results":"18","hashOfConfig":"11"},{"size":4048,"mtime":1626713217514,"results":"19","hashOfConfig":"11"},{"filePath":"20","messages":"21","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},"iyhzrm",{"filePath":"23","messages":"24","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"25","messages":"26","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"27","messages":"28","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},{"filePath":"29","messages":"30","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},{"filePath":"31","messages":"32","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},{"filePath":"33","messages":"34","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"35","messages":"36","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":"37","usedDeprecatedRules":"22"},{"filePath":"38","messages":"39","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\index.js",[],["40","41"],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\App.js",["42"],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\navigationbar.js",["43","44","45"],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\Navigationbar.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\searchbar\\Searchbar.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\userDropdownMenu\\UserDropdownMenu.js",[],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\navigationLinks\\NavigationLinks.js",["46","47","48","49","50","51"],"C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\navigationbar\\logo\\Logo.js",["52","53","54","55","56","57"],"import React, { useRef, useState, useEffect } from 'react'\r\nimport \"./logo.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\nimport logo_picture from \"../../../images/bird-logo.jpg\"\r\nimport logo_text from \"../../../images/logo-text.jpg\"\r\n\r\nfunction Logo() {\r\n return (\r\n <h1 className=\"title\">\r\n <span className=\"title-icon\">\r\n <a id=\"logo\" href=\"./\">\r\n <img src={logo_picture} width=\"24\" height=\"24\"></img>\r\n <img src={logo_text} width=\"48\" height=\"24\"></img>\r\n </a>\r\n </span>\r\n </h1>\r\n )\r\n}\r\n\r\nexport default Logo","C:\\Users\\Bruger\\Desktop\\Web-projects\\pipit\\client\\src\\components\\reportForm\\ReportForm.js",[],{"ruleId":"58","replacedBy":"59"},{"ruleId":"60","replacedBy":"61"},{"ruleId":"62","severity":1,"message":"63","line":2,"column":42,"nodeType":"64","messageId":"65","endLine":2,"endColumn":48},{"ruleId":"62","severity":1,"message":"66","line":1,"column":17,"nodeType":"64","messageId":"65","endLine":1,"endColumn":26},{"ruleId":"67","severity":1,"message":"68","line":23,"column":19,"nodeType":"69","endLine":23,"endColumn":66},{"ruleId":"67","severity":1,"message":"68","line":24,"column":19,"nodeType":"69","endLine":24,"endColumn":63},{"ruleId":"62","severity":1,"message":"70","line":3,"column":20,"nodeType":"64","messageId":"65","endLine":3,"endColumn":26},{"ruleId":"62","severity":1,"message":"63","line":4,"column":3,"nodeType":"64","messageId":"65","endLine":4,"endColumn":9},{"ruleId":"62","severity":1,"message":"71","line":5,"column":3,"nodeType":"64","messageId":"65","endLine":5,"endColumn":8},{"ruleId":"62","severity":1,"message":"72","line":6,"column":3,"nodeType":"64","messageId":"65","endLine":6,"endColumn":7},{"ruleId":"62","severity":1,"message":"73","line":8,"column":3,"nodeType":"64","messageId":"65","endLine":8,"endColumn":12},{"ruleId":"62","severity":1,"message":"74","line":11,"column":10,"nodeType":"64","messageId":"65","endLine":11,"endColumn":25},{"ruleId":"62","severity":1,"message":"75","line":1,"column":17,"nodeType":"64","messageId":"65","endLine":1,"endColumn":23},{"ruleId":"62","severity":1,"message":"76","line":1,"column":25,"nodeType":"64","messageId":"65","endLine":1,"endColumn":33},{"ruleId":"62","severity":1,"message":"77","line":1,"column":35,"nodeType":"64","messageId":"65","endLine":1,"endColumn":44},{"ruleId":"62","severity":1,"message":"74","line":3,"column":10,"nodeType":"64","messageId":"65","endLine":3,"endColumn":25},{"ruleId":"67","severity":1,"message":"68","line":12,"column":11,"nodeType":"69","endLine":12,"endColumn":58},{"ruleId":"67","severity":1,"message":"68","line":13,"column":11,"nodeType":"69","endLine":13,"endColumn":55},"no-native-reassign",["78"],"no-negated-in-lhs",["79"],"no-unused-vars","'Switch' is defined but never used.","Identifier","unusedVar","'Component' is defined but never used.","jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","JSXOpeningElement","'Router' is defined but never used.","'Route' is defined but never used.","'Link' is defined but never used.","'useParams' is defined but never used.","'FontAwesomeIcon' is defined but never used.","'useRef' is defined but never used.","'useState' is defined but never used.","'useEffect' is defined but never used.","no-global-assign","no-unsafe-negation"]
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\Bruger\\\\Desktop\\\\Web-projects\\\\pipit\\\\client\\\\src\\\\components\\\\reportForm\\\\ReportForm.js\";\nimport React, { Component } from 'react';\nimport \"./reportForm.css\";\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nclass ReportForm extends Component {\n render() {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"reportForm-container\",\n children: /*#__PURE__*/_jsxDEV(\"form\", {\n action: \"/reportFormData\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorType\",\n children: \"Type of Error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"select\", {\n id: \"fErrorType\",\n name: \"errorType\",\n children: [/*#__PURE__*/_jsxDEV(\"option\", {\n value: \"bug\",\n children: \"Bug\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"bsabilityError\",\n children: \"Usability Error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"other\",\n children: \"Other\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorLocation\",\n children: \"Where did you encounter the error?\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 26,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"input\", {\n type: \"text\",\n id: \"fErrorLocation\",\n name: \"errorLocation\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 29,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 28,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorDescription\",\n children: \"Describe the error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 35,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 34,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"textarea\", {\n id: \"fErrorDescription\",\n name: \"errorDescription\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 38,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 37,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 33,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorStepsToTeproduce\",\n children: \"What steps did you take before the error happened?\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 44,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 43,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"textarea\", {\n id: \"fErrorStepsToTeproduce\",\n name: \"errorStepsToReproduce\",\n placeholder: \"List the steps that occurred before the bug happened:\\r\\n1.\\r\\n2.\\r\\n3.\\r\\nExpected Result:\\r\\nActual Result:\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 47,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 46,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 42,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 7\n }, this);\n }\n\n}\n\nexport default ReportForm;","map":{"version":3,"sources":["C:/Users/Bruger/Desktop/Web-projects/pipit/client/src/components/reportForm/ReportForm.js"],"names":["React","Component","FontAwesomeIcon","ReportForm","render"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,OAAO,kBAAP;AACA,SAASC,eAAT,QAAgC,gCAAhC;;;AAEA,MAAMC,UAAN,SAAyBF,SAAzB,CAAmC;AACjCG,EAAAA,MAAM,GAAG;AACP,wBACE;AAAK,MAAA,SAAS,EAAC,sBAAf;AAAA,6BACE;AAAM,QAAA,MAAM,EAAC,iBAAb;AAAA,gCAEE;AAAK,UAAA,SAAS,EAAC,KAAf;AAAA,kCACE;AAAK,YAAA,SAAS,EAAC,QAAf;AAAA,mCACE;AAAO,cAAA,GAAG,EAAC,YAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,kBADF,eAIE;AAAK,YAAA,SAAS,EAAC,QAAf;AAAA,mCACE;AAAQ,cAAA,EAAE,EAAC,YAAX;AAAwB,cAAA,IAAI,EAAC,WAA7B;AAAA,sCACE;AAAQ,gBAAA,KAAK,EAAC,KAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBADF,eAEE;AAAQ,gBAAA,KAAK,EAAC,gBAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAFF,eAGE;AAAQ,gBAAA,KAAK,EAAC,OAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAHF;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,kBAJF;AAAA;AAAA;AAAA;AAAA;AAAA,gBAFF,eAeE;AAAK,UAAA,KAAK,EAAC,KAAX;AAAA,kCACE;AAAK,YAAA,KAAK,EAAC,QAAX;AAAA,mCACE;AAAO,c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A,YADF;AAsDD;;AAxDgC;;AA2DnC,eAAeD,UAAf","sourcesContent":["import React, { Component } from 'react'\r\nimport \"./reportForm.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\n\r\nclass ReportForm extends Component {\r\n render() {\r\n return (\r\n <div className=\"reportForm-container\">\r\n <form action=\"/reportFormData\">\r\n\r\n <div className=\"row\">\r\n <div className=\"col-25\">\r\n <label for=\"fErrorType\">Type of Error</label>\r\n </div>\r\n <div className=\"col-75\">\r\n <select id=\"fErrorType\" name=\"errorType\">\r\n <option value=\"bug\">Bug</option>\r\n <option value=\"bsabilityError\">Usability Error</option>\r\n <option value=\"other\">Other</option>\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorLocation\">Where did you encounter the error?</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <input type=\"text\" id=\"fErrorLocation\" name=\"errorLocation\" ></input>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorDescription\">Describe the error</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <textarea id=\"fErrorDescription\" name=\"errorDescription\"></textarea>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorStepsToTeproduce\">What steps did you take before the error happened?</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <textarea id=\"fErrorStepsToTeproduce\" name=\"errorStepsToReproduce\"\r\n placeholder=\"List the steps that occurred before the bug happened:\r\n1.\r\n2.\r\n3.\r\nExpected Result:\r\nActual Result:\">\r\n </textarea>\r\n </div>\r\n </div>\r\n\r\n </form>\r\n </div>\r\n )\r\n }\r\n}\r\n\r\nexport default ReportForm"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\Bruger\\\\Desktop\\\\Web-projects\\\\pipit\\\\client\\\\src\\\\components\\\\reportForm\\\\ReportForm.js\";\nimport React, { Component } from 'react';\nimport \"./reportForm.css\";\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nclass ReportForm extends Component {\n render() {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"reportForm-container\",\n children: /*#__PURE__*/_jsxDEV(\"form\", {\n action: \"/reportFormData\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorType\",\n children: \"Type of Error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"select\", {\n id: \"fErrorType\",\n className: \"errorType\",\n children: [/*#__PURE__*/_jsxDEV(\"option\", {\n value: \"bug\",\n children: \"Bug\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"usabilityError\",\n children: \"Usability Error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"other\",\n children: \"Other\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorLocation\",\n children: \"Where did you encounter the error?\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 26,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"input\", {\n type: \"text\",\n id: \"fErrorLocation\",\n className: \"errorLocation\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 29,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 28,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorDescription\",\n children: \"Describe the error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 35,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 34,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"textarea\", {\n id: \"fErrorDescription\",\n className: \"errorDescription\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 38,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 37,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 33,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorStepsToTeproduce\",\n children: \"What steps did you take before the error happened?\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 44,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 43,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"textarea\", {\n id: \"fErrorStepsToTeproduce\",\n className: \"errorStepsToReproduce\",\n placeholder: \"List the steps that occurred before the error happened:\\r\\n1.\\r\\n2.\\r\\n3.\\r\\nExpected Result:\\r\\nActual Result:\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 47,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 46,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 42,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorSeverity\",\n children: \"Error severity level\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 60,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 59,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"select\", {\n id: \"fErrorSeverity\",\n className: \"errorSeverity\",\n children: [/*#__PURE__*/_jsxDEV(\"option\", {\n value: \"cosmetic\",\n children: \"Cosmetic - Should be corrected when time permits\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 64,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"serious\",\n children: \"Serious - should be fixed in the next release\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 65,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"critical\",\n children: \"Critical - should be fixed as soon as possible\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 66,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 63,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 62,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 58,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorTimeToCorrect\",\n children: \"Time to Correct\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 73,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 72,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"select\", {\n id: \"fErrorSeverity\",\n className: \"errorTimeToCorrect\",\n children: [/*#__PURE__*/_jsxDEV(\"option\", {\n value: \"lessThanTwoHours\",\n children: \"Less than 2 minutes\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 77,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"lessThanOneToTwoDays\",\n children: \"Less than 1-2 days\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 78,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"lessThanOneToTwoWeeks\",\n children: \"Less than 1-2 weeks\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 79,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"atLeastTwoWeeks\",\n children: \"More than 2 weeks\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 80,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 76,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 75,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 71,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: /*#__PURE__*/_jsxDEV(\"button\", {\n className: \"formSubmitButton\",\n type: \"submit\",\n children: /*#__PURE__*/_jsxDEV(FontAwesomeIcon, {\n icon: \"paper-plane\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 87,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 86,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 85,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 7\n }, this);\n }\n\n}\n\nexport default ReportForm;","map":{"version":3,"sources":["C:/Users/Bruger/Desktop/Web-projects/pipit/client/src/components/reportForm/ReportForm.js"],"names":["React","Component","FontAwesomeIcon","ReportForm","render"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,OAAO,kBAAP;AACA,SAASC,eAAT,QAAgC,gCAAhC;;;AAEA,MAAMC,UAAN,SAAyBF,SAAzB,CAAmC;AACjCG,EAAAA,MAAM,GAAG;AACP,wBACE;AAAK,MAAA,SAAS,EAAC,sBAAf;AAAA,6BACE;AAAM,QAAA,MAAM,EAAC,iBAAb;AAAA,gCAEE;AAAK,UAAA,SAAS,EAAC,KAAf;AAAA,kCACE;AAAK,YAAA,SAAS,EA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wesomeIcon } from '@fortawesome/react-fontawesome'\r\n\r\nclass ReportForm extends Component {\r\n render() {\r\n return (\r\n <div className=\"reportForm-container\">\r\n <form action=\"/reportFormData\">\r\n\r\n <div className=\"row\">\r\n <div className=\"col-25\">\r\n <label for=\"fErrorType\">Type of Error</label>\r\n </div>\r\n <div className=\"col-75\">\r\n <select id=\"fErrorType\" className=\"errorType\">\r\n <option value=\"bug\">Bug</option>\r\n <option value=\"usabilityError\">Usability Error</option>\r\n <option value=\"other\">Other</option>\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorLocation\">Where did you encounter the error?</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <input type=\"text\" id=\"fErrorLocation\" className=\"errorLocation\" ></input>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorDescription\">Describe the error</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <textarea id=\"fErrorDescription\" className=\"errorDescription\"></textarea>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorStepsToTeproduce\">What steps did you take before the error happened?</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <textarea id=\"fErrorStepsToTeproduce\" className=\"errorStepsToReproduce\"\r\n placeholder=\"List the steps that occurred before the error happened:\r\n1.\r\n2.\r\n3.\r\nExpected Result:\r\nActual Result:\">\r\n </textarea>\r\n </div>\r\n </div>\r\n\r\n <div className=\"row\">\r\n <div className=\"col-25\">\r\n <label for=\"fErrorSeverity\">Error severity level</label>\r\n </div>\r\n <div className=\"col-75\">\r\n <select id=\"fErrorSeverity\" className=\"errorSeverity\">\r\n <option value=\"cosmetic\">Cosmetic - Should be corrected when time permits</option>\r\n <option value=\"serious\">Serious - should be fixed in the next release</option>\r\n <option value=\"critical\">Critical - should be fixed as soon as possible</option>\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <div className=\"row\">\r\n <div className=\"col-25\">\r\n <label for=\"fErrorTimeToCorrect\">Time to Correct</label>\r\n </div>\r\n <div className=\"col-75\">\r\n <select id=\"fErrorSeverity\" className=\"errorTimeToCorrect\">\r\n <option value=\"lessThanTwoHours\">Less than 2 minutes</option>\r\n <option value=\"lessThanOneToTwoDays\">Less than 1-2 days</option>\r\n <option value=\"lessThanOneToTwoWeeks\">Less than 1-2 weeks</option>\r\n <option value=\"atLeastTwoWeeks\">More than 2 weeks</option>\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <button className=\"formSubmitButton\" type=\"submit\">\r\n <FontAwesomeIcon icon=\"paper-plane\"></FontAwesomeIcon>\r\n </button>\r\n </div>\r\n </form>\r\n </div>\r\n )\r\n }\r\n}\r\n\r\nexport default ReportForm"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\Bruger\\\\Desktop\\\\Web-projects\\\\pipit\\\\client\\\\src\\\\components\\\\reportForm\\\\ReportForm.js\";\nimport React, { Component } from 'react';\nimport \"./reportForm.css\";\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nclass ReportForm extends Component {\n render() {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"reportForm-container\",\n children: /*#__PURE__*/_jsxDEV(\"form\", {\n action: \"/reportFormData\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorType\",\n children: \"Type of Error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"select\", {\n id: \"fErrorType\",\n name: \"errorType\",\n children: [/*#__PURE__*/_jsxDEV(\"option\", {\n value: \"bug\",\n children: \"Bug\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"bsabilityError\",\n children: \"Usability Error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"other\",\n children: \"Other\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorLocation\",\n children: \"Where did you encounter the error?\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 26,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"input\", {\n type: \"text\",\n id: \"fErrorLocation\",\n name: \"errorLocation\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 29,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 28,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 7\n }, this);\n }\n\n}\n\nexport default ReportForm;","map":{"version":3,"sources":["C:/Users/Bruger/Desktop/Web-projects/pipit/client/src/components/reportForm/ReportForm.js"],"names":["React","Component","FontAwesomeIcon","ReportForm","render"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,OAAO,kBAAP;AACA,SAASC,eAAT,QAAgC,gCAAhC;;;AAEA,MAAMC,UAAN,SAAyBF,SAAzB,CAAmC;AACjCG,EAAAA,MAAM,GAAG;AACP,wBACE;AAAK,MAAA,SAAS,EAAC,sBAAf;AAAA,6BACE;AAAM,QAAA,MAAM,EAAC,iBAAb;AAAA,gCAEE;AAAK,UAAA,SAAS,EAAC,KAAf;AAAA,kCACE;AAAK,YAAA,SAAS,EAAC,QAAf;AAAA,mCACE;AAAO,cAAA,GAAG,EAAC,YAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,kBADF,eAIE;AAAK,YAAA,SAAS,EAAC,QAAf;AAAA,mCACE;AAAQ,cAAA,EAAE,EAAC,YAAX;AAAwB,cAAA,IAAI,EAAC,WAA7B;AAAA,sCACE;AAAQ,gBAAA,KAAK,EAAC,KAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBADF,eAEE;AAAQ,gBAAA,KAAK,EAAC,gBAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAFF,eAGE;AAAQ,gBAAA,KAAK,EAAC,OAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAHF;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,kBAJF;AAAA;AAAA;AAAA;AAAA;AAAA,gBAFF,eAeE;AAAK,UAAA,KAAK,EAAC,KAAX;AAAA,kCACE;AAAK,YAAA,KAAK,EAAC,QAAX;AAAA,mCACE;AAAO,cAAA,GAAG,EAAC,gBAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,kBADF,eAIE;AAAK,YAAA,KAAK,EAAC,QAAX;AAAA,mCACE;AAAO,cAAA,IAAI,EAAC,MAAZ;AAAmB,cAAA,EAAE,EAAC,gBAAtB;AAAuC,cAAA,IAAI,EAAC;AAA5C;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,kBAJF;AAAA;AAAA;AAAA;AAAA;AAAA,gBAfF;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,YADF;AA4BD;;AA9BgC;;AAiCnC,eAAeD,UAAf","sourcesContent":["import React, { Component } from 'react'\r\nimport \"./reportForm.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\n\r\nclass ReportForm extends Component {\r\n render() {\r\n return (\r\n <div className=\"reportForm-container\">\r\n <form action=\"/reportFormData\">\r\n\r\n <div className=\"row\">\r\n <div className=\"col-25\">\r\n <label for=\"fErrorType\">Type of Error</label>\r\n </div>\r\n <div className=\"col-75\">\r\n <select id=\"fErrorType\" name=\"errorType\">\r\n <option value=\"bug\">Bug</option>\r\n <option value=\"bsabilityError\">Usability Error</option>\r\n <option value=\"other\">Other</option>\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorLocation\">Where did you encounter the error?</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <input type=\"text\" id=\"fErrorLocation\" name=\"errorLocation\" ></input>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n )\r\n }\r\n}\r\n\r\nexport default ReportForm"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\Bruger\\\\Desktop\\\\Web-projects\\\\pipit\\\\client\\\\src\\\\components\\\\reportForm\\\\ReportForm.js\";\nimport React, { Component } from 'react';\nimport \"./reportForm.css\";\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nclass ReportForm extends Component {\n render() {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"reportForm-container\",\n children: /*#__PURE__*/_jsxDEV(\"form\", {\n action: \"/reportFormData\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorType\",\n children: \"Type of Error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"select\", {\n id: \"fErrorType\",\n className: \"errorType\",\n children: [/*#__PURE__*/_jsxDEV(\"option\", {\n value: \"bug\",\n children: \"Bug\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"usabilityError\",\n children: \"Usability Error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"other\",\n children: \"Other\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorLocation\",\n children: \"Where did you encounter the error?\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 26,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"input\", {\n type: \"text\",\n id: \"fErrorLocation\",\n className: \"errorLocation\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 29,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 28,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorDescription\",\n children: \"Describe the error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 35,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 34,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"textarea\", {\n id: \"fErrorDescription\",\n className: \"errorDescription\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 38,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 37,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 33,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorStepsToTeproduce\",\n children: \"What steps did you take before the error happened?\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 44,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 43,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"textarea\", {\n id: \"fErrorStepsToTeproduce\",\n className: \"errorStepsToReproduce\",\n placeholder: \"List the steps that occurred before the error happened:\\r\\n1.\\r\\n2.\\r\\n3.\\r\\nExpected Result:\\r\\nActual Result:\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 47,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 46,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 42,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorSeverity\",\n children: \"Error severity level\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 60,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 59,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"select\", {\n id: \"fErrorSeverity\",\n className: \"errorSeverity\",\n children: [/*#__PURE__*/_jsxDEV(\"option\", {\n value: \"cosmetic\",\n children: \"Cosmetic - Should be corrected when time permits\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 64,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"serious\",\n children: \"Serious - should be fixed in the next release\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 65,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"critical\",\n children: \"Critical - should be fixed as soon as possible\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 66,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 63,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 62,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 58,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorTimeToCorrect\",\n children: \"Time to Correct\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 73,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 72,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"select\", {\n id: \"fErrorSeverity\",\n className: \"errorTimeToCorrect\",\n children: [/*#__PURE__*/_jsxDEV(\"option\", {\n value: \"lessThanTwoHours\",\n children: \"Less than 2 minutes\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 77,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"lessThanOneToTwoDays\",\n children: \"Less than 1-2 days\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 78,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"lessThanOneToTwoWeeks\",\n children: \"Less than 1-2 weeks\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 79,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"atLeastTwoWeeks\",\n children: \"More than 2 weeks\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 80,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 76,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 75,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 71,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: /*#__PURE__*/_jsxDEV(\"button\", {\n className: \"formSubmitButton\",\n type: \"submit\",\n children: [\"Submit for review \\xA0\", /*#__PURE__*/_jsxDEV(FontAwesomeIcon, {\n icon: \"paper-plane\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 88,\n columnNumber: 15\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 86,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 85,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 7\n }, this);\n }\n\n}\n\nexport default ReportForm;","map":{"version":3,"sources":["C:/Users/Bruger/Desktop/Web-projects/pipit/client/src/components/reportForm/ReportForm.js"],"names":["React","Component","FontAwesomeIcon","ReportForm","render"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,OAAO,kBAAP;AACA,SAASC,eAAT,QAAgC,gCAAhC;;;AAEA,MAAMC,UAAN,SAAyBF,SAAzB,CAAmC;AACjCG,EAAAA,MAAM,GAAG;AACP,wBACE;AAAK,MAAA,SAAS,EAAC,sBAAf;AAAA,6BACE;AAAM,QAAA,MAAM,EAAC,iBAAb;AAAA,gCAEE;AAAK,UAAA,SAAS,EAAC,KAAf;AAAA,kCACE;AAAK,YAAA,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m.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\n\r\nclass ReportForm extends Component {\r\n render() {\r\n return (\r\n <div className=\"reportForm-container\">\r\n <form action=\"/reportFormData\">\r\n\r\n <div className=\"row\">\r\n <div className=\"col-25\">\r\n <label for=\"fErrorType\">Type of Error</label>\r\n </div>\r\n <div className=\"col-75\">\r\n <select id=\"fErrorType\" className=\"errorType\">\r\n <option value=\"bug\">Bug</option>\r\n <option value=\"usabilityError\">Usability Error</option>\r\n <option value=\"other\">Other</option>\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorLocation\">Where did you encounter the error?</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <input type=\"text\" id=\"fErrorLocation\" className=\"errorLocation\" ></input>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorDescription\">Describe the error</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <textarea id=\"fErrorDescription\" className=\"errorDescription\"></textarea>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorStepsToTeproduce\">What steps did you take before the error happened?</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <textarea id=\"fErrorStepsToTeproduce\" className=\"errorStepsToReproduce\"\r\n placeholder=\"List the steps that occurred before the error happened:\r\n1.\r\n2.\r\n3.\r\nExpected Result:\r\nActual Result:\">\r\n </textarea>\r\n </div>\r\n </div>\r\n\r\n <div className=\"row\">\r\n <div className=\"col-25\">\r\n <label for=\"fErrorSeverity\">Error severity level</label>\r\n </div>\r\n <div className=\"col-75\">\r\n <select id=\"fErrorSeverity\" className=\"errorSeverity\">\r\n <option value=\"cosmetic\">Cosmetic - Should be corrected when time permits</option>\r\n <option value=\"serious\">Serious - should be fixed in the next release</option>\r\n <option value=\"critical\">Critical - should be fixed as soon as possible</option>\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <div className=\"row\">\r\n <div className=\"col-25\">\r\n <label for=\"fErrorTimeToCorrect\">Time to Correct</label>\r\n </div>\r\n <div className=\"col-75\">\r\n <select id=\"fErrorSeverity\" className=\"errorTimeToCorrect\">\r\n <option value=\"lessThanTwoHours\">Less than 2 minutes</option>\r\n <option value=\"lessThanOneToTwoDays\">Less than 1-2 days</option>\r\n <option value=\"lessThanOneToTwoWeeks\">Less than 1-2 weeks</option>\r\n <option value=\"atLeastTwoWeeks\">More than 2 weeks</option>\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <button className=\"formSubmitButton\" type=\"submit\">\r\n Submit for review &nbsp;\r\n <FontAwesomeIcon icon=\"paper-plane\"></FontAwesomeIcon>\r\n </button>\r\n </div>\r\n </form>\r\n </div>\r\n )\r\n }\r\n}\r\n\r\nexport default ReportForm"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\Bruger\\\\Desktop\\\\Web-projects\\\\pipit\\\\client\\\\src\\\\components\\\\reportForm\\\\ReportForm.js\";\nimport React, { Component } from 'react';\nimport \"./reportForm.css\";\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nclass ReportForm extends Component {\n render() {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"reportForm-container\",\n children: [/*#__PURE__*/_jsxDEV(\"h2\", {\n children: \"Report an error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"form\", {\n action: \"/reportFormData\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorType\",\n children: \"Type of Error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"select\", {\n id: \"fErrorType\",\n className: \"errorType\",\n children: [/*#__PURE__*/_jsxDEV(\"option\", {\n value: \"bug\",\n children: \"Bug\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"usabilityError\",\n children: \"Usability Error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"other\",\n children: \"Other\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 20,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorLocation\",\n children: \"Where did you encounter the error?\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 27,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 26,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"input\", {\n type: \"text\",\n id: \"fErrorLocation\",\n className: \"errorLocation\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 30,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 29,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorDescription\",\n children: \"Describe the error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 36,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 35,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"textarea\", {\n id: \"fErrorDescription\",\n className: \"errorDescription\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 39,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 38,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 34,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorStepsToTeproduce\",\n children: \"What steps did you take before the error happened?\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 45,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 44,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"textarea\", {\n id: \"fErrorStepsToTeproduce\",\n className: \"errorStepsToReproduce\",\n placeholder: \"List the steps that occurred before the error happened:\\r\\n1.\\r\\n2.\\r\\n3.\\r\\nExpected Result:\\r\\nActual Result:\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 48,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 47,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 43,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorSeverity\",\n children: \"Error severity level\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 61,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 60,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"select\", {\n id: \"fErrorSeverity\",\n className: \"errorSeverity\",\n children: [/*#__PURE__*/_jsxDEV(\"option\", {\n value: \"cosmetic\",\n children: \"Cosmetic - Should be corrected when time permits\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 65,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"serious\",\n children: \"Serious - should be fixed in the next release\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 66,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"critical\",\n children: \"Critical - should be fixed as soon as possible\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 67,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 64,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 63,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 59,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorTimeToCorrect\",\n children: \"Time to Correct\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 74,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 73,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"select\", {\n id: \"fErrorSeverity\",\n className: \"errorTimeToCorrect\",\n children: [/*#__PURE__*/_jsxDEV(\"option\", {\n value: \"lessThanTwoHours\",\n children: \"Less than 2 minutes\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 78,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"lessThanOneToTwoDays\",\n children: \"Less than 1-2 days\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 79,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"lessThanOneToTwoWeeks\",\n children: \"Less than 1-2 weeks\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 80,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"atLeastTwoWeeks\",\n children: \"More than 2 weeks\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 81,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 77,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 76,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 72,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: /*#__PURE__*/_jsxDEV(\"button\", {\n className: \"formSubmitButton\",\n type: \"submit\",\n children: [\"Submit\\xA0\", /*#__PURE__*/_jsxDEV(FontAwesomeIcon, {\n icon: \"arrow-right\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 89,\n columnNumber: 15\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 87,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 86,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 7\n }, this);\n }\n\n}\n\nexport default ReportForm;","map":{"version":3,"sources":["C:/Users/Bruger/Desktop/Web-projects/pipit/client/src/components/reportForm/ReportForm.js"],"names":["React","Component","FontAwesomeIcon","ReportForm","render"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,OAAO,kBAAP;AACA,SAASC,eAAT,QAAgC,gCAAhC;;;AAEA,MAAMC,UAAN,SAAyBF,SAAzB,CAAmC;AACjCG,EAAAA,MAAM,GAAG;AACP,wBACE;AAAK,MAAA,SAAS,EAAC,sBAAf;AAAA,8BACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,cADF,eAEE;AAAM,QAAA,MAAM,EAAC,iBAAb;AAAA,gCAEE;AAAK,UAAA,SAAS,EAAC,KAAf;AAAA,kCACE;AAAK,YAAA,SAAS,EAAC,QAAf;AAAA,mCACE;AAAO,cAAA,GAAG,EAAC,YAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,kBADF,eAIE;AAAK,YAAA,SAAS,EAAC,QAAf;AAAA,mCACE;AAAQ,cAAA,EAAE,EAAC,YAAX;AAAwB,cAAA,SAAS,EAAC,WAAlC;AAAA,sCACE;AAAQ,gBAAA,KAAK,EAAC,KAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBADF,eAEE;AAAQ,gBAAA,KAAK,EAAC,gBAAd;AAAA;AAAA;AAAA;AAAA;AAAA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AAA,KAAK,EAAC,kBAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBADF,eAEE;AAAQ,gBAAA,KAAK,EAAC,sBAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAFF,eAGE;AAAQ,gBAAA,KAAK,EAAC,uBAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAHF,eAIE;AAAQ,gBAAA,KAAK,EAAC,iBAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAJF;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,kBAJF;AAAA;AAAA;AAAA;AAAA;AAAA,gBA9DF,eA4EE;AAAK,UAAA,KAAK,EAAC,KAAX;AAAA,iCACE;AAAQ,YAAA,SAAS,EAAC,kBAAlB;AAAqC,YAAA,IAAI,EAAC,QAA1C;AAAA,kDAEE,QAAC,eAAD;AAAiB,cAAA,IAAI,EAAC;AAAtB;AAAA;AAAA;AAAA;AAAA,oBAFF;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,gBA5EF;AAAA;AAAA;AAAA;AAAA;AAAA,cAFF;AAAA;AAAA;AAAA;AAAA;AAAA,YADF;AAwFD;;AA1FgC;;AA6FnC,eAAeD,UAAf","sourcesContent":["import React, { Component } from 'react'\r\nimport \"./reportForm.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\n\r\nclass ReportForm extends Component {\r\n render() {\r\n return (\r\n <div className=\"reportForm-container\">\r\n <h2>Report an error</h2>\r\n <form action=\"/reportFormData\">\r\n\r\n <div className=\"row\">\r\n <div className=\"col-25\">\r\n <label for=\"fErrorType\">Type of Error</label>\r\n </div>\r\n <div className=\"col-75\">\r\n <select id=\"fErrorType\" className=\"errorType\">\r\n <option value=\"bug\">Bug</option>\r\n <option value=\"usabilityError\">Usability Error</option>\r\n <option value=\"other\">Other</option>\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorLocation\">Where did you encounter the error?</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <input type=\"text\" id=\"fErrorLocation\" className=\"errorLocation\" ></input>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorDescription\">Describe the error</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <textarea id=\"fErrorDescription\" className=\"errorDescription\"></textarea>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorStepsToTeproduce\">What steps did you take before the error happened?</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <textarea id=\"fErrorStepsToTeproduce\" className=\"errorStepsToReproduce\"\r\n placeholder=\"List the steps that occurred before the error happened:\r\n1.\r\n2.\r\n3.\r\nExpected Result:\r\nActual Result:\">\r\n </textarea>\r\n </div>\r\n </div>\r\n\r\n <div className=\"row\">\r\n <div className=\"col-25\">\r\n <label for=\"fErrorSeverity\">Error severity level</label>\r\n </div>\r\n <div className=\"col-75\">\r\n <select id=\"fErrorSeverity\" className=\"errorSeverity\">\r\n <option value=\"cosmetic\">Cosmetic - Should be corrected when time permits</option>\r\n <option value=\"serious\">Serious - should be fixed in the next release</option>\r\n <option value=\"critical\">Critical - should be fixed as soon as possible</option>\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <div className=\"row\">\r\n <div className=\"col-25\">\r\n <label for=\"fErrorTimeToCorrect\">Time to Correct</label>\r\n </div>\r\n <div className=\"col-75\">\r\n <select id=\"fErrorSeverity\" className=\"errorTimeToCorrect\">\r\n <option value=\"lessThanTwoHours\">Less than 2 minutes</option>\r\n <option value=\"lessThanOneToTwoDays\">Less than 1-2 days</option>\r\n <option value=\"lessThanOneToTwoWeeks\">Less than 1-2 weeks</option>\r\n <option value=\"atLeastTwoWeeks\">More than 2 weeks</option>\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <button className=\"formSubmitButton\" type=\"submit\">\r\n Submit&nbsp;\r\n <FontAwesomeIcon icon=\"arrow-right\"></FontAwesomeIcon>\r\n </button>\r\n </div>\r\n </form>\r\n </div>\r\n )\r\n }\r\n}\r\n\r\nexport default ReportForm"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\Bruger\\\\Desktop\\\\Web-projects\\\\pipit\\\\client\\\\src\\\\components\\\\navigationbar\\\\Navigationbar.js\";\nimport React, { Component } from 'react';\nimport \"./navigationbar.css\";\nimport Logo from './logo/Logo';\nimport NavigationLinks from './navigationLinks/NavigationLinks';\nimport Searchbar from './searchbar/Searchbar';\nimport UserDropdownMenu from './userDropdownMenu/UserDropdownMenu';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nclass Navigationbar extends Component {\n render() {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"navbar\",\n children: /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"header-content\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"title-navigation-links-container\",\n children: [/*#__PURE__*/_jsxDEV(Logo, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(NavigationLinks, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"searchbar-profile-container\",\n children: /*#__PURE__*/_jsxDEV(\"ul\", {\n className: \"right-unstyled-navbar\",\n children: [/*#__PURE__*/_jsxDEV(Searchbar, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 15\n }, this), /*#__PURE__*/_jsxDEV(UserDropdownMenu, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 20,\n columnNumber: 15\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 7\n }, this);\n }\n\n}\n\nexport default Navigationbar;","map":{"version":3,"sources":["C:/Users/Bruger/Desktop/Web-projects/pipit/client/src/components/navigationbar/Navigationbar.js"],"names":["React","Component","Logo","NavigationLinks","Searchbar","UserDropdownMenu","Navigationbar","render"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,OAAO,qBAAP;AACA,OAAOC,IAAP,MAAiB,aAAjB;AACA,OAAOC,eAAP,MAA4B,mCAA5B;AACA,OAAOC,SAAP,MAAsB,uBAAtB;AACA,OAAOC,gBAAP,MAA6B,qCAA7B;;;AAEA,MAAMC,aAAN,SAA4BL,SAA5B,CAAsC;AACpCM,EAAAA,MAAM,GAAG;AACP,wBACE;AAAK,MAAA,SAAS,EAAC,QAAf;AAAA,6BACE;AAAK,QAAA,SAAS,EAAC,gBAAf;AAAA,gCACE;AAAK,UAAA,SAAS,EAAC,kCAAf;AAAA,kCACE,QAAC,IAAD;AAAA;AAAA;AAAA;AAAA,kBADF,eAEE,QAAC,eAAD;AAAA;AAAA;AAAA;AAAA,kBAFF;AAAA;AAAA;AAAA;AAAA;AAAA,gBADF,eAKE;AAAK,UAAA,SAAS,EAAC,6BAAf;AAAA,iCACE;AAAI,YAAA,SAAS,EAAC,uBAAd;AAAA,oCACE,QAAC,SAAD;AAAA;AAAA;AAAA;AAAA,oBADF,eAEE,QAAC,gBAAD;AAAA;AAAA;AAAA;AAAA,oBAFF;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,gBALF;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,YADF;AAgBD;;AAlBmC;;AAsBtC,eAAeD,aAAf","sourcesContent":["import React, { Component } from 'react'\r\nimport \"./navigationbar.css\"\r\nimport Logo from './logo/Logo'\r\nimport NavigationLinks from './navigationLinks/NavigationLinks'\r\nimport Searchbar from './searchbar/Searchbar'\r\nimport UserDropdownMenu from './userDropdownMenu/UserDropdownMenu'\r\n\r\nclass Navigationbar extends Component {\r\n render() {\r\n return (\r\n <div className=\"navbar\" >\r\n <div className=\"header-content\">\r\n <div className=\"title-navigation-links-container\">\r\n <Logo />\r\n <NavigationLinks />\r\n </div>\r\n <div className=\"searchbar-profile-container\">\r\n <ul className=\"right-unstyled-navbar\">\r\n <Searchbar />\r\n <UserDropdownMenu />\r\n </ul>\r\n </div>\r\n </div>\r\n </div >\r\n )\r\n }\r\n}\r\n\r\n\r\nexport default Navigationbar"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\Bruger\\\\Desktop\\\\Web-projects\\\\pipit\\\\client\\\\src\\\\components\\\\navigationbar\\\\navigationLinks\\\\NavigationLinks.js\";\nimport React, { useRef, useState, useEffect } from 'react';\nimport { BrowserRouter as Router, Switch, Route, Link, useParams } from \"react-router-dom\";\nimport \"./navigationLinks.css\";\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nfunction NavigationLinks() {\n return /*#__PURE__*/_jsxDEV(\"ul\", {\n className: \"left-unstyled-navbar\",\n children: [/*#__PURE__*/_jsxDEV(\"li\", {\n className: \"report-bug-navbutton-container\",\n children: /*#__PURE__*/_jsxDEV(Link, {\n to: \"/reportError\",\n children: \"Report Errors\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(\"li\", {\n className: \"manage-projects-navbutton-container\",\n children: /*#__PURE__*/_jsxDEV(Link, {\n to: \"/projects\",\n children: \"Projects\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(\"li\", {\n className: \"manage-team-navbutton-container\",\n children: /*#__PURE__*/_jsxDEV(Link, {\n to: \"/team\",\n children: \"Team\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 22,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 21,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 5\n }, this);\n}\n\n_c = NavigationLinks;\nexport default NavigationLinks;\n\nvar _c;\n\n$RefreshReg$(_c, \"NavigationLinks\");","map":{"version":3,"sources":["C:/Users/Bruger/Desktop/Web-projects/pipit/client/src/components/navigationbar/navigationLinks/NavigationLinks.js"],"names":["React","useRef","useState","useEffect","BrowserRouter","Router","Switch","Route","Link","useParams","FontAwesomeIcon","NavigationLinks"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,MAAhB,EAAwBC,QAAxB,EAAkCC,SAAlC,QAAmD,OAAnD;AACA,SACEC,aAAa,IAAIC,MADnB,EAEEC,MAFF,EAGEC,KAHF,EAIEC,IAJF,EAKEC,SALF,QAMO,kBANP;AAOA,OAAO,uBAAP;AACA,SAASC,eAAT,QAAgC,gCAAhC;;;AAEA,SAASC,eAAT,GAA2B;AACzB,sBACE;AAAI,IAAA,SAAS,EAAC,sBAAd;AAAA,4BACE;AAAI,MAAA,SAAS,EAAC,gCAAd;AAAA,6BACE,QAAC,IAAD;AAAM,QAAA,EAAE,EAAC,cAAT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,YADF,eAIE;AAAI,MAAA,SAAS,EAAC,qCAAd;AAAA,6BACE,QAAC,IAAD;AAAM,QAAA,EAAE,EAAC,WAAT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,YAJF,eAOE;AAAI,MAAA,SAAS,EAAC,iCAAd;AAAA,6BACE,QAAC,IAAD;AAAM,QAAA,EAAE,EAAC,OAAT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,YAPF;AAAA;AAAA;AAAA;AAAA;AAAA,UADF;AAaD;;KAdQA,e;AAgBT,eAAeA,eAAf","sourcesContent":["import React, { useRef, useState, useEffect } from 'react'\r\nimport {\r\n BrowserRouter as Router,\r\n Switch,\r\n Route,\r\n Link,\r\n useParams\r\n} from \"react-router-dom\";\r\nimport \"./navigationLinks.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\n\r\nfunction NavigationLinks() {\r\n return (\r\n <ul className=\"left-unstyled-navbar\">\r\n <li className=\"report-bug-navbutton-container\">\r\n <Link to=\"/reportError\">Report Errors</Link>\r\n </li>\r\n <li className=\"manage-projects-navbutton-container\">\r\n <Link to=\"/projects\">Projects</Link>\r\n </li>\r\n <li className=\"manage-team-navbutton-container\">\r\n <Link to=\"/team\">Team</Link>\r\n </li>\r\n </ul>\r\n )\r\n}\r\n\r\nexport default NavigationLinks"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\Bruger\\\\Desktop\\\\Web-projects\\\\pipit\\\\client\\\\src\\\\components\\\\reportForm\\\\ReportForm.js\";\nimport React, { Component } from 'react';\nimport \"./reportForm.css\";\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nclass ReportForm extends Component {\n render() {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"reportForm-container\",\n children: [/*#__PURE__*/_jsxDEV(\"h1\", {\n children: \"Report a bug\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"form\", {\n action: \"/reportFormData\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorType\",\n children: \"Type of Error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"select\", {\n id: \"fErrorType\",\n className: \"errorType\",\n children: [/*#__PURE__*/_jsxDEV(\"option\", {\n value: \"bug\",\n children: \"Bug\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"usabilityError\",\n children: \"Usability Error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"other\",\n children: \"Other\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 20,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorLocation\",\n children: \"Where did you encounter the error?\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 27,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 26,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"input\", {\n type: \"text\",\n id: \"fErrorLocation\",\n className: \"errorLocation\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 30,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 29,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorDescription\",\n children: \"Describe the error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 36,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 35,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"textarea\", {\n id: \"fErrorDescription\",\n className: \"errorDescription\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 39,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 38,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 34,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorStepsToTeproduce\",\n children: \"What steps did you take before the error happened?\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 45,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 44,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"textarea\", {\n id: \"fErrorStepsToTeproduce\",\n className: \"errorStepsToReproduce\",\n placeholder: \"List the steps that occurred before the error happened:\\r\\n1.\\r\\n2.\\r\\n3.\\r\\nExpected Result:\\r\\nActual Result:\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 48,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 47,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 43,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorSeverity\",\n children: \"Error severity level\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 61,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 60,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"select\", {\n id: \"fErrorSeverity\",\n className: \"errorSeverity\",\n children: [/*#__PURE__*/_jsxDEV(\"option\", {\n value: \"cosmetic\",\n children: \"Cosmetic - Should be corrected when time permits\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 65,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"serious\",\n children: \"Serious - should be fixed in the next release\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 66,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"critical\",\n children: \"Critical - should be fixed as soon as possible\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 67,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 64,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 63,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 59,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorTimeToCorrect\",\n children: \"Time to Correct\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 74,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 73,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"select\", {\n id: \"fErrorSeverity\",\n className: \"errorTimeToCorrect\",\n children: [/*#__PURE__*/_jsxDEV(\"option\", {\n value: \"lessThanTwoHours\",\n children: \"Less than 2 minutes\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 78,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"lessThanOneToTwoDays\",\n children: \"Less than 1-2 days\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 79,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"lessThanOneToTwoWeeks\",\n children: \"Less than 1-2 weeks\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 80,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"atLeastTwoWeeks\",\n children: \"More than 2 weeks\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 81,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 77,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 76,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 72,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: /*#__PURE__*/_jsxDEV(\"button\", {\n className: \"formSubmitButton\",\n type: \"submit\",\n children: [\"Submit\\xA0\", /*#__PURE__*/_jsxDEV(FontAwesomeIcon, {\n icon: \"arrow-right\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 89,\n columnNumber: 15\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 87,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 86,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 7\n }, this);\n }\n\n}\n\nexport default ReportForm;","map":{"version":3,"sources":["C:/Users/Bruger/Desktop/Web-projects/pipit/client/src/components/reportForm/ReportForm.js"],"names":["React","Component","FontAwesomeIcon","ReportForm","render"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,OAAO,kBAAP;AACA,SAASC,eAAT,QAAgC,gCAAhC;;;AAEA,MAAMC,UAAN,SAAyBF,SAAzB,CAAmC;AACjCG,EAAAA,MAAM,GAAG;AACP,wBACE;AAAK,MAAA,SAAS,EAAC,sBAAf;AAAA,8BACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,cADF,eAEE;AAAM,QAAA,MAAM,EAAC,iBAAb;AAAA,gCAEE;AAAK,UAAA,SAAS,EAAC,KAAf;AAAA,kCACE;AAAK,YAAA,SAAS,EAAC,QAAf;AAAA,mCACE;AAAO,cAA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ortawesome/react-fontawesome'\r\n\r\nclass ReportForm extends Component {\r\n render() {\r\n return (\r\n <div className=\"reportForm-container\">\r\n <h1>Report a bug</h1>\r\n <form action=\"/reportFormData\">\r\n\r\n <div className=\"row\">\r\n <div className=\"col-25\">\r\n <label for=\"fErrorType\">Type of Error</label>\r\n </div>\r\n <div className=\"col-75\">\r\n <select id=\"fErrorType\" className=\"errorType\">\r\n <option value=\"bug\">Bug</option>\r\n <option value=\"usabilityError\">Usability Error</option>\r\n <option value=\"other\">Other</option>\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorLocation\">Where did you encounter the error?</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <input type=\"text\" id=\"fErrorLocation\" className=\"errorLocation\" ></input>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorDescription\">Describe the error</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <textarea id=\"fErrorDescription\" className=\"errorDescription\"></textarea>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorStepsToTeproduce\">What steps did you take before the error happened?</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <textarea id=\"fErrorStepsToTeproduce\" className=\"errorStepsToReproduce\"\r\n placeholder=\"List the steps that occurred before the error happened:\r\n1.\r\n2.\r\n3.\r\nExpected Result:\r\nActual Result:\">\r\n </textarea>\r\n </div>\r\n </div>\r\n\r\n <div className=\"row\">\r\n <div className=\"col-25\">\r\n <label for=\"fErrorSeverity\">Error severity level</label>\r\n </div>\r\n <div className=\"col-75\">\r\n <select id=\"fErrorSeverity\" className=\"errorSeverity\">\r\n <option value=\"cosmetic\">Cosmetic - Should be corrected when time permits</option>\r\n <option value=\"serious\">Serious - should be fixed in the next release</option>\r\n <option value=\"critical\">Critical - should be fixed as soon as possible</option>\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <div className=\"row\">\r\n <div className=\"col-25\">\r\n <label for=\"fErrorTimeToCorrect\">Time to Correct</label>\r\n </div>\r\n <div className=\"col-75\">\r\n <select id=\"fErrorSeverity\" className=\"errorTimeToCorrect\">\r\n <option value=\"lessThanTwoHours\">Less than 2 minutes</option>\r\n <option value=\"lessThanOneToTwoDays\">Less than 1-2 days</option>\r\n <option value=\"lessThanOneToTwoWeeks\">Less than 1-2 weeks</option>\r\n <option value=\"atLeastTwoWeeks\">More than 2 weeks</option>\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <button className=\"formSubmitButton\" type=\"submit\">\r\n Submit&nbsp;\r\n <FontAwesomeIcon icon=\"arrow-right\"></FontAwesomeIcon>\r\n </button>\r\n </div>\r\n </form>\r\n </div>\r\n )\r\n }\r\n}\r\n\r\nexport default ReportForm"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\Bruger\\\\Desktop\\\\Web-projects\\\\pipit\\\\client\\\\src\\\\components\\\\navigationbar\\\\searchbar\\\\Searchbar.js\";\nimport React from 'react';\nimport \"./searchbar.css\";\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nfunction searchbar() {\n return /*#__PURE__*/_jsxDEV(\"li\", {\n children: /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"navbar-searchbar-container\",\n children: [/*#__PURE__*/_jsxDEV(\"input\", {\n className: \"searchbar-input\",\n type: \"text\",\n name: \"\",\n placeholder: \"Search..\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(FontAwesomeIcon, {\n icon: \"search\",\n className: \"search-button\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 7,\n columnNumber: 5\n }, this);\n}\n\nexport default searchbar;","map":{"version":3,"sources":["C:/Users/Bruger/Desktop/Web-projects/pipit/client/src/components/navigationbar/searchbar/Searchbar.js"],"names":["React","FontAwesomeIcon","searchbar"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAO,iBAAP;AACA,SAASC,eAAT,QAAgC,gCAAhC;;;AAEA,SAASC,SAAT,GAAqB;AACnB,sBACE;AAAA,2BACE;AAAK,MAAA,SAAS,EAAC,4BAAf;AAAA,8BACE;AAAO,QAAA,SAAS,EAAC,iBAAjB;AAAmC,QAAA,IAAI,EAAC,MAAxC;AAA+C,QAAA,IAAI,EAAC,EAApD;AAAuD,QAAA,WAAW,EAAC;AAAnE;AAAA;AAAA;AAAA;AAAA,cADF,eAGE,QAAC,eAAD;AAAiB,QAAA,IAAI,EAAC,QAAtB;AAA+B,QAAA,SAAS,EAAC;AAAzC;AAAA;AAAA;AAAA;AAAA,cAHF;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,UADF;AASD;;AACD,eAAeA,SAAf","sourcesContent":["import React from 'react'\r\nimport \"./searchbar.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\n\r\nfunction searchbar() {\r\n return (\r\n <li>\r\n <div className=\"navbar-searchbar-container\">\r\n <input className=\"searchbar-input\" type=\"text\" name=\"\" placeholder=\"Search..\">\r\n </input>\r\n <FontAwesomeIcon icon=\"search\" className=\"search-button\"></FontAwesomeIcon>\r\n </div>\r\n </li>\r\n )\r\n}\r\nexport default searchbar"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\Bruger\\\\Desktop\\\\Web-projects\\\\pipit\\\\client\\\\src\\\\App.js\";\nimport React from \"react\";\nimport { BrowserRouter as Router, Route } from \"react-router-dom\";\nimport { library } from '@fortawesome/fontawesome-svg-core';\nimport { fas } from '@fortawesome/free-solid-svg-icons';\nimport Navigationbar from \"./components/navigationbar/Navigationbar\";\nimport Footer from \"./components/footer/Footer\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nlibrary.add(fas);\n\nconst App = () => /*#__PURE__*/_jsxDEV(Router, {\n children: [/*#__PURE__*/_jsxDEV(Route, {\n path: \"/\",\n exact: true,\n component: Navigationbar\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 5\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/\",\n exact: true,\n component: Footer\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 5\n }, this)]\n}, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 3\n}, this);\n\n_c = App;\nexport default App;\n\nvar _c;\n\n$RefreshReg$(_c, \"App\");","map":{"version":3,"sources":["C:/Users/Bruger/Desktop/Web-projects/pipit/client/src/App.js"],"names":["React","BrowserRouter","Router","Route","library","fas","Navigationbar","Footer","add","App"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SAASC,aAAa,IAAIC,MAA1B,EAAkCC,KAAlC,QAA+C,kBAA/C;AACA,SAASC,OAAT,QAAwB,mCAAxB;AACA,SAASC,GAAT,QAAoB,mCAApB;AACA,OAAOC,aAAP,MAA0B,0CAA1B;AACA,OAAOC,MAAP,MAAmB,4BAAnB;;AAEAH,OAAO,CAACI,GAAR,CAAYH,GAAZ;;AAEA,MAAMI,GAAG,GAAG,mBACV,QAAC,MAAD;AAAA,0BACE,QAAC,KAAD;AAAO,IAAA,IAAI,EAAC,GAAZ;AAAgB,IAAA,KAAK,MAArB;AAAsB,IAAA,SAAS,EAAEH;AAAjC;AAAA;AAAA;AAAA;AAAA,UADF,eAEE,QAAC,KAAD;AAAO,IAAA,IAAI,EAAC,GAAZ;AAAgB,IAAA,KAAK,MAArB;AAAsB,IAAA,SAAS,EAAEC;AAAjC;AAAA;AAAA;AAAA;AAAA,UAFF;AAAA;AAAA;AAAA;AAAA;AAAA,QADF;;KAAME,G;AAON,eAAeA,GAAf","sourcesContent":["import React from \"react\"\nimport { BrowserRouter as Router, Route } from \"react-router-dom\"\nimport { library } from '@fortawesome/fontawesome-svg-core'\nimport { fas } from '@fortawesome/free-solid-svg-icons'\nimport Navigationbar from \"./components/navigationbar/Navigationbar\"\nimport Footer from \"./components/footer/Footer\"\n\nlibrary.add(fas)\n\nconst App = () => (\n <Router>\n <Route path=\"/\" exact component={Navigationbar} />\n <Route path=\"/\" exact component={Footer} />\n </Router>\n)\n\nexport default App"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\Bruger\\\\Desktop\\\\Web-projects\\\\pipit\\\\client\\\\src\\\\components\\\\reportForm\\\\ReportForm.js\";\nimport React, { Component } from 'react';\nimport \"./reportForm.css\";\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nclass ReportForm extends Component {\n render() {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"reportForm-container\",\n children: /*#__PURE__*/_jsxDEV(\"form\", {\n action: \"/reportFormData\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorType\",\n children: \"Type of Error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"select\", {\n id: \"fErrorType\",\n name: \"errorType\",\n children: [/*#__PURE__*/_jsxDEV(\"option\", {\n value: \"bug\",\n children: \"Bug\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"bsabilityError\",\n children: \"Usability Error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"other\",\n children: \"Other\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorLocation\",\n children: \"Where did you encounter the error?\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 26,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"input\", {\n type: \"text\",\n id: \"fErrorLocation\",\n name: \"errorLocation\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 29,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 28,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorDescription\",\n children: \"Describe the error, what happened?\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 35,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 34,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"textarea\", {\n id: \"fErrorDescription\",\n name: \"errorDescription\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 38,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 37,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 33,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 7\n }, this);\n }\n\n}\n\nexport default ReportForm;","map":{"version":3,"sources":["C:/Users/Bruger/Desktop/Web-projects/pipit/client/src/components/reportForm/ReportForm.js"],"names":["React","Component","FontAwesomeIcon","ReportForm","render"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,OAAO,kBAAP;AACA,SAASC,eAAT,QAAgC,gCAAhC;;;AAEA,MAAMC,UAAN,SAAyBF,SAAzB,CAAmC;AACjCG,EAAAA,MAAM,GAAG;AACP,wBACE;AAAK,MAAA,SAAS,EAAC,sBAAf;AAAA,6BACE;AAAM,QAAA,MAAM,EAAC,iBAAb;AAAA,gCAEE;AAAK,UAAA,SAAS,EAAC,KAAf;AAAA,kCACE;AAAK,YAAA,SAAS,EAAC,QAAf;AAAA,mCACE;AAAO,cAAA,GAAG,EAAC,YAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,kBADF,eAIE;AAAK,YAAA,SAAS,EAAC,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BAJF;AAAA;AAAA;AAAA;AAAA;AAAA,gBAxBF;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,YADF;AAsCD;;AAxCgC;;AA2CnC,eAAeD,UAAf","sourcesContent":["import React, { Component } from 'react'\r\nimport \"./reportForm.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\n\r\nclass ReportForm extends Component {\r\n render() {\r\n return (\r\n <div className=\"reportForm-container\">\r\n <form action=\"/reportFormData\">\r\n\r\n <div className=\"row\">\r\n <div className=\"col-25\">\r\n <label for=\"fErrorType\">Type of Error</label>\r\n </div>\r\n <div className=\"col-75\">\r\n <select id=\"fErrorType\" name=\"errorType\">\r\n <option value=\"bug\">Bug</option>\r\n <option value=\"bsabilityError\">Usability Error</option>\r\n <option value=\"other\">Other</option>\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorLocation\">Where did you encounter the error?</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <input type=\"text\" id=\"fErrorLocation\" name=\"errorLocation\" ></input>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorDescription\">Describe the error, what happened?</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <textarea id=\"fErrorDescription\" name=\"errorDescription\"></textarea>\r\n </div>\r\n </div>\r\n\r\n </form>\r\n </div>\r\n )\r\n }\r\n}\r\n\r\nexport default ReportForm"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\Bruger\\\\Desktop\\\\Web-projects\\\\pipit\\\\client\\\\src\\\\components\\\\reportForm\\\\ReportForm.js\";\nimport React, { Component } from 'react';\nimport \"./reportForm.css\";\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nclass ReportForm extends Component {\n render() {\n return /*#__PURE__*/_jsxDEV(\"h2\", {\n children: \" Report bugs\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 7\n }, this);\n }\n\n}\n\nexport default ReportForm;","map":{"version":3,"sources":["C:/Users/Bruger/Desktop/Web-projects/pipit/client/src/components/reportForm/ReportForm.js"],"names":["React","Component","FontAwesomeIcon","ReportForm","render"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,OAAO,kBAAP;AACA,SAASC,eAAT,QAAgC,gCAAhC;;;AAEA,MAAMC,UAAN,SAAyBF,SAAzB,CAAmC;AACjCG,EAAAA,MAAM,GAAG;AACP,wBACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YADF;AAGD;;AALgC;;AAQnC,eAAeD,UAAf","sourcesContent":["import React, { Component } from 'react'\r\nimport \"./reportForm.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\n\r\nclass ReportForm extends Component {\r\n render() {\r\n return (\r\n <h2> Report bugs</h2 >\r\n )\r\n }\r\n}\r\n\r\nexport default ReportForm"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\Bruger\\\\Desktop\\\\Web-projects\\\\pipit\\\\client\\\\src\\\\components\\\\navigationbar\\\\searchbar\\\\Searchbar.js\",\n _s = $RefreshSig$();\n\nimport React, { useRef, useState, useEffect } from 'react';\nimport \"./searchbar.css\";\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nfunction searchbar() {\n _s();\n\n const searchresultRef = useRef(null);\n const [isActive, setIsActive] = useState(false);\n\n const onClick = () => setIsActive(!isActive);\n\n useEffect(() => {\n const pageClickEvent = e => {\n if (searchresultRef.current !== null && !searchresultRef.current.contains(e.target)) {\n setIsActive(!isActive);\n }\n }; // If the item is active (ie open) then listen for clicks\n\n\n if (isActive) {\n searchBarIcon = /*#__PURE__*/_jsxDEV(FontAwesomeIcon, {\n icon: \"cross\",\n className: \"search-button\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 20,\n columnNumber: 23\n }, this);\n window.addEventListener('click', pageClickEvent);\n }\n\n return () => {\n window.removeEventListener('click', pageClickEvent);\n };\n }, [isActive]);\n return /*#__PURE__*/_jsxDEV(\"li\", {\n children: /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"navbar-searchbar-container\",\n children: [/*#__PURE__*/_jsxDEV(\"input\", {\n className: \"searchbar-input\",\n type: \"text\",\n name: \"\",\n placeholder: \"Search..\",\n onClick: this.handleClick\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 32,\n columnNumber: 9\n }, this), searchBarIcon]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 31,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 30,\n columnNumber: 5\n }, this);\n}\n\n_s(searchbar, \"ySCCGz/6BXHyLC9ks4Js+ryPaSM=\");\n\nexport default searchbar;","map":{"version":3,"sources":["C:/Users/Bruger/Desktop/Web-projects/pipit/client/src/components/navigationbar/searchbar/Searchbar.js"],"names":["React","useRef","useState","useEffect","FontAwesomeIcon","searchbar","searchresultRef","isActive","setIsActive","onClick","pageClickEvent","e","current","contains","target","searchBarIcon","window","addEventListener","removeEventListener","handleClick"],"mappings":";;;AAAA,OAAOA,KAAP,IAAgBC,MAAhB,EAAwBC,QAAxB,EAAkCC,SAAlC,QAAmD,OAAnD;AACA,OAAO,iBAAP;AACA,SAASC,eAAT,QAAgC,gCAAhC;;;AAEA,SAASC,SAAT,GAAqB;AAAA;;AAEnB,QAAMC,eAAe,GAAGL,MAAM,CAAC,IAAD,CAA9B;AACA,QAAM,CAACM,QAAD,EAAWC,WAAX,IAA0BN,QAAQ,CAAC,KAAD,CAAxC;;AACA,QAAMO,OAAO,GAAG,MAAMD,WAAW,CAAC,CAACD,QAAF,CAAjC;;AAEAJ,EAAAA,SAAS,CAAC,MAAM;AACd,UAAMO,cAAc,GAAIC,CAAD,IAAO;AAC5B,UAAIL,eAAe,CAACM,OAAhB,KAA4B,IAA5B,IAAoC,CAACN,eAAe,CAACM,OAAhB,CAAwBC,QAAxB,CAAiCF,CAAC,CAACG,MAAnC,CAAzC,EAAqF;AACnFN,QAAAA,WAAW,CAAC,CAACD,QAAF,CAAX;AACD;AACF,KAJD,CADc,CAOd;;;AACA,QAAIA,QAAJ,EAAc;AACZQ,MAAAA,aAAa,gBAAG,QAAC,eAAD;AAAiB,QAAA,IAAI,EAAC,OAAtB;AAA8B,QAAA,SAAS,EAAC;AAAxC;AAAA;AAAA;AAAA;AAAA,cAAhB;AACAC,MAAAA,MAAM,CAACC,gBAAP,CAAwB,OAAxB,EAAiCP,cAAjC;AACD;;AAED,WAAO,MAAM;AACXM,MAAAA,MAAM,CAACE,mBAAP,CAA2B,OAA3B,EAAoCR,cAApC;AACD,KAFD;AAID,GAjBQ,EAiBN,CAACH,QAAD,CAjBM,CAAT;AAkBA,sBACE;AAAA,2BACE;AAAK,MAAA,SAAS,EAAC,4BAAf;AAAA,8BACE;AAAO,QAAA,SAAS,EAAC,iBAAjB;AAAmC,QAAA,IAAI,EAAC,MAAxC;AAA+C,QAAA,IAAI,EAAC,EAApD;AAAuD,QAAA,WAAW,EAAC,UAAnE;AAA8E,QAAA,OAAO,EAAE,KAAKY;AAA5F;AAAA;AAAA;AAAA;AAAA,cADF,EAGGJ,aAHH;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,UADF;AASD;;GAjCQV,S;;AAkCT,eAAeA,SAAf","sourcesContent":["import React, { useRef, useState, useEffect } from 'react'\r\nimport \"./searchbar.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\n\r\nfunction searchbar() {\r\n\r\n const searchresultRef = useRef(null);\r\n const [isActive, setIsActive] = useState(false);\r\n const onClick = () => setIsActive(!isActive);\r\n\r\n useEffect(() => {\r\n const pageClickEvent = (e) => {\r\n if (searchresultRef.current !== null && !searchresultRef.current.contains(e.target)) {\r\n setIsActive(!isActive);\r\n }\r\n };\r\n\r\n // If the item is active (ie open) then listen for clicks\r\n if (isActive) {\r\n searchBarIcon = <FontAwesomeIcon icon=\"cross\" className=\"search-button\"></FontAwesomeIcon>\r\n window.addEventListener('click', pageClickEvent);\r\n }\r\n\r\n return () => {\r\n window.removeEventListener('click', pageClickEvent);\r\n }\r\n\r\n }, [isActive]);\r\n return (\r\n <li>\r\n <div className=\"navbar-searchbar-container\">\r\n <input className=\"searchbar-input\" type=\"text\" name=\"\" placeholder=\"Search..\" onClick={this.handleClick}>\r\n </input>\r\n {searchBarIcon}\r\n </div>\r\n </li>\r\n )\r\n}\r\nexport default searchbar"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\Bruger\\\\Desktop\\\\Web-projects\\\\pipit\\\\client\\\\src\\\\components\\\\reportForm\\\\ReportForm.js\";\nimport React, { Component } from 'react';\nimport \"./reportForm.css\";\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nclass ReportForm extends Component {\n render() {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"reportForm-container\",\n children: /*#__PURE__*/_jsxDEV(\"form\", {\n action: \"/reportFormData\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorType\",\n children: \"Type of Error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"select\", {\n id: \"fErrorType\",\n className: \"errorType\",\n children: [/*#__PURE__*/_jsxDEV(\"option\", {\n value: \"bug\",\n children: \"Bug\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"usabilityError\",\n children: \"Usability Error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"other\",\n children: \"Other\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorLocation\",\n children: \"Where did you encounter the error?\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 26,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"input\", {\n type: \"text\",\n id: \"fErrorLocation\",\n className: \"errorLocation\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 29,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 28,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorDescription\",\n children: \"Describe the error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 35,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 34,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"textarea\", {\n id: \"fErrorDescription\",\n className: \"errorDescription\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 38,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 37,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 33,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorStepsToTeproduce\",\n children: \"What steps did you take before the error happened?\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 44,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 43,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"textarea\", {\n id: \"fErrorStepsToTeproduce\",\n className: \"errorStepsToReproduce\",\n placeholder: \"List the steps that occurred before the error happened:\\r\\n1.\\r\\n2.\\r\\n3.\\r\\nExpected Result:\\r\\nActual Result:\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 47,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 46,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 42,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorSeverity\",\n children: \"Error severity level\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 60,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 59,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"select\", {\n id: \"fErrorSeverity\",\n className: \"errorSeverity\",\n children: [/*#__PURE__*/_jsxDEV(\"option\", {\n value: \"cosmetic\",\n children: \"Cosmetic - Should be corrected when time permits\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 64,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"serious\",\n children: \"Serious - should be fixed in the next release\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 65,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"critical\",\n children: \"Critical - should be fixed as soon as possible\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 66,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 63,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 62,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 58,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorTimeToCorrect\",\n children: \"Time to Correct level\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 73,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 72,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"select\", {\n id: \"fErrorSeverity\",\n className: \"errorSeverity\",\n children: [/*#__PURE__*/_jsxDEV(\"option\", {\n value: \"lessThanTwoHours\",\n children: \"1 - Less than two minutes\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 77,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"lessThanOneToTwoDays\",\n children: \"2 - Less than one to two days\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 78,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"lessThanOneToTwoWeeks\",\n children: \"3 - Less than one to two weeks\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 79,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"atLeastTwoWeeks\",\n children: \"4 - More than two weeks\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 80,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 76,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 75,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 71,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: /*#__PURE__*/_jsxDEV(\"input\", {\n className: \"formSubmitButton\",\n type: \"submit\",\n value: \"Submit\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 86,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 85,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 7\n }, this);\n }\n\n}\n\nexport default ReportForm;","map":{"version":3,"sources":["C:/Users/Bruger/Desktop/Web-projects/pipit/client/src/components/reportForm/ReportForm.js"],"names":["React","Component","FontAwesomeIcon","ReportForm","render"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,OAAO,kBAAP;AACA,SAASC,eAAT,QAAgC,gCAAhC;;;AAEA,MAAMC,UAAN,SAAyBF,SAAzB,CAAmC;AACjCG,EAAAA,MAAM,GAAG;AACP,wBACE;AAAK,MAAA,SAAS,EAAC,sBAAf;AAAA,6BACE;AAAM,QAAA,MAAM,EAAC,iBAAb;AAAA,gCAEE;AAAK,UAAA,SAAS,EAAC,KAAf;AAAA,kCACE;AAAK,YAAA,SAAS,EAAC,QAAf;AAAA,mCACE;AAAO,cAAA,GAAG,EAAC,YAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,kBADF,eAIE;AAAK,YAAA,SAAS,EAAC,QAAf;AAAA,mCACE;AAAQ,cAAA,EAAE,EAAC,YAAX;AAAwB,cAAA,SAAS,EAAC,WAAlC;AAAA,sCACE;AAAQ,gBAAA,KAAK,EAAC,KAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBADF,eAEE;AAAQ,gBAAA,KAAK,EAAC,gBAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAFF,eAGE;AAAQ,gBAAA,KAAK,EAAC,OAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAHF;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,kBAJF;AAAA;AAAA;AAAA;AAAA;AAAA,gBAFF,eAeE;AAAK,UAAA,KAAK,EAAC,KAAX;AAAA,kCACE;AAAK,YAAA,KAAK,EAAC,QAAX;AAAA,mCACE;AAAO,cAAA,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AAA,sBAJF;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,kBAJF;AAAA;AAAA;AAAA;AAAA;AAAA,gBA9DF,eA4EE;AAAK,UAAA,KAAK,EAAC,KAAX;AAAA,iCACE;AAAO,YAAA,SAAS,EAAC,kBAAjB;AAAoC,YAAA,IAAI,EAAC,QAAzC;AAAkD,YAAA,KAAK,EAAC;AAAxD;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,gBA5EF;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,YADF;AAoFD;;AAtFgC;;AAyFnC,eAAeD,UAAf","sourcesContent":["import React, { Component } from 'react'\r\nimport \"./reportForm.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\n\r\nclass ReportForm extends Component {\r\n render() {\r\n return (\r\n <div className=\"reportForm-container\">\r\n <form action=\"/reportFormData\">\r\n\r\n <div className=\"row\">\r\n <div className=\"col-25\">\r\n <label for=\"fErrorType\">Type of Error</label>\r\n </div>\r\n <div className=\"col-75\">\r\n <select id=\"fErrorType\" className=\"errorType\">\r\n <option value=\"bug\">Bug</option>\r\n <option value=\"usabilityError\">Usability Error</option>\r\n <option value=\"other\">Other</option>\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorLocation\">Where did you encounter the error?</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <input type=\"text\" id=\"fErrorLocation\" className=\"errorLocation\" ></input>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorDescription\">Describe the error</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <textarea id=\"fErrorDescription\" className=\"errorDescription\"></textarea>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorStepsToTeproduce\">What steps did you take before the error happened?</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <textarea id=\"fErrorStepsToTeproduce\" className=\"errorStepsToReproduce\"\r\n placeholder=\"List the steps that occurred before the error happened:\r\n1.\r\n2.\r\n3.\r\nExpected Result:\r\nActual Result:\">\r\n </textarea>\r\n </div>\r\n </div>\r\n\r\n <div className=\"row\">\r\n <div className=\"col-25\">\r\n <label for=\"fErrorSeverity\">Error severity level</label>\r\n </div>\r\n <div className=\"col-75\">\r\n <select id=\"fErrorSeverity\" className=\"errorSeverity\">\r\n <option value=\"cosmetic\">Cosmetic - Should be corrected when time permits</option>\r\n <option value=\"serious\">Serious - should be fixed in the next release</option>\r\n <option value=\"critical\">Critical - should be fixed as soon as possible</option>\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <div className=\"row\">\r\n <div className=\"col-25\">\r\n <label for=\"fErrorTimeToCorrect\">Time to Correct level</label>\r\n </div>\r\n <div className=\"col-75\">\r\n <select id=\"fErrorSeverity\" className=\"errorSeverity\">\r\n <option value=\"lessThanTwoHours\">1 - Less than two minutes</option>\r\n <option value=\"lessThanOneToTwoDays\">2 - Less than one to two days</option>\r\n <option value=\"lessThanOneToTwoWeeks\">3 - Less than one to two weeks</option>\r\n <option value=\"atLeastTwoWeeks\">4 - More than two weeks</option>\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <input className=\"formSubmitButton\" type=\"submit\" value=\"Submit\"></input>\r\n </div>\r\n </form>\r\n </div>\r\n )\r\n }\r\n}\r\n\r\nexport default ReportForm"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\Bruger\\\\Desktop\\\\Web-projects\\\\pipit\\\\client\\\\src\\\\components\\\\navigationbar\\\\searchbar\\\\Searchbar.js\";\nimport React from 'react';\nimport \"./searchbar.css\";\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nfunction searchbar() {\n return /*#__PURE__*/_jsxDEV(\"li\", {\n children: /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"navbar-searchbar-container\",\n children: [/*#__PURE__*/_jsxDEV(\"input\", {\n className: \"searchbar-input\",\n type: \"text\",\n name: \"\",\n placeholder: \"Search..\",\n children: /*#__PURE__*/_jsxDEV(FontAwesomeIcon, {\n icon: \"search\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"a\", {\n className: \"search-button\",\n href: \"./\",\n type: \"submit\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 7,\n columnNumber: 5\n }, this);\n}\n\nexport default searchbar;","map":{"version":3,"sources":["C:/Users/Bruger/Desktop/Web-projects/pipit/client/src/components/navigationbar/searchbar/Searchbar.js"],"names":["React","FontAwesomeIcon","searchbar"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAO,iBAAP;AACA,SAASC,eAAT,QAAgC,gCAAhC;;;AAEA,SAASC,SAAT,GAAqB;AACnB,sBACE;AAAA,2BACE;AAAK,MAAA,SAAS,EAAC,4BAAf;AAAA,8BACE;AAAO,QAAA,SAAS,EAAC,iBAAjB;AAAmC,QAAA,IAAI,EAAC,MAAxC;AAA+C,QAAA,IAAI,EAAC,EAApD;AAAuD,QAAA,WAAW,EAAC,UAAnE;AAAA,+BACE,QAAC,eAAD;AAAiB,UAAA,IAAI,EAAC;AAAtB;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,cADF,eAKE;AAAG,QAAA,SAAS,EAAC,eAAb;AAA6B,QAAA,IAAI,EAAC,IAAlC;AAAuC,QAAA,IAAI,EAAC;AAA5C;AAAA;AAAA;AAAA;AAAA,cALF;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,UADF;AAaD;;AACD,eAAeA,SAAf","sourcesContent":["import React from 'react'\r\nimport \"./searchbar.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\n\r\nfunction searchbar() {\r\n return (\r\n <li>\r\n <div className=\"navbar-searchbar-container\">\r\n <input className=\"searchbar-input\" type=\"text\" name=\"\" placeholder=\"Search..\">\r\n <FontAwesomeIcon icon=\"search\"></FontAwesomeIcon>\r\n </input>\r\n\r\n <a className=\"search-button\" href=\"./\" type=\"submit\">\r\n\r\n </a>\r\n </div>\r\n </li>\r\n )\r\n}\r\nexport default searchbar"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\Bruger\\\\Desktop\\\\Web-projects\\\\pipit\\\\client\\\\src\\\\components\\\\reportForm\\\\ReportForm.js\";\nimport React, { Component } from 'react';\nimport \"./reportForm.css\";\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nclass ReportForm extends Component {\n render() {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"reportForm-container\",\n children: /*#__PURE__*/_jsxDEV(\"form\", {\n action: \"/reportFormData\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorType\",\n children: \"Type of Error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"select\", {\n id: \"fErrorType\",\n className: \"errorType\",\n children: [/*#__PURE__*/_jsxDEV(\"option\", {\n value: \"bug\",\n children: \"Bug\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"usabilityError\",\n children: \"Usability Error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"other\",\n children: \"Other\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorLocation\",\n children: \"Where did you encounter the error?\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 26,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"input\", {\n type: \"text\",\n id: \"fErrorLocation\",\n className: \"errorLocation\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 29,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 28,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorDescription\",\n children: \"Describe the error\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 35,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 34,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"textarea\", {\n id: \"fErrorDescription\",\n className: \"errorDescription\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 38,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 37,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 33,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorStepsToTeproduce\",\n children: \"What steps did you take before the error happened?\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 44,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 43,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"textarea\", {\n id: \"fErrorStepsToTeproduce\",\n className: \"errorStepsToReproduce\",\n placeholder: \"List the steps that occurred before the error happened:\\r\\n1.\\r\\n2.\\r\\n3.\\r\\nExpected Result:\\r\\nActual Result:\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 47,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 46,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 42,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorSeverity\",\n children: \"Error severity level\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 60,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 59,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"select\", {\n id: \"fErrorSeverity\",\n className: \"errorSeverity\",\n children: [/*#__PURE__*/_jsxDEV(\"option\", {\n value: \"cosmetic\",\n children: \"Cosmetic - Should be corrected when time permits\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 64,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"serious\",\n children: \"Serious - should be fixed in the next release\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 65,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"critical\",\n children: \"Critical - should be fixed as soon as possible\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 66,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 63,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 62,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 58,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"row\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-25\",\n children: /*#__PURE__*/_jsxDEV(\"label\", {\n for: \"fErrorTimeToCorrect\",\n children: \"Time to Correct\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 73,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 72,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"col-75\",\n children: /*#__PURE__*/_jsxDEV(\"select\", {\n id: \"fErrorSeverity\",\n className: \"errorTimeToCorrect\",\n children: [/*#__PURE__*/_jsxDEV(\"option\", {\n value: \"lessThanTwoHours\",\n children: \"Less than 2 minutes\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 77,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"lessThanOneToTwoDays\",\n children: \"Less than 1-2 days\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 78,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"lessThanOneToTwoWeeks\",\n children: \"Less than 1-2 weeks\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 79,\n columnNumber: 17\n }, this), /*#__PURE__*/_jsxDEV(\"option\", {\n value: \"atLeastTwoWeeks\",\n children: \"More than 2 weeks\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 80,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 76,\n columnNumber: 15\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 75,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 71,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n class: \"row\",\n children: /*#__PURE__*/_jsxDEV(\"button\", {\n className: \"formSubmitButton\",\n type: \"submit\",\n children: [\"Submit\\xA0\", /*#__PURE__*/_jsxDEV(FontAwesomeIcon, {\n icon: \"share\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 88,\n columnNumber: 15\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 86,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 85,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 7\n }, this);\n }\n\n}\n\nexport default ReportForm;","map":{"version":3,"sources":["C:/Users/Bruger/Desktop/Web-projects/pipit/client/src/components/reportForm/ReportForm.js"],"names":["React","Component","FontAwesomeIcon","ReportForm","render"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,OAAO,kBAAP;AACA,SAASC,eAAT,QAAgC,gCAAhC;;;AAEA,MAAMC,UAAN,SAAyBF,SAAzB,CAAmC;AACjCG,EAAAA,MAAM,GAAG;AACP,wBACE;AAAK,MAAA,SAAS,EAAC,sBAAf;AAAA,6BACE;AAAM,QAAA,MAAM,EAAC,iBAAb;AAAA,gCAEE;AAAK,UAAA,SAAS,EAAC,KAAf;AAAA,kCACE;AAAK,YAAA,SAAS,EAAC,QAAf;AAAA,mCACE;AAAO,cAAA,GAAG,EAAC,YAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,kBADF,eAIE;AAAK,YAAA,SAAS,EAAC,QAAf;AAAA,mCACE;AAAQ,cAAA,EAAE,EAAC,YAAX;AAAwB,cAAA,SAAS,EAAC,WAAlC;AAAA,sCACE;AAAQ,gBAAA,KAAK,EAAC,KAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBADF,eAEE;AAAQ,gBAAA,KAAK,EAAC,gBAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAFF,eAGE;AAAQ,gBAAA,KAAK,EAAC,OAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAHF;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,kBAJF;AAAA;AAAA;AAAA;AAAA;AAAA,gBA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AAA;AAAA;AAAA;AAAA;AAAA,sBAHF,eAIE;AAAQ,gBAAA,KAAK,EAAC,iBAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAJF;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,kBAJF;AAAA;AAAA;AAAA;AAAA;AAAA,gBA9DF,eA4EE;AAAK,UAAA,KAAK,EAAC,KAAX;AAAA,iCACE;AAAQ,YAAA,SAAS,EAAC,kBAAlB;AAAqC,YAAA,IAAI,EAAC,QAA1C;AAAA,kDAEE,QAAC,eAAD;AAAiB,cAAA,IAAI,EAAC;AAAtB;AAAA;AAAA;AAAA;AAAA,oBAFF;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,gBA5EF;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,YADF;AAuFD;;AAzFgC;;AA4FnC,eAAeD,UAAf","sourcesContent":["import React, { Component } from 'react'\r\nimport \"./reportForm.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\n\r\nclass ReportForm extends Component {\r\n render() {\r\n return (\r\n <div className=\"reportForm-container\">\r\n <form action=\"/reportFormData\">\r\n\r\n <div className=\"row\">\r\n <div className=\"col-25\">\r\n <label for=\"fErrorType\">Type of Error</label>\r\n </div>\r\n <div className=\"col-75\">\r\n <select id=\"fErrorType\" className=\"errorType\">\r\n <option value=\"bug\">Bug</option>\r\n <option value=\"usabilityError\">Usability Error</option>\r\n <option value=\"other\">Other</option>\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorLocation\">Where did you encounter the error?</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <input type=\"text\" id=\"fErrorLocation\" className=\"errorLocation\" ></input>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorDescription\">Describe the error</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <textarea id=\"fErrorDescription\" className=\"errorDescription\"></textarea>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-25\">\r\n <label for=\"fErrorStepsToTeproduce\">What steps did you take before the error happened?</label>\r\n </div>\r\n <div class=\"col-75\">\r\n <textarea id=\"fErrorStepsToTeproduce\" className=\"errorStepsToReproduce\"\r\n placeholder=\"List the steps that occurred before the error happened:\r\n1.\r\n2.\r\n3.\r\nExpected Result:\r\nActual Result:\">\r\n </textarea>\r\n </div>\r\n </div>\r\n\r\n <div className=\"row\">\r\n <div className=\"col-25\">\r\n <label for=\"fErrorSeverity\">Error severity level</label>\r\n </div>\r\n <div className=\"col-75\">\r\n <select id=\"fErrorSeverity\" className=\"errorSeverity\">\r\n <option value=\"cosmetic\">Cosmetic - Should be corrected when time permits</option>\r\n <option value=\"serious\">Serious - should be fixed in the next release</option>\r\n <option value=\"critical\">Critical - should be fixed as soon as possible</option>\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <div className=\"row\">\r\n <div className=\"col-25\">\r\n <label for=\"fErrorTimeToCorrect\">Time to Correct</label>\r\n </div>\r\n <div className=\"col-75\">\r\n <select id=\"fErrorSeverity\" className=\"errorTimeToCorrect\">\r\n <option value=\"lessThanTwoHours\">Less than 2 minutes</option>\r\n <option value=\"lessThanOneToTwoDays\">Less than 1-2 days</option>\r\n <option value=\"lessThanOneToTwoWeeks\">Less than 1-2 weeks</option>\r\n <option value=\"atLeastTwoWeeks\">More than 2 weeks</option>\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <button className=\"formSubmitButton\" type=\"submit\">\r\n Submit&nbsp;\r\n <FontAwesomeIcon icon=\"share\"></FontAwesomeIcon>\r\n </button>\r\n </div>\r\n </form>\r\n </div>\r\n )\r\n }\r\n}\r\n\r\nexport default ReportForm"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\Bruger\\\\Desktop\\\\Web-projects\\\\pipit\\\\client\\\\src\\\\components\\\\navigationbar\\\\searchbar\\\\Searchbar.js\";\nimport React, { useRef, useState, useEffect } from 'react';\nimport \"./searchbar.css\";\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nfunction searchbar() {\n return /*#__PURE__*/_jsxDEV(\"li\", {\n children: /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"navbar-searchbar-container\",\n children: [/*#__PURE__*/_jsxDEV(\"input\", {\n className: \"searchbar-input\",\n type: \"text\",\n name: \"\",\n placeholder: \"Search..\",\n onClick: this.handleClick\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 9\n }, this), searchBarIcon]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 5\n }, this);\n}\n\nexport default searchbar;","map":{"version":3,"sources":["C:/Users/Bruger/Desktop/Web-projects/pipit/client/src/components/navigationbar/searchbar/Searchbar.js"],"names":["React","useRef","useState","useEffect","FontAwesomeIcon","searchbar","handleClick","searchBarIcon"],"mappings":";AAAA,OAAOA,KAAP,IAAgBC,MAAhB,EAAwBC,QAAxB,EAAkCC,SAAlC,QAAmD,OAAnD;AACA,OAAO,iBAAP;AACA,SAASC,eAAT,QAAgC,gCAAhC;;;AAEA,SAASC,SAAT,GAAqB;AAEnB,sBACE;AAAA,2BACE;AAAK,MAAA,SAAS,EAAC,4BAAf;AAAA,8BACE;AAAO,QAAA,SAAS,EAAC,iBAAjB;AAAmC,QAAA,IAAI,EAAC,MAAxC;AAA+C,QAAA,IAAI,EAAC,EAApD;AAAuD,QAAA,WAAW,EAAC,UAAnE;AAA8E,QAAA,OAAO,EAAE,KAAKC;AAA5F;AAAA;AAAA;AAAA;AAAA,cADF,EAGGC,aAHH;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,UADF;AASD;;AACD,eAAeF,SAAf","sourcesContent":["import React, { useRef, useState, useEffect } from 'react'\r\nimport \"./searchbar.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\n\r\nfunction searchbar() {\r\n\r\n return (\r\n <li>\r\n <div className=\"navbar-searchbar-container\">\r\n <input className=\"searchbar-input\" type=\"text\" name=\"\" placeholder=\"Search..\" onClick={this.handleClick}>\r\n </input>\r\n {searchBarIcon}\r\n </div>\r\n </li>\r\n )\r\n}\r\nexport default searchbar"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\Bruger\\\\Desktop\\\\Web-projects\\\\pipit\\\\client\\\\src\\\\App.js\";\nimport React from \"react\";\nimport { BrowserRouter as Router, Route, Switch } from \"react-router-dom\";\nimport { library } from '@fortawesome/fontawesome-svg-core';\nimport { fas } from '@fortawesome/free-solid-svg-icons';\nimport Navigationbar from \"./components/navigationbar/Navigationbar\";\nimport ReportForm from \"./components/reportForm/ReportForm\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nlibrary.add(fas);\n\nconst App = () => /*#__PURE__*/_jsxDEV(Router, {\n children: /*#__PURE__*/_jsxDEV(\"switch\", {\n children: [/*#__PURE__*/_jsxDEV(Route, {\n path: \"/\",\n children: /*#__PURE__*/_jsxDEV(Navigationbar, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/reportError\",\n children: /*#__PURE__*/_jsxDEV(ReportForm, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"projects\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 22,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 5\n }, this)\n}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 3\n}, this);\n\n_c = App;\nexport default App;\n\nvar _c;\n\n$RefreshReg$(_c, \"App\");","map":{"version":3,"sources":["C:/Users/Bruger/Desktop/Web-projects/pipit/client/src/App.js"],"names":["React","BrowserRouter","Router","Route","Switch","library","fas","Navigationbar","ReportForm","add","App"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SAASC,aAAa,IAAIC,MAA1B,EAAkCC,KAAlC,EAAyCC,MAAzC,QAAuD,kBAAvD;AACA,SAASC,OAAT,QAAwB,mCAAxB;AACA,SAASC,GAAT,QAAoB,mCAApB;AACA,OAAOC,aAAP,MAA0B,0CAA1B;AACA,OAAOC,UAAP,MAAuB,oCAAvB;;AAEAH,OAAO,CAACI,GAAR,CAAYH,GAAZ;;AAEA,MAAMI,GAAG,GAAG,mBACV,QAAC,MAAD;AAAA,yBACE;AAAA,4BAEE,QAAC,KAAD;AAAO,MAAA,IAAI,EAAC,GAAZ;AAAA,6BACE,QAAC,aAAD;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,YAFF,eAME,QAAC,KAAD;AAAO,MAAA,IAAI,EAAC,cAAZ;AAAA,6BACE,QAAC,UAAD;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,YANF,eAUE,QAAC,KAAD;AAAO,MAAA,IAAI,EAAC;AAAZ;AAAA;AAAA;AAAA;AAAA,YAVF;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,QADF;;KAAMA,G;AAoBN,eAAeA,GAAf","sourcesContent":["import React from \"react\"\nimport { BrowserRouter as Router, Route, Switch } from \"react-router-dom\"\nimport { library } from '@fortawesome/fontawesome-svg-core'\nimport { fas } from '@fortawesome/free-solid-svg-icons'\nimport Navigationbar from \"./components/navigationbar/Navigationbar\"\nimport ReportForm from \"./components/reportForm/ReportForm\"\n\nlibrary.add(fas)\n\nconst App = () => (\n <Router>\n <switch>\n\n <Route path=\"/\">\n <Navigationbar />\n </Route>\n\n <Route path=\"/reportError\">\n <ReportForm />\n </Route>\n\n <Route path=\"projects\">\n\n </Route>\n\n </switch>\n </Router>\n)\n\nexport default App"]},"metadata":{},"sourceType":"module"}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment