|
38 | 38 | (define (list-cells what) (map (λ (r) (r what)) list-renderers))
|
39 | 39 | ]{
|
40 | 40 | @columns[12 #:center? #t #:row? #t]{
|
41 |
| - @p{This is the Racket mailing list server. We have several public mailing |
42 |
| - lists, some are listed below with several mirrors for each one. The |
43 |
| - complete list of public mailing lists is available on |
44 |
| - @a[href: "listinfo"]{this page}.}} |
| 41 | + @p{We have several public mailing lists.}} |
45 | 42 | @(define gap1 (tr (map (λ (_) @td{@div[style: "height: 1ex;"]{}}) MLs)))
|
46 | 43 | @(define gap2 (tr (map (λ (_) @td{}) MLs)))
|
47 | 44 | @(define (sec . text)
|
48 | 45 | @list{@gap1
|
49 | 46 | @tr{@td[style: '("background-color: #dddddd; font-weight: bold;"
|
50 | 47 | " padding: 0;")
|
51 |
| - colspan: (length MLs)]{@text}} |
| 48 | + colspan: (add1 (length MLs))]{@text}} |
52 | 49 | @gap2})
|
53 | 50 | @columns[12 #:center? #t #:row? #t]{
|
54 | 51 | @table[style: "width: 100%; margin: auto; text-align: center;"
|
55 | 52 | frame: 'box rules: 'cols cellpadding: 5]{
|
56 | 53 | @tr[style: "border-bottom: 1px solid; background-color: #ccccff;"]{
|
57 |
| - @(list-cells 'header-cell)} |
58 |
| - @tr[valign: 'top style: "text-align: left;"]{@(list-cells 'description)} |
59 |
| - @tr{@(list-cells 'main-page-cell)} |
| 54 | + @td[] @(list-cells 'header-cell)} |
| 55 | + @tr[valign: 'top style: "text-align: left;"]{@td[] @(list-cells 'description)} |
| 56 | + @tr{@td[] @(list-cells 'main-page-cell)} |
60 | 57 | @sec{Subscribe to a mailing list}
|
61 |
| - @tr{@(list-cells 'subscribe-cell)} |
| 58 | + @tr{@td[] @(list-cells 'subscribe-cell)} |
62 | 59 | @sec{Archive at mail-archive.com}
|
63 |
| - @tr{@(list-cells 'mail-archive-cell)} |
64 |
| - @sec{Google group mirror} |
65 |
| - @tr{@(list-cells 'google-cell)}}}}) |
| 60 | + @tr{@td[] @(list-cells 'mail-archive-cell)}}}}) |
66 | 61 |
|
67 | 62 | ;; given a mailing list structure, produce a renderer that can produce
|
68 | 63 | ;; the required components on demand
|
|
90 | 85 | (and google-groups-url
|
91 | 86 | (append google-groups-url (list "join"))))
|
92 | 87 | (define google-groups-join-text
|
93 |
| - (string-append "Join the "name" mailing list with a Google account")) |
| 88 | + @span[style: "font-style: italic"]{With Google account: }) |
| 89 | + (define google-groups-join-link-text |
| 90 | + (string-append "join the "name" mailing list")) |
94 | 91 | (define google-groups-join-no-account-text
|
95 |
| - @span{ Join without a Google account by sending email to @tt[name "[email protected]"]}) |
| 92 | + @span{ @span[style: "font-style: italic"]{Without Google account : }send email to @tt[name "[email protected]"]}) |
96 | 93 | (define ((mk-form make) url #:method [method 'get] . body)
|
97 | 94 | (make @form[action: url method: method
|
98 | 95 | style: "display: inline; clear: none;"]{
|
|
107 | 104 | title: @list{Enter your email to subscribe
|
108 | 105 | to the "@name" mailing list.}]}]
|
109 | 106 | [else ;; it must be a google group
|
110 |
| - @td{@div{@a[href: google-groups-join-url]{@google-groups-join-text}} |
111 |
| - @div[style: "font-size: small; font-weight: normal" google-groups-join-no-account-text]}])) |
| 107 | + @td{@div{@|google-groups-join-text|@a[href: google-groups-join-url]{@google-groups-join-link-text}} |
| 108 | + @div{@nbsp} |
| 109 | + @div[google-groups-join-no-account-text]}])) |
112 | 110 | (define form-cell (mk-form td))
|
113 | 111 | (λ (what)
|
114 | 112 | (case what
|
|
134 | 132 | @bull
|
135 | 133 | @a[href: (list name "/archive/")]{old archive}}])]
|
136 | 134 | [(subscribe-cell) (mk-subscribe td)]
|
| 135 | + #; |
137 | 136 | [(google-cell)
|
138 | 137 | (if google-groups-url
|
139 | 138 | @form-cell[(list google-groups-url "search")]{
|
|
0 commit comments