Add noscript message
This commit is contained in:
		
							parent
							
								
									459b1a4a1a
								
							
						
					
					
						commit
						f2085ec0f2
					
				
					 2 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -48,3 +48,10 @@ input {
 | 
			
		|||
#logout-button {
 | 
			
		||||
  margin-left: 0.5em;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#noscript-message {
 | 
			
		||||
  background-color: lightcoral;
 | 
			
		||||
  padding: 1em;
 | 
			
		||||
  margin-bottom: 3em;
 | 
			
		||||
  border-radius: .25em;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -7,6 +7,8 @@ html
 | 
			
		|||
    block stylesheets
 | 
			
		||||
  body
 | 
			
		||||
    div#mobile-view
 | 
			
		||||
      noscript 
 | 
			
		||||
        span#noscript-message Please enable JavaScript to run this app.
 | 
			
		||||
      div#actions-div
 | 
			
		||||
        if !hideHomeButton
 | 
			
		||||
          button#home-button Home
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue