This commit is contained in:
Greg Cox 2022-11-30 17:57:56 +00:00
Родитель 8d2364f008
Коммит 4686dac6ad
2 изменённых файлов: 69 добавлений и 36 удалений

Просмотреть файл

@ -22,15 +22,6 @@ body {
margin: 0;
}
h1 {
left: 10%;
height: 47px;
width: 0;
padding-left: 280px;
background: url(pto.png) no-repeat;
overflow: hidden;
}
h2 {
font: 18px "Lucida Grande", "Lucida Sans Unicode", sans-serif;
font-weight: bold;
@ -96,21 +87,6 @@ button#filter {
padding: 0.2em;
}
#menu {
position: absolute;
right: 3em;
top: 1em;
}
#menu li {
display: inline;
margin-left: 3em;
}
#menu li a {
color: #ACD1E3;
}
#views {
background-color: rgba(102, 204, 255, 0.5);
padding: 0.5em 0 0.5em 0;
@ -281,3 +257,54 @@ tr td:first-child label {
#mypto_table tr.highlight {
background-color: #EFEFEF;
}
.topnav {
width: 90%;
margin: 0 auto;
overflow: hidden;
}
.topnav-brand {
float: left;
background: url(pto.png) no-repeat;
height: 47px;
width: 280px;
}
.topnav-right {
float: right;
padding: 1em 3em;
}
.topnav-right a {
display: inline;
margin-left: 3em;
color: #ACD1E3;
}
.alert {
width: 90%;
height: 200px;
line-height: 50px;
margin: 1em auto;
border-radius: 0.5em;
background-color: #ff4f5e;
color: #ffffff;
font-weight: bold;
font-size: 1em;
#text-align: center;
white-space: wrap;
}
.alert p a {
background-color: #ffffff;
color: #959595;
padding: 0.3em;
margin: 0.3em;
border-radius: 0.5em;
}

Просмотреть файл

@ -14,22 +14,28 @@
</head>
<body>
<div id="page">
<header>
<h1>PTO Notification</h1>
<nav>
<ul id="menu">
<li><a href="./">Notify</a></li>
<li><a href="./mypto.php">My PTO</a></li>
<div class="alert">
<p>Starting January 1, 2023, we are switching over to use <a href="https://www.myworkday.com/vhr_mozilla/">Workday</a> as our time off tracking system.<br>For any time off taken in 2022, please continue to submit those requests into this system.<br>For future time off requests in 2023, please refrain from submitting those requests here and submit them into Workday on January 1 or after.<br>If you have questions, reach out to peopleops@mozilla.com</p>
</div>
<div class="topnav">
<div class="topnav-brand"></div>
<div class="topnav-right">
<a href="./">Notify</a>
<a href="./mypto.php">My PTO</a>
<?php
if (in_array($GLOBAL_AUTH_USERNAME, $export_users)) {
?><li><a href="./export.php">List</a></li>
<li><a href="./report.php">Report</a></li><?php
}
if (in_array($GLOBAL_AUTH_USERNAME, $export_users)) {
?><a href="./export.php">List</a>
<a href="./report.php">Report</a><?php
}
?>
</ul>
</nav>
</div>
</div>
</header>
<div id="page">
<section>