diff options
author | Luciano Iam <lucianito@gmail.com> | 2020-04-12 10:33:04 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-04-13 16:29:38 +0200 |
commit | 17cbd6560315fe6c466635ae84f2dce18c488c9c (patch) | |
tree | 111d29f1228ddf06e5185501ef9b3c683f252ac6 | |
parent | fef1ed81ed1c7cb9937625fef6bae73b40ef7072 (diff) |
WebSockets: rename all occurrences of 'disk path' to 'filesystem path'
-rw-r--r-- | libs/surfaces/websockets/resources.cc | 4 | ||||
-rw-r--r-- | share/web_surfaces/index/main.css | 2 | ||||
-rw-r--r-- | share/web_surfaces/index/main.js | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/libs/surfaces/websockets/resources.cc b/libs/surfaces/websockets/resources.cc index b97935e48d..ec43ae7c44 100644 --- a/libs/surfaces/websockets/resources.cc +++ b/libs/surfaces/websockets/resources.cc @@ -84,7 +84,7 @@ ServerResources::scan () SurfaceManifestVector builtin = read_manifests (builtin_dir_str); ss << "[{" - << "\"diskPath\":\"" << builtin_dir_str << "\"" + << "\"filesystemPath\":\"" << builtin_dir_str << "\"" << ",\"path\":\"" << builtin_dir_name << "\"" << ",\"surfaces\":" << "["; @@ -100,7 +100,7 @@ ServerResources::scan () SurfaceManifestVector user = read_manifests (user_dir_str); ss << "]},{" - << "\"diskPath\":\"" << user_dir_str << "\"" + << "\"filesystemPath\":\"" << user_dir_str << "\"" << ",\"path\":\"" << user_dir_name << "\"" << ",\"surfaces\":" << "["; diff --git a/share/web_surfaces/index/main.css b/share/web_surfaces/index/main.css index fb13d28401..5129f8ddd5 100644 --- a/share/web_surfaces/index/main.css +++ b/share/web_surfaces/index/main.css @@ -85,7 +85,7 @@ h2 { font-size: 0.75em; } -.disk-path { +.filesystem-path { font-family: Monaco, monospace; font-size: 0.9em; color: #444; diff --git a/share/web_surfaces/index/main.js b/share/web_surfaces/index/main.js index 1b6c5e9ae3..805894c00d 100644 --- a/share/web_surfaces/index/main.js +++ b/share/web_surfaces/index/main.js @@ -39,7 +39,7 @@ import { Ardour } from '/shared/ardour.js'; li.innerHTML = `<li> <span>Filesystem location:</span>   - <span class="disk-path">${group.diskPath}</span> + <span class="filesystem-path">${group.filesystemPath}</span> </li>`; ul.appendChild(li); |