Added pin numbers for library meetups.
This commit is contained in:
@@ -137,6 +137,24 @@ use Michelf\Markdown;
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<?php if ( isset($event["pin"]) ) { ?>
|
||||
<div class="input-group mt-3 mb-3">
|
||||
<span class="input-group-text">PIN</span>
|
||||
<?php if ( is_array($event["pin"]) ) { ?>
|
||||
<input type="text" class="form-control pin-display" disabled value="********">
|
||||
<button class="btn btn-outline-secondary unlock-pin" type="button"
|
||||
data-ciphertext="<?= $event["pin"]["ciphertext"] ?>"
|
||||
data-iv="<?= $event["pin"]["iv"] ?>"
|
||||
data-salt="<?= $event["pin"]["salt"] ?>"
|
||||
data-tag="<?= $event["pin"]["tag"] ?>">
|
||||
Unlock
|
||||
</button>
|
||||
<?php } else { ?>
|
||||
<input type="text" class="form-control" disabled value="<?= $event["pin"] ?>">
|
||||
<button class="btn btn-outline-secondary" type="button" action="copy" value="<?= $event["pin"] ?>">Copy</button>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if ( in_array( "description", array_keys($event) ) ) { ?>
|
||||
<h5 class="card-title mb-2">Description</h5>
|
||||
<p><?= $event["description"] ?></p>
|
||||
|
||||
Reference in New Issue
Block a user