mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Copyright year fixes and doc tweaks.
This commit is contained in:
@@ -156,8 +156,9 @@ Python
|
|||||||
|
|
||||||
Python is used for the backend web server. All code must be compatible with
|
Python is used for the backend web server. All code must be compatible with
|
||||||
Python 2.7 and should include PyDoc comments whilst following the official
|
Python 2.7 and should include PyDoc comments whilst following the official
|
||||||
Python coding standards. An example function along with the file header is
|
Python coding standards defined in
|
||||||
shown below::
|
`PEP 8 <https://www.python.org/dev/peps/pep-0008/>`_. An example function along
|
||||||
|
with the required file header is shown below::
|
||||||
|
|
||||||
##########################################################################
|
##########################################################################
|
||||||
#
|
#
|
||||||
@@ -181,7 +182,9 @@ shown below::
|
|||||||
|
|
||||||
value = ''
|
value = ''
|
||||||
for group in groups:
|
for group in groups:
|
||||||
value += '{"id":%d,"label":"%s","icon":"icon-server-group","inode":true},' % (group.id, group.name)
|
value += '{"id":%d,"label":"%s","icon":"icon-server-group","inode":true},' \
|
||||||
|
% (group.id, group.name)
|
||||||
|
|
||||||
value = value[:-1]
|
value = value[:-1]
|
||||||
|
|
||||||
return value
|
return value
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
# pgAdmin 4 - PostgreSQL Tools
|
# pgAdmin 4 - PostgreSQL Tools
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013 - 2014, The pgAdmin Development Team
|
# Copyright (C) 2013 - 2015, The pgAdmin Development Team
|
||||||
# This software is released under the PostgreSQL Licence
|
# This software is released under the PostgreSQL Licence
|
||||||
#
|
#
|
||||||
# config.py - Core application configuration settings
|
# config.py - Core application configuration settings
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# pgAdmin 4 - PostgreSQL Tools
|
# pgAdmin 4 - PostgreSQL Tools
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013 - 2014, The pgAdmin Development Team
|
# Copyright (C) 2013 - 2015, The pgAdmin Development Team
|
||||||
# This software is released under the PostgreSQL Licence
|
# This software is released under the PostgreSQL Licence
|
||||||
#
|
#
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# pgAdmin 4 - PostgreSQL Tools
|
# pgAdmin 4 - PostgreSQL Tools
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013 - 2014, The pgAdmin Development Team
|
# Copyright (C) 2013 - 2015, The pgAdmin Development Team
|
||||||
# This software is released under the PostgreSQL Licence
|
# This software is released under the PostgreSQL Licence
|
||||||
#
|
#
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# pgAdmin 4 - PostgreSQL Tools
|
# pgAdmin 4 - PostgreSQL Tools
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013 - 2014, The pgAdmin Development Team
|
# Copyright (C) 2013 - 2015, The pgAdmin Development Team
|
||||||
# This software is released under the PostgreSQL Licence
|
# This software is released under the PostgreSQL Licence
|
||||||
#
|
#
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# pgAdmin 4 - PostgreSQL Tools
|
# pgAdmin 4 - PostgreSQL Tools
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013 - 2014, The pgAdmin Development Team
|
# Copyright (C) 2013 - 2015, The pgAdmin Development Team
|
||||||
# This software is released under the PostgreSQL Licence
|
# This software is released under the PostgreSQL Licence
|
||||||
#
|
#
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# pgAdmin 4 - PostgreSQL Tools
|
# pgAdmin 4 - PostgreSQL Tools
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013 - 2014, The pgAdmin Development Team
|
# Copyright (C) 2013 - 2015, The pgAdmin Development Team
|
||||||
# This software is released under the PostgreSQL Licence
|
# This software is released under the PostgreSQL Licence
|
||||||
#
|
#
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# pgAdmin 4 - PostgreSQL Tools
|
# pgAdmin 4 - PostgreSQL Tools
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013 - 2014, The pgAdmin Development Team
|
# Copyright (C) 2013 - 2015, The pgAdmin Development Team
|
||||||
# This software is released under the PostgreSQL Licence
|
# This software is released under the PostgreSQL Licence
|
||||||
#
|
#
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# pgAdmin 4 - PostgreSQL Tools
|
# pgAdmin 4 - PostgreSQL Tools
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013 - 2014, The pgAdmin Development Team
|
# Copyright (C) 2013 - 2015, The pgAdmin Development Team
|
||||||
# This software is released under the PostgreSQL Licence
|
# This software is released under the PostgreSQL Licence
|
||||||
#
|
#
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# pgAdmin 4 - PostgreSQL Tools
|
# pgAdmin 4 - PostgreSQL Tools
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013 - 2014, The pgAdmin Development Team
|
# Copyright (C) 2013 - 2015, The pgAdmin Development Team
|
||||||
# This software is released under the PostgreSQL Licence
|
# This software is released under the PostgreSQL Licence
|
||||||
#
|
#
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# pgAdmin 4 - PostgreSQL Tools
|
# pgAdmin 4 - PostgreSQL Tools
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013 - 2014, The pgAdmin Development Team
|
# Copyright (C) 2013 - 2015, The pgAdmin Development Team
|
||||||
# This software is released under the PostgreSQL Licence
|
# This software is released under the PostgreSQL Licence
|
||||||
#
|
#
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# pgAdmin 4 - PostgreSQL Tools
|
# pgAdmin 4 - PostgreSQL Tools
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013 - 2014, The pgAdmin Development Team
|
# Copyright (C) 2013 - 2015, The pgAdmin Development Team
|
||||||
# This software is released under the PostgreSQL Licence
|
# This software is released under the PostgreSQL Licence
|
||||||
#
|
#
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# pgAdmin 4 - PostgreSQL Tools
|
# pgAdmin 4 - PostgreSQL Tools
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013 - 2014, The pgAdmin Development Team
|
# Copyright (C) 2013 - 2015, The pgAdmin Development Team
|
||||||
# This software is released under the PostgreSQL Licence
|
# This software is released under the PostgreSQL Licence
|
||||||
#
|
#
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|||||||
@@ -1,12 +1,3 @@
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
//
|
|
||||||
// pgAdmin 4 - PostgreSQL Tools
|
|
||||||
//
|
|
||||||
// Copyright (C) 2013 - 2014, The pgAdmin Development Team
|
|
||||||
// This software is released under the PostgreSQL Licence
|
|
||||||
//
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
function test_alert() {
|
function test_alert() {
|
||||||
alertify.alert(
|
alertify.alert(
|
||||||
'Alert Test',
|
'Alert Test',
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# pgAdmin 4 - PostgreSQL Tools
|
# pgAdmin 4 - PostgreSQL Tools
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013 - 2014, The pgAdmin Development Team
|
# Copyright (C) 2013 - 2015, The pgAdmin Development Team
|
||||||
# This software is released under the PostgreSQL Licence
|
# This software is released under the PostgreSQL Licence
|
||||||
#
|
#
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# pgAdmin 4 - PostgreSQL Tools
|
# pgAdmin 4 - PostgreSQL Tools
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013 - 2014, The pgAdmin Development Team
|
# Copyright (C) 2013 - 2015, The pgAdmin Development Team
|
||||||
# This software is released under the PostgreSQL Licence
|
# This software is released under the PostgreSQL Licence
|
||||||
#
|
#
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|||||||
Reference in New Issue
Block a user