Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cydrobolt/polr.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan McMahon <emcmahonzx@gmail.com>2018-03-29 10:08:36 +0300
committerGitHub <noreply@github.com>2018-03-29 10:08:36 +0300
commit13d76e94996e1ee7177644f6b399f688a1cc5d58 (patch)
tree03df2026f71bc9f34c723fce11ba2bc9192b0cba /resources
parent357d134818e7e82fd70ea13bd21e0c8929170654 (diff)
parenteafce588251af70b6c5f2a04283a2f4fee3ec8f4 (diff)
Merge branch 'master' into better-admin-polr
Diffstat (limited to 'resources')
-rw-r--r--resources/views/shorten_result.blade.php16
1 files changed, 14 insertions, 2 deletions
diff --git a/resources/views/shorten_result.blade.php b/resources/views/shorten_result.blade.php
index fcbbb8f..e4975ec 100644
--- a/resources/views/shorten_result.blade.php
+++ b/resources/views/shorten_result.blade.php
@@ -6,10 +6,22 @@
@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>
+<div class="input-group">
+ <input type='text' class='result-box form-control' value='{{$short_url}}' id='short_url' />
+ <div class='input-group-addon' id='clipboard-copy' data-clipboard-target='#short_url' data-toggle='tooltip' data-placement='bottom' data-title='Copied!'>
+ <i class='fa fa-clipboard' aria-hidden='true' title='Copy to clipboard'></i>
+ </div>
+</div>
+<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/clipboard.min.js'></script>
<script src='/js/shorten_result.js'></script>
@endsection