mirror of
				https://github.com/monkeytypegame/monkeytype.git
				synced 2025-10-31 03:08:29 +08:00 
			
		
		
		
	reordered some elements on the account page
This commit is contained in:
		
							parent
							
								
									6ce2922227
								
							
						
					
					
						commit
						97c703fe47
					
				
					 3 changed files with 27 additions and 34 deletions
				
			
		|  | @ -746,9 +746,9 @@ export function update() { | |||
|       )}%)` | ||||
|     ); | ||||
| 
 | ||||
|     $(".pageAccount .avgRestart .val").text( | ||||
|       (testRestarts / testCount).toFixed(1) | ||||
|     ); | ||||
|     $(".pageAccount .testsCompleted .avgres").text(` | ||||
|       ${(testRestarts / testCount).toFixed(1)} restarts per completed test | ||||
|     `);
 | ||||
| 
 | ||||
|     if (ChartController.accountHistory.data.datasets[0].data.length > 0) { | ||||
|       ChartController.accountHistory.options.plugins.trendlineLinear = true; | ||||
|  |  | |||
|  | @ -3368,7 +3368,7 @@ key { | |||
| 
 | ||||
|     .val { | ||||
|       font-size: 3rem; | ||||
|       line-height: 3rem; | ||||
|       line-height: 3.5rem; | ||||
|     } | ||||
| 
 | ||||
|     &.chart { | ||||
|  |  | |||
|  | @ -4254,6 +4254,28 @@ | |||
|                 </div> | ||||
|               </div> | ||||
|               <div class="triplegroup stats"> | ||||
|                 <div class="group testsStarted"> | ||||
|                   <div class="title">tests started</div> | ||||
|                   <div class="val">-</div> | ||||
|                 </div> | ||||
|                 <div class="group testsCompleted"> | ||||
|                   <div class="title"> | ||||
|                     tests completed | ||||
|                     <span | ||||
|                       data-balloon-length="xlarge" | ||||
|                       aria-label="Due to the increasing number of results in the database, you can now only see your last 1000 results in detail. Total time spent typing, started and completed tests stats will still be up to date at the top of the page, above the filters." | ||||
|                       data-balloon-pos="up" | ||||
|                     > | ||||
|                       <i class="fas fa-question-circle"></i> | ||||
|                     </span> | ||||
|                   </div> | ||||
|                   <div class="val">-</div> | ||||
|                   <div class="avgres">-</div> | ||||
|                 </div> | ||||
|                 <div class="group timeTotalFiltered"> | ||||
|                   <div class="title">time typing</div> | ||||
|                   <div class="val">-</div> | ||||
|                 </div> | ||||
|                 <div class="group highestWpm"> | ||||
|                   <div class="title">highest wpm</div> | ||||
|                   <div class="val">-</div> | ||||
|  | @ -4289,36 +4311,7 @@ | |||
|                   </div> | ||||
|                   <div class="val">-</div> | ||||
|                 </div> | ||||
| 
 | ||||
|                 <div class="group testsStarted"> | ||||
|                   <div class="title">tests started</div> | ||||
|                   <div class="val">-</div> | ||||
|                 </div> | ||||
|                 <div class="group testsCompleted"> | ||||
|                   <div class="title"> | ||||
|                     tests completed | ||||
|                     <span | ||||
|                       data-balloon-length="xlarge" | ||||
|                       aria-label="Due to the increasing number of results in the database, you can now only see your last 1000 results in detail. Total time spent typing, started and completed tests stats will still be up to date at the top of the page, above the filters." | ||||
|                       data-balloon-pos="up" | ||||
|                     > | ||||
|                       <i class="fas fa-question-circle"></i> | ||||
|                     </span> | ||||
|                   </div> | ||||
|                   <div class="val">-</div> | ||||
|                 </div> | ||||
|                 <div class="group avgRestart"> | ||||
|                   <div class="title"> | ||||
|                     avg restarts | ||||
|                     <br /> | ||||
|                     per completed test | ||||
|                   </div> | ||||
|                   <div class="val">-</div> | ||||
|                 </div> | ||||
|                 <div class="group timeTotalFiltered"> | ||||
|                   <div class="title">time typing</div> | ||||
|                   <div class="val">-</div> | ||||
|                 </div> | ||||
|                 <div></div> | ||||
|                 <div class="group avgAcc"> | ||||
|                   <div class="title">avg accuracy</div> | ||||
|                   <div class="val">-</div> | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue