Check-in [eb0b525374]
Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Introduce project /names browsing. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
eb0b525374a400aa9c8ca7401d1a2908 |
User & Date: | mario 2014-08-11 16:11:16 |
Context
2014-08-11
| ||
16:12 | Split Browser Projects by Tag into /names and /tags links. check-in: 7b214ee870 user: mario tags: trunk | |
16:11 | Introduce project /names browsing. check-in: eb0b525374 user: mario tags: trunk | |
16:10 | Filtering also sourceforge project links (recurring changesto same project dump). check-in: eb78d13112 user: mario tags: trunk | |
Changes
Changes to freshcode.css.
1 2 3 4 5 | /** * api: css * type: stylesheet * title: freshcode.club layout+style * description: Simulates the late freecode.com layout and looks; well mostly. | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 | /** * api: css * type: stylesheet * title: freshcode.club layout+style * description: Simulates the late freecode.com layout and looks; well mostly. * version: 0.6.5 * * Centered two-pane layout. The #main section is usually 33% of the screen width, * while the #sidebar floats at the right. They're repositioned only using padding: * to the outer html,body{}. * */ |
︙ | ︙ | |||
592 593 594 595 596 597 598 599 600 601 602 603 604 605 | /** * Specific pages * */ table.rc { width: 100%; margin-top: 5pt; } .rc th { background: #ddd; font-weight: 500; | > > > > > > > > > > > > > > > > > > > > > | 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 | /** * Specific pages * */ /* /names */ .project-name-columns { column-count: 6; column-gap: 20pt; column-break-inside: avoid; } .project-name-columns a { display: inline-block; margin: 11pt; white-space: nowrap; color: #337; font-weight: 700; text-align: center; } .project-name-columns a img { display: block; box-shadow: 1px 1px 2px 1px #eee; } /* RecentChanges */ table.rc { width: 100%; margin-top: 5pt; } .rc th { background: #ddd; font-weight: 500; |
︙ | ︙ |
Added page_names.php.
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | <?php /** * type: page * title: Browse Projects by Name * description: Alphabetical project lists * version: 0.1 * * Needs some styling, too early for splitting up letter ranges. * */ include("template/header.php"); ?><section id=main><article class=project-name-columns><?php // Letter slicing (AZ or 09) $letters = $_GET->name->lengthβ¦2->strtolower->default("name", "ae"); $letters = range($letters[0], $letters[1]); // Fetch project names from letter group $names = db(" SELECT DISTINCT name FROM release WHERE substr(name, 1, 1) IN (??) ORDER BY name ", $letters); // Show foreach ($names as $id) { print "<a href=/projects/$id[name]><img src='img/screenshot/$id[name].jpeg' width=100 height=75 align=top> $id[name]</a> <br> "; } ?> </article> <aside class=pagination-links> <a href="names/AE">A-E</a> <a href="names/FH">F-H</a> <a href="names/IN">I-N</a> <a href="names/OT">O-T</a> <a href="names/UZ">U-Z</a> <a href="names/09">0-9</a> </aside> <?php include("template/bottom.php"); ?> |