2015-01-20 17:02:04 +00:00
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> < html class = "no-js" > <!--<![endif]-->
< head >
< meta charset = "utf-8" >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge,chrome=1" >
< title > {% block title %}{% endblock %}</ title >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
< meta name = "dcterms.rightsHolder" content = "The pgAdmin Development Team" >
< meta name = "dcterms.rights" content = "All rights reserved" >
< meta name = "dcterms.dateCopyrighted" content = "2014 - 2015" >
2015-02-13 14:48:31 +00:00
<!-- Base template stylesheets -->
2015-06-29 13:41:56 +05:30
< link type = "text/css" rel = "stylesheet" href = "{{ url_for('static', filename='css/bootstrap.css' if config.DEBUG else 'css/bootstrap.min.css')}}" />
< link type = "text/css" rel = "stylesheet" href = "{{ url_for('static', filename='css/alertifyjs/alertify.css' if config.DEBUG else 'css/alertifyjs/alertify.min.css') }}" />
< link type = "text/css" rel = "stylesheet" href = "{{ url_for('static', filename='css/alertifyjs/themes/bootstrap.css' if config.DEBUG else 'css/alertifyjs/themes/bootstrap.min.css') }}" />
2015-06-30 11:21:55 +05:30
< link type = "text/css" rel = "stylesheet" href = "{{ url_for('static', filename='css/bootstrap-theme.css' if config.DEBUG else 'css/bootstrap-theme.min.css') }}" />
< link type = "text/css" rel = "stylesheet" href = "{{ url_for('static', filename='css/font-awesome.css' if config.DEBUG else 'css/font-awesome.min.css') }}" />
< link type = "text/css" rel = "stylesheet" href = "{{ url_for('static', filename='css/font-mfizz.css') }}" />
< link type = "text/css" rel = "stylesheet" href = "{{ url_for('static', filename='css/bootstrap-datepicker3.css')}}" />
2015-12-04 15:49:08 +05:30
< link type = "text/css" rel = "stylesheet" href = "{{ url_for('static', filename='css/bootstrap-switch.css')}}" />
2015-10-28 22:36:09 +05:30
< link type = "text/css" rel = "stylesheet" href = "{{ url_for('static', filename='css/backgrid/backgrid.css')}}" />
2016-02-26 11:08:45 +00:00
< link type = "text/css" rel = "stylesheet" href = "{{ url_for('static', filename='css/backgrid/backgrid-select-all.css' if config.DEBUG else 'css/backgrid/backgrid-select-all.min.css')}}" />
< link type = "text/css" rel = "stylesheet" href = "{{ url_for('static', filename='css/backgrid/backgrid-paginator.css' if config.DEBUG else 'css/backgrid/backgrid-paginator.min.css')}}" />
< link type = "text/css" rel = "stylesheet" href = "{{ url_for('static', filename='css/backgrid/backgrid-filter.css' if config.DEBUG else 'css/backgrid/backgrid-filter.min.css')}}" />
2016-01-04 23:23:16 +05:30
< link type = "text/css" rel = "stylesheet" href = "{{ url_for('static', filename='css/select2/select2.css' if config.DEBUG else 'css/select2/select2.min.css')}}" />
2015-06-30 11:21:55 +05:30
2015-02-13 14:48:31 +00:00
<!-- View specified stylesheets -->
2015-06-29 13:24:05 +05:30
{% for stylesheet in current_app.stylesheets %}
2015-06-29 13:41:56 +05:30
< link type = "text/css" rel = "stylesheet" href = "{{ stylesheet }}" >
2015-06-29 12:28:41 +05:30
{% endfor %}
2015-06-30 11:21:55 +05:30
2015-07-22 22:44:54 +05:30
< link type = "text/css" rel = "stylesheet" href = "{{ url_for('static', filename='css/overrides.css') }}" />
2016-05-25 11:17:56 +01:00
< link type = "text/css" rel = "stylesheet" href = "{{ url_for('static', filename='css/pgadmin.css') }}" />
2016-02-26 11:08:45 +00:00
{% block css_link %}{% endblock %}
2015-07-22 22:44:54 +05:30
2015-02-13 14:48:31 +00:00
<!-- Base template scripts -->
2015-06-30 11:21:55 +05:30
< script type = "text/javascript" src = "{{ url_for('static', filename='js/require.js' if config.DEBUG else 'js/require.min.js') }}" ></ script >
< script type = "text/javascript" >
require . config ({
baseUrl : '' ,
2015-10-20 12:33:18 +05:30
waitSeconds : 0 ,
2016-04-14 12:34:14 +05:30
packages : [{
name : 'codemirror' ,
location : '{{ url_for(' static ', filename=' js / codemirror ')}}' ,
main : 'lib/codemirror'
}],
2015-06-30 11:21:55 +05:30
shim : {
"backbone" : {
"deps" : [ 'underscore' , 'jquery' ],
"exports" : 'Backbone'
},
2016-02-26 11:08:45 +00:00
"backbone.paginator" : {
"deps" : [ 'underscore' , 'jquery' , 'backbone' ]
},
2015-06-30 11:21:55 +05:30
"bootstrap" : {
"deps" : [ 'jquery' ],
},
2015-10-28 22:36:09 +05:30
"backgrid" : {
"deps" : [ 'backform' ],
"exports" : 'Backgrid' ,
},
2016-02-26 11:08:45 +00:00
"backgrid.select.all" : {
"deps" : [ 'backgrid' ]
},
"backgrid.paginator" : {
"deps" : [ 'backgrid' , 'backbone.paginator' ]
},
"backgrid.filter" : {
"deps" : [ 'backgrid' ]
},
2015-12-04 15:49:08 +05:30
"bootstrap.switch" : {
"deps" : [ 'jquery' , 'bootstrap' ],
"exports" : 'jQuery.fn.bootstrapSwitch'
},
2016-01-04 23:23:16 +05:30
"select2" : {
"deps" : [ 'jquery' ],
"exports" : 'jQuery.fn.select2'
},
2015-06-30 11:21:55 +05:30
"bootstrap.datepicker" : {
"deps" : [ 'jquery' , 'bootstrap' ],
"exports" : 'jQuery.fn.datepicker'
2015-10-28 22:36:09 +05:30
},
"pgadmin.backgrid" : {
2016-01-04 23:23:16 +05:30
"deps" : [ "backgrid" , "bootstrap.datepicker" , "bootstrap.switch" ],
2015-10-28 22:36:09 +05:30
},
"pgadmin.backform" : {
2016-01-04 23:23:16 +05:30
"deps" : [ 'backform' , "pgadmin.backgrid" , "select2" ],
2016-05-05 16:42:16 +01:00
},
"flotr2" : {
deps : [ 'bean' ],
exports : function ( bean ) {
Flotr . bean = bean ;
return this . Flotr ;
}
2015-06-30 11:21:55 +05:30
}{ % for script in current_app . javascripts % }{ % if 'deps' in script or 'exports' in script % },
'{{ script.name }}' : {
{ % if 'deps' in script % } "deps" : [ { % set comma = False % }{ % for dep in script [ 'deps' ] % } { % if comma % },{ % else % }{ % set comma = True % }{ % endif % } '{{ dep }}' { % endfor % }],{ % endif % }
{ % if 'exports' in script % } "exports" : "{{ script['exports'] }}" { % endif % }
}{ % endif % }{ % endfor % }
},
paths : {
pgadmin : "{{ url_for('static', filename='js/pgadmin') }}" ,
modernizr : "{{ url_for('static', filename='js/modernizr-2.6.2-respond-1.1.0.min') }}" ,
2015-07-01 11:59:12 +05:30
jquery : "{{ url_for('static', filename='js/' + ('jquery-1.11.2' if config.DEBUG else 'jquery-1.11.2.min')) }}" ,
2016-01-05 12:36:33 +05:30
select2 : "{{ url_for('static', filename='js/select2/' + ('select2.full' if config.DEBUG else 'select2.full.min')) }}" ,
2015-07-01 11:59:12 +05:30
underscore : "{{ url_for('static', filename='js/' + ('underscore' if config.DEBUG else 'underscore-min')) }}" ,
"underscore.string" : "{{ url_for('static', filename='js/' + ('underscore.string' if config.DEBUG else 'underscore.string.min')) }}" ,
bootstrap : "{{ url_for('static', filename='js/' + ('bootstrap' if config.DEBUG else 'bootstrap.min')) }}" ,
alertifyjs : "{{ url_for('static', filename='js/alertifyjs/' + ('alertify' if config.DEBUG else 'alertify.min')) }}" ,
2015-06-30 11:21:55 +05:30
'pgadmin.alertifyjs' : "{{ url_for('static', filename='js/alertifyjs/pgadmin.defaults') }}" ,
2015-07-01 11:59:12 +05:30
backbone : "{{ url_for('static', filename='js/' + ('backbone' if config.DEBUG else 'backbone-min')) }}" ,
2016-02-26 11:08:45 +00:00
"backbone.paginator" : "{{ url_for('static', filename='js/' + ('backbone.paginator' if config.DEBUG else 'backbone.paginator.min')) }}" ,
2015-07-01 11:59:12 +05:30
"bootstrap.datepicker" : "{{ url_for('static', filename='js/' + ('bootstrap-datepicker' if config.DEBUG else 'bootstrap-datepicker.min')) }}" ,
2015-12-04 15:49:08 +05:30
"bootstrap.switch" : "{{ url_for('static', filename='js/' + ('bootstrap-switch' if config.DEBUG else 'bootstrap-switch.min')) }}" ,
2015-07-01 11:59:12 +05:30
backform : "{{ url_for('static', filename='js/backform') }}" ,
2015-10-28 22:36:09 +05:30
backgrid : "{{ url_for('static', filename='js/backgrid/' + ('backgrid' if config.DEBUG else 'backgrid.min')) }}" ,
2016-02-26 11:08:45 +00:00
"backgrid.select.all" : "{{ url_for('static', filename='js/backgrid/' + ('backgrid-select-all' if config.DEBUG else 'backgrid-select-all.min')) }}" ,
"backgrid.paginator" : "{{ url_for('static', filename='js/backgrid/' + ('backgrid-paginator' if config.DEBUG else 'backgrid-paginator.min')) }}" ,
"backgrid.filter" : "{{ url_for('static', filename='js/backgrid/' + ('backgrid-filter' if config.DEBUG else 'backgrid-filter.min')) }}" ,
2015-10-28 22:51:27 +05:30
"backbone.undo" : "{{ url_for('static', filename='js/' + ('backbone.undo' if config.DEBUG else 'backbone.undo.min')) }}" ,
2015-10-28 22:36:09 +05:30
"pgadmin.backgrid" : "{{ url_for('static', filename='js/backgrid/backgrid.pgadmin') }}" ,
2016-05-05 16:42:16 +01:00
'pgadmin.backform' : "{{ url_for('static', filename='js/backform.pgadmin') }}" ,
bean : "{{ url_for('static', filename='js/flotr2/' + ('bean' if config.DEBUG else 'bean-min')) }}" ,
flotr2 : "{{ url_for('static', filename='js/flotr2/flotr2.amd') }}" { % for script in current_app . javascripts % },
2015-06-30 11:21:55 +05:30
'{{ script.name }}' : "{{ script.path }}" { % endfor % }
}
});
</ script >
2015-02-13 14:48:31 +00:00
<!-- View specified scripts -->
2015-06-29 12:28:41 +05:30
2015-02-13 14:48:31 +00:00
</ head >
< body >
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
2015-02-05 14:06:20 +00:00
{% block body %}{% endblock %}
2015-06-30 11:21:55 +05:30
< script >
{ % block init_script % }{ % endblock % }
</ script >
2015-02-05 14:06:20 +00:00
2015-01-20 17:02:04 +00:00
</ body >
</ html >