update theme creator template to Bootstrap5
This commit is contained in:
		| @ -100,10 +100,8 @@ | ||||
|  | ||||
|     public override List<Resource> Resources => new List<Resource>() | ||||
|     { | ||||
|         new Resource { ResourceType = ResourceType.Stylesheet, Url = "https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css", Integrity = "sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk", CrossOrigin = "anonymous" }, | ||||
|         new Resource { ResourceType = ResourceType.Stylesheet, Url = "https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css", Integrity = "sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC", CrossOrigin = "anonymous" }, | ||||
|         new Resource { ResourceType = ResourceType.Stylesheet, Url = ThemePath() + "Theme.css" }, | ||||
|         new Resource { ResourceType = ResourceType.Script, Bundle = "Bootstrap", Url = "https://code.jquery.com/jquery-3.5.1.slim.min.js", Integrity = "sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj", CrossOrigin = "anonymous" }, | ||||
|         new Resource { ResourceType = ResourceType.Script, Bundle = "Bootstrap", Url = "https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js", Integrity = "sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo", CrossOrigin = "anonymous" }, | ||||
|         new Resource { ResourceType = ResourceType.Script, Bundle = "Bootstrap", Url = "https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js", Integrity = "sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI", CrossOrigin = "anonymous" } | ||||
|         new Resource { ResourceType = ResourceType.Script, Bundle = "Bootstrap", Url = "https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js", Integrity = "sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM", CrossOrigin = "anonymous" } | ||||
|     }; | ||||
| } | ||||
|  | ||||
| @ -4,6 +4,34 @@ body { | ||||
|     padding-top: 7rem; | ||||
| } | ||||
|  | ||||
| .table > :not(caption) > * > * { | ||||
|     box-shadow: none; | ||||
| } | ||||
|  | ||||
| .table .form-control { | ||||
|     background-color: #ffffff !important; | ||||
|     border-width: 0.5px !important; | ||||
|     border-bottom-color: #ccc !important; | ||||
| } | ||||
|  | ||||
| .table .form-select { | ||||
|     background-color: #ffffff !important; | ||||
|     border-width: 0.5px !important; | ||||
|     border-bottom-color: #ccc !important; | ||||
| } | ||||
|  | ||||
| .table .btn-primary { | ||||
|     background-color: var(--bs-primary); | ||||
| } | ||||
|  | ||||
| .table .btn-secondary { | ||||
|     background-color: var(--bs-secondary); | ||||
| } | ||||
|  | ||||
| .alert-dismissible .btn-close { | ||||
|     z-index: 1; | ||||
| } | ||||
|  | ||||
| .controls { | ||||
|     z-index: 2000; | ||||
|     padding-top: 15px; | ||||
| @ -22,6 +50,7 @@ body { | ||||
|     display: flex; | ||||
|     align-items: center; | ||||
|     line-height: 3rem; | ||||
|     padding-left: 1rem; | ||||
| } | ||||
|  | ||||
| .app-menu .nav-item a.active { | ||||
| @ -43,7 +72,7 @@ body { | ||||
|  | ||||
| .navbar-toggler { | ||||
|     background-color: rgba(255, 255, 255, 0.1); | ||||
|     margin-left: auto; | ||||
|     margin: .5rem; | ||||
| } | ||||
|  | ||||
| div.app-moduleactions a.dropdown-toggle, div.app-moduleactions div.dropdown-menu { | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| { | ||||
|   "Title": "Default Theme Template", | ||||
|   "Type": "External", | ||||
|   "Version": "2.1.0" | ||||
|   "Version": "2.2.0" | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shaun Walker
					Shaun Walker