Updates
This commit is contained in:
parent
9e723df36c
commit
f2781b1dfc
|
@ -1 +1 @@
|
||||||
Subproject commit dc7a0588a79e8abc8d48e60b9ca5e5f40dd6f3bb
|
Subproject commit e25d0c0b2cd46d63670966b03de9bd03c9d91637
|
Binary file not shown.
|
@ -1,8 +0,0 @@
|
||||||
namespace CodeLiturgy.Data.Application;
|
|
||||||
|
|
||||||
public enum EnvironmentType
|
|
||||||
{
|
|
||||||
Development,
|
|
||||||
Staging,
|
|
||||||
Production
|
|
||||||
}
|
|
|
@ -10,25 +10,18 @@ namespace CodeLiturgy.Data.Application
|
||||||
typeof(SiteUnique),
|
typeof(SiteUnique),
|
||||||
typeof(SiteCreate)
|
typeof(SiteCreate)
|
||||||
})]
|
})]
|
||||||
|
|
||||||
public partial class Site
|
public partial class Site
|
||||||
{
|
{
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public string Id { get; set; }
|
public string Id { get; set; }
|
||||||
|
|
||||||
public SiteEnvironment Environment { get; set; }
|
public SiteEnvironment Environment { get; set; }
|
||||||
|
|
||||||
public string EnvironmentId { get; set; }
|
public string EnvironmentId { get; set; }
|
||||||
|
|
||||||
public string Domain { get; set; }
|
public string Domain { get; set; }
|
||||||
|
|
||||||
public string UrlAddress { get; set; }
|
public string UrlAddress { get; set; }
|
||||||
|
public SiteType SiteType { get; set; }
|
||||||
public EnvironmentType EnvironmentType { get; set; }
|
|
||||||
|
|
||||||
public DateTime CreatedDate { get; set; }
|
public DateTime CreatedDate { get; set; }
|
||||||
|
|
||||||
public DateTime LastChanged { get; set; }
|
public DateTime LastChanged { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,14 +6,9 @@ namespace CodeLiturgy.Data.Application
|
||||||
public partial class SiteCreate
|
public partial class SiteCreate
|
||||||
{
|
{
|
||||||
public string Id { get; set; }
|
public string Id { get; set; }
|
||||||
|
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
|
|
||||||
public string Domain { get; set; }
|
public string Domain { get; set; }
|
||||||
|
|
||||||
public string Ip { get; set; }
|
public string Ip { get; set; }
|
||||||
|
public SiteType SiteType { get; set; }
|
||||||
public EnvironmentType EnvironmentType { get; set; }
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
namespace CodeLiturgy.Data.Application
|
||||||
|
{
|
||||||
|
public enum SiteType
|
||||||
|
{
|
||||||
|
Development,
|
||||||
|
Staging,
|
||||||
|
Production
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ namespace CodeLiturgy.Data.Application
|
||||||
|
|
||||||
public string Ip { get; set; }
|
public string Ip { get; set; }
|
||||||
|
|
||||||
public EnvironmentType EnvironmentType { get; set; }
|
public SiteType SiteType { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,9 @@ namespace CodeLiturgy.Views.Controllers;
|
||||||
|
|
||||||
public class AccountController : UserController
|
public class AccountController : UserController
|
||||||
{
|
{
|
||||||
public AccountController(ApplicationUserManager userManager, ILogger<AccountController> logger) : base(userManager, logger)
|
public AccountController(
|
||||||
|
ApplicationUserManager userManager,
|
||||||
|
ILogger<AccountController> logger) : base(userManager, logger)
|
||||||
{
|
{
|
||||||
_userManager = userManager;
|
_userManager = userManager;
|
||||||
_logger = logger;
|
_logger = logger;
|
||||||
|
|
|
@ -14,7 +14,10 @@ namespace CodeLiturgy.Views.Controllers
|
||||||
|
|
||||||
private readonly IAuthManager _authManager;
|
private readonly IAuthManager _authManager;
|
||||||
|
|
||||||
public AuthController(ApplicationUserManager userManager, ILogger<AuthController> logger, IAuthManager authManager) : base(userManager, logger)
|
public AuthController(
|
||||||
|
ApplicationUserManager userManager,
|
||||||
|
ILogger<AuthController> logger,
|
||||||
|
IAuthManager authManager) : base(userManager, logger)
|
||||||
{
|
{
|
||||||
_userManager = userManager;
|
_userManager = userManager;
|
||||||
_logger = logger;
|
_logger = logger;
|
||||||
|
|
|
@ -8,7 +8,10 @@ namespace CodeLiturgy.Views.Controllers;
|
||||||
|
|
||||||
public class EnvironmentsPageController : UserController
|
public class EnvironmentsPageController : UserController
|
||||||
{
|
{
|
||||||
public EnvironmentsPageController(ApplicationUserManager userManager, ILogger<UserController> logger) : base(userManager, logger) { }
|
public EnvironmentsPageController(
|
||||||
|
ApplicationUserManager userManager,
|
||||||
|
ILogger<UserController> logger)
|
||||||
|
: base(userManager, logger) { }
|
||||||
|
|
||||||
public override void OnInitialization()
|
public override void OnInitialization()
|
||||||
{
|
{
|
||||||
|
|
|
@ -9,7 +9,9 @@ namespace CodeLiturgy.Views.Controllers;
|
||||||
[System.Web.Mvc.Authorize]
|
[System.Web.Mvc.Authorize]
|
||||||
public class HomeController : UserController
|
public class HomeController : UserController
|
||||||
{
|
{
|
||||||
public HomeController(ApplicationUserManager userManager, ILogger<HomeController> logger) : base(userManager, logger)
|
public HomeController(
|
||||||
|
ApplicationUserManager userManager,
|
||||||
|
ILogger<HomeController> logger) : base(userManager, logger)
|
||||||
{
|
{
|
||||||
_userManager = userManager;
|
_userManager = userManager;
|
||||||
_logger = logger;
|
_logger = logger;
|
||||||
|
|
|
@ -14,10 +14,10 @@ namespace CodeLiturgy.Views.Controllers
|
||||||
public class SitesController : ControllerBase
|
public class SitesController : ControllerBase
|
||||||
{
|
{
|
||||||
private ApplicationUserManager _userManager;
|
private ApplicationUserManager _userManager;
|
||||||
private ILogger<UserController> _logger;
|
private ILogger<SitesController> _logger;
|
||||||
private readonly SiteDbContext _siteDbContext;
|
private readonly SiteDbContext _siteDbContext;
|
||||||
|
|
||||||
public SitesController(ApplicationUserManager userManager, ILogger<UserController> logger, SiteDbContext siteDbContext)
|
public SitesController(ApplicationUserManager userManager, ILogger<SitesController> logger, SiteDbContext siteDbContext)
|
||||||
{
|
{
|
||||||
_logger = logger;
|
_logger = logger;
|
||||||
_userManager = userManager;
|
_userManager = userManager;
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
using Microsoft.AspNetCore.Mvc;
|
|
||||||
|
|
||||||
namespace CodeLiturgy.Views.Controllers;
|
|
||||||
|
|
||||||
public class UsersController : Controller
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
|
@ -1 +1 @@
|
||||||
:root{font-family:Inter,Avenir,Helvetica,Arial,sans-serif;font-size:16px;line-height:24px;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}.card{padding:2em}#app{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}
|
:root{font-family:Inter,Avenir,Helvetica,Arial,sans-serif;font-size:16px;line-height:24px;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}.card{padding:2em}#app{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.dropdown.svelte-1c41377.svelte-1c41377{position:relative;width:200px}.dropdown.svelte-1c41377 select.svelte-1c41377{width:100%}.dropdown.svelte-1c41377>.svelte-1c41377{box-sizing:border-box;height:1.5em}.dropdown.svelte-1c41377 input.svelte-1c41377{position:absolute;width:calc(100% - 20px)}
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="26.6" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 308"><path fill="#FF3E00" d="M239.682 40.707C211.113-.182 154.69-12.301 113.895 13.69L42.247 59.356a82.198 82.198 0 0 0-37.135 55.056a86.566 86.566 0 0 0 8.536 55.576a82.425 82.425 0 0 0-12.296 30.719a87.596 87.596 0 0 0 14.964 66.244c28.574 40.893 84.997 53.007 125.787 27.016l71.648-45.664a82.182 82.182 0 0 0 37.135-55.057a86.601 86.601 0 0 0-8.53-55.577a82.409 82.409 0 0 0 12.29-30.718a87.573 87.573 0 0 0-14.963-66.244"></path><path fill="#FFF" d="M106.889 270.841c-23.102 6.007-47.497-3.036-61.103-22.648a52.685 52.685 0 0 1-9.003-39.85a49.978 49.978 0 0 1 1.713-6.693l1.35-4.115l3.671 2.697a92.447 92.447 0 0 0 28.036 14.007l2.663.808l-.245 2.659a16.067 16.067 0 0 0 2.89 10.656a17.143 17.143 0 0 0 18.397 6.828a15.786 15.786 0 0 0 4.403-1.935l71.67-45.672a14.922 14.922 0 0 0 6.734-9.977a15.923 15.923 0 0 0-2.713-12.011a17.156 17.156 0 0 0-18.404-6.832a15.78 15.78 0 0 0-4.396 1.933l-27.35 17.434a52.298 52.298 0 0 1-14.553 6.391c-23.101 6.007-47.497-3.036-61.101-22.649a52.681 52.681 0 0 1-9.004-39.849a49.428 49.428 0 0 1 22.34-33.114l71.664-45.677a52.218 52.218 0 0 1 14.563-6.398c23.101-6.007 47.497 3.036 61.101 22.648a52.685 52.685 0 0 1 9.004 39.85a50.559 50.559 0 0 1-1.713 6.692l-1.35 4.116l-3.67-2.693a92.373 92.373 0 0 0-28.037-14.013l-2.664-.809l.246-2.658a16.099 16.099 0 0 0-2.89-10.656a17.143 17.143 0 0 0-18.398-6.828a15.786 15.786 0 0 0-4.402 1.935l-71.67 45.674a14.898 14.898 0 0 0-6.73 9.975a15.9 15.9 0 0 0 2.709 12.012a17.156 17.156 0 0 0 18.404 6.832a15.841 15.841 0 0 0 4.402-1.935l27.345-17.427a52.147 52.147 0 0 1 14.552-6.397c23.101-6.006 47.497 3.037 61.102 22.65a52.681 52.681 0 0 1 9.003 39.848a49.453 49.453 0 0 1-22.34 33.12l-71.664 45.673a52.218 52.218 0 0 1-14.563 6.398"></path></svg>
|
After Width: | Height: | Size: 1.9 KiB |
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue