Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GT-193] Update css properties for service group #467

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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