1
1
<!doctype html>
2
- < html lang ="en ">
2
+ < html lang ="en " class =" dark " >
3
3
4
4
< head >
5
5
< meta charset ="UTF-8 " />
26
26
< div x-data ="TruffleShowApp " class ="container mx-auto py-8 px-4 ">
27
27
< h1 class ="text-3xl font-bold text-center mb-8 text-gray-800 dark:text-white ">
28
28
< i class ="fas fa-file-shield text-teal-600 dark:text-teal-400 mr-2 "> </ i >
29
- TruffleShow
29
+ < a href ="/ " class ="hover:dark:text-gray-300 ">
30
+ TruffleShow
31
+ </ a >
30
32
< p class ="text-sm text-center text-gray-600 dark:text-gray-400 mt-2 ">
31
- v0.3.0 <!--x-release-please-version-->
33
+ < a href ="https://github.com/alioguzhan/truffleshow/blob/main/CHANGELOG.md " target ="_blank "
34
+ class ="hover:dark:text-gray-200 ">
35
+ v0.3.0 <!--x-release-please-version-->
36
+ </ a >
37
+ < a href ="https://github.com/alioguzhan/truffleshow " target ="_blank " class ="ml-2 hover:dark:text-gray-200 ">
38
+ < i class ="fab fa-github mr-2 "> </ i >
39
+ </ a >
32
40
</ p >
33
41
</ h1 >
34
42
< p class ="text-center text-gray-600 dark:text-gray-100 mb-2 ">
@@ -42,7 +50,7 @@ <h1 class="text-3xl font-bold text-center mb-8 text-gray-800 dark:text-white">
42
50
< div x-show ="!isFileUploaded "
43
51
class ="max-w-lg mx-auto bg-white dark:bg-gray-800 rounded-lg shadow-md p-8 dark-transition ">
44
52
< h2 class ="text-xl font-semibold mb-4 text-gray-700 dark:text-gray-200 text-center ">
45
- < i class ="fas fa-upload text-teal-500 dark:text-teal-400 mr-2 "> </ i >
53
+ < i class ="fas fa-file- upload text-teal-500 dark:text-teal-400 mr-2 "> </ i >
46
54
Upload TruffleHog JSON Output
47
55
</ h2 >
48
56
@@ -107,11 +115,12 @@ <h2 class="text-xl font-semibold mb-4 text-gray-700 dark:text-gray-200 text-cent
107
115
< div x-cloak x-show ="isFileUploaded " class ="bg-white dark:bg-gray-800 rounded-lg shadow-md p-6 dark-transition ">
108
116
< div class ="flex justify-between items-center mb-6 ">
109
117
< h2 class ="text-2xl font-semibold text-gray-800 dark:text-white ">
110
- < i class ="fas fa-list-check text-teal-600 dark:text-teal-400 mr-2 "> </ i > TruffleHog Findings
118
+ < i class ="fas fa-list-check text-teal-600 dark:text-teal-400 mr-1 "> </ i > Findings
119
+ < span class ="text-sm dark:text-gray-400 font-normal " x-text ="fileName "> </ span >
111
120
</ h2 >
112
121
< div class ="flex items-center space-x-2 ">
113
- < button @click ="generateReport "
114
- class =" px-4 py-2 bg-blue-600 dark:bg-blue-700 text-white rounded hover:bg-blue-700 dark:hover:bg-blue- 600 transition flex items-center ">
122
+ < button @click ="generateReport " class =" px-2 py-2 bg-blue-600 dark:bg-blue-700 text-white rounded hover:bg-blue-700
123
+ dark:hover:bg-blue-600 transition flex items-center text-sm ">
115
124
< template x-if ="!isGeneratingReport ">
116
125
< i class ="fas fa-file-pdf mr-1 "> </ i >
117
126
</ template >
@@ -120,8 +129,8 @@ <h2 class="text-2xl font-semibold text-gray-800 dark:text-white">
120
129
</ template >
121
130
< span x-text ="isGeneratingReport ? 'Generating PDF...' : 'Download PDF (Beta)' "> </ span >
122
131
</ button >
123
- < button @click ="resetApp "
124
- class =" px-4 py-2 bg-teal-600 dark:bg-teal-700 text-white rounded hover:bg-teal-700 dark:hover:bg-teal-600 transition ">
132
+ < button @click ="resetApp " class =" px-2 py-2 bg-teal-600 dark:bg-teal-700 text-white rounded hover:bg-teal-700 dark:hover:bg-teal-600
133
+ transition text-sm ">
125
134
< i class ="fas fa-upload mr-2 "> </ i > Upload Another File
126
135
</ button >
127
136
</ div >
0 commit comments