Download code/10068/10068_1.html from GD-ML/AndroidCode: direct link, hf CLI and curl.
- Browser
- Download file 14.2 kB
-
https://huggingface.co/datasets/GD-ML/AndroidCode/resolve/eb3dbc8433c41d09631638c8caeebc6063450840/code/10068/10068_1.html
- Command line
-
hf download hf://datasets/GD-ML/AndroidCode@eb3dbc8433c41d09631638c8caeebc6063450840/code/10068/10068_1.html
-
curl -L -o 10068_1.html https://huggingface.co/datasets/GD-ML/AndroidCode/resolve/eb3dbc8433c41d09631638c8caeebc6063450840/code/10068/10068_1.html
14.2 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Directions UI Mock</title> | |
| <meta name="viewport" content="width=1080, initial-scale=1.0"> | |
| <style> | |
| body { margin: 0; padding: 0; background: transparent; } | |
| #render-target { | |
| position: relative; | |
| width: 1080px; | |
| height: 2400px; | |
| overflow: hidden; | |
| background: #ffffff; | |
| font-family: Arial, Helvetica, sans-serif; | |
| color: #222; | |
| } | |
| /* Status bar */ | |
| .status-bar { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 1080px; | |
| height: 96px; | |
| display: flex; | |
| align-items: center; | |
| padding: 0 30px; | |
| box-sizing: border-box; | |
| color: #5f6368; | |
| font-size: 32px; | |
| } | |
| .status-bar .right { | |
| margin-left: auto; | |
| display: flex; | |
| align-items: center; | |
| gap: 24px; | |
| } | |
| .status-icon { | |
| width: 32px; height: 32px; | |
| } | |
| /* Search / input area */ | |
| .top-area { | |
| position: absolute; | |
| top: 96px; | |
| left: 0; | |
| width: 1080px; | |
| padding: 24px 36px 18px 36px; | |
| box-sizing: border-box; | |
| background: #fff; | |
| } | |
| .back-row { | |
| display: flex; | |
| align-items: center; | |
| gap: 24px; | |
| } | |
| .circle-btn { | |
| width: 72px; height: 72px; | |
| border-radius: 50%; | |
| background: #F1F3F4; | |
| display: flex; justify-content: center; align-items: center; | |
| } | |
| .input-stack { | |
| margin-top: 18px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 18px; | |
| width: 100%; | |
| } | |
| .pill-input { | |
| position: relative; | |
| height: 110px; | |
| border: 1px solid #DADCE0; | |
| border-radius: 22px; | |
| background: #fff; | |
| display: flex; | |
| align-items: center; | |
| padding: 0 24px 0 24px; | |
| box-sizing: border-box; | |
| } | |
| .pill-input .icon-left { | |
| width: 48px; height: 48px; margin-right: 20px; | |
| display: flex; align-items: center; justify-content: center; | |
| } | |
| .pill-input .input-text { | |
| font-size: 40px; color: #1a73e8; | |
| } | |
| .pill-input .input-text.gray { color: #3c4043; } | |
| .pill-input .right-actions { | |
| margin-left: auto; | |
| display: flex; align-items: center; gap: 26px; | |
| } | |
| /* Transport chips */ | |
| .modes { | |
| margin-top: 22px; | |
| display: flex; | |
| align-items: center; | |
| gap: 44px; | |
| font-size: 34px; | |
| color: #3c4043; | |
| } | |
| .mode { | |
| display: flex; align-items: center; gap: 12px; | |
| } | |
| .mode .svg { width: 44px; height: 44px; } | |
| .chip-blue { | |
| padding: 18px 26px; | |
| border-radius: 28px; | |
| background: #E8F0FE; | |
| color: #1A73E8; | |
| font-weight: bold; | |
| } | |
| /* Map placeholder */ | |
| .map { | |
| position: absolute; | |
| top: 360px; | |
| left: 0; | |
| width: 1080px; | |
| height: 1380px; | |
| background: #E0E0E0; | |
| border-top: 1px solid #BDBDBD; | |
| border-bottom: 1px solid #BDBDBD; | |
| box-sizing: border-box; | |
| } | |
| .map .label { | |
| position: absolute; top: 20px; left: 20px; | |
| color: #757575; font-size: 28px; | |
| } | |
| /* Route dots */ | |
| .route { | |
| position: absolute; | |
| left: 520px; | |
| top: 120px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 24px; | |
| } | |
| .dot { | |
| width: 22px; height: 22px; border-radius: 50%; | |
| background: #1A73E8; box-shadow: 0 0 0 6px rgba(26,115,232,0.15); | |
| } | |
| .dot.gray { background: #bdbdbd; box-shadow: 0 0 0 6px rgba(0,0,0,0.08); } | |
| /* Red pin near top */ | |
| .red-pin { | |
| position: absolute; | |
| top: 190px; | |
| left: 580px; | |
| width: 44px; height: 60px; | |
| } | |
| /* Overlay chips on map */ | |
| .chip { | |
| position: absolute; | |
| background: #fff; | |
| color: #3c4043; | |
| border-radius: 18px; | |
| box-shadow: 0 2px 6px rgba(0,0,0,0.2); | |
| padding: 18px 24px; | |
| font-size: 36px; | |
| } | |
| .chip.blue { | |
| background: #1A73E8; color: #fff; font-weight: bold; | |
| } | |
| /* Floating round buttons */ | |
| .fab { | |
| position: absolute; | |
| width: 120px; height: 120px; | |
| border-radius: 60px; | |
| background: #fff; | |
| box-shadow: 0 4px 12px rgba(0,0,0,0.25); | |
| display: flex; align-items: center; justify-content: center; | |
| } | |
| .fab.small { | |
| width: 100px; height: 100px; border-radius: 50px; | |
| } | |
| /* Street view thumbnail */ | |
| .thumb { | |
| position: absolute; | |
| left: 60px; | |
| bottom: 260px; | |
| width: 340px; height: 220px; | |
| background: #E0E0E0; border: 1px solid #BDBDBD; | |
| display: flex; align-items: center; justify-content: center; | |
| color: #757575; font-size: 26px; | |
| border-radius: 12px; | |
| overflow: hidden; | |
| } | |
| /* Bottom sheet */ | |
| .bottom-sheet { | |
| position: absolute; | |
| left: 0; | |
| bottom: 0; | |
| width: 1080px; | |
| height: 620px; | |
| background: #fff; | |
| border-top-left-radius: 28px; | |
| border-top-right-radius: 28px; | |
| box-shadow: 0 -6px 20px rgba(0,0,0,0.25); | |
| } | |
| .drag-handle { | |
| position: absolute; top: 16px; left: 50%; transform: translateX(-50%); | |
| width: 140px; height: 10px; border-radius: 5px; background: #E0E0E0; | |
| } | |
| .sheet-content { | |
| position: absolute; top: 54px; left: 36px; right: 36px; | |
| } | |
| .summary { | |
| font-size: 54px; font-weight: 600; color: #202124; | |
| } | |
| .alt { | |
| font-size: 36px; color: #5f6368; margin-left: 20px; | |
| } | |
| .via { | |
| margin-top: 14px; font-size: 36px; color: #5f6368; | |
| } | |
| .actions { | |
| margin-top: 40px; | |
| display: flex; gap: 26px; | |
| } | |
| .btn { | |
| padding: 24px 40px; border-radius: 28px; font-size: 40px; cursor: default; | |
| } | |
| .btn.primary { background: #1A73E8; color: #fff; } | |
| .btn.outline { border: 2px solid #1A73E8; color: #1A73E8; background: #fff; } | |
| /* Safe area bar mock */ | |
| .home-indicator { | |
| position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); | |
| width: 360px; height: 8px; border-radius: 4px; background: #cfcfcf; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div id="render-target"> | |
| <!-- Status bar --> | |
| <div class="status-bar"> | |
| <div>9:42</div> | |
| <div class="right"> | |
| <svg class="status-icon" viewBox="0 0 24 24"> | |
| <rect x="2" y="10" width="4" height="4" fill="#757575"></rect> | |
| <rect x="8" y="8" width="4" height="8" fill="#757575"></rect> | |
| <rect x="14" y="6" width="4" height="12" fill="#757575"></rect> | |
| </svg> | |
| <div>82°</div> | |
| <svg class="status-icon" viewBox="0 0 24 24"> | |
| <circle cx="12" cy="12" r="4" fill="#757575"></circle> | |
| </svg> | |
| <svg class="status-icon" viewBox="0 0 24 24"> | |
| <path d="M12 2l3 5H9l3-5zm0 20l3-5H9l3 5z" fill="#757575"></path> | |
| </svg> | |
| <svg class="status-icon" viewBox="0 0 24 24"> | |
| <path d="M4 6h16v12H4z" stroke="#757575" stroke-width="2" fill="none"></path> | |
| <rect x="18" y="9" width="2" height="6" fill="#757575"></rect> | |
| </svg> | |
| </div> | |
| </div> | |
| <!-- Top inputs --> | |
| <div class="top-area"> | |
| <div class="back-row"> | |
| <div class="circle-btn"> | |
| <svg width="40" height="40" viewBox="0 0 24 24"> | |
| <path d="M15 18l-6-6 6-6" stroke="#3c4043" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"></path> | |
| </svg> | |
| </div> | |
| <div style="width: 880px;"></div> | |
| </div> | |
| <div class="input-stack"> | |
| <div class="pill-input"> | |
| <div class="icon-left"> | |
| <svg width="44" height="44" viewBox="0 0 24 24"> | |
| <circle cx="12" cy="12" r="8" fill="#1A73E8"></circle> | |
| </svg> | |
| </div> | |
| <div class="input-text">Your location</div> | |
| <div class="right-actions"> | |
| <svg width="32" height="32" viewBox="0 0 24 24"> | |
| <circle cx="12" cy="5" r="2" fill="#5f6368"></circle> | |
| <circle cx="12" cy="12" r="2" fill="#5f6368"></circle> | |
| <circle cx="12" cy="19" r="2" fill="#5f6368"></circle> | |
| </svg> | |
| </div> | |
| </div> | |
| <div class="pill-input"> | |
| <div class="icon-left"> | |
| <svg width="44" height="44" viewBox="0 0 24 24"> | |
| <path d="M12 2c3.3 0 6 2.7 6 6 0 4.5-6 12-6 12S6 12.5 6 8c0-3.3 2.7-6 6-6z" fill="#EA4335"></path> | |
| <circle cx="12" cy="8" r="2.5" fill="#fff"></circle> | |
| </svg> | |
| </div> | |
| <div class="input-text gray">Louvre Museum</div> | |
| <div class="right-actions"> | |
| <svg width="32" height="32" viewBox="0 0 24 24"> | |
| <path d="M7 7l10 10M17 7L7 17" stroke="#5f6368" stroke-width="2" stroke-linecap="round"></path> | |
| </svg> | |
| <svg width="32" height="32" viewBox="0 0 24 24"> | |
| <circle cx="12" cy="5" r="2" fill="#5f6368"></circle> | |
| <circle cx="12" cy="12" r="2" fill="#5f6368"></circle> | |
| <circle cx="12" cy="19" r="2" fill="#5f6368"></circle> | |
| </svg> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="modes"> | |
| <div class="mode"> | |
| <svg class="svg" viewBox="0 0 24 24"> | |
| <rect x="4" y="7" width="16" height="8" rx="2" fill="#5f6368"></rect> | |
| <circle cx="7" cy="17" r="2" fill="#5f6368"></circle> | |
| <circle cx="17" cy="17" r="2" fill="#5f6368"></circle> | |
| </svg> | |
| <span>1 hr 37</span> | |
| </div> | |
| <div class="mode"> | |
| <svg class="svg" viewBox="0 0 24 24"> | |
| <circle cx="7" cy="16" r="3" stroke="#5f6368" stroke-width="2" fill="none"></circle> | |
| <circle cx="17" cy="16" r="3" stroke="#5f6368" stroke-width="2" fill="none"></circle> | |
| <path d="M7 10h6l4 6" stroke="#5f6368" stroke-width="2" fill="none"></path> | |
| </svg> | |
| <span>—</span> | |
| </div> | |
| <div class="mode"> | |
| <svg class="svg" viewBox="0 0 24 24"> | |
| <rect x="5" y="6" width="14" height="10" rx="2" fill="#5f6368"></rect> | |
| <rect x="7" y="8" width="10" height="6" fill="#fff"></rect> | |
| </svg> | |
| <span>1 hr 55</span> | |
| </div> | |
| <div class="mode chip-blue"> | |
| <svg class="svg" viewBox="0 0 24 24"> | |
| <path d="M12 4a2 2 0 110 4 2 2 0 010-4zm-3 8l3 2 3-2 2 6h-3l-2-3-2 3H7l2-6z" fill="#1A73E8"></path> | |
| </svg> | |
| <span>1 day</span> | |
| </div> | |
| <div class="mode"> | |
| <svg class="svg" viewBox="0 0 24 24"> | |
| <circle cx="7" cy="17" r="3" stroke="#5f6368" stroke-width="2" fill="none"></circle> | |
| <circle cx="17" cy="17" r="3" stroke="#5f6368" stroke-width="2" fill="none"></circle> | |
| <path d="M5 10l6 2 5-2" stroke="#5f6368" stroke-width="2" fill="none"></path> | |
| </svg> | |
| <span>7 hr</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Map area --> | |
| <div class="map"> | |
| <div class="label">[IMG: Map of Paris region with walking route]</div> | |
| <!-- Red destination pin --> | |
| <svg class="red-pin" viewBox="0 0 24 24"> | |
| <path d="M12 2c3.8 0 7 3.2 7 7 0 5-7 13-7 13S5 14 5 9c0-3.8 3.2-7 7-7z" fill="#EA4335"></path> | |
| <circle cx="12" cy="9" r="3" fill="#fff"></circle> | |
| </svg> | |
| <!-- Dotted route --> | |
| <div class="route"> | |
| <!-- a mix of blue and gray dots to suggest the trail --> | |
| <div class="dot"></div><div class="dot"></div><div class="dot"></div> | |
| <div class="dot gray"></div><div class="dot gray"></div><div class="dot"></div> | |
| <div class="dot"></div><div class="dot"></div><div class="dot gray"></div> | |
| <div class="dot"></div><div class="dot"></div><div class="dot"></div> | |
| <div class="dot gray"></div><div class="dot"></div><div class="dot"></div> | |
| <div class="dot"></div><div class="dot gray"></div><div class="dot"></div> | |
| <div class="dot"></div><div class="dot"></div><div class="dot gray"></div> | |
| <div class="dot"></div><div class="dot"></div><div class="dot"></div> | |
| <div class="dot gray"></div><div class="dot"></div><div class="dot"></div> | |
| <div class="dot"></div> | |
| </div> | |
| <!-- Overlay chips --> | |
| <div class="chip" style="left: 120px; top: 320px;">🚶 1 d 4 hr</div> | |
| <div class="chip blue" style="left: 640px; top: 560px;">🚶 1 d 3 hr</div> | |
| <!-- Floating actions --> | |
| <div class="fab small" style="right: 40px; top: 80px;"> | |
| <svg width="48" height="48" viewBox="0 0 24 24"> | |
| <rect x="5" y="5" width="10" height="10" fill="#5f6368"></rect> | |
| <rect x="9" y="9" width="10" height="10" fill="#5f6368" opacity="0.65"></rect> | |
| </svg> | |
| </div> | |
| <div class="fab small" style="right: 40px; top: 360px;"> | |
| <svg width="48" height="48" viewBox="0 0 24 24"> | |
| <circle cx="10" cy="10" r="6" stroke="#5f6368" stroke-width="2" fill="none"></circle> | |
| <line x1="15" y1="15" x2="20" y2="20" stroke="#5f6368" stroke-width="2"></line> | |
| </svg> | |
| </div> | |
| <div class="fab" style="right: 40px; bottom: 460px;"> | |
| <svg width="64" height="64" viewBox="0 0 24 24"> | |
| <circle cx="12" cy="12" r="5" fill="#fbbc04"></circle> | |
| <path d="M12 2v3M12 19v3M2 12h3M19 12h3M4.8 4.8l2.1 2.1M17.1 17.1l2.1 2.1M4.8 19.2l2.1-2.1M19.2 4.8l-2.1 2.1" stroke="#fbbc04" stroke-width="1.5"></path> | |
| </svg> | |
| </div> | |
| <!-- Scale indicator (simple) --> | |
| <div style="position:absolute; right: 180px; bottom: 520px; color:#3c4043; font-size:28px;"> | |
| <div style="display:flex; align-items:center; gap:16px;"> | |
| <svg width="160" height="30" viewBox="0 0 160 30"> | |
| <line x1="0" y1="20" x2="70" y2="20" stroke="#3c4043" stroke-width="3"></line> | |
| <line x1="90" y1="20" x2="160" y2="20" stroke="#3c4043" stroke-width="3"></line> | |
| </svg> | |
| <span>10 mi</span><span style="margin-left:10px;">20 km</span> | |
| </div> | |
| </div> | |
| <!-- Street view thumbnail --> | |
| <div class="thumb">[IMG: Street View near destination]</div> | |
| </div> | |
| <!-- Bottom sheet --> | |
| <div class="bottom-sheet"> | |
| <div class="drag-handle"></div> | |
| <div class="sheet-content"> | |
| <div class="summary"> | |
| 1 d 3 hr (118 km) | |
| <span class="alt">↑ 390 m ↓ 472 m</span> | |
| </div> | |
| <div class="via">via D97</div> | |
| <div class="actions"> | |
| <div class="btn primary"> | |
| <svg width="44" height="44" viewBox="0 0 24 24" style="vertical-align:middle; margin-right:12px;"> | |
| <path d="M12 2l6 10H6l6-10zm0 20a2 2 0 100-4 2 2 0 000 4z" fill="#fff"></path> | |
| </svg> | |
| Start | |
| </div> | |
| <div class="btn outline"> | |
| <svg width="44" height="44" viewBox="0 0 24 24" style="vertical-align:middle; margin-right:12px;"> | |
| <path d="M5 6h14v2H5zm0 5h14v2H5zm0 5h14v2H5z" fill="#1A73E8"></path> | |
| </svg> | |
| Steps | |
| </div> | |
| </div> | |
| </div> | |
| <div class="home-indicator"></div> | |
| </div> | |
| </div> | |
| </body> | |
| </html> |