Various cosmetic fixes.

This commit is contained in:
Floorb 2022-04-23 18:27:04 -04:00
parent 49a7afb694
commit bc082581a9
5 changed files with 21 additions and 21 deletions

View file

@ -152,10 +152,10 @@ function embedView($paste_id, $p_title, $content, $title) {
$stats = false;
if ($content) {
// Build the output
$output = "<div class='paste_embed_conntainer'>";
$output = "<div class='paste_embed_container'>";
$output .= "<style>"; // Add our own styles
$output .= "
.paste_embed_conntainer {
.paste_embed_container {
font-size: 12px;
color: #333;
text-align: left;
@ -164,13 +164,13 @@ function embedView($paste_id, $p_title, $content, $title) {
background-color: #f7f7f7;
border-radius: 3px;
}
.paste_embed_conntainer a {
.paste_embed_container a {
font-weight: bold;
color: #666;
text-decoration: none;
border: 0;
}
.paste_embed_conntainer ol {
.paste_embed_container ol {
color: white;
background-color: #f7f7f7;
border-right: 1px solid #ccc;

View file

@ -28,10 +28,10 @@ $flashes = getFlashes();
</title>
<meta name="description" content="<?= pp_html_escape($global_site_info['description']) ?>"/>
<meta name="keywords" content="<?= pp_html_escape($global_site_info['keywords']) ?>"/>
<link rel="shortcut icon" href="//<?= $baseurl ?>/theme/bulma/img/favicon.ico">
<link href="//<?= $baseurl ?>/theme/bulma/css/paste.css" rel="stylesheet"/>
<link href="//<?= $baseurl ?>/theme/bulma/css/table-responsive.css" rel="stylesheet"/>
<link href="//<?= $baseurl ?>/theme/bulma/css/table-row-orders.css" rel="stylesheet"/>
<link rel="shortcut icon" href="/theme/bulma/img/favicon.ico">
<link href="/theme/bulma/css/paste.css" rel="stylesheet"/>
<link href="/theme/bulma/css/table-responsive.css" rel="stylesheet"/>
<link href="/theme/bulma/css/table-row-orders.css" rel="stylesheet"/>
</head>
<body>
@ -39,7 +39,7 @@ $flashes = getFlashes();
<div class="container">
<div class="navbar-brand">
<a style="font-size: 24px;"
href="<?= paste_protocol() . pp_html_escape($baseurl) ?>"
href="/"
class="navbar-item mx-1"><?= pp_html_escape($site_name); ?></a>
<div class="theme-switch-wrapper">
<label class="theme-switch" for="checkbox">
@ -222,8 +222,8 @@ $flashes = getFlashes();
<input class="button is-link is-fullwidth my-4" type="submit" name="signup" />
<div class="field">
<p style="float:left;">By signing up you agree to our <a href="page/privacy">Privacy policy </a>
and <a href="page/rules">Site rules</a>. This site may contain material not sutible for
under 18's</p>
and <a href="page/rules">Site rules</a>. This site may contain material not suitable for
those aged under 18.</p>
</div>
</form>
</section>
@ -289,7 +289,7 @@ $flashes = getFlashes();
</div>
</footer>
<script src="//<?= $baseurl ?>/theme/bulma/js/paste.js"></script>
<script src="/theme/bulma/js/paste.js"></script>
<?php if (empty($script_bundles)): ?>
<?= javascriptIncludeTag('generic') ?>
<?php else: ?>

View file

@ -120,7 +120,7 @@
<div class="field">
<p style="float:left;">By signing up you agree to our <a href="page/privacy">Privacy
policy </a> and <a href="page/rules">Site rules</a>. This site may contain material
not sutible for under 18's</p>
not suitable for those aged under 18.</p>
</div>
</form>
<?php // Forgot password

View file

@ -148,15 +148,15 @@
</tbody>
<tfoot>
<tr>
<th class="td-center">Title</th>
<th class="td-right">Title</th>
<th class="td-center">Paste Time</th>
<?php if ($is_current_user) {
echo "<td class='td-center'>Visibility</td>";
echo "<th class='td-center'>Visibility</th>";
} ?>
<th class="td-center">Views</th>
<th class="td-center">Tags</th>
<?php if ($is_current_user) {
echo "<td class='td-center'>Delete</td>";
echo "<th class='td-center'>Delete</th>";
} ?>
</tr>
</tfoot>
@ -204,10 +204,10 @@
</tbody>
<tfoot>
<tr>
<td class="td-right">Title</td>
<td class="td-center">Date Favourited</td>
<td class="td-center">Status</td>
<td class="td-center">Tags</td>
<th class="td-right">Title</th>
<th class="td-center">Date Favourited</th>
<th class="td-center">Status</th>
<th class="td-center">Tags</th>
</tr>
</tfoot>
<?php } ?>

View file

@ -165,7 +165,7 @@ $selectedloader = "$bg[$i]"; // set variable equal to which random filename was
title="Full Screen"></i></a>
<div class="panel-embed my-5 is-hidden">
<input type="text" class="input has-background-white-ter has-text-grey"
value='<?php echo '<script src="' . $protocol . $baseurl . '/';
value='<?php echo '<script src="' . $protocol . $baseurl;
if (PP_MOD_REWRITE) {
echo 'embed/';
} else {