Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ee63826836 | |||
| 7c0a105c92 | |||
| c8ababb8e4 | |||
| 384a63f76f | |||
| f6c4d50bb3 | |||
| 84c15d2b28 |
@@ -8,6 +8,7 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ['2.7', '3.6', '3.7', '3.8', '3.9', '3.10']
|
||||
|
||||
|
||||
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [0.18.5](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.18.5) - 2022-01-21
|
||||
- Added portuguese brazil (`pt_BR`) localization by [leandromsd](https://github.com/leandromsd). #149
|
||||
- Fixed body scroll reset to top when opening related modal. #150
|
||||
|
||||
## [0.18.4](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.18.4) - 2022-01-05
|
||||
- Added official django 4.0 support.
|
||||
- Added link to admin home page on logo and title. #147
|
||||
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
# Security Policy
|
||||
|
||||
## Supported Versions
|
||||
|
||||
Keep this library updated to the latest version.
|
||||
|
||||
| Version | Supported |
|
||||
| ------- | ------------------ |
|
||||
| latest | :white_check_mark: |
|
||||
| oldest | :x: |
|
||||
|
||||
## Reporting a Vulnerability
|
||||
|
||||
Open an issue.
|
||||
Binary file not shown.
@@ -0,0 +1,235 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-19 22:45-0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#: admin.py:21
|
||||
msgid "Environment"
|
||||
msgstr "Ambiente"
|
||||
|
||||
#: admin.py:30
|
||||
msgid "Language chooser"
|
||||
msgstr "Seletor de idioma"
|
||||
|
||||
#: admin.py:37
|
||||
msgid "Logo"
|
||||
msgstr "Logo"
|
||||
|
||||
#: admin.py:47
|
||||
msgid "Favicon"
|
||||
msgstr "Favicon"
|
||||
|
||||
#: admin.py:51
|
||||
msgid "Title"
|
||||
msgstr "Título"
|
||||
|
||||
#: admin.py:59
|
||||
msgid "Header"
|
||||
msgstr "Cabeçalho"
|
||||
|
||||
#: admin.py:68
|
||||
msgid "Breadcrumbs / Module headers"
|
||||
msgstr "Cabeçalhos de módulo"
|
||||
|
||||
#: admin.py:80
|
||||
msgid "Generic Links"
|
||||
msgstr "Links Genéricos"
|
||||
|
||||
#: admin.py:87
|
||||
msgid "Save Buttons"
|
||||
msgstr "Botões Salvar"
|
||||
|
||||
#: admin.py:95
|
||||
msgid "Delete Buttons"
|
||||
msgstr "Botões Deletar"
|
||||
|
||||
#: admin.py:103
|
||||
msgid "Navigation Bar"
|
||||
msgstr "Barra de Navegação"
|
||||
|
||||
#: admin.py:109
|
||||
msgid "Related Modal"
|
||||
msgstr "Modal Relacionado"
|
||||
|
||||
#: admin.py:119
|
||||
msgid "Form Controls"
|
||||
msgstr "Controles de Formulário"
|
||||
|
||||
#: admin.py:126
|
||||
msgid "List Filter"
|
||||
msgstr "Filtro de lista"
|
||||
|
||||
#: admin.py:133
|
||||
msgid "Recent Actions"
|
||||
msgstr "Ações recentes"
|
||||
|
||||
#: apps.py:12
|
||||
msgid "Admin Interface"
|
||||
msgstr "Interface do administrador"
|
||||
|
||||
#: models.py:73 models.py:129 models.py:148
|
||||
msgid "name"
|
||||
msgstr "nome"
|
||||
|
||||
#: models.py:76 models.py:145 models.py:274
|
||||
msgid "active"
|
||||
msgstr "ativo"
|
||||
|
||||
#: models.py:80 templates/admin/base_site.html:6
|
||||
#: templates/admin/base_site.html:78
|
||||
msgid "Django administration"
|
||||
msgstr "Administrção do Django"
|
||||
|
||||
#: models.py:82
|
||||
msgid "title"
|
||||
msgstr "título"
|
||||
|
||||
#: models.py:88 models.py:105 models.py:135
|
||||
msgid "color"
|
||||
msgstr "cor"
|
||||
|
||||
#: models.py:91 models.py:116 models.py:318
|
||||
msgid "visible"
|
||||
msgstr "visível"
|
||||
|
||||
#: models.py:98
|
||||
msgid "Leave blank to use the default Django logo"
|
||||
msgstr "Deixe em branco para usar o logotipo padrão do Django"
|
||||
|
||||
#: models.py:99
|
||||
msgid "logo"
|
||||
msgstr "logo"
|
||||
|
||||
#: models.py:109
|
||||
msgid "max width"
|
||||
msgstr "largura máxima"
|
||||
|
||||
#: models.py:113
|
||||
msgid "max height"
|
||||
msgstr "altura máxima"
|
||||
|
||||
#: models.py:123
|
||||
msgid "(.ico|.png|.gif - 16x16|32x32 px)"
|
||||
msgstr "(.ico|.png|.gif - 16x16|32x32 px)"
|
||||
|
||||
#: models.py:124
|
||||
msgid "favicon"
|
||||
msgid "favicon"
|
||||
msgstr ""
|
||||
|
||||
#: models.py:133
|
||||
msgid ""
|
||||
"(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, green: #2ECC71, blue: "
|
||||
"#3498DB)"
|
||||
msgstr ""
|
||||
"(vermelho: #E74C3C, laranja: #E67E22, amarelo: #F1C40F, verde: #2ECC71, azul: "
|
||||
"#3498DB)"
|
||||
|
||||
#: models.py:138
|
||||
msgid "visible in header (marker and name)"
|
||||
msgstr "visível no cabeçalho (marcador e nome)"
|
||||
|
||||
#: models.py:141
|
||||
msgid "visible in favicon (marker)"
|
||||
msgstr "visível no favicon (marcador)"
|
||||
|
||||
#: models.py:147
|
||||
msgid "code"
|
||||
msgstr "código"
|
||||
|
||||
#: models.py:154
|
||||
msgid "display"
|
||||
msgstr "exibição"
|
||||
|
||||
#: models.py:161 models.py:186 models.py:239 models.py:258 models.py:280
|
||||
msgid "background color"
|
||||
msgstr "cor de fundo"
|
||||
|
||||
#: models.py:167 models.py:198 models.py:251 models.py:270
|
||||
msgid "text color"
|
||||
msgstr "cor do texto"
|
||||
|
||||
#: models.py:173 models.py:204 models.py:226
|
||||
msgid "link color"
|
||||
msgstr "cor do link"
|
||||
|
||||
#: models.py:179 models.py:216 models.py:232
|
||||
msgid "link hover color"
|
||||
msgstr "cor de foco do link"
|
||||
|
||||
#: models.py:192
|
||||
msgid "background selected color"
|
||||
msgstr "cor de fundo selecionada"
|
||||
|
||||
#: models.py:210
|
||||
msgid "link selected color"
|
||||
msgstr "link cor selecionada"
|
||||
|
||||
#: models.py:219 models.py:300
|
||||
msgid "rounded corners"
|
||||
msgstr "cantos arredondados"
|
||||
|
||||
#: models.py:245 models.py:264
|
||||
msgid "background hover color"
|
||||
msgstr "cor de fundo do foco"
|
||||
|
||||
#: models.py:297
|
||||
msgid "background opacity"
|
||||
msgstr "opacidade de fundo"
|
||||
|
||||
#: models.py:303
|
||||
msgid "close button visible"
|
||||
msgstr "botão fechar visível"
|
||||
|
||||
#: models.py:307
|
||||
msgid "use dropdown"
|
||||
msgstr "usar menu suspenso"
|
||||
|
||||
#: models.py:310
|
||||
msgid "sticky position"
|
||||
msgstr "sticky position"
|
||||
|
||||
#: models.py:314
|
||||
msgid "foldable apps"
|
||||
msgstr "aplicativos dobráveis"
|
||||
|
||||
#: models.py:322
|
||||
msgid "sticky submit"
|
||||
msgstr "envio fixo"
|
||||
|
||||
#: models.py:325
|
||||
msgid "sticky pagination"
|
||||
msgstr "paginação fixa"
|
||||
|
||||
#: models.py:334
|
||||
msgid "Theme"
|
||||
msgstr "Tema"
|
||||
|
||||
#: models.py:335
|
||||
msgid "Themes"
|
||||
msgstr "Temas"
|
||||
|
||||
#: templates/admin/filter.html:13
|
||||
#: templates/admin_interface/dropdown_filter.html:4
|
||||
#, python-format
|
||||
msgid " By %(filter_title)s "
|
||||
msgstr " por %(filter_title)s "
|
||||
|
||||
#: templates/admin/popup_response.html:3
|
||||
msgid "Popup closing..."
|
||||
msgstr "Pop-up fechando..."
|
||||
@@ -108,6 +108,7 @@ if (typeof(django) !== 'undefined' && typeof(django.jQuery) !== 'undefined')
|
||||
// open the popup using magnific popup
|
||||
$.magnificPopup.open({
|
||||
mainClass: iframeInternalModalClass,
|
||||
fixedContentPos: false,
|
||||
showCloseBtn: true,
|
||||
closeBtnInside: true,
|
||||
items: {
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
__version__ = '0.18.4'
|
||||
__version__ = '0.18.5'
|
||||
|
||||
@@ -5,74 +5,94 @@ from setuptools import find_packages, setup
|
||||
|
||||
import os, sys
|
||||
|
||||
exec(open('admin_interface/version.py').read())
|
||||
exec(open("admin_interface/version.py").read())
|
||||
|
||||
github_url = 'https://github.com/fabiocaccamo'
|
||||
package_name = 'django-admin-interface'
|
||||
package_url = '{}/{}'.format(github_url, package_name)
|
||||
github_url = "https://github.com/fabiocaccamo"
|
||||
sponsor_url = "https://github.com/sponsors/fabiocaccamo/"
|
||||
twitter_url = "https://twitter.com/fabiocaccamo"
|
||||
package_name = "django-admin-interface"
|
||||
package_url = "{}/{}".format(github_url, package_name)
|
||||
package_issues_url = "{}/issues".format(github_url)
|
||||
package_path = os.path.abspath(os.path.dirname(__file__))
|
||||
long_description_file_path = os.path.join(package_path, 'README.md')
|
||||
long_description_content_type = 'text/markdown'
|
||||
long_description = ''
|
||||
long_description_file_path = os.path.join(package_path, "README.md")
|
||||
long_description_content_type = "text/markdown"
|
||||
long_description = ""
|
||||
try:
|
||||
long_description_file_options = {} if sys.version_info[0] < 3 else { 'encoding':'utf-8' }
|
||||
with open(long_description_file_path, 'r', **long_description_file_options) as f:
|
||||
long_description_file_options = (
|
||||
{} if sys.version_info[0] < 3 else {"encoding": "utf-8"}
|
||||
)
|
||||
with open(long_description_file_path, "r", **long_description_file_options) as f:
|
||||
long_description = f.read()
|
||||
except IOError:
|
||||
pass
|
||||
|
||||
setup(
|
||||
name=package_name,
|
||||
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
|
||||
packages=find_packages(exclude=["contrib", "docs", "tests*"]),
|
||||
include_package_data=True,
|
||||
version=__version__,
|
||||
description='django-admin-interface is a modern responsive flat admin interface customizable by the admin itself.',
|
||||
description="django-admin-interface is a modern responsive flat admin interface customizable by the admin itself.",
|
||||
long_description=long_description,
|
||||
long_description_content_type=long_description_content_type,
|
||||
author='Fabio Caccamo',
|
||||
author_email='fabio.caccamo@gmail.com',
|
||||
author="Fabio Caccamo",
|
||||
author_email="fabio.caccamo@gmail.com",
|
||||
url=package_url,
|
||||
download_url='{}/archive/{}.tar.gz'.format(package_url, __version__),
|
||||
keywords=['django', 'admin', 'interface', 'responsive', 'flat', 'theme', 'custom', 'ui'],
|
||||
requires=['django(>=1.7)'],
|
||||
download_url="{}/archive/{}.tar.gz".format(package_url, __version__),
|
||||
project_urls={
|
||||
"Documentation": package_url,
|
||||
"Issues": package_issues_url,
|
||||
"Funding": sponsor_url,
|
||||
"Twitter": twitter_url,
|
||||
},
|
||||
keywords=[
|
||||
"django",
|
||||
"admin",
|
||||
"interface",
|
||||
"responsive",
|
||||
"flat",
|
||||
"theme",
|
||||
"custom",
|
||||
"ui",
|
||||
],
|
||||
requires=["django(>=1.7)"],
|
||||
install_requires=[
|
||||
'django-colorfield >= 0.2, < 1.0',
|
||||
'django-flat-theme >= 1.0, < 2.0',
|
||||
'django-flat-responsive >= 1.0, < 3.0',
|
||||
'six >= 1.9.0, < 2.0.0',
|
||||
"django-colorfield >= 0.2, < 1.0",
|
||||
"django-flat-theme >= 1.0, < 2.0",
|
||||
"django-flat-responsive >= 1.0, < 3.0",
|
||||
"six >= 1.9.0, < 2.0.0",
|
||||
],
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Environment :: Web Environment',
|
||||
'Framework :: Django',
|
||||
'Framework :: Django :: 1.7',
|
||||
'Framework :: Django :: 1.8',
|
||||
'Framework :: Django :: 1.9',
|
||||
'Framework :: Django :: 1.10',
|
||||
'Framework :: Django :: 1.11',
|
||||
'Framework :: Django :: 2.0',
|
||||
'Framework :: Django :: 2.1',
|
||||
'Framework :: Django :: 2.2',
|
||||
'Framework :: Django :: 3.0',
|
||||
'Framework :: Django :: 3.1',
|
||||
'Framework :: Django :: 3.2',
|
||||
'Framework :: Django :: 4.0',
|
||||
'Intended Audience :: Developers',
|
||||
'License :: OSI Approved :: MIT License',
|
||||
'Natural Language :: English',
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Python :: 2',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
'Programming Language :: Python :: 3.9',
|
||||
'Programming Language :: Python :: 3.10',
|
||||
'Topic :: Software Development :: Build Tools',
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Environment :: Web Environment",
|
||||
"Framework :: Django",
|
||||
"Framework :: Django :: 1.7",
|
||||
"Framework :: Django :: 1.8",
|
||||
"Framework :: Django :: 1.9",
|
||||
"Framework :: Django :: 1.10",
|
||||
"Framework :: Django :: 1.11",
|
||||
"Framework :: Django :: 2.0",
|
||||
"Framework :: Django :: 2.1",
|
||||
"Framework :: Django :: 2.2",
|
||||
"Framework :: Django :: 3.0",
|
||||
"Framework :: Django :: 3.1",
|
||||
"Framework :: Django :: 3.2",
|
||||
"Framework :: Django :: 4.0",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Natural Language :: English",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python :: 2",
|
||||
"Programming Language :: Python :: 2.7",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.4",
|
||||
"Programming Language :: Python :: 3.5",
|
||||
"Programming Language :: Python :: 3.6",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Topic :: Software Development :: Build Tools",
|
||||
],
|
||||
license='MIT',
|
||||
test_suite='runtests.runtests'
|
||||
license="MIT",
|
||||
test_suite="runtests.runtests",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user