Check-in [5bda659526]
Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix spacing to header block. Correct nowrap issue for title/version/datetime in .project headers (Firefox). |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
5bda659526378b437af9677b1c0da6ae |
User & Date: | mario 2015-03-24 20:07:22 |
Context
2015-04-05
| ||
18:18 | Full sized preview image 160x120 check-in: 0ab86b164c user: mario tags: trunk | |
2015-03-24
| ||
20:07 | Fix spacing to header block. Correct nowrap issue for title/version/datetime in .project headers (Firefox). check-in: 5bda659526 user: mario tags: trunk | |
20:06 | Spread out project name letters further (ABC, DEF, GHIJ, KL, MN, OPQ, RS, TUV, WXYZ, 0-9) to match up with current distribution. check-in: 1c319c982b user: mario tags: trunk | |
Changes
Changes to freshcode.css.
︙ | ︙ | |||
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | } section#main.container-width { padding-left: 30pt; } #mainsplit, #mainsplit tr, #mainsplit td { border: 0; } /** * Page header, info bar and logo box * */ #topbar { background: #555599; padding: 3pt; color: #fff; } #topbar a { color: #fec; } #topbar a:hover { color: #fc7; } #logo { padding: 7pt; height: 95pt; border-bottom: 2.5pt solid #bbb; background: #dddedf; background: linear-gradient(to bottom, #e5e6e9 0%, #dddedf 100%); } #logo img { padding: 0px 10px; } #logo #stats { display: inline-block; font-size: 70%; | > > > > > | 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | } section#main.container-width { padding-left: 30pt; } #mainsplit, #mainsplit tr, #mainsplit td { border: 0; } #mainsplit { margin-top: 20pt; } /** * Page header, info bar and logo box * */ #topbar { background: #555599; padding: 3pt; color: #fff; white-space: nowrap; } #topbar a { color: #fec; } #topbar a:hover { color: #fc7; } #logo { padding: 7pt; height: 95pt; border-bottom: 2.5pt solid #bbb; background: #dddedf; background: linear-gradient(to bottom, #e5e6e9 0%, #dddedf 100%); white-space: nowrap; } #logo img { padding: 0px 10px; } #logo #stats { display: inline-block; font-size: 70%; |
︙ | ︙ | |||
152 153 154 155 156 157 158 159 160 161 162 163 164 165 | border-top: 1pt solid #ccc; border-radius: 5pt; background: #e5e7e9; background: linear-gradient(to bottom, #ffffff, #fdfefe, #f5f7f9, #eaecee, #e5e7e9, #e1e3e5, #d0d1d2); position: relative; top: -14pt; font-size: 95%; } .absolute { position: absolute; } #tools a { color: #777; margin: 0 1pt; | > | 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 | border-top: 1pt solid #ccc; border-radius: 5pt; background: #e5e7e9; background: linear-gradient(to bottom, #ffffff, #fdfefe, #f5f7f9, #eaecee, #e5e7e9, #e1e3e5, #d0d1d2); position: relative; top: -14pt; font-size: 95%; white-space: nowrap; } .absolute { position: absolute; } #tools a { color: #777; margin: 0 1pt; |
︙ | ︙ | |||
293 294 295 296 297 298 299 300 301 302 303 304 305 306 | #main h2, #main h3, #main h4 { background: #ddd; background: linear-gradient(#f3f3f3,#f0f0f0,#eee,#e7e7e7,#d3d3d3); border-radius: 2pt; padding: 3.5pt 5pt 1.5pt 5pt; margin-top: 25pt; } #main label, #sidebar label { display: block; margin: 10pt 0; font-weight: 700; } #main label input, #sidebar label input, #main label textarea { | > > > | 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 | #main h2, #main h3, #main h4 { background: #ddd; background: linear-gradient(#f3f3f3,#f0f0f0,#eee,#e7e7e7,#d3d3d3); border-radius: 2pt; padding: 3.5pt 5pt 1.5pt 5pt; margin-top: 25pt; } #main h2.no-margin, #main h3.no-margin, #main h4.no-margin { margin-top: 0; } #main label, #sidebar label { display: block; margin: 10pt 0; font-weight: 700; } #main label input, #sidebar label input, #main label textarea { |
︙ | ︙ | |||
374 375 376 377 378 379 380 | * */ #main .project { margin: 5pt 0 20pt 0; min-width: 620px; } #main .project h3 { | < | > | 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 | * */ #main .project { margin: 5pt 0 20pt 0; min-width: 620px; } #main .project h3 { margin: 1pt 2pt 3pt 1pt; } #main .project h3 a { color: #000; display: inline-block; max-width: 70%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #main .project h3 a:hover, #main .project h3 a:hover .version { color: #237; } #main .project .version { |
︙ | ︙ | |||
617 618 619 620 621 622 623 | background: #f0f0f0; text-align: center; padding: 1pt; } .pagination-links a { background: #d9d9d9; border-radius: 4pt; | | | 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 | background: #f0f0f0; text-align: center; padding: 1pt; } .pagination-links a { background: #d9d9d9; border-radius: 4pt; padding: 5pt 10pt; margin: 0pt 7pt; color: #333; font-size: 80%; } .pagination-links a.current { background: #999; } |
︙ | ︙ |
Changes to page_admin.php.
︙ | ︙ | |||
20 21 22 23 24 25 26 | */ // Moderator authorization already handled by dispatcher (index.php) include("template/header.php"); ?> | | | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | */ // Moderator authorization already handled by dispatcher (index.php) include("template/header.php"); ?> <section id=main class=container-width> <?php $name = $_REQUEST->proj_name["name"]; // Just list flags+projects if (empty($name)) { print "<h3>Flagged entries</h3> <dl>"; |
︙ | ︙ |
Changes to page_links.php.
︙ | ︙ | |||
27 28 29 30 31 32 33 | #sidebar dl, #sidebar dl dd, #sidebar ul { margin: 0; padding: 0; } #sidebar dl dt { font-weight: 700; } </style> <table id=mainsplit class=container-width style="height: 3000pt; min-width: 700px;"> <tr><td id=main> | | | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | #sidebar dl, #sidebar dl dd, #sidebar ul { margin: 0; padding: 0; } #sidebar dl dt { font-weight: 700; } </style> <table id=mainsplit class=container-width style="height: 3000pt; min-width: 700px;"> <tr><td id=main> <h4 class=no-margin>Other FLOSS/Linux software directories</h4> <p> <?php $links = [ # ["http://freshcode.club/", "freshcode.club.jpeg", "freshcode.club", # "and <a href=\"http://freecode.club/\">freecode</a>/<a href=\"http://freshmeat.club/\">freshmeat.club</a> |
︙ | ︙ | |||
202 203 204 205 206 207 208 | $entry[3] </div>\n HTML; } ?> </td> | | | 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 | $entry[3] </div>\n HTML; } ?> </td> <td id=sidebar class="community-web"> <section> <b>News sites / Blogs</b> <li> <a href="http://slashdot.org/">slashdot</a> <li> <a href="http://lxer.com/">LXer</a> <li> <a href="http://lwn.net/">LWN</a> <li> <a href="http://osdir.com/">OSdir</a> <li> <a href="http://www.linuxtoday.com/">LinuxToday</a> |
︙ | ︙ |
Changes to page_search.php.
︙ | ︙ | |||
15 16 17 18 19 20 21 | * */ $header_add = '<meta robots=noindex,nofollow>'; include("template/header.php"); | | | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | * */ $header_add = '<meta robots=noindex,nofollow>'; include("template/header.php"); ?> <section id=main class=container-width><div style="width: 70%; margin-top:30pt;"> <?php // Display form if ($_GET->no("tag,tags,trove,user,license,q")) { include("template/search_form.php"); |
︙ | ︙ |
Changes to page_tags.php.
︙ | ︙ | |||
21 22 23 24 25 26 27 | #-- print tag cloud ?> <section style="min-height: 1750pt"> | | | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | #-- print tag cloud ?> <section style="min-height: 1750pt"> <h2 class=no-margin>Tags</h2> <p id=tag_cloud> <?php // Query `tags` table to generate a cloud $tags = db("SELECT COUNT(name) AS cnt, tag FROM tags GROUP BY tag")->fetchAll(); $count = array_column($tags, "cnt"); if ($count) { |
︙ | ︙ |
Changes to template/index_sidebar.php.
︙ | ︙ | |||
10 11 12 13 14 15 16 | * further processing here. * */ ?> <!--aside--> | | | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | * further processing here. * */ ?> <!--aside--> <td id=sidebar valign=top> <section class="article-links untrimmed"> <h5>Linux.com Software</h5> <?php readfile("template/feed.linuxcom.htm"); ?> </section> <section class="article-links untrimmed feed-fossies"> |
︙ | ︙ |
Changes to template/submit_form.php.
︙ | ︙ | |||
42 43 44 45 46 47 48 | <input type="submit" name="submit" value="Send" /> </form><hr/> (Real form follows...) </span> <form action="" method=POST enctype="multipart/form-data" accept-encoding=UTF-8 rel=nofollow> <input type=hidden name=is_new value=$is_new> | | | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | <input type="submit" name="submit" value="Send" /> </form><hr/> (Real form follows...) </span> <form action="" method=POST enctype="multipart/form-data" accept-encoding=UTF-8 rel=nofollow> <input type=hidden name=is_new value=$is_new> <h3 class=no-margin>General Project Info</h3> {$editor_note} <p> <label> Project ID <input name=name size=20 placeholder=projectname value="$data[name]" maxlength=33 required pattern="^\w[-_\w]+\w(\.\w{1,7})?$"> <small>A short moniker which becomes your http://freshcode.club/projects/<var>name</var>.<br> |
︙ | ︙ |