Jelajahi Sumber

0546: Create a Bootable ProxMox VE USB Flash Drive for Testing

i12bretro 3 tahun lalu
induk
melakukan
5c66bef46d
1 mengubah file dengan 8 tambahan dan 4 penghapusan
  1. 8 4
      0546.html

+ 8 - 4
0546.html

@@ -12,9 +12,11 @@
             });
 
             $('li').each(function(i,e){
-              var uuid = 'li_' + Math.floor(Math.random() * Math.floor(1000000)).toString() + '_' + i.toString();
-              $(this).contents().wrap('<span id="'+ uuid +'"><label for="cb_'+ uuid +'"></label></span>');
-              $(this).prepend('<input type="checkbox" class="completeBox" id="cb_' + uuid +'" rel="'+ uuid +'" />')
+							if(!$(this).hasClass('noCheckbox')){
+								var uuid = 'li_' + Math.floor(Math.random() * Math.floor(1000000)).toString() + '_' + i.toString();
+								$(this).contents().wrap('<span id="'+ uuid +'"><label for="cb_'+ uuid +'"></label></span>');
+								$(this).prepend('<input type="checkbox" class="completeBox" id="cb_' + uuid +'" rel="'+ uuid +'" />')
+							}
             });
 
             $('code,div.codeBlock,textarea.codeBlock').each(function(i,e){
@@ -77,7 +79,9 @@
           </div>
           <div></div>
           <div id="content">
-          <h2>Things You Will Need</h2>
+          <p>NOTE: This is a helpful exercise to test or debug ProxMox VE but is not recommended for production use.</p>
+
+<h2>Things You Will Need</h2>
 
 <ul>
 	<li>A USB flash drive, at least 8 GB</li>