WebSockets: rename all occurrences of 'disk path' to 'filesystem path'

This commit is contained in:
Luciano Iam 2020-04-12 10:33:04 +02:00 committed by Robin Gareus
parent fef1ed81ed
commit 17cbd65603
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 4 additions and 4 deletions

View file

@ -84,7 +84,7 @@ ServerResources::scan ()
SurfaceManifestVector builtin = read_manifests (builtin_dir_str); SurfaceManifestVector builtin = read_manifests (builtin_dir_str);
ss << "[{" ss << "[{"
<< "\"diskPath\":\"" << builtin_dir_str << "\"" << "\"filesystemPath\":\"" << builtin_dir_str << "\""
<< ",\"path\":\"" << builtin_dir_name << "\"" << ",\"path\":\"" << builtin_dir_name << "\""
<< ",\"surfaces\":" << ",\"surfaces\":"
<< "["; << "[";
@ -100,7 +100,7 @@ ServerResources::scan ()
SurfaceManifestVector user = read_manifests (user_dir_str); SurfaceManifestVector user = read_manifests (user_dir_str);
ss << "]},{" ss << "]},{"
<< "\"diskPath\":\"" << user_dir_str << "\"" << "\"filesystemPath\":\"" << user_dir_str << "\""
<< ",\"path\":\"" << user_dir_name << "\"" << ",\"path\":\"" << user_dir_name << "\""
<< ",\"surfaces\":" << ",\"surfaces\":"
<< "["; << "[";

View file

@ -85,7 +85,7 @@ h2 {
font-size: 0.75em; font-size: 0.75em;
} }
.disk-path { .filesystem-path {
font-family: Monaco, monospace; font-family: Monaco, monospace;
font-size: 0.9em; font-size: 0.9em;
color: #444; color: #444;

View file

@ -39,7 +39,7 @@ import { Ardour } from '/shared/ardour.js';
li.innerHTML = `<li> li.innerHTML = `<li>
<span>Filesystem location:</span> <span>Filesystem location:</span>
&thinsp; &thinsp;
<span class="disk-path">${group.diskPath}</span> <span class="filesystem-path">${group.filesystemPath}</span>
</li>`; </li>`;
ul.appendChild(li); ul.appendChild(li);