Kaynağa Gözat

[192-webreport] Syntax highlight, changed color scheme

Evgeni 4 yıl önce
ebeveyn
işleme
7f71dbdb4c

+ 11 - 13
jplag/src/main/java/de/jplag/reportingV2/reportobject/ReportObjectFactory.java

@@ -46,19 +46,17 @@ public class ReportObjectFactory {
 
 	private static List<ComparisonReport> generateComparisonReports(JPlagResult result) {
 		List<ComparisonReport> comparisons = new ArrayList<>();
-		result.getComparisons().forEach( c -> {
-			comparisons.add(
-				new ComparisonReport(
-					c.getFirstSubmission().getName(),
-					c.getSecondSubmission().getName(),
-					c.similarity(),
-					getFilesForSubmission(c.getFirstSubmission()),
-					getFilesForSubmission(c.getSecondSubmission()),
-					c.getMatches().stream().map(m -> convertMatchToReportMatch(c, m,
-							result.getOptions().getLanguage().usesIndex())).collect(Collectors.toList())
-				)
-			);
-		});
+		result.getComparisons().forEach( c -> comparisons.add(
+			new ComparisonReport(
+				c.getFirstSubmission().getName(),
+				c.getSecondSubmission().getName(),
+				c.similarity(),
+				getFilesForSubmission(c.getFirstSubmission()),
+				getFilesForSubmission(c.getSecondSubmission()),
+				c.getMatches().stream().map(m -> convertMatchToReportMatch(c, m,
+						result.getOptions().getLanguage().usesIndex())).collect(Collectors.toList())
+			)
+		));
 		return comparisons;
 	}
 

Dosya farkı çok büyük olduğundan ihmal edildi
+ 289 - 256
report-viewer/package-lock.json


+ 4 - 1
report-viewer/package.json

@@ -8,13 +8,16 @@
     "lint": "vue-cli-service lint"
   },
   "dependencies": {
+    "@highlightjs/vue-plugin": "^2.1.0",
     "chart.js": "^3.6.0",
     "chartjs-plugin-datalabels": "^2.0.0",
     "core-js": "^3.6.5",
+    "highlight.js": "^11.4.0",
     "vue": "^3.0.0",
     "vue-chart-3": "^3.0.3",
     "vue-draggable-next": "^2.1.1",
-    "vue-router": "^4.0.0-0"
+    "vue-router": "^4.0.0-0",
+    "vue3-highlightjs": "^1.0.5"
   },
   "devDependencies": {
     "@typescript-eslint/eslint-plugin": "^4.18.0",

+ 8 - 15
report-viewer/src/App.vue

@@ -16,22 +16,15 @@
 }
 
 :root {
-  --primary-color: #be1523;
-  --primary-color-light: #f8534c;
-  --primary-color-dark: #860000;
-  --secondary-color: #ff9f8e;
-  --secondary-color-light: #ffd1be;
-  --secondary-color-dark: #c96f61;
-  --tertiary-color: #8eaaf2;
-  --tertiary-color-light: #c1dbff;
-  --tertiary-color-dark: #5c7bbf;
-  --quaternary-color: #f3eed9;
-  --quaternary-color-light: #ffffff;
-  --quaternary-color-dark: #c0bca8;
-  --background-color: #FFF5F2;
-  --background-color-accent: #FFFFFF;
+  --primary-color: #E2EAFC;
+  --primary-color-light: #EDF2FB;
+  --primary-color-dark: #D7E3FC;
+  --secondary-color: #B6CCFE;
+  --secondary-color-light: #C1D3FE;
+  --secondary-color-dark: #ABC4FF;
+
+  --background-color: #FFFFFF;
   --on-primary-color: #303030;
-  --on-primary-color-accent: #f3eed9;
   --on-secondary-color: #000000;
   --on-background-color: #303030;
   --shadow-color: #777777;

+ 1 - 10
report-viewer/src/assets/double_arrow_black_18dp.svg

@@ -1,10 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 20 20" height="18px" viewBox="0 0 20 20" width="18px"
-     fill="#f3eed9">
-    <g>
-        <rect fill="none" height="20" width="20"/>
-    </g>
-    <g>
-        <polygon points="9.21,15 12.43,15 16,10 12.43,5 9.21,5 12.79,10"/>
-        <polygon points="4.21,15 7.43,15 11,10 7.43,5 4.21,5 7.79,10"/>
-    </g>
-</svg>
+<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 20 20" height="18px" viewBox="0 0 20 20" width="18px" fill="#000000"><g><rect fill="none" height="20" width="20"/></g><g><g><path d="M15.79,9.71l-2.97-4.16C12.57,5.2,12.18,5,11.76,5c-1.06,0-1.68,1.2-1.06,2.07L12.79,10l-2.09,2.93 c-0.62,0.87,0,2.07,1.06,2.07c0.42,0,0.82-0.2,1.06-0.55l2.97-4.16C15.92,10.12,15.92,9.88,15.79,9.71z"/><path d="M10.79,9.71L7.82,5.55C7.57,5.2,7.18,5,6.76,5C5.69,5,5.07,6.2,5.69,7.07L7.79,10l-2.09,2.93C5.07,13.8,5.69,15,6.76,15 c0.42,0,0.82-0.2,1.06-0.55l2.97-4.16C10.92,10.12,10.92,9.88,10.79,9.71z"/></g></g></svg>

+ 1 - 1
report-viewer/src/assets/double_arrow_white_24dp.svg

@@ -1,5 +1,5 @@
 <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px"
-     fill="#f3eed9">
+     fill="#000000">
     <g>
         <rect fill="none" height="24" width="24"/>
         <rect fill="none" height="24" width="24"/>

+ 1 - 1
report-viewer/src/assets/keyboard_double_arrow_down_black_18dp.svg

@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 20 20" height="18px" viewBox="0 0 20 20" width="18px" fill="#000000"><g><rect fill="none" height="20" width="20"/></g><g><g><polygon points="15,5.06 13.94,4 10,7.94 6.06,4 5,5.06 10,10.06"/><polygon points="15,11 13.94,9.94 10,13.88 6.06,9.94 5,11 10,16"/></g></g></svg>
+<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 20 20" height="18px" viewBox="0 0 20 20" width="18px" fill="#000000"><g><rect fill="none" height="20" width="20"/></g><g><g><path d="M14.42,4.58L14.42,4.58c-0.29-0.29-0.77-0.29-1.06,0L9.95,7.99L6.54,4.58c-0.29-0.29-0.77-0.29-1.06,0l0,0 c-0.29,0.29-0.29,0.77,0,1.06l3.76,3.76c0.39,0.39,1.02,0.39,1.41,0l3.76-3.76C14.71,5.35,14.71,4.87,14.42,4.58z"/><path d="M14.42,10.52L14.42,10.52c-0.29-0.29-0.77-0.29-1.06,0l-3.41,3.41l-3.41-3.41c-0.29-0.29-0.77-0.29-1.06,0l0,0 c-0.29,0.29-0.29,0.77,0,1.06l3.76,3.76c0.39,0.39,1.02,0.39,1.41,0l3.76-3.76C14.71,11.29,14.71,10.81,14.42,10.52z"/></g></g></svg>

+ 1 - 1
report-viewer/src/assets/keyboard_double_arrow_up_black_18dp.svg

@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 20 20" height="18px" viewBox="0 0 20 20" width="18px" fill="#000000"><g><rect fill="none" height="20" width="20"/></g><g><g><polygon points="5,14.94 6.06,16 10,12.06 13.94,16 15,14.94 10,9.94"/><polygon points="5,9 6.06,10.06 10,6.12 13.94,10.06 15,9 10,4"/></g></g></svg>
+<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 20 20" height="18px" viewBox="0 0 20 20" width="18px" fill="#000000"><g><rect fill="none" height="20" width="20"/></g><g><g><path d="M5.48,15.42L5.48,15.42c0.29,0.29,0.77,0.29,1.06,0l3.41-3.41l3.41,3.41c0.29,0.29,0.77,0.29,1.06,0l0,0 c0.29-0.29,0.29-0.77,0-1.06l-3.76-3.76c-0.39-0.39-1.02-0.39-1.41,0l-3.76,3.76C5.19,14.65,5.19,15.13,5.48,15.42z"/><path d="M5.48,9.48L5.48,9.48c0.29,0.29,0.77,0.29,1.06,0l3.41-3.41l3.41,3.41c0.29,0.29,0.77,0.29,1.06,0l0,0 c0.29-0.29,0.29-0.77,0-1.06l-3.76-3.76c-0.39-0.39-1.02-0.39-1.41,0L5.48,8.42C5.19,8.71,5.19,9.19,5.48,9.48z"/></g></g></svg>

+ 2 - 2
report-viewer/src/components/CodePanel.vue

@@ -108,7 +108,7 @@ export default defineComponent({
 
 .file-title > p {
   text-align: center;
-  color: var(--on-primary-color-accent);
+  color: var(--on-primary-color);
   font-weight: bold;
   font-size: large;
 }
@@ -118,7 +118,7 @@ export default defineComponent({
   align-items: flex-start;
   margin: 1%;
   padding: 1%;
-  background: var(--background-color-accent);
+  background: var(--background-color);
   box-shadow: inset var(--shadow-color) 0 0 3px 1px;
   overflow: auto;
 }

+ 5 - 5
report-viewer/src/components/DistributionDiagram.vue

@@ -31,7 +31,7 @@ export default defineComponent({
           backgroundColor: 'rgba(149, 168, 241, 0.5)',
           borderWidth: 2,
           borderColor: 'rgba(149, 168, 241, 1)',
-          tickColor: '#860000'
+          tickColor: '#000000'
         }]
     })
 
@@ -43,18 +43,18 @@ export default defineComponent({
         x: {
           suggestedMax: maxVal.value + 5,
           ticks: {
-            color: '#860000',
+            color: '#000000',
           }
         },
         y: {
           ticks: {
-            color: '#860000',
+            color: '#000000',
           }
         }
       },
       plugins : {
         datalabels: {
-          color: '#860000',
+          color: '#000000',
           font: {
             weight: 'bold'
           },
@@ -126,7 +126,7 @@ export default defineComponent({
 
 <style scoped>
 .wrapper {
-  background: var(--background-color-accent);
+  background: var(--background-color);
   border-radius: 10px;
   box-shadow: #777777 2px 3px 3px;
   display: flex;

+ 6 - 4
report-viewer/src/components/LineOfCode.vue

@@ -1,14 +1,16 @@
 <template>
   <div class="line-wrap" :style="{background : color}" :class="{'first-line' : isFirst, 'last-line' : isLast}">
-    <pre :id="text" v-bind:class="{ 'match-line' : color !== '#ECECEC' }">{{ lineNumber }} {{ text }}</pre>
+      <hljs class="hljs" v-bind:class="{ 'match-line' : color !== '#ECECEC' }" language="java" :code="lineNumber.toString().concat(' ').concat(text)"/>
   </div>
 </template>
 
 <script>
 import { defineComponent } from "vue";
+import hljsVuePlugin from "@highlightjs/vue-plugin";
 
 export default defineComponent({
   name: "LineOfCode",
+  components: { hljs: hljsVuePlugin.component},
   props: {
     text: {
       type: String,
@@ -34,6 +36,7 @@ export default defineComponent({
       type: Boolean,
     }
   },
+
   setup() {
     return {}
   }
@@ -42,13 +45,12 @@ export default defineComponent({
 
 <style scoped>
 pre {
+  /* In hljs pre tag is used. We need this style to override attributes in the styles of higlightjs to show code more
+   compact */
   margin: 0;
   padding: 0;
   float: left;
-  font-family: "JetBrains Mono",serif;
-  font-size: x-small;
 }
-
 .first-line {
   margin-top: 2%;
 }

+ 3 - 5
report-viewer/src/components/MatchTable.vue

@@ -47,8 +47,7 @@ export default defineComponent({
       type: String
     }
   },
-  setup(props) {
-    console.log(props.matches)
+  setup() {
     return {}
   }
 })
@@ -59,7 +58,7 @@ export default defineComponent({
   width: 100%;
   margin-top: 2%;
   padding: 1%;
-  background: var(--quaternary-color);
+  background: var(--primary-color-dark);
   border-radius: 10px;
   overflow: auto;
 }
@@ -91,7 +90,6 @@ td {
   font-size: small;
   text-align: center;
   padding: 2%;
-  border-bottom: solid var(--quaternary-color);
-  border-top: solid var(--quaternary-color);
+
 }
 </style>

+ 2 - 2
report-viewer/src/components/MetricButton.vue

@@ -59,7 +59,7 @@ export default defineComponent({
 }
 
 .wrapper:hover {
-  background: var(--tertiary-color-dark);
+  background: var(--secondary-color-dark);
   color: white;
 }
 
@@ -79,7 +79,7 @@ export default defineComponent({
 }
 
 .selected {
-  background: var(--tertiary-color);
+  background: var(--secondary-color);
   box-shadow: var(--shadow-color) 2px 3px 3px;
 }
 

+ 12 - 9
report-viewer/src/components/TextInformation.vue

@@ -5,8 +5,8 @@
       <p class="value-text" :title="value">{{ value }}</p>
       </div>
       <button class="collapse-button" :class="{ hidden : !hasAdditionalInfo }" @click="toggleIsCollapsed">
-        <img v-if="isCollapsed" src="../assets/keyboard_double_arrow_up_white_18dp.svg" alt="hide info">
-        <img v-else src="../assets/keyboard_double_arrow_down_white_18dp.svg" alt="additional info">
+        <img v-if="isCollapsed" src="../assets/keyboard_double_arrow_up_black_18dp.svg" alt="hide info">
+        <img v-else src="../assets/keyboard_double_arrow_down_black_18dp.svg" alt="additional info">
       </button>
   </div>
   <div class="additional-info" :class="{ hidden : !isCollapsed }">
@@ -31,10 +31,13 @@ export default defineComponent({
     },
     hasAdditionalInfo: {
       type: Boolean,
-      required: true
+      default: false
+    },
+    additionalInfoTitle: {
+      type: String,
+      default: "",
     },
-    additionalInfoTitle: String,
-    additionalInfo : [String]
+    additionalInfo : [Array, String, Number, Boolean]
   },
   setup() {
     const isCollapsed = ref(false)
@@ -60,9 +63,9 @@ p {
 hr {
   border: 0;
   height: 2px;
-  background: linear-gradient(to right, #ea4848, transparent, transparent);
+  background: linear-gradient(to right, #E2EAFC, transparent, transparent);
   width: 100%;
-  box-shadow: #ea4864 0 1px;
+  box-shadow: #D7E3FC 0 1px;
 }
 
 .wrapper {
@@ -86,7 +89,7 @@ hr {
 .value-text {
   font-weight: bold;
   text-align: left;
-  color: var(--on-primary-color-accent);
+  color: var(--on-primary-color);
 }
 
 .collapse-button {
@@ -106,7 +109,7 @@ hr {
   display: flex;
   flex-direction: column;
   align-items: start;
-  background: var(--quaternary-color);
+  background: var(--secondary-color);
   padding: 2%;
   margin: 3% 0;
   box-shadow: inset var(--shadow-color) 0 0 3px;

+ 82 - 0
report-viewer/src/libs/highlightjs/styles/edited/default.min.css

@@ -0,0 +1,82 @@
+/*!
+  Theme: Default
+  Description: Original highlight.js style
+  Author: (c) Ivan Sagalaev <maniac@softwaremaniacs.org>
+  Maintainer: @highlightjs/core-team
+  Website: https://highlightjs.org/
+  License: see project LICENSE
+  Touched: 2021
+*/
+pre code.hljs {
+    display: block;
+    overflow-x: auto;
+    /* Edited attribute */
+    padding: 0;
+}
+
+code.hljs {
+    /* Edited attribute */
+    padding: 0;
+}
+
+.hljs {
+    color: #444;
+
+    /* Edited attributes */
+    background: transparent;
+    font-family: "JetBrains Mono", serif;
+    font-weight: bold;    font-size: x-small;
+}
+
+.hljs-comment {
+    color: #697070
+}
+
+.hljs-punctuation, .hljs-tag {
+    color: #444a
+}
+
+.hljs-tag .hljs-attr, .hljs-tag .hljs-name {
+    color: #444
+}
+
+.hljs-attribute, .hljs-doctag, .hljs-keyword, .hljs-meta .hljs-keyword, .hljs-name, .hljs-selector-tag {
+    font-weight: 700
+}
+
+.hljs-deletion, .hljs-number, .hljs-quote, .hljs-selector-class, .hljs-selector-id, .hljs-string, .hljs-template-tag, .hljs-type {
+    color: #800
+}
+
+.hljs-section, .hljs-title {
+    color: #800;
+    font-weight: 700
+}
+
+.hljs-link, .hljs-operator, .hljs-regexp, .hljs-selector-attr, .hljs-selector-pseudo, .hljs-symbol, .hljs-template-variable, .hljs-variable {
+    color: #ab5656
+}
+
+.hljs-literal {
+    color: #695
+}
+
+.hljs-addition, .hljs-built_in, .hljs-bullet, .hljs-code {
+    color: #397300
+}
+
+.hljs-meta {
+    color: #1f7199
+}
+
+.hljs-meta .hljs-string {
+    color: #38a
+}
+
+.hljs-emphasis {
+    font-style: italic
+}
+
+.hljs-strong {
+    font-weight: 700
+}

+ 53 - 0
report-viewer/src/libs/highlightjs/styles/edited/vs.min.css

@@ -0,0 +1,53 @@
+pre code.hljs {
+    display: block;
+    overflow-x: auto;
+    padding: 0
+}
+
+code.hljs {
+    padding: 0
+}
+
+.hljs {
+    color: #000;
+    background: transparent;
+    font-family: "JetBrains Mono", serif;
+    font-weight: bold;
+    font-size: x-small;
+}
+
+.hljs-comment, .hljs-quote, .hljs-variable {
+    color: green
+}
+
+.hljs-built_in, .hljs-keyword, .hljs-name, .hljs-selector-tag, .hljs-tag {
+    color: #00f
+}
+
+.hljs-addition, .hljs-attribute, .hljs-literal, .hljs-section, .hljs-string, .hljs-template-tag, .hljs-template-variable, .hljs-title, .hljs-type {
+    color: #a31515
+}
+
+.hljs-deletion, .hljs-meta, .hljs-selector-attr, .hljs-selector-pseudo {
+    color: #2b91af
+}
+
+.hljs-doctag {
+    color: grey
+}
+
+.hljs-attr {
+    color: red
+}
+
+.hljs-bullet, .hljs-link, .hljs-symbol {
+    color: #00b0e8
+}
+
+.hljs-emphasis {
+    font-style: italic
+}
+
+.hljs-strong {
+    font-weight: 700
+}

+ 4 - 2
report-viewer/src/main.ts

@@ -1,5 +1,7 @@
 import { createApp } from "vue";
 import App from "./App.vue";
 import router from "./router";
-
-createApp(App).use(router).mount("#app");
+import './libs/highlightjs/styles/edited/vs.min.css'
+import 'highlight.js/lib/common';
+import hljsVuePlugin from "@highlightjs/vue-plugin";
+createApp(App).use(router).use(hljsVuePlugin).mount("#app");

+ 1 - 1
report-viewer/src/model/factories/ComparisonFactory.ts

@@ -85,7 +85,7 @@ export class ComparisonFactory {
         for( let i = 0; i < num; i++ ) {
             const hue = i * hueDelta
 
-            colors.push(`hsla(${hue}, 80%, 50%, 0.5)`)
+            colors.push(`hsla(${hue}, 80%, 50%, 0.3)`)
         }
         return colors
     }

+ 0 - 63
report-viewer/src/utils/Utils.ts

@@ -1,47 +1,3 @@
-export function convertToFilesByName(files: Array<Record<string, unknown>>): Record<string, unknown> {
-    return files.reduce( (acc: Record<string, unknown>, val: Record<string, unknown>) => {
-        if(!acc[val.file_name as string]) {
-            acc[val.file_name as string] = {}
-        }
-        acc[val.file_name as string] = {
-            lines: val.lines,
-            collapsed: false
-        }
-        return acc;
-    }, {})
-}
-
-export function groupMatchesByFileName(matches: Array<Record<string, unknown>>, index: number): Record<string, unknown> {
-    return matches.reduce( ( acc: Record<string, Array<unknown> >, val: Record<string, unknown> ) => {
-        const name = index === 1 ? val.first_file_name as string : val.second_file_name as string
-        if(!acc[name]) {
-            acc[name] = []
-        }
-        if( index === 1 ) {
-            const newVal = {
-                start : val.start_in_first,
-                end: val.end_in_first,
-                linked_panel: 2,
-                linked_file: val.second_file_name,
-                linked_line: val.start_in_second,
-                color: val.color
-            }
-            acc[name].push(newVal)
-        } else {
-            const newVal = {
-                start : val.start_in_second,
-                end: val.end_in_second,
-                linked_panel: 1,
-                linked_file: val.first_file_name,
-                linked_line: val.start_in_first,
-                color: val.color
-            }
-            acc[name].push(newVal)
-        }
-        return acc;
-    }, {})
-}
-
 export function generateLineCodeLink(index: number, fileName: string, line: number): string {
     return String(index).concat(fileName).concat(String(line))
 }
@@ -60,23 +16,4 @@ export function generateColoringArray(array: Array<Record<string, unknown>>, fil
         default:
             return []
     }
-}
-
-export function generateColor(): string {
-    let color = "#";
-    for (let i = 0; i < 3; i++)
-        color += ("0" + Math.floor(((1 + Math.random()) * Math.pow(16, 2)) / 2).toString(16)).slice(-2);
-    return color;
-}
-
-export function generateColorsForMatches( num : number ): Array<unknown> {
-    const colors = []
-    const hueDelta = Math.trunc(360 / (num) )
-
-    for( let i = 0; i < num; i++ ) {
-        const hue = i * hueDelta
-
-        colors.push(`hsla(${hue}, 80%, 50%, 0.5)`)
-    }
-    return colors
 }

+ 3 - 3
report-viewer/src/views/ComparisonView.vue

@@ -9,9 +9,9 @@
         <button id="hide-button" @click="togglePanel" title="Hide sidebar">
           <img src="@/assets/keyboard_double_arrow_left_white_24dp.svg" alt="hide"></button>
       </div>
-      <TextInformation label="Submission 1" :value="id1" :has-additional-info="false"/>
-      <TextInformation label="Submission 2" :value="id2" :has-additional-info="false"/>
-      <TextInformation label="Match %" :value="comparison.match_percentage" :has-additional-info="false"/>
+      <TextInformation label="Submission 1" :value="id1"/>
+      <TextInformation label="Submission 2" :value="id2"/>
+      <TextInformation label="Match %" :value="comparison.match_percentage"/>
       <MatchTable :matches="comparison.allMatches" :id1="id1" :id2="id2" @match-selected="showMatch" />
     </div>
     <div class="files-container" id="files1">

+ 6 - 7
report-viewer/src/views/Overview.vue

@@ -4,12 +4,12 @@
       <h1>JPlag Report</h1>
       <p class="section-title">Main Info:</p>
       <div id="basicInfo">
-        <TextInformation label="Directory path" :value="overview.submissionFolderPath" :has-additional-info="false"/>
+        <TextInformation label="Directory path" :value="overview.submissionFolderPath"/>
         <TextInformation label="Language" :value="overview.language" :has-additional-info="true" :additional-info="overview.fileExtensions" additional-info-title="File extensions:"/>
-        <TextInformation :has-additional-info="false" :value="overview.matchSensitivity" label="Match Sensitivity"/>
+        <TextInformation :value="overview.matchSensitivity" label="Match Sensitivity"/>
         <TextInformation label="Submissions" :value="overview.submissionIds.length" :has-additional-info="true" :additional-info="overview.submissionIds" additional-info-title="Submission IDs:"/>
-        <TextInformation label="Date of execution" :value="overview.dateOfExecution" :has-additional-info="false"/>
-        <TextInformation label="Duration (in ms)" :value="overview.durationOfExecution" :has-additional-info="false"/>
+        <TextInformation label="Date of execution" :value="overview.dateOfExecution"/>
+        <TextInformation label="Duration (in ms)" :value="overview.durationOfExecution"/>
       </div>
       <div id="logo-section">
         <img id="logo" src="@/assets/logo-nobg.png" alt="JPlag">
@@ -69,7 +69,6 @@ export default defineComponent({
 
     //Distribution
     let distributions = ref(overview.metrics.map( (m) =>  m.distribution ))
-    console.log(overview.metrics[0])
 
     //Top Comparisons
     let topComps = ref(overview.metrics.map((m) => m.comparisons ))
@@ -97,9 +96,9 @@ h1 {
 hr {
   border: 0;
   height: 2px;
-  background: linear-gradient(to right, #ea4848, transparent, transparent);
+  background: linear-gradient(to right, #EDF2FB, transparent, transparent);
   width: 100%;
-  box-shadow: #ea4864 0 1px;
+  box-shadow: #D7E3FC 0 1px;
 }
 
 .container {

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor