/* The SQL entry window. */
.sqltext { font-family: monospace; }
textarea.sqltext { height: 40em;
- width: 80em; }
+ width: 68em; }
/* The "status" message which goes with each SQL result (set) */
.sql_status { font-size: 50%; }
window.open(
'${request.route_path("pgwui_sql_edit")|n}',
'sql_edit',
- 'popup=true,width=800,height=600').focus();
+ 'popup=true,width=' + window.innerWidth
+ + ',height=' + window.innerHeight
+ + ',left=' + (window.screenLeft + window.outerWidth)
+ + ',top=' + window.screenTop)
+ .focus();
};
% if havecreds:
open_sql_edit();