|
@@ -23,7 +23,7 @@
|
|
theElement.empty();
|
|
theElement.empty();
|
|
for(l=0;l<lines.length;l++){
|
|
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 '){
|
|
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, '"') +'" /><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, '"')) +'" /><span id="copy_'+ i +'_'+ l +'">'+ lines[l] +'</span>');
|
|
} else {
|
|
} else {
|
|
theElement.append(lines[l]);
|
|
theElement.append(lines[l]);
|
|
}
|
|
}
|
|
@@ -79,7 +79,7 @@
|
|
<div id="content">
|
|
<div id="content">
|
|
<h2>What is Cockpit?</h2>
|
|
<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>
|
|
<h2>Installing Cockpit</h2>
|
|
|
|
|