Fix layout errors in main templates and modernize login/registration screens

This commit is contained in:
sanjeok77
2026-06-23 09:22:40 +09:00
parent 8c87fba54c
commit b7ae8f291e
4 changed files with 216 additions and 243 deletions
+13 -4
View File
@@ -17,6 +17,9 @@ sub html{
# 헤더 & 압축 전송 유무
&content_type;
# $log2 커맨드 폼의 legacy 테이블/셀 태그를 정규식으로 제거하여 레이아웃 유연화
$log2 =~ s/<\/?(td|tr|table)[^>]*>//gi if defined $log2;
# 마우스 자동 조작 치트 격퇴 전투 시에 4/400 확률로 발동
my $no_mouse = ($no_mouse && $type eq '수행중') ? int(rand(400)) : 100 ;
@@ -55,7 +58,7 @@ EOM
print <<EOM;
</head>
<body>
<body class="modern-ui">
<div class="game-container">
<div class="card">
<div class="title-section">
@@ -162,9 +165,14 @@ EOM
if($layout_flag==1){
print <<EOM;
</tr>
</table>
<br><br>
<div class="game-layout">
<div class="card" style="grid-column: span 2;">
<div class="card-title">행동 / 결과</div>
<div class="moji1">
$log
</div>
</div>
</div>
EOM
}elsif(!$layout_flag){
require './inc/ore_sub-base-p1_pc.cgi';&layout_flag_0;
@@ -174,6 +182,7 @@ EOM
$disp<br>
<br>
$kakiko
</div>
EOM
}