WEB 終了画面 HTML

最終更新: 2025-11-28
0001.00 <!DOCTYPE html>                                                                    
0002.00 % import ibm_db2                                                                         
0003.00 <html lang="ja">                                                                   
0004.00   <head>                                                                           
0005.00     <meta charset="utf-8">                                                         
0006.00           <meta http-equiv="Content-Language" content="ja">                        
0007.00           <meta http-equiv="Content-Type" content="text/html; charset=utf-8">      
0008.00           <meta http-equiv="Pragma" content="no-cache">                            
0009.00           <meta http-equiv="cache-control" content="no-cache">                     
0010.00           <meta http-equiv="Expires" content="-1">                                 
0011.00           <meta http-equiv="X-UA-Compatible" content="IE=edge"/>                   
0012.00           <meta name="viewport" content="width=device-width, initial-scale=1.0"/>  
0013.00     <title> 終了 </title>                                                    
0014.00     <style>                                                                        
0015.00       html {                                                                             
0016.00         font-family: "BIZ UPDGothic", Meiryo, sans-serif;                                
0017.00         accent-color: rgb(26, 115, 232);                                                 
0018.00         color: #555;                                                                     
0019.00       }                                                                                  
0020.00       body {                                                                             
0021.00         padding: 1em 4em;                                                                
0022.00         width: 25em;                                                                     
0023.00         position: absolute;                                                              
0024.00         left: 0;                    
0025.00         right: 0;                   
0026.00         margin: auto;               
0027.00       }                             
0028.00       input {                       
0029.00         font-family: inherit;       
0030.00         font-size: inherit;         
0031.00         color: inherit;             
0032.00       }                             
0033.00       input:read-only {             
0034.00         border-color: transparent;  
0035.00       }                             
0036.00       h1 {                          
0037.00         font-size: 2.4em;           
0038.00         font-weight: normal;        
0039.00         color: #8888ff;             
0040.00         padding-left: 2em;          
0041.00       }                             
0042.00       h3 {                          
0043.00         font-weight: normal;        
0044.00       }                             
0045.00       fieldset {                    
0046.00         border: 0;                  
0047.00         margin: 1em 0;              
0048.00         padding: 0;                  
0049.00       }                              
0050.00       label {                        
0051.00         display: flex;               
0052.00         align-items: baseline;       
0053.00         gap: 0 0.7em;                
0054.00       }                              
0055.00       .name {                        
0056.00         flex: none;                  
0057.00         width: 8em;                  
0058.00       }                              
0059.00       button {                       
0060.00         margin-left: 6em;            
0061.00       }                              
0062.00       button > img {              
0063.00         width: 1.2em;                
0064.00         height: 1.2em;               
0065.00         object-fit: contain;         
0066.00         vertical-align: text-bottom; 
0067.00         margin-right: 0.3em;         
0068.00       }                              
0069.00       .results > table {          
0070.00         margin-left: 2em;            
0071.00       }                              
0072.00     </style>                                              
0073.00   </head>                                                 
0074.00   <body>                                                  
0075.00     <form action="/query" method="get">                   
0076.00       <header>                                            
0077.00         <h1> 終了 </h1>                             
0078.00       </header>                                           
0079.00       <main>                                              
0080.00 %if dspmod != 'DSPPTN':                                         
0081.00         <div class="results">                             
0082.00           <h3>  処理されたレコード数  </h3>         
0083.00           <table>                                         
0084.00             <tr>                                          
0085.00               <td>  追加  . . . . . .  :   </td>   
0086.00               <td>{{add_count}}  件  </td>          
0087.00             </tr>                                         
0088.00             <tr>                                          
0089.00               <td>  変更  . . . . . .  :   </td>   
0090.00               <td>{{chg_count}}  件  </td>          
0091.00             </tr>                                         
0092.00             <tr>                                          
0093.00               <td>  削除  . . . . . .  : </td>      
0094.00               <td>{{dlt_count}}  件  </td>          
0095.00             </tr>                                         
0096.00           </table>                                                                                                 
0097.00         </div>                                                                                                     
0098.00 %end                                                                                                                     
0099.00         <div class="content">                                                                                      
0100.00           <fieldset class="cols db-keys">                                                                          
0101.00             <legend> データ入力を終了しますか? </legend>                                                    
0102.00             <label><input type="radio" name="quit" value="*YES" checked>YES</label>                    
0103.00             <label><input type="radio" name="quit" value="*NO">NO</label>                              
0104.00           </fieldset>                                                                                              
0105.00           <div class="buttons">                                                                                    
0106.00             <button type="button" class="default" onclick="if(document.forms[0].quit.value === '*YES') top.location.hr
0107.00               <img src="/icon/RUN.SVG"> 実行 </button>                                                       
0108.00           </div>                                                                                                   
0109.00         </div>                                                                                                     
0110.00       </main>                                                                                                      
0111.00       <footer>                                                                                                     
0112.00       </footer>                                                                                                    
0113.00     </form>                                                                                                        
0114.00   </body>                                                                                                          
0115.00 </html>                                                                                                            

[解説]

ENDOPTは CHGPTN の実行で更新したレコード数をDFUと同じように
最後に表示するための画面です。
フィールドはAS400エンジンが使用しますので絶対に修正しないでください。