I need a cool awesome landing page that shows all systems does ping request updattes logs of downtimes, nmap search, traffic request and all live systems required for users...orange is the main color and should give me as much space as possible for me to dd more system urls, ips, each...make the reporting cool and system updime graps for all nd individual particular ones etc....make it worthwhile , sleek and cool UI/UX
3b38230 verified Download components/header.js from zedthewizardofoz/orangeops-network-dashboard: direct link, hf CLI and curl.
- Browser
- Download file 1.91 kB
-
https://huggingface.co/spaces/zedthewizardofoz/orangeops-network-dashboard/resolve/main/components/header.js
- Command line
-
hf download hf://spaces/zedthewizardofoz/orangeops-network-dashboard/components/header.js
-
curl -L -o header.js https://huggingface.co/spaces/zedthewizardofoz/orangeops-network-dashboard/resolve/main/components/header.js
1.91 kB
| class CustomHeader extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| header { | |
| background: var(--primary); | |
| color: white; | |
| padding: 1rem 2rem; | |
| box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); | |
| } | |
| .header-container { | |
| max-width: 1400px; | |
| margin: 0 auto; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .logo { | |
| font-size: 1.5rem; | |
| font-weight: bold; | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| } | |
| .nav-links { | |
| display: flex; | |
| gap: 1.5rem; | |
| } | |
| .nav-links a { | |
| color: white; | |
| text-decoration: none; | |
| font-weight: 500; | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| transition: opacity 0.2s; | |
| } | |
| .nav-links a:hover { | |
| opacity: 0.8; | |
| } | |
| @media (max-width: 768px) { | |
| .header-container { | |
| flex-direction: column; | |
| gap: 1rem; | |
| } | |
| .nav-links { | |
| width: 100%; | |
| justify-content: space-around; | |
| } | |
| } | |
| </style> | |
| <header> | |
| <div class="header-container"> | |
| <div class="logo"> | |
| <i class="fas fa-network-wired"></i> | |
| OrangeOps | |
| </div> | |
| <nav class="nav-links"> | |
| <a href="#"><i class="fas fa-tachometer-alt"></i> Dashboard</a> | |
| <a href="#"><i class="fas fa-plus"></i> Add System</a> | |
| <a href="#"><i class="fas fa-cog"></i> Settings</a> | |
| </nav> | |
| </div> | |
| </header> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-header', CustomHeader); |