Skip to content
This repository has been archived by the owner on Jul 31, 2019. It is now read-only.

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
alterat committed Apr 19, 2018
0 parents commit 02ecc89
Show file tree
Hide file tree
Showing 54 changed files with 3,364 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.swp
395 changes: 395 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Carta docente: guida per gli esercenti
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
git+https://github.com/italia/docs-italia-theme.git
Binary file added rst/_images/esercenti/image1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image10.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image11.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image12.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image13.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image14.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image15.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image16.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image17.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image18.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image19.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image20.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image21.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image22.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image23.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image24.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image25.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image26.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image27.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image28.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image29.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image30.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image4.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rst/_images/esercenti/image5.png
Binary file added rst/_images/esercenti/image6.png
Binary file added rst/_images/esercenti/image7.png
Binary file added rst/_images/esercenti/image8.png
Binary file added rst/_images/esercenti/image9.png
Binary file added rst/_images/fattura/image1.png
Binary file added rst/_images/fattura/image10.png
Binary file added rst/_images/fattura/image11.jpeg
Binary file added rst/_images/fattura/image12.png
Binary file added rst/_images/fattura/image13.png
Binary file added rst/_images/fattura/image2.png
Binary file added rst/_images/fattura/image3.png
Binary file added rst/_images/fattura/image4.png
Binary file added rst/_images/fattura/image5.png
Binary file added rst/_images/fattura/image6.png
Binary file added rst/_images/fattura/image7.png
Binary file added rst/_images/fattura/image8.png
Binary file added rst/_images/fattura/image9.png
Binary file added rst/_images/logo.png
78 changes: 78 additions & 0 deletions rst/condizioni-generali-esercenti.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
##############################
Condizioni d'uso e di servizio
##############################

Oggetto del servizio
====================

Il presente servizio è volto a consentire agli esercenti o agli enti di formazione, accreditati/qualificati ai sensi della Direttiva 170/2016, attraverso l'apposita applicazione web, di registrarsi al servizio ed offrire ai docenti la vendita dei beni o servizi previsti dall’art. 1, comma 121 della legge 107/2015 (Buona Scuola). I docenti hanno 500 euro da spendere per il loro aggiornamento professionale. Potranno utilizzarli per acquistare, fra l’altro, libri, riviste, ingressi nei musei, biglietti per eventi culturali, teatro e cinema, per l’iscrizione a corsi di laurea o master universitari, per l’iscrizione a corsi per attività di aggiornamento, svolti da enti accreditati presso il Ministero dell'Istruzione, dell'Università e della Ricerca.

Gli esercenti o gli enti di formazione potranno validare i buoni di spesa generati dai docenti. Il controvalore dei buoni validati sarà liquidato dalla società Consap per conto del Ministero dell’Istruzione, dell’Università e della Ricerca .

Eventuali questioni relative alla liquidazione delle somme dovute agli esercenti potranno essere rivolte direttamente alla citata società CONSAP, quale soggetto responsabile del pagamento.

Registrazione ed utilizzo del servizio
======================================

Per partecipare all’iniziativa Carta del Docente ed essere inserito nell’elenco degli esercizi commerciali o nell’elenco degli enti di formazione, accreditati/qualificati ai sensi della Direttiva 170/2016, presso i quali i buoni di spesa di cui al punto precedente possono essere utilizzati, l’esercente o l’ente di formazione deve registrarsi al presente servizio utilizzando le credenziali, già in suo possesso, fornite dall’Agenzie delle Entrate, seguendo le istruzioni riportate qui: `https://assistenza.agenziaentrate.gov.it/assistenza/index.asp?idFolder=471&idServ=1 <https://assistenza.agenziaentrate.gov.it/assistenza/index.asp?idFolder=471&amp;idServ=1>`__

L’esercente o l’ente di formazione prende atto ed accetta che il servizio lo identificherà, riconoscendogli accesso alle funzionalità di verifica, incasso e richiesta di liquidazione dei buono attraverso le citate credenziali e che, pertanto, chiunque entrasse fraudolentemente in possesso delle stesse potrà essere abilitato all’utilizzo del servizio medesimo al suo posto.

Al riguardo l’utente prende atto di essere stato informato dell’obbligo di tempestiva denuncia in ogni ipotesi di perdita di possesso delle citate credenziali al fine di consentirne il blocco immediato.

L’esercente o l’ente di formazione prende altresì atto che ai fini della liquidazione dei buoni validati dovrà disporre o dotarsi di un sistema di fatturazione elettronica conforme alla disciplina vigente e che, in assenza, non potrà, in alcun modo, vedersi liquidare il valore dei buoni eventualmente incassati.

Incasso dei buono di spesa
==========================

L’esercente o l’ente di formazione prende atto che i buoni di spesa generati attraverso cartadeldocente.istruzione.it possono essere utilizzati esclusivamente per la vendita, al solo docente il cui nome è riportato sui buoni medesimi, dei seguenti beni e servizi:

a) libri e testi, anche in formato digitale, pubblicazioni e riviste comunque utili all'aggiornamento professionale;

