You've already forked mailcow-dockerized
							
							
				mirror of
				https://github.com/mailcow/mailcow-dockerized.git
				synced 2025-10-30 23:57:54 +02:00 
			
		
		
		
	Merge pull request #126 from tehXor/feat-friendly-web-gui
GUI improvements: collapsible tables & password manager compatible login form
This commit is contained in:
		| @@ -29,7 +29,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI']; | ||||
| 							<label class="sr-only" for="login_user"><?=$lang['login']['username'];?></label> | ||||
| 							<div class="input-group"> | ||||
| 								<div class="input-group-addon"><i class="glyphicon glyphicon-user"></i></div> | ||||
| 								<input name="login_user" autocorrect="off" autocapitalize="none" type="name" id="login_user" class="form-control" placeholder="<?=$lang['login']['username'];?>" required="" autofocus=""> | ||||
| 								<input name="login_user" autocorrect="off" autocapitalize="none" type="text" id="login_user" class="form-control" placeholder="<?=$lang['login']['username'];?>" required="" autofocus=""> | ||||
| 							</div> | ||||
| 						</div> | ||||
| 						<div class="form-group"> | ||||
|   | ||||
| @@ -51,4 +51,16 @@ $(document).ready(function() { | ||||
| 			$panel.find('.panel-body input').focus(); | ||||
| 		} | ||||
| 	}); | ||||
| 	$('.container').on('click', '.panel-heading .panel-title', function(e){ | ||||
| 		var $this = $(this), | ||||
| 			$panel = $this.parents('.panel'); | ||||
| 		$panel.find('.table-responsive').slideToggle("fast"); | ||||
| 	}); | ||||
| 	$('.panel-heading .panel-title').addClass('clickable'); | ||||
| 	$('.panel .table-responsive').each(function() { | ||||
| 		if ($(this).height() > 550) { | ||||
| 			// If one is too large initially hide all | ||||
| 			$('.panel .table-responsive').slideUp("fast"); | ||||
| 		} | ||||
| 	}) | ||||
| }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user