🎨 Move some hardcoded style to CSS
Signed-off-by: Luke Tainton <luke@tainton.uk>
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
<section class="jumbotron text-center">
|
||||
<div class="container-fluid">
|
||||
<h1><?php echo($request['title']); ?></h1>
|
||||
<p style="color: gray; font-style: italic;"><?php echo("#" . sprintf("%'.05d\n", $request["id"])); ?></p>
|
||||
<p class="ticketid"><?php echo("#" . sprintf("%'.05d\n", $request["id"])); ?></p>
|
||||
<p class="lead text-muted"><?php echo($request['description']); ?></p>
|
||||
<p>
|
||||
<?php if ($request['status'] != 'Closed') { ?>
|
||||
@@ -94,27 +94,27 @@
|
||||
<li class="list-group-item">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<span style="display: inline;"><b>Status:</b></span>
|
||||
<span style="display: inline; margin-left: 1%;"><?php echo($request['status']); ?></span>
|
||||
<span class="requestinfo"><b>Status:</b></span>
|
||||
<span class="requestinfo requestinfo-spaced"><?php echo($request['status']); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<span style="display: inline;"><b>Created by:</b></span>
|
||||
<span style="display: inline; margin-left: 1%;"><?php echo(get_user_name($db, $request['created_by'])); ?></span>
|
||||
<span class="requestinfo"><b>Created by:</b></span>
|
||||
<span class="requestinfo requestinfo-spaced"><?php echo(get_user_name($db, $request['created_by'])); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<span style="display: inline;"><b>Assigned to:</b></span>
|
||||
<span class="requestinfo"><b>Assigned to:</b></span>
|
||||
<?php if ($request['assignee'] != null) {
|
||||
echo("<span style='display: inline; margin-left: 1%;'>" . get_user_name($db, $request['assignee']) . "</span>");
|
||||
echo("<span class='requestinfo requestinfo-spaced'>" . get_user_name($db, $request['assignee']) . "</span>");
|
||||
} else {
|
||||
echo("<span class='text-muted' style='display: inline; margin-left: 1%;'>None</span>");
|
||||
echo("<span class='requestinfo requestinfo-spaced text-muted'>None</span>");
|
||||
} ?>
|
||||
</div>
|
||||
</div>
|
||||
@@ -122,16 +122,16 @@
|
||||
<li class="list-group-item">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<span style="display: inline;"><b>Created:</b></span>
|
||||
<span style="display: inline; margin-left: 1%;"><?php echo($request['created_on']); ?></span>
|
||||
<span class="requestinfo"><b>Created:</b></span>
|
||||
<span class="requestinfo requestinfo-spaced"><?php echo($request['created_on']); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<span style="display: inline;"><b>Last updated:</b></span>
|
||||
<span style="display: inline; margin-left: 1%;"><?php echo($request['last_updated']); ?></span>
|
||||
<span class="requestinfo"><b>Last updated:</b></span>
|
||||
<span class="requestinfo requestinfo-spaced"><?php echo($request['last_updated']); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
@@ -152,7 +152,8 @@
|
||||
<li class="list-group-item">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<span style="display: inline;"><b><?php echo(get_user_name($db, $file['user'])); ?></b></span><span class="text-muted"><i> <?php echo(" " . $file['created']); ?></i></span>
|
||||
<span class="requestinfo"><b><?php echo(get_user_name($db, $file['user'])); ?></b></span>
|
||||
<span class="requestinfo requestinfo-spaced text-muted"><i> <?php echo(" " . $file['created']); ?></i></span>
|
||||
</div>
|
||||
<div class="row">
|
||||
<a target="_blank" href="<?php echo('/actions/download?file=' . $file['id']); ?>"><span><?php echo($file['filename']); ?></span></a>
|
||||
@@ -177,10 +178,11 @@
|
||||
<li class="list-group-item">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<span style="display: inline;"><b><?php echo(get_user_name($db, $update['user'])); ?></b></span><span class="text-muted"><i> <?php echo(" " . $update['created']); ?></i></span>
|
||||
<span class="requestinfo"><b><?php echo(get_user_name($db, $update['user'])); ?></b></span>
|
||||
<span class="requestinfo requestinfo-spaced text-muted"><i> <?php echo(" " . $update['created']); ?></i></span>
|
||||
</div>
|
||||
<div class="row">
|
||||
<span><?php echo($update['msg']); ?></span>
|
||||
<span><?php echo(filter_var($update['msg'], FILTER_SANITIZE_STRING)); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user