dark theme, logo, tests
This commit is contained in:
10
.vscode/settings.json
vendored
10
.vscode/settings.json
vendored
@ -3,10 +3,12 @@
|
||||
"dotnet-test-explorer.runInParallel": false,
|
||||
"dotnet-test-explorer.showCodeLens": true,
|
||||
"dotnet-test-explorer.testArguments": "",
|
||||
"nxunitExplorer.nunit": "${workspaceFolder}/packages/nunit3-console.1.0.0/lib/net20/nunit3-console.exe",
|
||||
"nxunitExplorer.xunit": "${workspaceFolder}/packages/xunit.runner.console.2.4.1/tools/net472/xunit.console.exe",
|
||||
"nxunitExplorer.modules": [
|
||||
"test/**/bin/**/*.{dll,exe}"
|
||||
"test/i*/bin/Debug/*/*.tests.dll"
|
||||
],
|
||||
"nxunitExplorer.logpanel": true
|
||||
"nxunitExplorer.skippattern": "",
|
||||
"dotnetCoreExplorer.runEnvVars": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Testing"
|
||||
},
|
||||
"dotnetCoreExplorer.searchpatterns": "test/**/bin/**/*.tests.{dll,exe}"
|
||||
}
|
11
.vscode/tasks.json
vendored
11
.vscode/tasks.json
vendored
@ -50,13 +50,19 @@
|
||||
],
|
||||
"problemMatcher": "$msCompile"
|
||||
},
|
||||
{
|
||||
"label": "copyTestConfig",
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"args": [ "build", "/t:CopyTestConfig" ]
|
||||
},
|
||||
{
|
||||
"label": "test",
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"options": {
|
||||
"env": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
"ASPNETCORE_ENVIRONMENT": "Testing"
|
||||
}
|
||||
},
|
||||
"args": [
|
||||
@ -64,7 +70,8 @@
|
||||
"/property:GenerateFullPaths=true",
|
||||
"/consoleloggerparameters:NoSummary"
|
||||
],
|
||||
"problemMatcher": "$msCompile"
|
||||
"problemMatcher": "$msCompile",
|
||||
"dependsOn": [ "build", "copyTestConfig"]
|
||||
},
|
||||
{
|
||||
"label": "watch",
|
||||
|
@ -100,15 +100,17 @@ namespace isn
|
||||
{
|
||||
// une addition
|
||||
string ptd = Protector.Protect(apiKey);
|
||||
var sUri = new Uri(source);
|
||||
Settings.Sources.Add(source, new SourceSettings { ApiKey = ptd });
|
||||
}
|
||||
else return;
|
||||
|
||||
|
||||
FileInfo cfgSettingIf = new FileInfo(_configFileName);
|
||||
if (!cfgSettingIf.Directory.Exists) cfgSettingIf.Directory.Create();
|
||||
File.WriteAllText(cfgSettingIf.FullName, JsonConvert.SerializeObject(Program.Settings));
|
||||
File.WriteAllText(
|
||||
cfgSettingIf.FullName,
|
||||
JsonConvert.SerializeObject(
|
||||
Settings,
|
||||
Formatting.Indented
|
||||
));
|
||||
}
|
||||
|
||||
public static void LoadConfig()
|
||||
|
@ -20,10 +20,10 @@
|
||||
else
|
||||
{
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-dark" asp-area="Identity" asp-page="/Account/Register">Register</a>
|
||||
<a class="nav-link" asp-area="Identity" asp-page="/Account/Register">Register</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-dark" asp-area="Identity" asp-page="/Account/Login">Login</a>
|
||||
<a class="nav-link" asp-area="Identity" asp-page="/Account/Login">Login</a>
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
|
@ -54,7 +54,7 @@ body {
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: white;
|
||||
color: #d6d6d6;
|
||||
text-align: left;
|
||||
background-color: #272727; }
|
||||
|
||||
@ -1318,7 +1318,7 @@ pre {
|
||||
.table {
|
||||
width: 100%;
|
||||
margin-bottom: 1rem;
|
||||
color: white; }
|
||||
color: #d6d6d6; }
|
||||
.table th,
|
||||
.table td {
|
||||
padding: 0.75rem;
|
||||
@ -1353,7 +1353,7 @@ pre {
|
||||
background-color: rgba(0, 0, 0, 0.05); }
|
||||
|
||||
.table-hover tbody tr:hover {
|
||||
color: white;
|
||||
color: #d6d6d6;
|
||||
background-color: rgba(0, 0, 0, 0.075); }
|
||||
|
||||
.table-primary,
|
||||
@ -1630,7 +1630,7 @@ select.form-control:focus::-ms-value {
|
||||
margin-bottom: 0;
|
||||
font-size: 1rem;
|
||||
line-height: 1.5;
|
||||
color: white;
|
||||
color: #d6d6d6;
|
||||
background-color: transparent;
|
||||
border: solid transparent;
|
||||
border-width: 1px 0; }
|
||||
@ -1899,7 +1899,7 @@ textarea.form-control {
|
||||
.btn {
|
||||
display: inline-block;
|
||||
font-weight: 400;
|
||||
color: white;
|
||||
color: #d6d6d6;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
cursor: pointer;
|
||||
@ -1915,7 +1915,7 @@ textarea.form-control {
|
||||
.btn {
|
||||
transition: none; } }
|
||||
.btn:hover {
|
||||
color: white;
|
||||
color: #d6d6d6;
|
||||
text-decoration: none; }
|
||||
.btn:focus, .btn.focus {
|
||||
outline: 0;
|
||||
@ -2359,7 +2359,7 @@ input[type="button"].btn-block {
|
||||
padding: 0.5rem 0;
|
||||
margin: 0.125rem 0 0;
|
||||
font-size: 1rem;
|
||||
color: white;
|
||||
color: #d6d6d6;
|
||||
text-align: left;
|
||||
list-style: none;
|
||||
background-color: #fff;
|
||||
@ -3940,7 +3940,7 @@ input[type="button"].btn-block {
|
||||
text-decoration: none;
|
||||
background-color: #f8f9fa; }
|
||||
.list-group-item-action:active {
|
||||
color: white;
|
||||
color: #d6d6d6;
|
||||
background-color: #e9ecef; }
|
||||
|
||||
.list-group-item {
|
||||
@ -4562,7 +4562,7 @@ a.close.disabled {
|
||||
|
||||
.popover-body {
|
||||
padding: 0.5rem 0.75rem;
|
||||
color: white; }
|
||||
color: #d6d6d6; }
|
||||
|
||||
.carousel {
|
||||
position: relative; }
|
||||
@ -7666,7 +7666,7 @@ a.text-dark:hover, a.text-dark:focus {
|
||||
color: #121416 !important; }
|
||||
|
||||
.text-body {
|
||||
color: white !important; }
|
||||
color: #d6d6d6 !important; }
|
||||
|
||||
.text-muted {
|
||||
color: #6c757d !important; }
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Your variable overrides
|
||||
$body-bg: rgb(39, 39, 39);
|
||||
$body-color: rgb(255, 255, 255);
|
||||
$body-color: rgb(214, 214, 214);
|
||||
|
||||
@import "../lib/bootstrap/scss/bootstrap";
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 19 KiB |
Binary file not shown.
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 8.4 KiB |
@ -22,5 +22,13 @@
|
||||
<ProjectReference Include="..\..\src\isnd\isnd.csproj" />
|
||||
<ProjectReference Include="..\..\src\isn\isn.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<MyTestingConfigFiles Include="appsettings.Testing.json"/>
|
||||
</ItemGroup>
|
||||
<Target Name="CopyTestConfig">
|
||||
<Copy
|
||||
SourceFiles="@(MyTestingConfigFiles)"
|
||||
DestinationFolder="bin\Debug\netcoreapp2.1"
|
||||
/>
|
||||
</Target>
|
||||
</Project>
|
||||
|
Reference in New Issue
Block a user