PHP Classes

File: docs/templates/hero/records.add.html.twig

Recommend this page to a friend!
  Classes of milenmk   Simple PHP Password Manager   docs/templates/hero/records.add.html.twig   Download  
File: docs/templates/hero/records.add.html.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Simple PHP Password Manager
Application to store and retrieve user password
Author: By
Last change:
Date: 1 year ago
Size: 2,721 bytes
 

Contents

Class file image Download
{% extends 'base.html.twig' %} {% block body %} {% if res %} <form method="post"> <input type="hidden" name="action" value="create"/> <table class="table table-info table-striped table-responsive"> <thead> <tr> <th scope="col">{{ langs.trans('Domain') }}</th> <th scope="col">{{ langs.trans('Type') }}</th> <th scope="col">{{ langs.trans('Link') }}</th> <th scope="col">{{ langs.trans('Username') }}</th> <th scope="col">{{ langs.trans('Password') }}</th> <th scope="col"></th> </tr> </thead> <tbody> <tr> <td> <label> <select name="fk_domain"> {% for result in res %} <option value="{{ result.id }}">{{ result.label }}</option> {% endfor %} </select> </label> </td> <td> <label> <select name="type"> <option value="1">DATABASE</option> <option value="2">WEBSITE</option> <option value="3">FTP_SERVER</option> </select> </label> </td> <td> <label> <input type="text" name="url"/> </label> </td> <td> <label> <input type="text" name="username"/> </label> </td> <td> <label> <input type="password" name="password"/> </label> </td> <td> <div class="d-grid gap-2 d-md-flex justify-content-md-end"> <input class="btn btn-info" type="submit" name="submit" value="{{ langs.trans('Confirm') }}"/> <input type="button" class="btn btn-danger" value="{{ langs.trans('Cancel') }}" onclick="javascript:history.go(-1)"> </div> </td> </tr> </tbody> </table> </form> {% else %} {{ langs.trans('AddDomainFirst') }} {% endif %} {% endblock %}