Mercurial > hg
annotate mercurial/templates/static/style-extra-coal.css @ 37483:61e405fb6372
wireproto: crude support for version 2 HTTP peer
As part of implementing the server-side bits of the wire protocol
command handlers for version 2, we want a way to easily test those
commands. Currently, we use the "httprequest" action of `hg
debugwireproto`. But this requires explicitly specifying the HTTP
request headers, low-level frame details, and the data structure
to encode with CBOR. That's a lot of boilerplate and a lot of it can
change as the wire protocol evolves.
`hg debugwireproto` has a mechanism to issue commands via the peer
interface. That is *much* easier to use and we prefer to test with
that going forward.
This commit implements enough parts of the peer API to send basic
requests via the HTTP version 2 transport.
The peer code is super hacky. Again, the goal is to facilitate
server testing, not robustly implement a client. The client code
will receive love at a later time.
Differential Revision: https://phab.mercurial-scm.org/D3177
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 28 Mar 2018 15:09:34 -0700 |
parents | c258f4d2bfb2 |
children |
rev | line source |
---|---|
6436 | 1 body { |
26284
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
2 background: black url('background.png') repeat-x; |
6436 | 3 } |
4 | |
6453 | 5 .container { |
26284
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
6 padding-left: 0; |
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
7 padding-right: 150px; |
6453 | 8 } |
9 | |
6436 | 10 .main { |
26284
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
11 padding: 2em; |
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
12 border-right: 15px solid black; |
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
13 border-bottom: 15px solid black; |
6436 | 14 } |
15 | |
16 .menu { | |
26284
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
17 background: #999; |
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
18 padding: 10px; |
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
19 width: 75px; |
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
20 position: fixed; |
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
21 top: 27px; |
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
22 left: auto; |
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
23 right: 27px; |
7291
5ac779ea7850
Backed out changeset a1f8ad3c1821
Brendan Cully <brendan@kublai.com>
parents:
7286
diff
changeset
|
24 } |
5ac779ea7850
Backed out changeset a1f8ad3c1821
Brendan Cully <brendan@kublai.com>
parents:
7286
diff
changeset
|
25 |
6436 | 26 .menu ul { |
26284
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
27 border-left: 0; |
6436 | 28 } |
29 | |
30 .menu li.active { | |
26284
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
31 font-weight: normal; |
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
32 background: black; |
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
33 color: white; |
7410
f1111704061e
coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7408
diff
changeset
|
34 } |
f1111704061e
coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7408
diff
changeset
|
35 |
26284
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
36 .menu li.active a { |
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
37 color: white; |
26244
399e970e35c8
coal: copy newer things from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
25664
diff
changeset
|
38 } |
399e970e35c8
coal: copy newer things from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
25664
diff
changeset
|
39 |
26284
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
40 h3 { |
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
41 margin-top: -.7em; |
6436 | 42 } |
43 | |
44 div.description { | |
26284
c258f4d2bfb2
coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents:
26245
diff
changeset
|
45 border-left-width: 3px; |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
46 } |