Skip to content

Commit 0243fde

Browse files
committed
fixes #39
1 parent 073dd9b commit 0243fde

File tree

4 files changed

+6
-20
lines changed

4 files changed

+6
-20
lines changed

Diff for: extentreports-dotnet-core/Model/ScreenCapture.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ public string SourceIcon
2626
{
2727
if (!string.IsNullOrEmpty(Base64String))
2828
{
29-
return "<a href='" + Base64StringDataType + Base64String + "' data-featherlight='image'><span class='label grey badge white-text text-white'>base64-img</span></a>";
29+
return "<a href='" + Base64StringDataType + Base64String + "' data-featherlight='image' title='" + Title + "'><span class='label grey badge white-text text-white'>base64-img</span></a>";
3030
}
3131

32-
return "<a class='r-img' onerror='this.style.display=\"none\"' data-featherlight='" + Path + "' href='" + Path + "' data-src='" + Path + "'>" +
32+
return "<a class='r-img' onerror='this.style.display=\"none\"' data-featherlight='" + Path + "' href='" + Path + "' data-src='" + Path + "' title='" + Title + "'>" +
3333
"<span class='label grey badge white-text text-white'>img</span>" +
3434
"</a>";
3535
}

Diff for: extentreports-dotnet-core/Views/Html/Partials/Head.cshtml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title>@Model.MasterConfig.GetValue("documentTitle")</title>
55
<link rel="apple-touch-icon" href="https://cdn.jsdelivr.net/gh/extent-framework/extent-github-cdn@3da944e596e81f10ac6c1042c792af8a5a741023/commons/img/logo.png">
66
<link rel="shortcut icon" href="https://cdn.jsdelivr.net/gh/extent-framework/extent-github-cdn@3da944e596e81f10ac6c1042c792af8a5a741023/commons/img/logo.png">
7-
<link href="https://cdn.jsdelivr.net/gh/extent-framework/extent-github-cdn@3da944e596e81f10ac6c1042c792af8a5a741023/spark/css/spark-style.css" rel="stylesheet" />
7+
<link href="https://cdn.jsdelivr.net/gh/extent-framework/extent-github-cdn@8539670db814bf19a0ddbe9a6d19058aea0cf981/spark/css/spark-style.css" rel="stylesheet" />
88
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
99
<style>@Model.MasterConfig.GetValue("css") @Model.MasterConfig.GetValue("styles")</style>
1010
</head>

Diff for: extentreports-dotnet-core/Views/Html/Partials/SparkStandard.cshtml

+1-15
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,7 @@
1111
@foreach (var sc in Model.ScreenCaptureContext.All())
1212
{
1313
<li>
14-
<a href="@sc.ScreenCapturePath" data-featherlight="image">
15-
<div class="file-icon">
16-
<i class="fa fa-file-image-o"></i>
17-
</div>
18-
<div class="file-info">
19-
@if (sc.IsBase64)
20-
{
21-
<span class="file-name">base64</span>
22-
<span class="file-size">0Kb</span>
23-
} else {
24-
<span class="file-name">@sc.Name</span>
25-
<span class="file-size"> @(sc.FileSize)Kb</span>
26-
}
27-
</div>
28-
</a>
14+
@sc.Source
2915
</li>
3016
}
3117
</ul>

Diff for: extentreports-dotnet-core/Views/V3Html/V3Head.cshtml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600' rel='stylesheet' type='text/css' />
77
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
8-
<link href='https://cdn.rawgit.com/extent-framework/extent-github-cdn/8644a9c/v3html/css/extent.css' type='text/css' rel='stylesheet' />
9-
8+
<link href='https://cdn.jsdelivr.net/gh/extent-framework/extent-github-cdn@8539670db814bf19a0ddbe9a6d19058aea0cf981/v3html/css/extent.css' type='text/css' rel='stylesheet' />
9+
1010
<title>@Model.MasterConfig.GetValue("documentTitle")</title>
1111

1212
<style type='text/css'>

0 commit comments

Comments
 (0)