| ## Licensed to the Apache Software Foundation (ASF) under one |
| ## or more contributor license agreements. See the NOTICE file |
| ## distributed with this work for additional information |
| ## regarding copyright ownership. The ASF licenses this file |
| ## to you under the Apache License, Version 2.0 (the |
| ## "License"); you may not use this file except in compliance |
| ## with the License. You may obtain a copy of the License at |
| ## |
| ## http://www.apache.org/licenses/LICENSE-2.0 |
| ## |
| ## Unless required by applicable law or agreed to in writing, |
| ## software distributed under the License is distributed on an |
| ## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| ## KIND, either express or implied. See the License for the |
| ## specific language governing permissions and limitations |
| ## under the License. |
| |
| |
| <div class="w3-display-middle w3-card-8 w3-center w3-light-grey" style="max-width: 500px"> |
| |
| <form class="w3-container w3-light-grey" name="password_change" method="post" action="$link.setAction("ChangePasswordAction").setPage("Index.vm")"> |
| <div class="w3-section"> |
| |
| |
| <p> |
| <input class="w3-input w3-border" style="margin: auto; width: 200px;" placeholder="Old Password" type="password" name="oldpassword" value="" tabindex="2" autocomplete="off"> |
| </p> |
| |
| <p> |
| <input class="w3-input w3-border" style="margin: auto; width: 200px;" placeholder="New Password" type="password" name="newpassword" value="" tabindex="2" autocomplete="off"> |
| </p> |
| |
| <button type="submit" name="submit" id="submit" value="eventSubmit_doPerform" class="w3-ripple">Change Password</button> |
| |
| <button type="button" name="cancel" id="cancel" value="cancel" class="w3-ripple" onCLick="doCancel()">Cancel</button> |
| |
| <script> |
| function doCancel() { |
| location.href="$link.setPage('TestSecure.vm')"; |
| return false; |
| } |
| </script> |
| |
| <p/> |
| |
| |
| </div> |
| </form> |
| |
| |
| ## Display System messages here if there are any |
| #if($data.getMessage()) |
| #info( $data.getMessage() ) <br/> |
| #end |
| |
| </div> |