mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	[webconsole] fix warning, mobile page width
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
		
							parent
							
								
									3159b06988
								
							
						
					
					
						commit
						0777bad2c3
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -83,17 +83,18 @@ namespace http {
 | 
			
		|||
		"  .disabled:after { color: #D33F3F; content: \"Disabled\" }\r\n"
 | 
			
		||||
		"  .enabled:after  { color: #56B734; content: \"Enabled\"  }\r\n"
 | 
			
		||||
		"  @media screen and (max-width: 980px) {\r\n" /* adaptive style */
 | 
			
		||||
		"    body { padding: 1.5em 0 0 0; }\r\n"
 | 
			
		||||
		"    .menu { width: 100%; display: block; float: none; position: unset; font-size: 16px;\r\n"
 | 
			
		||||
		"      text-align: center; }\r\n"
 | 
			
		||||
		"    .menu a, .commands a { padding: 2px; }\r\n"
 | 
			
		||||
		"    .content { float: none; margin: 0; margin-top: 16px; max-width: 100%; width: 100%;\r\n"
 | 
			
		||||
		"    .content { float: none; margin-left: unset; margin-top: 16px; max-width: 100%; width: 100%;\r\n"
 | 
			
		||||
		"      text-align: center; }\r\n"
 | 
			
		||||
		"    a, .slide label { /* margin-right: 10px; */ display: block; /* font-size: 18px; */ }\r\n"
 | 
			
		||||
		"    .header { margin: unset; font-size: 1.5em; } small {display: block}\r\n"
 | 
			
		||||
		"    a.button { -webkit-appearance: button; -moz-appearance: button; appearance: button; text-decoration: none;\r\n"
 | 
			
		||||
		"      color: initial; margin-top: 10px; padding: 6px; border: 1px solid #894c84; width: -webkit-fill-available; }\r\n"
 | 
			
		||||
		"    input { width: 35%; text-align: center; padding: 5px;\r\n"
 | 
			
		||||
		"      border: 2px solid #ccc; -webkit-border-radius: 5px; border-radius: 5px; font-size: 24px; }\r\n"
 | 
			
		||||
		"      border: 2px solid #ccc; -webkit-border-radius: 5px; border-radius: 5px; font-size: 18px; }\r\n"
 | 
			
		||||
		"    textarea { width: -webkit-fill-available; height: auto; padding:5px; border:2px solid #ccc;\r\n"
 | 
			
		||||
		"      -webkit-border-radius: 5px; border-radius: 5px; font-size: 12px; }\r\n"
 | 
			
		||||
		"    button[type=submit] { padding: 5px 15px; background: #ccc; border: 0 none; cursor: pointer;\r\n"
 | 
			
		||||
| 
						 | 
				
			
			@ -933,7 +934,7 @@ namespace http {
 | 
			
		|||
		time_t t = divTime.quot;
 | 
			
		||||
		struct tm *tm = localtime(&t);
 | 
			
		||||
		char date[128];
 | 
			
		||||
		snprintf(date, sizeof(date), "%02d/%02d/%d %02d:%02d:%02d.%03ld", tm->tm_mday, tm->tm_mon + 1, tm->tm_year + 1900, tm->tm_hour, tm->tm_min, tm->tm_sec, divTime.rem);
 | 
			
		||||
		snprintf(date, sizeof(date), "%02d/%02d/%d %02d:%02d:%02d.%03lld", tm->tm_mday, tm->tm_mon + 1, tm->tm_year + 1900, tm->tm_hour, tm->tm_min, tm->tm_sec, divTime.rem);
 | 
			
		||||
		return date;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue