Files
marechai/cicm_web/Views/Shared/_ValidationScriptsPartial.cshtml

49 lines
2.5 KiB
Plaintext
Raw Normal View History

2018-04-11 05:55:27 +01:00
@{
/******************************************************************************
// Canary Islands Computer Museum Website
// ----------------------------------------------------------------------------
//
// Filename : _ValidationScriptsPartial.cshtml
// Author(s) : Natalia Portillo <claunia@claunia.com>
//
// --[ Description ] ----------------------------------------------------------
//
// Validation scripts
//
// --[ License ] --------------------------------------------------------------
//
// 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 3 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, see <http://www.gnu.org/licenses/>.
//
// ----------------------------------------------------------------------------
// Copyright © 2003-2018 Natalia Portillo
*******************************************************************************/
}
<environment include=Development>
<script src=~/lib/jquery-validation/dist/jquery.validate.js></script>
<script src=~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js></script>
</environment>
<environment exclude=Development>
<script asp-fallback-src=~/lib/jquery-validation/dist/jquery.validate.min.js
asp-fallback-test="window.jQuery && window.jQuery.validator"
crossorigin=anonymous
integrity=sha384-Fnqn3nxp3506LP/7Y3j/25BlWeA3PXTyT1l78LjECcPaKCV12TsZP7yyMxOe/G/k
src=https://ajax.aspnetcdn.com/ajax/jquery.validate/1.14.0/jquery.validate.min.js>
</script>
<script asp-fallback-src=~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js
asp-fallback-test="window.jQuery && window.jQuery.validator && window.jQuery.validator.unobtrusive"
crossorigin=anonymous
integrity=sha384-JrXK+k53HACyavUKOsL+NkmSesD2P+73eDMrbTtTk0h4RmOF8hF8apPlkp26JlyH
src=https://ajax.aspnetcdn.com/ajax/jquery.validation.unobtrusive/3.2.6/jquery.validate.unobtrusive.min.js>
</script>
</environment>