Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /swf-remote/src/templates/landing.html was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 {% comment %}
0002 Shown to anonymous visitors in place of the proxied hub. Deliberately
0003 self-contained — no base.html, no {% templatetag openblock %} static
0004 {% templatetag closeblock %}, no CDN — because every asset this page
0005 referenced would be another request, and the whole reason it exists is to
0006 answer an anonymous visitor without touching the tunnel to BNL.
0007 {% endcomment %}<!DOCTYPE html>
0008 <html lang="en">
0009 <head>
0010 <meta charset="utf-8">
0011 <meta name="viewport" content="width=device-width, initial-scale=1">
0012 <title>ePIC Production Monitor</title>
0013 <style>
0014   body { margin: 0; background: #1b1f24; color: #e9ecef;
0015          font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
0016          display: flex; align-items: center; justify-content: center; min-height: 100vh; }
0017   .card { width: 100%; max-width: 30rem; padding: 2rem; }
0018   h1 { font-size: 1.6rem; margin: 0 0 .75rem; color: #fff; }
0019   p { font-size: 1.05rem; line-height: 1.55; color: #ced4da; margin: 0 0 1.5rem; }
0020   .gh { display: flex; align-items: center; justify-content: center; gap: .6rem;
0021         width: 100%; padding: .75rem; font-size: 1.05rem; cursor: pointer;
0022         background: #24292f; color: #fff; border: 1px solid #57606a; border-radius: 6px; }
0023   .gh:hover { background: #32383f; }
0024   .alt { margin-top: 1.25rem; font-size: .95rem; color: #adb5bd; }
0025   .alt a { color: #7cb7ff; }
0026 </style>
0027 </head>
0028 <body>
0029   <div class="card">
0030     <h1>ePIC Production Monitor</h1>
0031     <p>PanDA production and physics configuration monitoring for the ePIC
0032        experiment. Sign in to view it.</p>
0033     <form method="post" action="{% url 'github_login' %}">
0034       {% csrf_token %}
0035       <input type="hidden" name="process" value="login">
0036       <button type="submit" class="gh">
0037         <svg height="20" width="20" viewBox="0 0 16 16" fill="#fff" aria-hidden="true">
0038           <path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38
0039                    0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01
0040                    1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95
0041                    0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27
0042                    2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82
0043                    2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0
0044                    .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path>
0045         </svg>
0046         Sign in with GitHub
0047       </button>
0048     </form>
0049     <div class="alt">Have a local account? <a href="{% url 'login' %}">Sign in with a username</a>.</div>
0050     <div class="alt">Using an AI assistant? <a href="{% url 'monitor_app:mcp' %}">MCP endpoint setup</a>.</div>
0051   </div>
0052 </body>
0053 </html>