b) hardware e software;

c) iscrizione a corsi per attività di aggiornamento e di qualificazione delle competenze professionali, svolti da enti accreditati presso il Ministero dell'istruzione, dell'università e della ricerca;

d) iscrizione a corsi di laurea, di laurea magistrale, specialistica o a ciclo unico, inerenti al profilo professionale, ovvero a corsi post lauream o a master universitari inerenti al profilo professionale;

e) titoli di accesso per rappresentazioni teatrali e cinematografiche;

f) titoli per l’ingresso a musei, mostre ed eventi culturali e spettacoli dal vivo;

g) iniziative coerenti con le attività individuate nell'ambito del piano triennale dell'offerta formativa delle scuole e del Piano nazionale di formazione, di cui articolo 1, comma 124, della legge n. 107 del 2015(Buona Scuola).

È , pertanto, vietato incassare i buoni di spesa generati attraverso il servizio da un soggetto diverso rispetto al titolare del buono il cui nome è riportato sullo stesso e/o a fronte della vendita di beni o servizi diversi rispetto a quelli di cui alle lettere da a) a g) che precedono.

Gli acquisti non possono dunque, essere delegati ad altre persone e i buoni di spesa sono strettamente nominali. L’incasso dei buoni di spesa e la richiesta di liquidazione del relativo valore, previa fatturazione elettronica al Ministero dell’Istruzione, dell’Università e della Ricerca, dovrà avvenire in conformità alle istruzioni disponibili qui: `https://cartadeldocente.istruzione.it/static/Linee%20Guida%20Fatturazione.pdf <https://cartadeldocente.istruzione.it/static/Linee%20Guida%20Fatturazione.pdf>`__

Vigilanza e sanzioni
====================

Il Ministero dell’Istruzione, dell’Università e della Ricerca vigila sulla corretta applicazione da parte dell’esercente o dell’ente di formazione, delle regole che precedono nonché di quelle dettate nella disciplina vigente e, in caso di eventuali violazioni, provvede alla esclusione dell’esercente o ente di formazione, autore della violazione, fatte salve le ulteriori sanzioni previste dalla normativa vigente.

Responsabilità del fornitore del servizio e dei fornitori dell’identità digitale
================================================================================

Il fornitore del servizio compirà ogni ragionevole sforzo per garantire il buon funzionamento dello stesso in maniera ininterrotta. La SOGEI (Società Generale d’ Informatica) garantisce il valore soglia del 98% per l’operatività dell’applicazione “cartadeldocente” attiva 7 giorni alla settimana h24.

I fornitori di Identità SPID garantiscono i livelli di servizio come riportato sui manuali operativi approvati da AgID (Agenzia per l’Italia Digitale):

- Infocert S.p.A. - Infocert ID (pagina 38) http://www.agid.gov.it/sites/default/files/manuale_operativo_spid.pdf

- Poste Italiane S.p.A. - Poste ID (pagina 48) http://www.agid.gov.it/sites/default/files/manuale_operativo.pdf

- SIELTE S.p.A. - Sielte ID (pagina 27) http://www.sielteid.it/documents/ManualeOperativo.pdf

- TI Trust Technologies S.r.l. - TIM ID (pagina 16) `http://www.agid.gov.it/sites/default/files/spidprin.tt_.somo15000.00-manuale- <http://www.agid.gov.it/sites/default/files/spidprin.tt_.somo15000.00-manuale-operativo-del-servizio-tim-id.pdf>`__ `operativo-del-servizio-tim-id.pdf <http://www.agid.gov.it/sites/default/files/spidprin.tt_.somo15000.00-manuale-operativo-del-servizio-tim-id.pdf>`__

Privacy
=======

Il titolare del trattamento è il Ministero dell’Istruzione, dell’Università e della Ricerca.

I dati personali dell’esercente saranno trattati esclusivamente per consentirgli di accedere ed utilizzare il servizio in conformità a quanto riportato nell’apposita informativa al seguente link: `https://cartadeldocente.istruzione.it/static/cartadeldocente_infoprivacy.pdf <https://cartadeldocente.istruzione.it/static/cartadeldocente_infoprivacy.pdf>`__

Disciplina applicabile
======================

Per tutto quanto non espressamente previsto nelle presenti condizioni, sarà applicabile la disciplina prevista dall’art.1della Legge 107/2015 e dal DPCM del 28 novembre 2016 disponibile al seguente link: `http://www.gazzettaufficiale.it/eli/id/2016/12/1/16A08470/sg <http://www.gazzettaufficiale.it/eli/id/2016/12/1/16A08470/sg>`__
281 changes: 281 additions & 0 deletions rst/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,281 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import sys, os
docs_italia_theme = __import__("docs-italia-theme")
from recommonmark.transform import AutoStructify
from recommonmark.parser import CommonMarkParser

