mirror of
https://github.com/Neetpone/ponepaste.git
synced 2025-03-12 06:30:07 +01:00
Various cosmetic fixes.
This commit is contained in:
parent
49a7afb694
commit
bc082581a9
5 changed files with 21 additions and 21 deletions
|
@ -152,10 +152,10 @@ function embedView($paste_id, $p_title, $content, $title) {
|
||||||
$stats = false;
|
$stats = false;
|
||||||
if ($content) {
|
if ($content) {
|
||||||
// Build the output
|
// Build the output
|
||||||
$output = "<div class='paste_embed_conntainer'>";
|
$output = "<div class='paste_embed_container'>";
|
||||||
$output .= "<style>"; // Add our own styles
|
$output .= "<style>"; // Add our own styles
|
||||||
$output .= "
|
$output .= "
|
||||||
.paste_embed_conntainer {
|
.paste_embed_container {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #333;
|
color: #333;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
@ -164,13 +164,13 @@ function embedView($paste_id, $p_title, $content, $title) {
|
||||||
background-color: #f7f7f7;
|
background-color: #f7f7f7;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
.paste_embed_conntainer a {
|
.paste_embed_container a {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #666;
|
color: #666;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
.paste_embed_conntainer ol {
|
.paste_embed_container ol {
|
||||||
color: white;
|
color: white;
|
||||||
background-color: #f7f7f7;
|
background-color: #f7f7f7;
|
||||||
border-right: 1px solid #ccc;
|
border-right: 1px solid #ccc;
|
||||||
|
|
|
@ -28,10 +28,10 @@ $flashes = getFlashes();
|
||||||
</title>
|
</title>
|
||||||
<meta name="description" content="<?= pp_html_escape($global_site_info['description']) ?>"/>
|
<meta name="description" content="<?= pp_html_escape($global_site_info['description']) ?>"/>
|
||||||
<meta name="keywords" content="<?= pp_html_escape($global_site_info['keywords']) ?>"/>
|
<meta name="keywords" content="<?= pp_html_escape($global_site_info['keywords']) ?>"/>
|
||||||
<link rel="shortcut icon" href="//<?= $baseurl ?>/theme/bulma/img/favicon.ico">
|
<link rel="shortcut icon" href="/theme/bulma/img/favicon.ico">
|
||||||
<link href="//<?= $baseurl ?>/theme/bulma/css/paste.css" rel="stylesheet"/>
|
<link href="/theme/bulma/css/paste.css" rel="stylesheet"/>
|
||||||
<link href="//<?= $baseurl ?>/theme/bulma/css/table-responsive.css" rel="stylesheet"/>
|
<link href="/theme/bulma/css/table-responsive.css" rel="stylesheet"/>
|
||||||
<link href="//<?= $baseurl ?>/theme/bulma/css/table-row-orders.css" rel="stylesheet"/>
|
<link href="/theme/bulma/css/table-row-orders.css" rel="stylesheet"/>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -39,7 +39,7 @@ $flashes = getFlashes();
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-brand">
|
<div class="navbar-brand">
|
||||||
<a style="font-size: 24px;"
|
<a style="font-size: 24px;"
|
||||||
href="<?= paste_protocol() . pp_html_escape($baseurl) ?>"
|
href="/"
|
||||||
class="navbar-item mx-1"><?= pp_html_escape($site_name); ?></a>
|
class="navbar-item mx-1"><?= pp_html_escape($site_name); ?></a>
|
||||||
<div class="theme-switch-wrapper">
|
<div class="theme-switch-wrapper">
|
||||||
<label class="theme-switch" for="checkbox">
|
<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" />
|
<input class="button is-link is-fullwidth my-4" type="submit" name="signup" />
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<p style="float:left;">By signing up you agree to our <a href="page/privacy">Privacy policy </a>
|
<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
|
and <a href="page/rules">Site rules</a>. This site may contain material not suitable for
|
||||||
under 18's</p>
|
those aged under 18.</p>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</section>
|
</section>
|
||||||
|
@ -289,7 +289,7 @@ $flashes = getFlashes();
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<script src="//<?= $baseurl ?>/theme/bulma/js/paste.js"></script>
|
<script src="/theme/bulma/js/paste.js"></script>
|
||||||
<?php if (empty($script_bundles)): ?>
|
<?php if (empty($script_bundles)): ?>
|
||||||
<?= javascriptIncludeTag('generic') ?>
|
<?= javascriptIncludeTag('generic') ?>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
|
|
|
@ -120,7 +120,7 @@
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<p style="float:left;">By signing up you agree to our <a href="page/privacy">Privacy
|
<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
|
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>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<?php // Forgot password
|
<?php // Forgot password
|
||||||
|
|
|
@ -148,15 +148,15 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
<tfoot>
|
<tfoot>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="td-center">Title</th>
|
<th class="td-right">Title</th>
|
||||||
<th class="td-center">Paste Time</th>
|
<th class="td-center">Paste Time</th>
|
||||||
<?php if ($is_current_user) {
|
<?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">Views</th>
|
||||||
<th class="td-center">Tags</th>
|
<th class="td-center">Tags</th>
|
||||||
<?php if ($is_current_user) {
|
<?php if ($is_current_user) {
|
||||||
echo "<td class='td-center'>Delete</td>";
|
echo "<th class='td-center'>Delete</th>";
|
||||||
} ?>
|
} ?>
|
||||||
</tr>
|
</tr>
|
||||||
</tfoot>
|
</tfoot>
|
||||||
|
@ -204,10 +204,10 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
<tfoot>
|
<tfoot>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="td-right">Title</td>
|
<th class="td-right">Title</th>
|
||||||
<td class="td-center">Date Favourited</td>
|
<th class="td-center">Date Favourited</th>
|
||||||
<td class="td-center">Status</td>
|
<th class="td-center">Status</th>
|
||||||
<td class="td-center">Tags</td>
|
<th class="td-center">Tags</th>
|
||||||
</tr>
|
</tr>
|
||||||
</tfoot>
|
</tfoot>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
|
@ -165,7 +165,7 @@ $selectedloader = "$bg[$i]"; // set variable equal to which random filename was
|
||||||
title="Full Screen"></i></a>
|
title="Full Screen"></i></a>
|
||||||
<div class="panel-embed my-5 is-hidden">
|
<div class="panel-embed my-5 is-hidden">
|
||||||
<input type="text" class="input has-background-white-ter has-text-grey"
|
<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) {
|
if (PP_MOD_REWRITE) {
|
||||||
echo 'embed/';
|
echo 'embed/';
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue