docs: state fork, original authors and licenses
Follow the attribution requirements of the Apache License 2.0 and of CC BY-SA 4.0 (device icons) for this fork of mattieserver/netbox-topology-views: - add a NOTICE file crediting Mattijs Vanhaverbeke and contributors, the icon license and the bundled third-party libraries (vis-network, vis-data, vis-util, Hammer.js) - mark every file changed since upstream v4.5.1 as modified (section 4b) - add a visible fork notice and a section on origin, credits and licenses to the README, including the CC BY-SA 4.0 license of the icons added here - point the package URL to this fork (with an Upstream link), add MrBlake as maintainer and replace the placeholder author email - ship LICENSE and NOTICE in the package Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
133cb1d9fc
commit
adfcc802c2
12 files changed
+85
-17
No files matched your search
@@ -1 +1,3 @@
|
||||
/* Modified by MrBlake for the MRB NetBox Topology Views fork: https://git.mrblake.cc/MrBlake/mrb-netbox-topology-views
|
||||
Based on mattieserver/netbox-topology-views (Apache License 2.0). See the LICENSE and NOTICE files. */
|
||||
#visgraph{height:64vh;border:1px solid #ced4da}html[data-netbox-color-mode=dark] #visgraph{background-color:#212529;border:1px solid #495057}.image-dropdown img{width:64px;height:64px}.image-dropdown-content{display:flex;flex-wrap:wrap;gap:.5rem;padding-inline:.5rem;width:50vw;max-width:32rem}.image-dropdown-content>img{cursor:pointer}.rack-elevation-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(34rem,1fr));gap:1rem}.rack-card{border:1px solid var(--tblr-border-color,#ced4da);border-radius:.4rem;background:var(--tblr-bg-surface,#fff);padding:1rem}.rack-card>header{display:flex;justify-content:space-between;margin-bottom:.75rem}.rack-faces{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.rack-face-title{text-align:center;font-size:.75rem;text-transform:uppercase;margin-bottom:.25rem}.rack-frame{display:flex;height:calc(var(--rack-units)*14px);min-height:280px;max-height:70vh;border:4px solid #3b4654;background:repeating-linear-gradient(to top,rgba(127,127,127,.14) 0,rgba(127,127,127,.14) 1px,transparent 1px,transparent calc(100%/var(--rack-units)))}.rack-unit-labels{width:2rem;display:flex;flex-direction:column;justify-content:space-around;font-size:.55rem;text-align:center;color:var(--tblr-secondary,#667382)}.rack-device-area{position:relative;flex:1;border-left:1px solid #3b4654}.rack-device{position:absolute;left:3px;right:3px;min-height:2px;overflow:hidden;padding:1px 5px;border:2px solid #1685fc;border-radius:3px;background:#162e45;color:#fff;line-height:1.1;text-decoration:none}.rack-device:hover{filter:brightness(1.25);color:#fff;z-index:2}.rack-device span,.rack-device small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rack-device small{font-size:.6rem;opacity:.8}@media(max-width:700px){.rack-elevation-grid{grid-template-columns:1fr}.rack-faces{grid-template-columns:1fr}}
|
||||
Reference in new issue
Block a user