Archived
1
0
This repository has been archived on 2020-12-10. You can view files and clone it, but cannot push or open issues or pull requests.
old/application/views/tools/encrypter/atbash.php

40 lines
2.1 KiB
PHP
Raw Normal View History

2018-10-16 16:28:42 +00:00
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<section class="container">
<h1 class="center" id="title"><?= lang('atbash_title') ?></h1>
<p class="lead center" id="subtitle"><?= lang('atbash_description') ?></p>
<div class="row col">
<form class="form w-100" action="" id="atbash-encrypt">
<div class="row">
<div class="col-md-4 col-xs-12">
<div class="form-check form-check-inline">
<input type="radio" class="form-check-input" id="atbashEncrypt" name="encryptDecrypt" value="encrypt" checked>
<label for="atbashEncrypt" class="form-check-label"><?= lang('encrypter_encrypt') ?></label>
</div>
<div class="form-check form-check-inline">
<input type="radio" class="form-check-input" id="atbashDecrypt" name="encryptDecrypt" value="decrypt">
<label for="atbashDecrypt" class="form-check-label"><?= lang('encrypter_decrypt') ?></label>
</div>
</div>
<div class="col-md-8 col-xs-12">
<div class="form-group">
<label for="text" id="atbash-input-label"><?= lang('encrypter_decrypted') ?></label>
<textarea class="form-control input-encrypter"
name="text"
id="atbash-input"
rows="5"
placeholder="<?= lang('encrypter_decrypted_ph') ?>"
data-placeholder="<?= lang('encrypter_decrypted_ph') ?>"></textarea>
</div>
<div class="form-group">
<label for="output" id="atbash-output-label"><?= lang('encrypter_encrypted') ?></label>
<textarea id="atbash-output" name="output" rows="5" class="form-control output-encrypter" readonly></textarea>
</div>
</div>
</div>
</form>
</div>
</section>