-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e56978f
commit 6e360c0
Showing
93 changed files
with
5,991 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- You may freely edit this file. See commented blocks below for --> | ||
<!-- some examples of how to customize the build. --> | ||
<!-- (If you delete it and reopen the project it will be recreated.) --> | ||
<!-- By default, only the Clean and Build commands use this build script. --> | ||
<!-- Commands such as Run, Debug, and Test only use this build script if --> | ||
<!-- the Compile on Save feature is turned off for the project. --> | ||
<!-- You can turn off the Compile on Save (or Deploy on Save) setting --> | ||
<!-- in the project's Project Properties dialog box.--> | ||
<project name="Projeto" default="default" basedir="."> | ||
<description>Builds, tests, and runs the project Projeto.</description> | ||
<import file="nbproject/build-impl.xml"/> | ||
<!-- | ||
There exist several targets which are by default empty and which can be | ||
used for execution of your tasks. These targets are usually executed | ||
before and after some main targets. They are: | ||
-pre-init: called before initialization of project properties | ||
-post-init: called after initialization of project properties | ||
-pre-compile: called before javac compilation | ||
-post-compile: called after javac compilation | ||
-pre-compile-single: called before javac compilation of single file | ||
-post-compile-single: called after javac compilation of single file | ||
-pre-compile-test: called before javac compilation of JUnit tests | ||
-post-compile-test: called after javac compilation of JUnit tests | ||
-pre-compile-test-single: called before javac compilation of single JUnit test | ||
-post-compile-test-single: called after javac compilation of single JUunit test | ||
-pre-dist: called before archive building | ||
-post-dist: called after archive building | ||
-post-clean: called after cleaning build products | ||
-pre-run-deploy: called before deploying | ||
-post-run-deploy: called after deploying | ||
Example of pluging an obfuscator after the compilation could look like | ||
<target name="-post-compile"> | ||
<obfuscate> | ||
<fileset dir="${build.classes.dir}"/> | ||
</obfuscate> | ||
</target> | ||
For list of available properties check the imported | ||
nbproject/build-impl.xml file. | ||
Other way how to customize the build is by overriding existing main targets. | ||
The target of interest are: | ||
init-macrodef-javac: defines macro for javac compilation | ||
init-macrodef-junit: defines macro for junit execution | ||
init-macrodef-debug: defines macro for class debugging | ||
do-dist: archive building | ||
run: execution of project | ||
javadoc-build: javadoc generation | ||
Example of overriding the target for project execution could look like | ||
<target name="run" depends="<PROJNAME>-impl.jar"> | ||
<exec dir="bin" executable="launcher.exe"> | ||
<arg file="${dist.jar}"/> | ||
</exec> | ||
</target> | ||
Notice that overridden target depends on jar target and not only on | ||
compile target as regular run target does. Again, for list of available | ||
properties which you can use check the target you are overriding in | ||
nbproject/build-impl.xml file. | ||
--> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Manifest-Version: 1.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Context path="/Projeto"/> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+24.4 KB
build/web/WEB-INF/classes/org/springframework/security/crypto/bcrypt/BCrypt.class
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE glassfish-web-app PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Servlet 3.0//EN" "http://glassfish.org/dtds/glassfish-web-app_3_0-1.dtd"> | ||
<!-- | ||
Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. | ||
This program and the accompanying materials are made available under the | ||
terms of the Eclipse Public License v. 2.0, which is available at | ||
http://www.eclipse.org/legal/epl-2.0. | ||
This Source Code may also be made available under the following Secondary | ||
Licenses when the conditions for such availability set forth in the | ||
Eclipse Public License v. 2.0 are satisfied: GNU General Public License, | ||
version 2 with the GNU Classpath Exception, which is available at | ||
https://www.gnu.org/software/classpath/license.html. | ||
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 | ||
--> | ||
<glassfish-web-app error-url=""> | ||
<class-loader delegate="true"/> | ||
<jsp-config> | ||
<property name="keepgenerated" value="true"> | ||
<description>Keep a copy of the generated servlet class' java code.</description> | ||
</property> | ||
</jsp-config> | ||
</glassfish-web-app> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<%@page contentType="text/html" pageEncoding="UTF-8"%> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<title>Adicionar Professor</title> | ||
</head> | ||
<body> | ||
<p>Erro ao Cadastrar!</p> | ||
<jsp:include page="usuarioform.html"></jsp:include> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<%@page contentType="text/html" pageEncoding="UTF-8"%> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<title>Adicionar Professor</title> | ||
</head> | ||
<body> | ||
<p>Cadastro realizado com sucesso!</p> | ||
<jsp:include page="usuarioform.html"></jsp:include> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<%@ page import="com.crudjspjava.dao.UsuarioDao"%> | ||
<jsp:useBean id="u" class="com.crudjspjava.bean.Usuario"></jsp:useBean> | ||
<jsp:setProperty property="*" name="u"/> | ||
|
||
<% | ||
int i = UsuarioDao.salvarUsuario(u); | ||
if(i > 0){ | ||
response.sendRedirect("addUsuario-success.jsp"); | ||
}else{ | ||
response.sendRedirect("addUsuario-error.jsp"); | ||
} | ||
%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
<%@page contentType="text/html" pageEncoding="UTF-8"%> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<title>Adicionar Professor</title> | ||
</head> | ||
<body> | ||
<jsp:include page="usuarioform.html"></jsp:include> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<%@ page import="com.crudjspjava.dao.UsuarioDao"%> | ||
<jsp:useBean id="u" class="com.crudjspjava.bean.Usuario"></jsp:useBean> | ||
<jsp:setProperty property="*" name="u"/> | ||
|
||
<% | ||
int i = UsuarioDao.bloquearUsuario(u); | ||
response.sendRedirect("viewprofessores.jsp?page=1"); | ||
%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
body{ | ||
background-image: url("/images/imgerro.png"); | ||
background-repeat: no-repeat; | ||
background-size: cover; | ||
} | ||
|
||
.max-width { | ||
width: 100%; | ||
max-width: 800px; | ||
margin: 0 auto; | ||
background-color: #fff; | ||
} | ||
|
||
*{ | ||
margin: 0; | ||
} | ||
|
||
.button { | ||
background-color: #E86C11; | ||
border: none; | ||
color: black; | ||
padding: 15px 32px; | ||
text-align: center; | ||
text-decoration: none; | ||
display: inline-block; | ||
font-size: 16px; | ||
border-radius: 10px; | ||
margin-top: 500px; | ||
cursor: pointer | ||
} | ||
.botao{ | ||
text-align: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
body{ | ||
background-image: url("images/ERRO500.png"); | ||
} | ||
|
||
*{ | ||
margin: 0; | ||
} | ||
|
||
.button { | ||
background-color: #E86C11; | ||
border: none; | ||
color: black; | ||
padding: 15px 32px; | ||
text-align: center; | ||
text-decoration: none; | ||
display: inline-block; | ||
font-size: 16px; | ||
border-radius: 10px; | ||
margin-top: 500px; | ||
cursor: pointer | ||
|
||
} | ||
|
||
.botao{ | ||
text-align: center; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
* { | ||
box-sizing: border-box; | ||
outline: 0; | ||
} | ||
|
||
html, | ||
body { | ||
width: 100%; | ||
height: 100%; | ||
margin: 0; | ||
padding: 0; | ||
font-family: 'Lato', sans-serif; | ||
scroll-behavior: smooth; | ||
background: #eeeeee; | ||
} | ||
|
||
form { | ||
background-color: none; | ||
max-width: 450px; | ||
width: 100%; | ||
height: 70%; | ||
padding: 5px; | ||
top: 55%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
position: absolute; | ||
} | ||
|
||
h1{ | ||
text-align: center; | ||
font-family: Helvética, Sans-serif; | ||
font-size: 30px; | ||
top: 2rem; | ||
} | ||
|
||
input[type=text], | ||
input[type=email], | ||
input[type=password]{ | ||
border: none; | ||
outline: 0; | ||
border: 1px solid #dcd0e0; | ||
width: 26rem; | ||
height: 3.2rem; | ||
padding: 17px; | ||
font-size: 15px; | ||
margin-bottom: 1rem; | ||
margin-left: 1rem; | ||
} | ||
|
||
|
||
input[type=radio]{ | ||
cursor: pointer; | ||
margin-bottom: 1rem; | ||
margin-right: 1rem; | ||
} | ||
|
||
/*botao cadastro*/ | ||
input[type=submit] { | ||
background: black; | ||
cursor: pointer; | ||
border: none; | ||
border: 1px solid #e4e0e6; | ||
width: 20rem; | ||
height: 3rem; | ||
display: flex; | ||
justify-content: center; | ||
margin: 1.8rem auto 3.5rem; | ||
padding: 14px; | ||
color: white; | ||
transition: 1.5s; | ||
font-size: 15px; | ||
text-transform: uppercase; | ||
} | ||
|
||
input[type=submit]:hover { | ||
opacity: 0.94; | ||
transition: 0.3s | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
* { | ||
box-sizing: border-box; | ||
margin: 0; | ||
padding: 0; | ||
outline: 0; | ||
} | ||
|
||
html, | ||
body, main{ | ||
width: 100%; | ||
height: 100%; | ||
font-family: 'Lato', sans-serif; | ||
scroll-behavior: smooth; | ||
background-color: white; | ||
} | ||
main{ | ||
/*Impede que o usuario copie */ | ||
-moz-user-select: none; | ||
-webkit-user-select: none; | ||
-ms-user-select: none; | ||
user-select: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
main { | ||
margin-left: 200px; | ||
} | ||
|
||
.content { | ||
padding-top: 8rem; | ||
} | ||
|
||
.grafico { | ||
float: right; | ||
margin-top: 8rem; | ||
width:400px; | ||
height:400px; | ||
} | ||
#content_p{ | ||
display:none; | ||
} | ||
|
||
input[type=button]{ | ||
background: white; | ||
color: black; | ||
border: 2px solid gray; | ||
border-radius: 20px; | ||
padding: 3px; | ||
} | ||
#apresentaca{ | ||
text-align: center; | ||
padding-top: 1.2rem; | ||
padding-left: 1.2rem; | ||
padding-right: 1.2rem; | ||
} | ||
|
||
.prof, .alun, .relatorio{ | ||
color: #E86C11; | ||
} | ||
|
||
|
Oops, something went wrong.