Enhanced formatting on the results page
This commit is contained in:
@@ -184,15 +184,6 @@ input[type=submit] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Output */
|
/* Output */
|
||||||
.output label {
|
|
||||||
width: 30%;
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.output input {
|
|
||||||
width: 70%
|
|
||||||
}
|
|
||||||
|
|
||||||
.error {
|
.error {
|
||||||
color: red;
|
color: red;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@@ -204,22 +195,6 @@ input[type=submit] {
|
|||||||
padding: 0 2px;
|
padding: 0 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.output label {
|
|
||||||
width: 20%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.output input {
|
|
||||||
width: 60%
|
|
||||||
}
|
|
||||||
|
|
||||||
.output button {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.output button.active {
|
|
||||||
color:#013F6D;
|
|
||||||
}
|
|
||||||
|
|
||||||
svg#url-qr-code {
|
svg#url-qr-code {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
height: 50%;
|
height: 50%;
|
||||||
|
|||||||
10
result.php
10
result.php
@@ -44,7 +44,7 @@ if ( ISQ::$general['qr'] ) {
|
|||||||
|
|
||||||
<div class="output">
|
<div class="output">
|
||||||
<div class="form-item full-width">
|
<div class="form-item full-width">
|
||||||
<label for="longurl"><?php yourls_e( 'Original URL:', 'isq_translation'); ?></label>
|
<label for="longurl" class="primary"><?php yourls_e( 'Original URL', 'isq_translation'); ?></label>
|
||||||
<input type="text" name="longurl" onclick="this.select();" onload="this.select();" value="<?php echo $url; ?>" id="long-copy">
|
<input type="text" name="longurl" onclick="this.select();" onload="this.select();" value="<?php echo $url; ?>" id="long-copy">
|
||||||
<?php if (!empty(ISQ::$general['clipboard'])) { echo '<button id="long-copy" data-clipboard-target="long-copy" class="desktop-only">' . yourls__( 'Copy to Clipboard', 'isq-translation' ) . '</button>'; } ?>
|
<?php if (!empty(ISQ::$general['clipboard'])) { echo '<button id="long-copy" data-clipboard-target="long-copy" class="desktop-only">' . yourls__( 'Copy to Clipboard', 'isq-translation' ) . '</button>'; } ?>
|
||||||
</div>
|
</div>
|
||||||
@@ -52,14 +52,14 @@ if ( ISQ::$general['qr'] ) {
|
|||||||
<div class="halves">
|
<div class="halves">
|
||||||
|
|
||||||
<div class="form-item half-width left">
|
<div class="form-item half-width left">
|
||||||
<label for="shorturl"><?php yourls_e( 'Short URL:', 'isq_translation'); ?></label>
|
<label for="shorturl" class="primary"><?php yourls_e( 'Short URL', 'isq_translation'); ?></label>
|
||||||
<input type="text" name="shorturl" onclick="this.select();" onload="this.select();" value="<?php echo $shorturl; ?>" id="short-copy">
|
<input type="text" name="shorturl" onclick="this.select();" value="<?php echo $shorturl; ?>" id="short-copy">
|
||||||
<?php if (!empty(ISQ::$general['clipboard'])) { echo '<button id="short-copy" data-clipboard-target="short-copy" class="desktop-only">' . yourls__( 'Copy to Clipboard', 'isq-translation' ) . '</button>'; } ?>
|
<?php if (!empty(ISQ::$general['clipboard'])) { echo '<button id="short-copy" data-clipboard-target="short-copy" class="desktop-only">' . yourls__( 'Copy to Clipboard', 'isq-translation' ) . '</button>'; } ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-item half-width right">
|
<div class="form-item half-width right">
|
||||||
<label for="stats"><?php /* translators: This is short for statistics */ yourls_e( 'Stats:', 'isq_translation'); ?></label>
|
<label for="stats" class="primary"><?php /* translators: This is short for statistics */ yourls_e( 'Stats', 'isq_translation'); ?></label>
|
||||||
<input type="text" name="stats" onclick="this.select();" onload="this.select();" value="<?php echo $shorturl . '+'; ?>" id="stats-copy">
|
<input type="text" name="stats" onclick="this.select();" value="<?php echo $shorturl . '+'; ?>" id="stats-copy">
|
||||||
<?php if (!empty(ISQ::$general['clipboard'])) { echo '<button id="stats-copy" data-clipboard-target="stats-copy" class="desktop-only">' . yourls__( 'Copy to Clipboard', 'isq-translation' ) . '</button>'; } ?>
|
<?php if (!empty(ISQ::$general['clipboard'])) { echo '<button id="stats-copy" data-clipboard-target="stats-copy" class="desktop-only">' . yourls__( 'Copy to Clipboard', 'isq-translation' ) . '</button>'; } ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user