mirror of
				https://github.com/pgadmin-org/pgadmin4.git
				synced 2025-02-25 18:55:31 -06:00 
			
		
		
		
	Replace bootstrap-dialog with Alertify.js, which is more configurable
and supports non-modal dialogs.
This commit is contained in:
		| @@ -15,7 +15,8 @@ | ||||
|         <meta name="dcterms.dateCopyrighted" content="2014 - 2015"> | ||||
|  | ||||
|         <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}"> | ||||
|         <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap-dialog.min.css') }}"> | ||||
|         <link rel="stylesheet" href="{{ url_for('static', filename='css/alertifyjs/alertify.min.css') }}" /> | ||||
|         <link rel="stylesheet" href="{{ url_for('static', filename='css/alertifyjs/themes/bootstrap.min.css') }}" /> | ||||
|         <style> | ||||
|             body { | ||||
|                 padding-top: 50px; | ||||
| @@ -37,7 +38,14 @@ | ||||
|  | ||||
|         <script src="{{ url_for('static', filename='js/vendor/jquery-1.11.1.min.js') }}"></script> | ||||
|         <script src="{{ url_for('static', filename='js/vendor/bootstrap.min.js') }}"></script> | ||||
|         <script src="{{ url_for('static', filename='js/vendor/bootstrap-dialog.min.js') }}"></script> | ||||
|         <script src="{{ url_for('static', filename='js/vendor/alertifyjs/alertify.min.js') }}"></script> | ||||
|         <script src="{{ url_for('static', filename='js/main.js') }}"></script> | ||||
|          | ||||
|         <script language="javascript"> | ||||
|             alertify.defaults.transition = "zoom"; | ||||
|             alertify.defaults.theme.ok = "btn btn-primary"; | ||||
|             alertify.defaults.theme.cancel = "btn btn-danger"; | ||||
|             alertify.defaults.theme.input = "form-control"; | ||||
|         </script> | ||||
|     </body> | ||||
| </html> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user