bug on config
This commit is contained in:
@ -95,7 +95,7 @@ namespace isn.Controllers
|
||||
return BadRequest(new { error = ModelState });
|
||||
}
|
||||
|
||||
// GET /autocomplete?id=nuget.protocol&prerelease=true
|
||||
// GET /autocomplete?id=isn.protocol&prerelease=true
|
||||
[HttpGet(_pkgRootPrefix + "/autocomplete")]
|
||||
public IActionResult AutoComplete(
|
||||
string id,
|
||||
|
@ -4,14 +4,14 @@
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>@ViewData["Title"] - nuget host</title>
|
||||
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
|
||||
<link rel="stylesheet" href="~/css/site.css" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
|
||||
<nav class="navbar navbar-inverse navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" asp-area="" asp-controller="PackageVersion" asp-action="Index">isn</a>
|
||||
<a class="navbar-brand" asp-area="" asp-controller="PackageVersion" asp-action="Index">isnd</a>
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target=".navbar-collapse" aria-controls="navbarSupportedContent"
|
||||
aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
@ -38,11 +38,11 @@
|
||||
|
||||
<footer class="border-top footer text-muted">
|
||||
<div class="container">
|
||||
© 2021 - isn - <a asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
|
||||
© 2021 - mvc_ident - <a asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
|
||||
</div>
|
||||
</footer>
|
||||
<script src="~/lib/jquery/dist/jquery.min.js"></script>
|
||||
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.js" asp-append-version="true"></script>
|
||||
<script src="~/js/site.js" asp-append-version="true"></script>
|
||||
@await RenderSectionAsync("Scripts", required: false)
|
||||
</body>
|
||||
|
@ -1,10 +0,0 @@
|
||||
{
|
||||
"name": "asp.net",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"bootstrap": "3.3.6",
|
||||
"jquery": "2.2.0",
|
||||
"jquery-validation": "1.14.0",
|
||||
"jquery-validation-unobtrusive": "3.2.6"
|
||||
}
|
||||
}
|
@ -31,7 +31,7 @@
|
||||
.ok {
|
||||
font-weight: bolder;
|
||||
color: white;
|
||||
background-color: black;
|
||||
background-color: #009220;
|
||||
}
|
||||
|
||||
|
||||
@ -49,4 +49,4 @@
|
||||
.ok a:hover {
|
||||
color: rgb(119, 255, 255);
|
||||
background-color: black;
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
|
||||
@import "../lib/bootstrap/scss/bootstrap";
|
||||
|
||||
.body-container {
|
||||
margin-top: 60px;
|
||||
@ -48,6 +49,4 @@ $theme-colors: (
|
||||
"danger": #ff4136
|
||||
);
|
||||
|
||||
@import "../lib/bootstrap/scss/bootstrap";
|
||||
|
||||
|
||||
|
@ -1505,7 +1505,7 @@
|
||||
|
||||
var _config = _objectSpread2({}, Default$1, {}, $this.data(), {}, typeof config === 'object' && config ? config : {});
|
||||
|
||||
if (!data && _config.toggle && /show|hide/.test(config)) {
|
||||
if (typeof config !== 'string' || !data && _config.toggle && /show|hide/.test(config)) {
|
||||
_config.toggle = false;
|
||||
}
|
||||
|
||||
|
@ -4,15 +4,10 @@ using Microsoft.AspNetCore;
|
||||
using isn;
|
||||
using Xunit;
|
||||
using isn.Data;
|
||||
using Microsoft.Extensions.Options;
|
||||
using isn.Entities;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.Diagnostics;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace nuget.host.tests
|
||||
namespace isnd.host.tests
|
||||
{
|
||||
public class UnitTestWebHost
|
||||
{
|
||||
@ -43,9 +38,7 @@ namespace nuget.host.tests
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public static IWebHost BuildWebHost(string[] args) =>
|
||||
WebHost.CreateDefaultBuilder(args)
|
||||
.UseStartup<Startup>()
|
||||
|
Reference in New Issue
Block a user