-
-
Notifications
You must be signed in to change notification settings - Fork 400
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add website to set and change WebUser API password
- Loading branch information
Showing
8 changed files
with
121 additions
and
7 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
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
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
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
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
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
55 changes: 55 additions & 0 deletions
55
src/main/resources/webapp/WEB-INF/views/data-man/webuserApiPassword.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,55 @@ | ||
<%-- | ||
SteVe - SteckdosenVerwaltung - https://github.com/steve-community/steve | ||
Copyright (C) 2013-2024 SteVe Community Team | ||
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 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 <https://www.gnu.org/licenses/>. | ||
--%> | ||
<%@ include file="../00-header.jsp" %> | ||
<spring:hasBindErrors name="webuserForm"> | ||
<div class="error"> | ||
Error while trying to change api password of webuser: | ||
<ul> | ||
<c:forEach var="error" items="${errors.allErrors}"> | ||
<li>${error.defaultMessage}</li> | ||
</c:forEach> | ||
</ul> | ||
</div> | ||
</spring:hasBindErrors> | ||
<div class="content"><div> | ||
<section><span>Webuser change password</span></section> | ||
<form:form action="${ctxPath}/manager/webusers/apipassword/${webuserForm.webUsername}" modelAttribute="webuserForm"> | ||
<table class="userInput"> | ||
<thead><tr><th>Webuser</th><th></th></thead> | ||
<tbody> | ||
<tr><td>Webusername:</td><td>${webuserForm.webUsername} | ||
<form:hidden path="webUsername" value="${webuserForm.webUsername}"/> | ||
<form:hidden path="webUserPk" value="${webuserForm.webUserPk}"/> | ||
<form:hidden path="password" value="doNotChange"/> | ||
<form:hidden path="passwordComparison" value="doNotChange"/> | ||
</td></tr> | ||
<tr><td>API Password:</td><td><form:password path="apiPassword" title="Set the API password"/></td></tr> | ||
<tr><td></td> | ||
<td id="add_space"> | ||
<input type="submit" name="change" value="Change"> | ||
<input type="submit" name="backToOverview" value="Back to Details"> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</form:form> | ||
</div></div> | ||
<%@ include file="../00-footer.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