From 17cbd6560315fe6c466635ae84f2dce18c488c9c Mon Sep 17 00:00:00 2001 From: Luciano Iam Date: Sun, 12 Apr 2020 10:33:04 +0200 Subject: WebSockets: rename all occurrences of 'disk path' to 'filesystem path' --- libs/surfaces/websockets/resources.cc | 4 ++-- share/web_surfaces/index/main.css | 2 +- 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 = `
  • Filesystem location:   - ${group.diskPath} + ${group.filesystemPath}
  • `; ul.appendChild(li); -- cgit v1.2.3