Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Resized the attachment SVG - its bounding box was far, far wider than the glyph. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | chat-input-rework |
| Files: | files | file ages | folders |
| SHA3-256: |
c6cc5557c0f4ea66151329846e0bfbf1 |
| User & Date: | stephan 2021-10-03 19:44:18.144 |
Context
|
2021-10-03
| ||
| 19:56 | Rotated the paperclip 45 degrees (it's now horizontal) and restored the behavior that ctrl-enter will send a message if there is only an attachment with no text. ... (check-in: b8a20e20ff user: stephan tags: chat-input-rework) | |
| 19:44 | Resized the attachment SVG - its bounding box was far, far wider than the glyph. ... (check-in: c6cc5557c0 user: stephan tags: chat-input-rework) | |
| 19:34 | Experimentally replace paperclip Unicode glyph with an embedded SVG, as the glyph looks greyed out/inactive in some environments. ... (check-in: cc709782b4 user: stephan tags: chat-input-rework) | |
Changes
Changes to src/chat.c.
| ︙ | ︙ | |||
142 143 144 145 146 147 148 |
** send new chat message, delete older messages, or poll for changes.
*/
void chat_webpage(void){
char *zAlert;
char *zProjectName;
char * zInputPlaceholder0; /* Common text input placeholder value */
const char *zPaperclip =
| | > | | < | | | > > > | | 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 |
** send new chat message, delete older messages, or poll for changes.
*/
void chat_webpage(void){
char *zAlert;
char *zProjectName;
char * zInputPlaceholder0; /* Common text input placeholder value */
const char *zPaperclip =
"<svg height=\"12.28288\" width=\"13.990313\"><path d=\"M "
"12.266368,0.65287795 A 4.1,4.1 0 0 0 7.0963684,1.2528779 "
"l -6.24999999,6.25 a 2.79,2.79 0 0 0 -0.84,2.19 2.84,2.84 "
"0 0 0 1.13999999,2.0600001 2.73,2.73 0 0 0 1.62,0.53 3.13,"
"3.13 0 0 0 2.18,-0.92 L 10.346368,5.9628779 a 1.66,1.66 0 "
"0 0 -2.3399996,-2.35 l -3.6,3.6 0.71,0.71 3.59,-3.6 a 0.66,"
"0.66 0 0 1 0.93,0.93 l -5.39,5.4000001 a 2,2 0 0 1 -2.5,0.3 "
"1.83,1.83 0 0 1 -0.2,-2.7400001 l 6.25,-6.25 a 3.11,3.11 0 "
"0 1 3.8999996,-0.48 3,3 0 0 1 1.31,2.19 3,3 0 0 1 -0.86,2.37 "
"l -5.2799996,5.2600001 0.7,0.71 5.2699996,-5.2600001 a 4,4 0 "
"0 0 -0.57,-6.09999995 z\" /></svg>";
login_check_credentials();
if( !g.perm.Chat ){
login_needed(g.anon.Chat);
return;
}
zAlert = mprintf("%s/builtin/%s", g.zBaseURL,
|
| ︙ | ︙ |