Skip to content

Commit 6bc231d

Browse files
Added object type headers to object views
1 parent 607417b commit 6bc231d

File tree

4 files changed

+19
-5
lines changed

4 files changed

+19
-5
lines changed

GuiStack/Pages/S3/Index.cshtml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* License, v. 2.0. If a copy of the MPL was not distributed with this
44
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
55
*
6-
* Copyright © Vincent Bengtsson & Contributors 2022
6+
* Copyright © Vincent Bengtsson & Contributors 2022-2024
77
* https://github.com/Visual-Vincent/GuiStack
88
*@
99

@@ -35,8 +35,9 @@
3535

3636
@if(hasBucketName)
3737
{
38+
<p class="gs-object-type">S3 Bucket</p>
3839
<div style="display: flex; align-items: center">
39-
<h1>@Model.Bucket</h1>
40+
<h1 style="margin-top: 0px">@Model.Bucket</h1>
4041
<div style="text-align: right; font-size: 1.5em; flex-grow: 1">
4142
<a no-href onclick="document.getElementById('s3-fileupload').click()" class="initial-white neon-green">
4243
<i class="fa-solid fa-arrow-up-from-bracket"></i>

GuiStack/Pages/SNS/Index.cshtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323

2424
@if(hasTopicArn)
2525
{
26-
<h1>@Model.Topic.Split(':').Last()</h1>
26+
<p class="gs-object-type">SNS Topic</p>
27+
<h1 class="gs-object-name">@Model.Topic.Split(':').Last()</h1>
2728
}
2829
else
2930
{

GuiStack/Pages/SQS/Index.cshtml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* License, v. 2.0. If a copy of the MPL was not distributed with this
44
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
55
*
6-
* Copyright © Vincent Bengtsson & Contributors 2022
6+
* Copyright © Vincent Bengtsson & Contributors 2022-2024
77
* https://github.com/Visual-Vincent/GuiStack
88
*@
99

@@ -22,7 +22,8 @@
2222

2323
@if(hasQueueName)
2424
{
25-
<h1>@Model.Queue</h1>
25+
<p class="gs-object-type">SQS Queue</p>
26+
<h1 class="gs-object-name">@Model.Queue</h1>
2627
}
2728
else
2829
{

GuiStack/wwwroot/css/site.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,17 @@ a.gs-button:active { background: #005577; }
240240
background: #4d5054;
241241
}
242242

243+
.gs-object-type
244+
{
245+
color: #999999;
246+
margin-bottom: 0px;
247+
}
248+
249+
.gs-object-type + .gs-object-name
250+
{
251+
margin-top: 0px;
252+
}
253+
243254
.gs-dashboard
244255
{
245256
display: grid;

0 commit comments

Comments
 (0)