# -*- mode: python -*- # -*- coding: utf-8 -*- ############################################################################## # # Gestion scolarite IUT # # Copyright (c) 1999 - 2024 Emmanuel Viennet. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # Emmanuel Viennet emmanuel.viennet@viennet.net # ############################################################################## """HTML Header/Footer for ScoDoc pages""" from flask import g, render_template, url_for from flask_login import current_user import app.scodoc.sco_utils as scu from app import scodoc_flash_status_messages from app.scodoc import html_sidebar import sco_version # Some constants: # Multiselect menus are used on a few pages and not loaded by default BOOTSTRAP_MULTISELECT_JS = [ "libjs/bootstrap/js/bootstrap.min.js", "libjs/bootstrap-multiselect-1.1.2/bootstrap-multiselect.min.js", "libjs/purl.js", ] BOOTSTRAP_MULTISELECT_CSS = [ "libjs/bootstrap/css/bootstrap.min.css", "libjs/bootstrap/css/bootstrap-theme.min.css", "libjs/bootstrap-multiselect-1.1.2/bootstrap-multiselect.min.css", ] def standard_html_header(): """Standard HTML header for pages outside depts""" # not used in ZScolar, see sco_header return f"""
Problèmes et suggestions sur le logiciel: {scu.SCO_USERS_LIST}
ScoDoc est un logiciel libre développé par Emmanuel Viennet.
""" _HTML_BEGIN = f"""