File tree Expand file tree Collapse file tree 3 files changed +20
-3
lines changed
LinkDotNet.Blog.IntegrationTests/Web/Pages/Admin
LinkDotNet.Blog.Web/Pages Expand file tree Collapse file tree 3 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 1
- using System ;
2
- using System . Threading . Tasks ;
1
+ using System . Threading . Tasks ;
3
2
using Blazored . Toast . Services ;
4
3
using Bunit ;
5
4
using Bunit . TestDoubles ;
Original file line number Diff line number Diff line change
1
+ namespace LinkDotNet . Blog . Web . Pages ;
2
+
3
+ public static class DebugHelper
4
+ {
5
+ #if DEBUG
6
+ public const bool IsDebug = true ;
7
+ #else
8
+ public const bool IsDebug = false ;
9
+ #endif
10
+
11
+ }
Original file line number Diff line number Diff line change 21
21
<meta name =" msapplication-TileColor" content =" #da532c" >
22
22
<meta name =" theme-color" content =" #ffffff" >
23
23
<link rel =" preload" href =" css/bootstrap/bootstrap.min.css" as =" style" onload =" this.onload=null;this.rel='stylesheet'" ><noscript ><link rel =" stylesheet" href =" css/bootstrap/bootstrap.min.css" ></noscript >
24
- <link href =" css/bundle.min.css" rel =" stylesheet" />
24
+ @if (DebugHelper .IsDebug )
25
+ {
26
+ <link href =" css/basic.css" rel =" stylesheet" />
27
+ }
28
+ else
29
+ {
30
+ <link href =" css/bundle.min.css" rel =" stylesheet" />
31
+ }
25
32
<link href =" LinkDotNet.Blog.Web.styles.css" rel =" stylesheet" />
26
33
<link rel =" preload" href =" _content/Blazored.Toast/blazored-toast.min.css" as =" style" onload =" this.onload=null;this.rel='stylesheet'" ><noscript ><link rel =" stylesheet" href =" _content/Blazored.Toast/blazored-toast.min.css" ></noscript >
27
34
<link rel =" stylesheet" href =" https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity =" sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin =" anonymous" referrerpolicy =" no-referrer" />
You can’t perform that action at this time.
0 commit comments