-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
42 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,22 @@ | ||
<div id="indexing-status"> | ||
<virtual present-if={{exploring}}> | ||
<div id="indexing-status-message">Your daemon is exploring your folders ({{progress_value}} / {{progress_max}}).</div> | ||
<progress id="indexing-status-progress" value={{progress_value}} max={{progress_max}}></progress> | ||
<p id="indexing-status-message">Your daemon is discovering files ({{progress_value}} / {{progress_max}}).</p> | ||
<div id="indexing-status-progress"> | ||
<div id="indexing-status-inner" style="width: calc(100% * {{progress_value}} / {{progress_max}});"></div> | ||
</div> | ||
</virtual> | ||
|
||
<virtual present-if={{indexing}}> | ||
<div id="indexing-status-message">Your daemon is indexing your files ({{progress_value}} / {{progress_max}}).</div> | ||
<progress id="indexing-status-progress" value={{progress_value}} max={{progress_max}}></progress> | ||
<p id="indexing-status-message">Your daemon is indexing files ({{progress_value}} / {{progress_max}}).</p> | ||
<div id="indexing-status-progress"> | ||
<div id="indexing-status-inner" style="width: calc(100% * {{progress_value}} / {{progress_max}});"></div> | ||
</div> | ||
</virtual> | ||
|
||
<virtual present-if={{building_filter}}> | ||
<div id="indexing-status-message">Your daemon is compiling its index.</div> | ||
<progress id="indexing-status-progress" max={{progress_max}}></progress> | ||
<p id="indexing-status-message">Your daemon is compiling its index.</p> | ||
<div id="indexing-status-progress"> | ||
<div id="indexing-status-inner" style="width: 100%;"></div> | ||
</div> | ||
</virtual> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters