Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH Improve loading screen and indicator (#582)
* MINOR Improve loading spinner and loading splash * Always show loading text immediately
- Loading branch information
Luke Edwards
authored and
Aaron Carlino
committed
Nov 1, 2018
1 parent
742a306
commit 2f2fb2b
Showing
7 changed files
with
211 additions
and
49 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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,4 +1,30 @@ | ||
<div class="ss-loading-screen font-icon-silverstripe"> | ||
<h3 class="ss-loading-screen__text">Loading<span data-text="..." class="ss-loading-screen__text-dots">...</span></h3> | ||
<div class="ss-loading-screen"> | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 90 90" | ||
width="90" | ||
height="90" | ||
class="ss-loading-screen__logo" | ||
> | ||
<path class="ss-loading-screen__logo__part ss-loading-screen__logo__top" d="M40.1,39.8c4.3,6.5,2.9,15.4-3.5,20.1c-3.9,2.9-8.5,4.4-13.4,4.4c-7.2,0-13.8-3.3-18.1-9.1C1.6,50.4,0.1,44.5,1,38.5 | ||
c0.9-5.9,4-11.2,8.8-14.8L40.3,1.1c4.3,6.5,2.9,15.4-3.5,20.1L18.2,35c-3.7,2.8-4.5,8.1-1.7,11.8c1.6,2.1,4.1,3.4,6.8,3.4 | ||
c1.8,0,3.6-0.6,5-1.7L40.1,39.8z"/> | ||
<path class="ss-loading-screen__logo__part ss-loading-screen__logo__bot" d="M49.9,50.2c-4.3-6.5-2.9-15.4,3.5-20.1c3.9-2.9,8.5-4.4,13.4-4.4c7.2,0,13.8,3.3,18.1,9.1c3.6,4.8,5.1,10.8,4.2,16.7 | ||
c-0.9,5.9-4,11.2-8.8,14.8L49.7,88.9c-2-3.1-2.9-6.7-2.3-10.4c0.6-3.9,2.6-7.4,5.8-9.7L71.8,55c1.8-1.3,3-3.3,3.3-5.6 | ||
c0.3-2.2-0.2-4.5-1.6-6.3c-1.6-2.1-4.1-3.4-6.8-3.4c-1.8,0-3.6,0.6-5,1.7L49.9,50.2z"/> | ||
</svg> | ||
<h3 class="ss-loading-screen__text"> | ||
Loading<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 10 3" | ||
width="10" | ||
height="3" | ||
class="ss-loading-screen__dots" | ||
> | ||
<circle cx="1" cy="1.75" r="1.25" class="ss-loading-screen__dot ss-loading-screen__dot--1" /> | ||
<circle cx="5.5" cy="1.75" r="1.25" class="ss-loading-screen__dot ss-loading-screen__dot--2" /> | ||
<circle cx="10.5" cy="1.75" r="1.25" class="ss-loading-screen__dot ss-loading-screen__dot--3" /> | ||
</svg> | ||
</h3> | ||
<noscript><p class="nojs-warning alert alert-warning"><%t SilverStripe\\Admin\\LeftAndMain.REQUIREJS 'The CMS requires that you have JavaScript enabled.' %></p></noscript> | ||
</div> |