diff options
Diffstat (limited to 'resources/views/shorten_result.blade.php')
-rw-r--r-- | resources/views/shorten_result.blade.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/resources/views/shorten_result.blade.php b/resources/views/shorten_result.blade.php index fcbbb8f..ae16c32 100644 --- a/resources/views/shorten_result.blade.php +++ b/resources/views/shorten_result.blade.php @@ -7,9 +7,15 @@ @section('content') <h3>Shortened URL</h3> <input type='text' class='result-box form-control' value='{{$short_url}}' /> -<a href='{{route('index')}}' class='btn btn-info back-btn'>Shorten another</a> +<a id="generate-qr-code" class='btn btn-primary'>Generate QR Code</a> +<a href='{{route('index')}}' class='btn btn-info'>Shorten another</a> + +<div class="qr-code-container"></div> + @endsection + @section('js') +<script src='/js/qrcode.min.js'></script> <script src='/js/shorten_result.js'></script> @endsection |