diff --git a/webui/index.html b/webui/index.html index 3b5af49..a9997d7 100644 --- a/webui/index.html +++ b/webui/index.html @@ -12,6 +12,7 @@ + diff --git a/webui/src/components/indexing_status/indexing_status.css b/webui/src/components/indexing_status/indexing_status.css new file mode 100644 index 0000000..5f26a07 --- /dev/null +++ b/webui/src/components/indexing_status/indexing_status.css @@ -0,0 +1,28 @@ +#indexing-status { + box-sizing: border-box; + width: 100%; + padding: 2rem 1rem 0 1rem; + display: flex; + flex-direction: column; + align-items: center; +} + +#indexing-status-message { + margin: 0 0 .25rem 0; +} + +#indexing-status-progress { + width: min(100%, 20rem); + height: 1rem; + border-radius: .5rem; + overflow: hidden; + background-color: #eaeaea; + /* border: 2px solid #ccc; */ + border: 2px solid #2ecc71; +} + +#indexing-status-inner { + background-color: #2ecc71; + height: 100%; + transition: width 1s linear; +} diff --git a/webui/src/components/indexing_status/indexing_status.html b/webui/src/components/indexing_status/indexing_status.html index f9b7a28..ca76444 100644 --- a/webui/src/components/indexing_status/indexing_status.html +++ b/webui/src/components/indexing_status/indexing_status.html @@ -1,16 +1,22 @@
Your daemon is discovering files ({{progress_value}} / {{progress_max}}).
+Your daemon is indexing files ({{progress_value}} / {{progress_max}}).
+Your daemon is compiling its index.
+