README.txt |
README.txt |
|
CONTENTS OF THIS FILE
---------------------
* Introduction
* Requirements
* Installation
* Configuration
* Maintainers
INTRODUCTION
------------
SignatureField allows you to collect HTML5 canvas based signatures in content
type. Currently it… |
signature.css |
css/signature.css |
|
.signature {
border:1px solid #CCC;
background: rgb(240, 240, 240);
text-align: center;
padding: 15px 0;
}
.signature canvas {
background:#FFF;
border-bottom:2px dotted #999;
} |
signature.html.twig |
templates/signature.html.twig |
|
<div class="signature">
<canvas width="450" height="200" class="sign-canvas">SIGNATURE CANVAS</canvas>
{% if(sign_src != '') %}
<img src = {{sign_src}}… |
Signature.php |
src/Plugin/Field/Element/Signature.php |
Drupal\signature_field\Element |
|
SignatureField.php |
src/Plugin/Field/FieldType/SignatureField.php |
Drupal\signature_field\Plugin\Field\FieldType |
|
SignatureFormatter.php |
src/Plugin/Field/FieldFormatter/SignatureFormatter.php |
Drupal\signature_field\Plugin\Field\FieldFormatter |
|
SignatureWidget.php |
src/Plugin/Field/FieldWidget/SignatureWidget.php |
Drupal\signature_field\Plugin\Field\FieldWidget |
|
signature_field.info.yml |
signature_field.info.yml |
|
signature_field.info.yml |
signature_field.libraries.yml |
signature_field.libraries.yml |
|
signature_field.libraries.yml |
signature_field.module |
signature_field.module |
|
An example field using the Field Types API. |