|
1 | | -<!DOCTYPE html> |
2 | | -<html lang="en"> |
3 | | -<head> |
4 | | - <meta charset="UTF-8"> |
5 | | - <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
6 | | - <title>CncNet Test Map Upload</title> |
7 | | - {% load static %} |
8 | | - <link rel="stylesheet" type="text/css" href="{% static 'bc-assets/bc-main.css' %}"> |
9 | | - <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600&display=swap" rel="stylesheet"> |
10 | | - <link rel="icon" type="image/png" sizes="32x32" href="https://cncnet.org/favicon-32x32.png"> |
11 | | -</head> |
12 | | -<body> |
13 | | -<div id="flex-main"> |
14 | | -<div id="flex-container"> |
15 | | - <div id="header"> |
16 | | - <a class="navbar-brand" href="http://cncnet.org" title="CnCNet Home"> |
17 | | - <img src="https://cncnet.org/build/assets/logo-ad41e578.svg" alt="CnCNet logo" loading="lazy" class="logo-full"> |
18 | | - <span class="logo-tagline"> |
19 | | - Keeping C&C Alive Since 2009 |
20 | | - </span> |
21 | | - </a> |
22 | | - <h1>CnCNet 5 client upload test form</h1> |
23 | | - </div> |
24 | | - <div id="content"> |
25 | | - <p> |
26 | | - Select a <span class="inline-code"><span class="it"><sha1></span>.zip</span> from your file system. |
27 | | - It should contain the <span class="inline-code">.mpr</span> file for |
28 | | - Red Alert or <span class="inline-code">.ini</span> and |
29 | | - <span class="inline-code">.bin</span> for Tiberian Dawn. |
30 | | - </p> |
31 | | - <p> |
32 | | - The archive will then be extracted, validated and rebuilt for storage. |
33 | | - You will receive a <span class="inline-code">200 OK</span> status code if your |
34 | | - uploaded file was valid. |
35 | | - </p> |
| 1 | +{% extends "legacy_outer.html" %} |
| 2 | + |
| 3 | +{% block title %}CncNet Test Map Upload{% endblock %} |
| 4 | + |
| 5 | +{% block header_text %}CnCNet 5 client upload test form{% endblock %} |
| 6 | + |
| 7 | +{% block wrapped_content %} |
| 8 | +<div class="limit-w-1000"> |
| 9 | + <p> |
| 10 | + Select a <span class="inline-code"><span class="it"><sha1></span>.zip</span> from your file system. |
| 11 | + It should contain the <span class="inline-code">.mpr</span> file for |
| 12 | + Red Alert or <span class="inline-code">.ini</span> and |
| 13 | + <span class="inline-code">.bin</span> for Tiberian Dawn. |
| 14 | + </p> |
| 15 | + <p> |
| 16 | + The archive will then be extracted, validated and rebuilt for storage. |
| 17 | + You will receive a <span class="inline-code">200 OK</span> status code if your |
| 18 | + uploaded file was valid. |
| 19 | + </p> |
| 20 | + <div class="form-wrapper"> |
36 | 21 | <form action="/upload" method="post" enctype="multipart/form-data"> |
37 | | - <label hidden="hidden" for="game-slug">Game</label> |
38 | | - <select id="game-slug" name="game"> |
39 | | - <option value="td" selected="selected">Command & Conquer (Tiberian Dawn)</option> |
40 | | - <option value="ra" selected="selected">Red Alert 1</option> |
41 | | - <option value="d2" selected="selected">Dune 2000</option> |
42 | | - <option value="ts" selected="selected">Tiberian Sun</option> |
43 | | - <option value="yr" selected="selected">Yuri's Revenge</option> |
44 | | - </select> |
45 | | - <label hidden="hidden" for="map-file-input">Map zip file</label> |
46 | | - <input id="map-file-input" type="file" name="file" accept="application/zip"> |
47 | | - <button type="submit">Upload</button> |
| 22 | + <div> |
| 23 | + <div> |
| 24 | + <label hidden="hidden" for="game-slug">Game</label> |
| 25 | + <select id="game-slug" name="game"> |
| 26 | + <option value="td" selected="selected">Command & Conquer (Tiberian Dawn)</option> |
| 27 | + <option value="ra" selected="selected">Red Alert 1</option> |
| 28 | + <option value="d2" selected="selected">Dune 2000</option> |
| 29 | + <option value="ts" selected="selected">Tiberian Sun</option> |
| 30 | + <option value="yr" selected="selected">Yuri's Revenge</option> |
| 31 | + </select> |
| 32 | + </div> |
| 33 | + </div> |
| 34 | + <div> |
| 35 | + <div> |
| 36 | + <label hidden="hidden" for="map-file-input">Map zip file</label> |
| 37 | + <input id="map-file-input" type="file" name="file" accept="application/zip"> |
| 38 | + </div> |
| 39 | + </div> |
| 40 | + <div> |
| 41 | + <button class="btn full-width-flex-row" type="submit">Upload</button> |
| 42 | + </div> |
48 | 43 | </form> |
49 | | - <p>The CnCNet client will function <strong>exactly</strong> like this form.</p> |
50 | | - </div> |
51 | | - <div id="footer"> |
52 | | - <a href="https://www.digitalocean.com/?refcode=337544e2ec7b&utm_campaign=Referral_Invite&utm_medium=opensource&utm_source=CnCNet" title="Powered by Digital Ocean" target="_blank"> |
53 | | - <img src="https://opensource.nyc3.cdn.digitaloceanspaces.com/attribution/assets/PoweredByDO/DO_Powered_by_Badge_blue.svg" width="201px" alt="Powered By Digital Ocean"> |
54 | | - </a> |
55 | 44 | </div> |
| 45 | + <p>The CnCNet client will function <strong>exactly</strong> like this form.</p> |
56 | 46 | </div> |
57 | | -</div> |
58 | | -</body> |
59 | | -</html> |
| 47 | +{% endblock %} |
0 commit comments