annotate default/static/invitation.css @ 84:b2ef34e602cf

base, js (websocket), css (main style): dynamic pages implementation, first draft: this patch introduces the browser part of dynamic pages. Dynamic pages work by establishing a websocket between server and the current page, if requested by server (which means that needed arguments are present in template). Once the connection is established, the server can, for now, reload the page, append HTML elements, or receive arbitrary data (without reloading the page, in opposition to data post). If connection can't be established, a popup will be displayed and connection will be retried many times after variable timeouts. The browser will finally give up and display an alert to client if the number of retries is too high (20 for now).
author Goffi <goffi@goffi.org>
date Wed, 03 Jan 2018 01:12:16 +0100
parents 529fff4473c1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
1 #body {
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
2 display: flex;
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
3 flex-direction: column;
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
4 }
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
5
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
6 .invitation_header {
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
7 flex: 1
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
8 }
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
9
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
10 .invitation_header h1,p {
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
11 text-align: center;
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
12 }
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
13
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
14 #include_main {
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
15 flex: 9
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
16 }
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
17
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
18 #include_main {
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
19 width: 100%;
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
20 margin: 0;
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
21 border: none;
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
22 }
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
23
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
24 footer {
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
25 /* footer should already be displayed in included page */
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
26 display: none;
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
27 }