Major pattern update
This commit is contained in:
		
							parent
							
								
									8e3529d031
								
							
						
					
					
						commit
						e2a0844a6c
					
				@ -1,5 +0,0 @@
 | 
				
			|||||||
import cherrypy
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
def token_check(redirect):
 | 
					 | 
				
			||||||
    if cherrypy.session.get("token") == None:
 | 
					 | 
				
			||||||
        raise cherrypy.HTTPRedirect(redirect)
 | 
					 | 
				
			||||||
@ -1,50 +0,0 @@
 | 
				
			|||||||
<table style="MARGIN:0px auto" border="0" cellspacing="0" cellpadding="0" width="100%" align="center">
 | 
					 | 
				
			||||||
  <tbody>
 | 
					 | 
				
			||||||
    <tr>
 | 
					 | 
				
			||||||
      <td style="PADDING-BOTTOM:40px;BACKGROUND-COLOR:#f0f0f0;PADDING-LEFT:20px;PADDING-RIGHT:20px;PADDING-TOP:30px">
 | 
					 | 
				
			||||||
        <table border="0" cellspacing="0" cellpadding="0" width="640" align="center">
 | 
					 | 
				
			||||||
          <tbody style="border-radius: 14px; filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.1)); ">
 | 
					 | 
				
			||||||
            <tr bgcolor="#ffffff">
 | 
					 | 
				
			||||||
              <td style="padding: 48px;">
 | 
					 | 
				
			||||||
                <div style="LINE-HEIGHT:1.47em; font-family: Open Sans, sans-serif !important; text-align:left ">
 | 
					 | 
				
			||||||
                  <div>
 | 
					 | 
				
			||||||
                    <div>
 | 
					 | 
				
			||||||
                      <table height="100 " width="100% ">
 | 
					 | 
				
			||||||
                        <tbody>
 | 
					 | 
				
			||||||
                          <tr>
 | 
					 | 
				
			||||||
                            <td width="65% " style="line-height:28.8px; font-family: Open Sans, sans-serif !important; color: #444444 ;font-size:14px; font-weight:normal;text-align:left ">
 | 
					 | 
				
			||||||
                              <b style="font-family: Poppins, sans-serif !important; font-size:20px; font-weight:600;">Verify Account</b>
 | 
					 | 
				
			||||||
                              <br> Thanks for signing up! This is the start of an exciting journey and you’re just one step away from completing your account setup to start using
 | 
					 | 
				
			||||||
                              your profile.
 | 
					 | 
				
			||||||
                              <br>
 | 
					 | 
				
			||||||
                              <br> Click the button below to verify your account and get started.
 | 
					 | 
				
			||||||
                            </td>
 | 
					 | 
				
			||||||
                          </tr>
 | 
					 | 
				
			||||||
                        </tbody>
 | 
					 | 
				
			||||||
                      </table>
 | 
					 | 
				
			||||||
                      <br>
 | 
					 | 
				
			||||||
                      <a href="${link}" style="cursor: pointer; border: unset; padding: 20px; font-size: 16px; color:white; background: #444444; font-weight: 600; ">
 | 
					 | 
				
			||||||
                        Verify email address
 | 
					 | 
				
			||||||
                      </a>
 | 
					 | 
				
			||||||
                      <br><br><br>
 | 
					 | 
				
			||||||
                      <div style="background: #eaeaea; padding: 30px 80px; text-align: center; ">
 | 
					 | 
				
			||||||
                        <div>
 | 
					 | 
				
			||||||
                          <div style="LINE-HEIGHT:21px; fontFamily: Open Sans; COLOR:#7e7e7e; FONT-SIZE:11px; ">
 | 
					 | 
				
			||||||
                            Need help?
 | 
					 | 
				
			||||||
                            <a style="COLOR:#2284C6;" href="mailto:info@example.com" target="_blank ">Contact our support team</a>
 | 
					 | 
				
			||||||
                            <br><br>
 | 
					 | 
				
			||||||
                            <div style="border-top: 1px solid #cacaca; padding:3px;padding-left:0px;color:#acacac;font-size:11px;"><br>Your Company | Kota Damansara, 47810 Petaling Jaya, Selangor, Malaysia</div>
 | 
					 | 
				
			||||||
                          </div>
 | 
					 | 
				
			||||||
                        </div>
 | 
					 | 
				
			||||||
                      </div>
 | 
					 | 
				
			||||||
                    </div>
 | 
					 | 
				
			||||||
                  </div>
 | 
					 | 
				
			||||||
                </div>
 | 
					 | 
				
			||||||
              </td>
 | 
					 | 
				
			||||||
            </tr>
 | 
					 | 
				
			||||||
          </tbody>
 | 
					 | 
				
			||||||
        </table>
 | 
					 | 
				
			||||||
      </td>
 | 
					 | 
				
			||||||
    </tr>
 | 
					 | 
				
			||||||
  </tbody>
 | 
					 | 
				
			||||||
</table>
 | 
					 | 
				
			||||||
@ -1,9 +0,0 @@
 | 
				
			|||||||
<div class="container-fluid my-3">
 | 
					 | 
				
			||||||
    <div class="row">
 | 
					 | 
				
			||||||
        <div class="col-lg-12">
 | 
					 | 
				
			||||||
            <h1>Welcome</h1>
 | 
					 | 
				
			||||||
            <h3>This is your first pages</h3>
 | 
					 | 
				
			||||||
            <p>${greeting}</p>
 | 
					 | 
				
			||||||
        </div>
 | 
					 | 
				
			||||||
    </div>
 | 
					 | 
				
			||||||
</div>
 | 
					 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user