diff --git a/assets/HypertextPages/list-rooms.nytl.html b/assets/HypertextPages/list-rooms.nytl.html deleted file mode 100644 index 94bf6c6..0000000 --- a/assets/HypertextPages/list-rooms.nytl.html +++ /dev/null @@ -1,75 +0,0 @@ -{% ELDEF main JSON pres JSON userinfo JSON initial_chatListUpdResp %} - - - - - - {%w pres.list-rooms.header %} - - - - - - - - - - - -
- - -
- New chat -
- -
-
-
- - - - - -{% ENDELDEF %} diff --git a/assets/css/list-rooms.css b/assets/css/list-rooms.css deleted file mode 100644 index 392ba5b..0000000 --- a/assets/css/list-rooms.css +++ /dev/null @@ -1,51 +0,0 @@ -#CL-bacbe { - margin-top: 6px; - margin-bottom: 4px; -} - -.CL-my-chat-box { - display: flex; - flex-direction: row; -} - -.CL-my-chat-box-nickname { - margin-left: 8px; - justify-self: flex-start; -} - -.CL-my-chat-box-name { - margin-left: 14px; - justify-self: flex-start; -} - -.CL-my-chat-box-my-role { - margin-left: auto; - justify-self: flex-end; -} - -.CL-my-chat-box-leave-btn { - margin-left: 10px; - margin-right: 8px; - justify-self: flex-end; - width: 16px; - cursor: pointer; -} - -/* The morbid thing */ -table.id-str-input-table { - width: 100%; - border-collapse: collapse; /* Combine borders */ -} -.id-str-input-td1, .id-str-input-td2 { - border: none; -} -.id-str-input-td1 { - text-align: left; - padding-right: 5px; - white-space: nowrap; /* Prevent text wrap, keeping it in one line */ - overflow: hidden; /* Hide overflow content */ - text-overflow: ellipsis; /* Show ellipsis for overflowing text */ -} -.id-str-input-td2 { - width: 100%; -} \ No newline at end of file diff --git a/src/web_chat/iu9_ca_web_chat_lib/sqlite3_wrapper.cpp b/src/web_chat/iu9_ca_web_chat_lib/sqlite3_wrapper.cpp index cf73016..3196e33 100644 --- a/src/web_chat/iu9_ca_web_chat_lib/sqlite3_wrapper.cpp +++ b/src/web_chat/iu9_ca_web_chat_lib/sqlite3_wrapper.cpp @@ -76,7 +76,7 @@ namespace iu9cawebchat { int ret = sqlite3_prepare_v2(connection.hand, req_statement.c_str(), -1, &stmt_obj, NULL); if (ret != 0) { - int err_pos = sqlite3_error_offset(connection.hand); + int err_pos = -1; een9_THROW("Compilation of request\n" + req_statement + "\nfailed" + ((err_pos >= 0) ? " with offset " + std::to_string(err_pos) : "")); }