-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve record analyses and add sentry
- Loading branch information
Showing
22 changed files
with
258 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
<tr> | ||
<td class="relative py-5 pr-6"> | ||
<div class="flex gap-x-6"> | ||
<div class="flex-auto"> | ||
<div class="flex items-start gap-x-3"> | ||
<div class="text-sm font-medium leading-6 text-gray-900 dark:text-gray-100"><%= record.source_ip %> | ||
<%= turbo_frame_tag "dns_#{record.source_ip}", src: ptr_lookup_path(record.source_ip), lazy: true do %> | ||
<%= t('.dns_placeholder') %> | ||
<% end %> | ||
</div> | ||
<%= render partial: 'domains/validity_badge', locals: { fully_valid: record.dkim_valid?, partially_valid: false, name: 'DKIM' } %> | ||
<%= render partial: 'domains/validity_badge', locals: { fully_valid: record.spf_valid?, partially_valid: false, name: 'SPF' } %> | ||
<td class="whitespace-nowrap py-5 pl-4 pr-3 text-sm sm:pl-0"> | ||
<div class="flex items-center"> | ||
<div class="ml-4"> | ||
<div class="font-medium text-gray-900 dark:font-bold"> | ||
<%= turbo_frame_tag "dns_#{record.source_ip}", src: ptr_lookup_path(record.source_ip), lazy: true do %> | ||
<%= t('.dns_placeholder') %> | ||
<% end %> | ||
</div> | ||
<div class="mt-1 text-gray-500 dark:text-gray-400"><%= record.source_ip %></div> | ||
</div> | ||
</div> | ||
<div class="absolute bottom-0 right-full h-px w-screen bg-gray-100"></div> | ||
<div class="absolute bottom-0 left-0 h-px w-screen bg-gray-100"></div> | ||
</td> | ||
<td class="py-5 text-right"> | ||
<div class="mt-1 text-xs leading-5 text-gray-500 dark:text-gray-400"><%= t('.count') %> <span class="text-gray-900 dark:text-gray-200"><%= record.count %></span></div> | ||
<td class="whitespace-nowrap px-3 py-5 text-sm text-gray-500"> | ||
<%= render partial: 'feedbacks/result_badge', locals: { pass: record.dmarc } %> | ||
</td> | ||
<td class="whitespace-nowrap px-3 py-5 text-sm text-gray-500"> | ||
<%= render partial: 'feedbacks/result_badge', locals: { pass: record.dkim_pass } %> | ||
</td> | ||
<td class="whitespace-nowrap px-3 py-5 text-sm text-gray-500"> | ||
<%= render partial: 'feedbacks/result_badge', locals: { pass: record.spf_pass } %> | ||
</td> | ||
<td class="whitespace-nowrap px-3 py-5 text-sm text-gray-500 dark:text-gray-400"><%= record.count %></td> | ||
</tr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.