Skip to content

Commit

Permalink
[GT-193] Update css properties for service group
Browse files Browse the repository at this point in the history
  • Loading branch information
Sae126V committed Sep 15, 2023
1 parent 0410083 commit 21c5d58
Showing 1 changed file with 31 additions and 12 deletions.
43 changes: 31 additions & 12 deletions htdocs/web_portal/views/service_group/view_sgroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,48 @@

<script type="text/javascript" src="<?php echo \GocContextPath::getPath()?>javascript/confirm.js"></script>
<div class="rightPageContainer">
<div style="float: left;">
<img src="<?php echo \GocContextPath::getPath()?>img/virtualSite.png" class="pageLogo" />
</div>
<div style="float: left;">
<h1 style="float: left; margin-left: 0em;">
Service Group: <?php xecho($params['sGroup']->getName())?>
</h1>
<span style="clear: both; float: left; padding-bottom: 0.4em;"><?php xecho($params['sGroup']->getDescription())?></span>
</div>
<div style="display: flex; justify-content: space-between; gap:10%">
<div style="display:flex; flex-direction: row;">
<div>
<img
src="<?php
echo \GocContextPath::getPath();
?>img/virtualSite.png"
class="pageLogo" />
</div>

<div style="flex-direction: column; word-break: break-word;">
<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']): ?>
<?php if($params['ShowEdit']):?>
<div style="float: right;">
<div style="float: right; margin-left: 2em;">
<div
style="display: flex;
flex-direction: row;
justify-content: flex-end;
align-items: flex-start;
gap: 35%;"
>
<div>
<a href="index.php?Page_Type=Edit_Service_Group&amp;id=<?php echo $params['sGroup']->getId()?>">
<img src="<?php echo \GocContextPath::getPath()?>img/pencil.png" class="pencil" />
<br />
<br />
<span>Edit</span>
</a>
</div>
<div style="float: right;">

<div>
<script type="text/javascript" src="<?php echo \GocContextPath::getPath()?>javascript/confirm.js"></script>
<a onclick="return confirmSubmit()"
href="index.php?Page_Type=Delete_Service_Group&id=<?php echo $params['sGroup']->getId()?>">
Expand All @@ -43,6 +61,7 @@
</div>
<?php endif; ?>
<?php endif; ?>
</div>

<!-- Virtual Service Group Properties container div -->
<div style="float: left; width: 100%; margin-top: 2em;">
Expand Down

0 comments on commit 21c5d58

Please sign in to comment.