# -- PROJECT Variables ----------------------------------------------------
settings_project_name = 'Guida a Carta del docente per gli esercenti'
settings_copyright_copyleft = 'AgID - Team Digitale'
settings_editor_name = 'AgID - Team Digitale'
settings_doc_version = 'version: latest'
settings_doc_release = 'version: latest'
settings_basename = 'guida-carta-docente-esercenti'
settings_file_name = 'guida-carta-docente-esercenti'

# -- RTD configuration ------------------------------------------------

# on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

# This is used for linking and such so we link to the thing we're building
rtd_version = os.environ.get('READTHEDOCS_VERSION', 'latest')
if rtd_version not in ['stable', 'latest']:
rtd_version = 'stable'

rtd_project = os.environ.get('READTHEDOCS_PROJECT', '')

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.'))

# -- General configuration -----------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
#needs_sphinx = '1.0'

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.doctest',
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinx.ext.coverage',
'sphinx.ext.ifconfig',
'docs-italia-theme',
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

# The suffix of source filenames.
source_parsers = {
'.md': CommonMarkParser,
}

source_suffix = ['.rst', '.md']

# The encoding of source files.
#source_encoding = 'utf-8-sig'
source_encoding = 'utf-8'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = settings_project_name
copyright = settings_copyright_copyleft

# URL of Discourse instance used by sphinxcontrib.discourse extension
# discourse_url = settings_discourse_url

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = settings_doc_version
# The full version, including alpha/beta/rc tags.
release = settings_doc_release

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
language = 'it'

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['.DS_Store', 'README', 'README.md', '.venv*']

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'

# -- AutoStructify --------------------------------------------------------
def setup(app):
app.add_config_value('recommonmark_config', {
'auto_toc_tree_section': 'Contents',
'enable_eval_rst': True,
'enable_auto_doc_ref': True
}, True)
app.add_transform(AutoStructify)


# -- Options for HTML output ----------------------------------------------
html_theme = 'docs-italia-theme'

html_theme_path = [docs_italia_theme.get_html_theme_path()]

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options = {
# This option can be used with docs-italia-theme to customise how the versions "badge" is shown:
# 'False': default (alabaster) badge | 'True': custom (italia) badge
'custom_versions_badge': 'True',
'collapse_navigation': 'True',
}
# -- ReadTheDoc requirements and local template generation---------------------

# on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

if not on_rtd: # only import and set the theme if we're building docs locally
html_theme = 'docs-italia-theme'
#html_theme_path = ["themes", ]
else:
# Override default css to get a larger width for ReadTheDoc build
html_context = {
'css_files': [
'_static/css/theme.css',
'_static/css/badge_only.css',
],
}


# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
#html_title = settings_project_name

# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
# html_logo = "images/logo.png"

# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
# pixels large.
#html_favicon = None

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
# directly to the root of the documentation.
#html_extra_path = []

# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
html_last_updated_fmt = '%d/%m/%Y'

# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
#html_use_smartypants = True

# Custom sidebar templates, maps document names to template names.
#html_sidebars = {}

# Additional templates that should be rendered to pages, maps page names to
# template names.
#html_additional_pages = {}

# If false, no module index is generated.
#html_domain_indices = True

# If false, no index is generated.
#html_use_index = True

# If true, the index is split into individual pages for each letter.
#html_split_index = False

# If true, links to the reST sources are added to the pages.
#html_show_sourcelink = True

# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
#html_show_sphinx = True

# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
# html_show_copyright = True

# If true, an OpenSearch description file will be output, and all pages will
# contain a <link> tag referring to it. The value of this option must be the
# base URL from which the finished HTML is served.
#html_use_opensearch = ''

# This is the file name suffix for HTML files (e.g. ".xhtml").
#html_file_suffix = None

# Output file base name for HTML help builder.
htmlhelp_basename = settings_basename + 'doc'


# -- Options for LaTeX output ---------------------------------------------

latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#'papersize': 'a4paper',

# The font size ('10pt', '11pt' or '12pt').
#'pointsize': '10pt',

# Additional stuff for the LaTeX preamble.
#'preamble': '',
}

# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
('index', settings_file_name + '.tex', settings_project_name,
settings_copyright_copyleft, 'manual'),
]

# The name of an image file (relative to this directory) to place at the top of
# the title page.
#latex_logo = "images/..."

# For "manual" documents, if this is true, then toplevel headings are parts,
# not chapters.
#latex_use_parts = False

# If true, show page references after internal links.
#latex_show_pagerefs = False

# If true, show URL addresses after external links.
#latex_show_urls = False

# Documents to append as an appendix to all manuals.
#latex_appendices = []

# If false, no module index is generated.
#latex_domain_indices = True


# -- Options for manual page output ---------------------------------------

# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', settings_file_name, settings_project_name,
[settings_editor_name], 1)
]

# If true, show URL addresses after external links.
#man_show_urls = False


# -- Options for Texinfo output -------------------------------------------

# Grouping the document tree into Texinfo files. List of tuples
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
('index', settings_file_name, settings_project_name,
settings_copyright_copyleft, settings_project_name, settings_project_name,
'Miscellaneous'),
]

numfig = True

0 comments on commit 02ecc89

Please sign in to comment.