Skip to content

Commit

Permalink
[GT-193] Update code to fix layout in serviceGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
Sae126V committed Aug 14, 2023
1 parent 3067ab2 commit 5297127
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions htdocs/web_portal/views/service_group/view_sgroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,29 @@

<script type="text/javascript" src="<?php echo \GocContextPath::getPath()?>javascript/confirm.js"></script>
<div class="rightPageContainer">
<div style="display: flex; justify-content: flex-start">
<img src="<?php echo \GocContextPath::getPath()?>img/virtualSite.png" class="pageLogo" />
</div>

<div
style="display: flex;
justify-content: space-between;"
>
<div style="flex-direction: column; word-break: break-word; width: 85%;">
<h1 style="margin-left: 0em;">
Service Group: <?php xecho($params['sGroup']->getName())?>
</h1>
<span style="clear: both; padding-bottom: 0.4em;">
<?php xecho($params['sGroup']->getDescription())?>
</span>
</div>
<div style="display:flex; flex-direction: row;">
<div>
<img src="<?= \GocContextPath::getPath()?>img/virtualSite.png"
class="pageLogo" />
</div>

<div
style="flex-direction: column;
word-break: break-word;
width: 75%;"
>
<h1 style="margin-left: 0em;">
Service Group: <?php xecho($params['sGroup']->getName())?>
</h1>
<span style="clear: both; padding-bottom: 0.4em;">
<?php xecho($params['sGroup']->getDescription())?>
</span>
</div>
</div>
<!-- Edit Virtual Site link -->
<!-- only show this link if we're in read / write mode -->
<?php if(!$params['portalIsReadOnly']): ?>
Expand All @@ -32,7 +38,7 @@
style="display: flex;
flex-direction: row;
justify-content: flex-end;
align-items: flex-end;
align-items: flex-start;
gap: 35%;"
>
<div>
Expand Down

0 comments on commit 5297127

Please sign in to comment.