瀏覽代碼

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

i12bretro 3 年之前
父節點
當前提交
5c66bef46d
共有 1 個文件被更改,包括 8 次插入4 次删除
  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>