Jelajahi Sumber

Merge pull request #3804 from hSaria/3803-svg-logo

Fixes 3803
Jeremy Stretch 6 tahun lalu
induk
melakukan
ea2351e902

+ 1 - 1
README.md

@@ -1,4 +1,4 @@
-![NetBox](docs/netbox_logo.png "NetBox logo")
+![NetBox](docs/netbox_logo.svg "NetBox logo")
 
 
 NetBox is an IP address management (IPAM) and data center infrastructure
 NetBox is an IP address management (IPAM) and data center infrastructure
 management (DCIM) tool. Initially conceived by the network engineering team at
 management (DCIM) tool. Initially conceived by the network engineering team at

+ 1 - 1
docs/index.md

@@ -1,4 +1,4 @@
-![NetBox](netbox_logo.png "NetBox logo")
+![NetBox](netbox_logo.svg "NetBox logo")
 
 
 # What is NetBox?
 # What is NetBox?
 
 

File diff ditekan karena terlalu besar
+ 18 - 0
docs/netbox_logo.svg


+ 20 - 0
netbox/project-static/img/netbox_icon.svg

@@ -0,0 +1,20 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 320">
+  <g fill="#9cc8f8" stroke="#9cc8f8">
+    <circle cx="37" cy="284" r="23"/>
+    <circle cx="101" cy="37" r="23"/>
+    <circle cx="101" cy="220" r="23"/>
+    <circle cx="284" cy="220" r="23"/>
+    <rect x="93" y="37" width="16" height="180"/>
+    <rect x="101" y="212" width="180" height="16"/>
+    <rect x="93" y="212" width="16" height="90" transform="rotate(45 101 220)"/>
+  </g>
+  <g fill="#1685fc" stroke="#1685fc">
+    <circle cx="284" cy="37" r="23"/>
+    <circle cx="37" cy="101" r="23"/>
+    <circle cx="220" cy="101" r="23"/>
+    <circle cx="220" cy="284" r="23"/>
+    <rect x="37" y="93" width="180" height="16"/>
+    <rect x="212" y="101" width="16" height="180"/>
+    <rect x="212" y="93" width="16" height="90" transform="rotate(225 220 101)"/>
+  </g>
+</svg>

File diff ditekan karena terlalu besar
+ 18 - 0
netbox/project-static/img/netbox_logo.svg


+ 1 - 1
netbox/templates/inc/nav_menu.html

@@ -10,7 +10,7 @@
                 <span class="icon-bar"></span>
                 <span class="icon-bar"></span>
             </button>
             </button>
             <a class="navbar-brand" href="{% url 'home' %}">
             <a class="navbar-brand" href="{% url 'home' %}">
-                <img src="{% static 'img/netbox_logo.png' %}" />
+                <img src="{% static 'img/netbox_logo.svg' %}" height="30" />
             </a>
             </a>
         </div>
         </div>
         <div id="navbar" class="navbar-collapse collapse">
         <div id="navbar" class="navbar-collapse collapse">

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini