Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0fe2d3f8 authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

Merge branch 'dev/footer-patch' into 'main'

Footer issue : added two footer section for different resolution

See merge request !102
parents 407e4efa 7aa1727d
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ ARG ECLOUD_LAUNCHER_JOB_ID="318040"
ARG GOOGLE_INTEGRATION_VERSION="1.0.6"
ARG LDAP_WRITE_SUPPORT_VERSION="1.4.0"

RUN sed -i 's/22,2,8,1/22,2,8,16/' ${BASE_DIR}/version.php
RUN sed -i 's/22,2,8,1/22,2,8,17/' ${BASE_DIR}/version.php
COPY custom_entrypoint.sh /
RUN chmod +x /custom_entrypoint.sh
RUN mkdir -p /var/www/skeleton/Documents && mkdir -p /var/www/skeleton/Images
+11 −5
Original line number Diff line number Diff line
--- ./core/templates/layout.guest-new.php	2022-06-09 13:47:41.255340395 +0530
+++ ./core/templates/layout.guest.php	2022-06-14 18:42:40.637220247 +0530
+++ ./core/templates/layout.guest.php	2022-06-16 17:34:38.429775039 +0530
@@ -20,6 +20,7 @@
 		<link rel="mask-icon" sizes="any" href="<?php print_unescaped(image_path('', 'favicon-mask.svg')); ?>" color="<?php p($theme->getColorPrimary()); ?>">
 		<link rel="manifest" href="<?php print_unescaped(image_path('', 'manifest.json')); ?>">
@@ -14,7 +14,7 @@
 		<?php }?>
-		<div class="wrapper">
-			<div class="v-align">
+		<div class="pos-relative wrapper <?= (array_key_exists("alt_login",$_)) ? 'alt_login':'not_alt_login' ?>" > 
+		<div class="wrapper <?= (array_key_exists("alt_login",$_)) ? 'alt_login':'not_alt_login' ?>" > 
+			<?php if (array_key_exists("alt_login",$_)) { ?>
+				<div class="banner-right-align">
+					<div class="lines">
@@ -40,7 +40,7 @@
 				<?php if ($_['bodyid'] === 'body-login'): ?>
 					<header role="banner">
 						<div id="header">
@@ -42,18 +64,28 @@
@@ -42,18 +64,34 @@
 									<img src="<?php p($theme->getLogo()); ?>"/>
 								<?php endif; ?>
 							</div>
@@ -60,6 +60,11 @@
+					</div>
+					<?php } ?>
 				</main>
+				<footer role="contentinfo" class="<?= (!array_key_exists("alt_login",$_)) ? 'forgotpass-footer':'' ?>">
+					<p class="info">
+						<?php print_unescaped($theme->getLongFooter()); ?>
+					</p>
+				</footer>
 			</div>
+			<footer role="contentinfo" class="<?= (!array_key_exists("alt_login",$_)) ? 'forgotpass-footer':'' ?>">
+				<p class="info">
@@ -72,6 +77,7 @@
-				<?php print_unescaped($theme->getLongFooter()); ?>
-			</p>
-		</footer>
+		
 	</body>
 </html>
\ No newline at end of file