Pārlūkot izejas kodu

0469: Installing Cockpit on Linux Device

i12bretro 3 gadi atpakaļ
vecāks
revīzija
db006376d1
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      0469.html

+ 2 - 2
0469.html

@@ -23,7 +23,7 @@
               theElement.empty();
               for(l=0;l<lines.length;l++){
                 if($.trim(lines[l]) != '' && $.trim(lines[l]).substr(0,1) != '#' && $.trim(lines[l]).indexOf(' #') == -1 && lines[l].substr(0, 4).toUpperCase() != 'REM '){
-									                  theElement.append('<input type="image" src="images/clipboard.png" value="" class="copy-text" rel="copy_'+ i +'_'+ l +'" data-clipboard-text="'+ lines[l].replace(/"/g, '&quot;') +'" /><span id="copy_'+ i +'_'+ l +'">'+ lines[l] +'</span>');
+									                  theElement.append('<input type="image" src="images/clipboard.png" value="" class="copy-text" rel="copy_'+ i +'_'+ l +'" data-clipboard-text="'+ $.trim(lines[l].replace(/"/g, '&quot;')) +'" /><span id="copy_'+ i +'_'+ l +'">'+ lines[l] +'</span>');
 									                } else {
                   theElement.append(lines[l]);
                 }
@@ -79,7 +79,7 @@
           <div id="content">
           <h2>What is Cockpit?</h2>
 
-<p><em>Cockpit is an interactive server admin interface. It is easy to use and very lightweight. Cockpit interacts directly with the operating system from a real Linux session in a browser.</em> -<a href="https://github.com/cockpit-project/cockpit" target="_blank">https://github.com/cockpit-project/cockpit</a></p>
+<blockquote><em>Cockpit is an interactive server admin interface. It is easy to use and very lightweight. Cockpit interacts directly with the operating system from a real Linux session in a browser.</em> -<a href="https://github.com/cockpit-project/cockpit" target="_blank">https://github.com/cockpit-project/cockpit</a></blockquote>
 
 <h2>Installing Cockpit</h2>