浏览代码

Merge branch 'hotfix/maintenance-responsive' into develop

Alan Lam 7 年之前
父节点
当前提交
7a345ea502
共有 1 个文件被更改,包括 16 次插入 和 9 次删除
  1. 16 9
      views/maintenance_mode.php

+ 16 - 9
views/maintenance_mode.php

@@ -21,16 +21,23 @@
 
 
 	</head>
 	</head>
 	<body class="d-flex justify-content-center" style="padding: 0; height: 100vh;">
 	<body class="d-flex justify-content-center" style="padding: 0; height: 100vh;">
-		<div class="card align-self-center border rounded bg-light text-dark" style="width: 50%;">
-			<div class="card-body text-center">
-				<p><img src="/<?=htmlspecialchars(Core::getLogo())?>" alt="<?=htmlspecialchars(APP_NAME)?>"></p>
-				<h3><?=htmlspecialchars(__("Maintenance In Progress"))?></h3>
-				<p><?=htmlspecialchars(__("%s is currently undergoing maintenance.", APP_NAME))?></p>
-				<p>
-					<strong><?=htmlspecialchars(__("Maintenance is expected to finish on %s.", MAINTENANCE_END_DATE))?></strong>
-				</p>
-			</div>
 
 
+		<div class="container align-self-center">
+			<div class="row">
+				<div class="col-12 col-md-8 offset-md-2 col-lg-6 offset-lg-3">
+					<div class="card border rounded bg-light text-dark">
+						<div class="card-body text-center">
+							<p><img class="img-fluid" src="/<?=htmlspecialchars(Core::getLogo())?>" alt="<?=htmlspecialchars(APP_NAME)?>"></p>
+							<h3><?=htmlspecialchars(__("Maintenance In Progress"))?></h3>
+							<p><?=htmlspecialchars(__("%s is currently undergoing maintenance.", APP_NAME))?></p>
+							<p>
+								<strong><?=htmlspecialchars(__("Maintenance is expected to finish on %s.", MAINTENANCE_END_DATE))?></strong>
+							</p>
+						</div>
+					</div>
+				</div>
+			</div>
 		</div>
 		</div>
+
 	</body>
 	</body>
 </html>
 </html>