|
20 | 20 | }
|
21 | 21 | .test-articles-list span {
|
22 | 22 | display: inline-block;
|
23 |
| - width: 8em; |
24 | 23 | line-height: 2em;
|
| 24 | + margin-right: 2em; |
25 | 25 | }
|
26 |
| - .test-article-header span { |
27 |
| - font-weight: bold; |
28 |
| - } |
29 |
| - .test-article > span:nth-child(1), |
30 |
| - .test-article-header > span:nth-child(1) { |
| 26 | + .test-article > span:nth-child(1) { |
31 | 27 | width: 14em !important;
|
32 | 28 | }
|
33 | 29 | </style>
|
34 | 30 | </head>
|
35 | 31 | <body>
|
36 |
| - <h2>Default Endpoints</h2> |
37 |
| - |
38 |
| - <form name="url-form"> |
39 |
| - <input |
40 |
| - type="url" |
41 |
| - name="url-input" |
42 |
| - size="100" |
43 |
| - required |
44 |
| - placeholder="https://www.theguardian.com/money/2017/mar/10/ministers-to-criminalise-use-of-ticket-tout-harvesting-software" |
45 |
| - /> |
46 |
| - <input type="submit" value="Add" /> |
47 |
| - </form> |
| 32 | + <h2>Pages</h2> |
48 | 33 |
|
49 | 34 | <ul id="default-endpoints">
|
50 | 35 | <li>
|
51 | 36 | <a
|
52 |
| - href="/Article/https://www.theguardian.com/money/2017/mar/10/ministers-to-criminalise-use-of-ticket-tout-harvesting-software" |
| 37 | + href="/Article/https://www.theguardian.com/travel/2024/apr/03/walking-londons-unsung-river-nature-culture-and-moments-of-wonder-along-the-river-lea" |
53 | 38 | >Article</a
|
54 | 39 | >
|
55 | 40 | </li>
|
56 | 41 | <li>
|
57 | 42 | <a
|
58 |
| - href="/AppsArticle/https://www.theguardian.com/money/2017/mar/10/ministers-to-criminalise-use-of-ticket-tout-harvesting-software" |
| 43 | + href="/AppsArticle/https://www.theguardian.com/travel/2024/apr/03/walking-londons-unsung-river-nature-culture-and-moments-of-wonder-along-the-river-lea" |
59 | 44 | >Apps Article</a
|
60 | 45 | >
|
61 | 46 | </li>
|
@@ -85,11 +70,22 @@ <h2>Default Endpoints</h2>
|
85 | 70 | <li>
|
86 | 71 | <a
|
87 | 72 | href="/EmailNewsletters/https://api.nextgen.guardianapps.co.uk/email-newsletters"
|
88 |
| - >Email Newsletters page</a |
| 73 | + >Email Newsletters</a |
89 | 74 | >
|
90 | 75 | </li>
|
91 | 76 | </ul>
|
92 | 77 |
|
| 78 | + <form name="url-form"> |
| 79 | + <input |
| 80 | + type="url" |
| 81 | + name="url-input" |
| 82 | + size="100" |
| 83 | + required |
| 84 | + placeholder="https://www.theguardian.com/money/2017/mar/10/ministers-to-criminalise-use-of-ticket-tout-harvesting-software" |
| 85 | + /> |
| 86 | + <input type="submit" value="Add" /> |
| 87 | + </form> |
| 88 | + |
93 | 89 | <section>
|
94 | 90 | <h2>Article Examples</h2>
|
95 | 91 |
|
@@ -288,12 +284,9 @@ <h2>Article Examples</h2>
|
288 | 284 | <table>
|
289 | 285 | <thead>
|
290 | 286 | <tr>
|
291 |
| - <th rowspan="2">Headline</th> |
292 |
| - <th rowspan="2">Description</th> |
293 |
| - <th rowspan="2">Format</th> |
294 |
| - <th colspan="3">Links</th> |
295 |
| - </tr> |
296 |
| - <tr> |
| 287 | + <th>Headline</th> |
| 288 | + <th>Description</th> |
| 289 | + <th>Format</th> |
297 | 290 | <th>DEV</th>
|
298 | 291 | <th>CODE</th>
|
299 | 292 | <th>PROD</th>
|
@@ -379,23 +372,11 @@ <h2>Article Examples</h2>
|
379 | 372 |
|
380 | 373 | <h2>Test Articles By Element</h2>
|
381 | 374 |
|
382 |
| - <div id="test-articles-by-element" class="test-articles-list"> |
383 |
| - <div class="test-article-header"> |
384 |
| - <span>type</span> |
385 |
| - <span>local</span> |
386 |
| - <span>production</span> |
387 |
| - </div> |
388 |
| - </div> |
| 375 | + <div id="test-articles-by-element" class="test-articles-list"></div> |
389 | 376 |
|
390 | 377 | <h2>Test Articles By Atom Type</h2>
|
391 | 378 |
|
392 |
| - <div id="test-articles-by-atom-type" class="test-articles-list"> |
393 |
| - <div class="test-article-header"> |
394 |
| - <span>type</span> |
395 |
| - <span>local</span> |
396 |
| - <span>production</span> |
397 |
| - </div> |
398 |
| - </div> |
| 379 | + <div id="test-articles-by-atom-type" class="test-articles-list"></div> |
399 | 380 |
|
400 | 381 | <h2>Test Articles By Element (Missing)</h2>
|
401 | 382 | <ul>
|
@@ -707,8 +688,9 @@ <h2>Test Articles By Element (Missing)</h2>
|
707 | 688 | const makeTestArticle = (a) => `
|
708 | 689 | <div class="test-article">
|
709 | 690 | <span>${a.name}</span>
|
710 |
| - <span><a href="/Article/https://www.theguardian.com${a.article}">🔗</a> <a href="/Article/http://localhost:9000${a.article}">🔗(local FE)</a></span> |
711 |
| - <span><a href="https://www.theguardian.com${a.article}">example</a></span> |
| 691 | + <span><a href="/Article/https://www.theguardian.com${a.article}">local</a></span> |
| 692 | + <span><a href="/Article/http://localhost:9000${a.article}">local FE</a></span> |
| 693 | + <span><a href="https://www.theguardian.com${a.article}">prod</a></span> |
712 | 694 | </div>
|
713 | 695 | `;
|
714 | 696 |
|
|
0 commit comments