Просмотр исходного кода

Use .font-monospace instead of .text-monospace

Devon Mar 2 лет назад
Родитель
Сommit
0f44f7eb20
2 измененных файлов с 3 добавлено и 3 удалено
  1. 2 2
      netbox/templates/dcim/interface.html
  2. 1 1
      netbox/templates/virtualization/vminterface.html

+ 2 - 2
netbox/templates/dcim/interface.html

@@ -123,11 +123,11 @@
           <table class="table table-hover">
           <table class="table table-hover">
             <tr>
             <tr>
               <th scope="row">MAC Address</th>
               <th scope="row">MAC Address</th>
-              <td><span class="text-monospace">{{ object.mac_address|placeholder }}</span></td>
+              <td><span class="font-monospace">{{ object.mac_address|placeholder }}</span></td>
             </tr>
             </tr>
             <tr>
             <tr>
               <th scope="row">WWN</th>
               <th scope="row">WWN</th>
-              <td><span class="text-monospace">{{ object.wwn|placeholder }}</span></td>
+              <td><span class="font-monospace">{{ object.wwn|placeholder }}</span></td>
             </tr>
             </tr>
             <tr>
             <tr>
               <th scope="row">VRF</th>
               <th scope="row">VRF</th>

+ 1 - 1
netbox/templates/virtualization/vminterface.html

@@ -59,7 +59,7 @@
                     </tr>
                     </tr>
                     <tr>
                     <tr>
                         <th scope="row">MAC Address</th>
                         <th scope="row">MAC Address</th>
-                        <td><span class="text-monospace">{{ object.mac_address|placeholder }}</span></td>
+                        <td><span class="font-monospace">{{ object.mac_address|placeholder }}</span></td>
                     </tr>
                     </tr>
                     <tr>
                     <tr>
                         <th scope="row">802.1Q Mode</th>
                         <th scope="row">802.1Q Mode</th>