-
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.
Merge pull request #28 from diging/develop
Prepare release
- Loading branch information
Showing
9 changed files
with
86 additions
and
25 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
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
43 changes: 43 additions & 0 deletions
43
nepomuk/src/main/webapp/WEB-INF/views/admin/manage_listeners.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,43 @@ | ||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> | ||
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%> | ||
|
||
|
||
|
||
<div class="well"> | ||
|
||
<h3> | ||
Kafka listeners are currently: | ||
<c:if test="${listenerStatus}"> | ||
<span class="label label-success pull-right">Active</span> | ||
</c:if> | ||
<c:if test="${not listenerStatus}"> | ||
<span class="label label-danger pull-right">Stopped</span> | ||
</c:if> | ||
</h3> | ||
|
||
<div style="margin-top: 70px;"><center> | ||
<c:if test="${listenerStatus}"> | ||
<form:form | ||
action="${pageContext.request.contextPath}/admin/kafka/listeners/stop" | ||
method="POST"> | ||
<input type="submit" value="Stop Kafka Listeners" | ||
class="btn btn-lg btn-danger" /> | ||
</form:form> | ||
<p><br> | ||
Kafka listeners have been started! | ||
</p> | ||
</c:if> | ||
|
||
<c:if test="${not listenerStatus}"> | ||
<form:form | ||
action="${pageContext.request.contextPath}/admin/kafka/listeners/start" | ||
method="POST"> | ||
<input type="submit" value="Start Kafka Listeners" | ||
class="btn btn-lg btn-success" /> | ||
</form:form> | ||
<p><br> | ||
Kafka listeners have been stopped! | ||
</p> | ||
</c:if> | ||
</center></div> | ||
</div> |