validate folder names, handle missing files more gracefully
This commit is contained in:
		| @ -101,6 +101,12 @@ | ||||
|         flex-direction: row; | ||||
|     } | ||||
|  | ||||
|     .app-logo { | ||||
|         display: block; | ||||
|         margin-left: auto; | ||||
|         margin-right: auto; | ||||
|     } | ||||
|  | ||||
|     .breadcrumbs { | ||||
|         position: fixed; | ||||
|         left: 275px; | ||||
| @ -163,7 +169,13 @@ | ||||
|     } | ||||
| } | ||||
|  | ||||
| @media (max-width: 767px) {     | ||||
| @media (max-width: 767px) { | ||||
|     .app-logo { | ||||
|         height: 80px; | ||||
|         display: flex; | ||||
|         align-items: center; | ||||
|     } | ||||
|  | ||||
|     .breadcrumbs { | ||||
|         position: fixed; | ||||
|         top: 150px; | ||||
|  | ||||
							
								
								
									
										
											BIN
										
									
								
								Oqtane.Server/wwwroot/images/error.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Oqtane.Server/wwwroot/images/error.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.6 KiB | 
| @ -81,14 +81,26 @@ window.interop = { | ||||
|             if (link.href !== url) { | ||||
|                 link.setAttribute('href', url); | ||||
|             } | ||||
|             if (type !== "" && link.type !== type) { | ||||
|                 link.setAttribute('type', type); | ||||
|             if (type !== "") { | ||||
|                 if (link.type !== type) { | ||||
|                     link.setAttribute('type', type); | ||||
|                 } | ||||
|             } else { | ||||
|                 link.removeAttribute('type'); | ||||
|             } | ||||
|             if (integrity !== "" && link.integrity !== integrity) { | ||||
|                 link.setAttribute('integrity', integrity); | ||||
|             if (integrity !== "") { | ||||
|                 if (link.integrity !== integrity) { | ||||
|                     link.setAttribute('integrity', integrity); | ||||
|                 } | ||||
|             } else { | ||||
|                 link.removeAttribute('integrity'); | ||||
|             } | ||||
|             if (crossorigin !== "" && link.crossOrigin !== crossorigin) { | ||||
|                 link.setAttribute('crossorigin', crossorigin); | ||||
|             if (crossorigin !== "") { | ||||
|                 if (link.crossOrigin !== crossorigin) { | ||||
|                     link.setAttribute('crossorigin', crossorigin); | ||||
|                 } | ||||
|             } else { | ||||
|                 link.removeAttribute('crossorigin'); | ||||
|             } | ||||
|         } | ||||
|     }, | ||||
| @ -126,11 +138,19 @@ window.interop = { | ||||
|                 if (script.src !== src) { | ||||
|                     script.src = src; | ||||
|                 } | ||||
|                 if (integrity !== "" && script.integrity !== integrity) { | ||||
|                     script.setAttribute('integrity', integrity); | ||||
|                 if (integrity !== "") { | ||||
|                     if (script.integrity !== integrity) { | ||||
|                         script.setAttribute('integrity', integrity); | ||||
|                     } | ||||
|                 } else { | ||||
|                     script.removeAttribute('integrity'); | ||||
|                 } | ||||
|                 if (crossorigin !== "" && script.crossorigin !== crossorigin) { | ||||
|                     script.setAttribute('crossorigin', crossorigin); | ||||
|                 if (crossorigin !== "") { | ||||
|                     if (script.crossOrigin !== crossorigin) { | ||||
|                         script.setAttribute('crossorigin', crossorigin); | ||||
|                     } | ||||
|                 } else { | ||||
|                     script.removeAttribute('crossorigin'); | ||||
|                 } | ||||
|             } | ||||
|             else { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shaun Walker
					Shaun Walker