Misc case changes, comment updates

This commit is contained in:
Travis Ralston 2020-03-19 11:47:43 -06:00
parent e1eb16ce46
commit 09e26d0882
3 changed files with 6 additions and 6 deletions

View File

@ -7,8 +7,8 @@
<body> <body>
<div id="jitsiContainer"><!-- the js will put the conference here --></div> <div id="jitsiContainer"><!-- the js will put the conference here --></div>
<div id="joinButtonContainer"> <div id="joinButtonContainer">
<div class="join-conference-boat"> <div class="joinConferenceFloating">
<div class="join-conference-prompt"> <div class="joinConferencePrompt">
<!-- TODO: i18n --> <!-- TODO: i18n -->
<h2>Jitsi Video Conference</h2> <h2>Jitsi Video Conference</h2>
<button type="button" id="joinButton">Join Conference</button> <button type="button" id="joinButton">Join Conference</button>

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
// TODO: Match the user's theme instead of hardcoding a bunch of colors // TODO: Match the user's theme: https://github.com/vector-im/riot-web/issues/12794
@font-face { @font-face {
font-family: 'Nunito'; font-family: 'Nunito';
@ -49,12 +49,12 @@ body, html {
width: 100%; width: 100%;
} }
.join-conference-boat { .joinConferenceFloating {
display: table-cell; display: table-cell;
vertical-align: middle; vertical-align: middle;
} }
.join-conference-prompt { .joinConferencePrompt {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
width: 90%; width: 90%;

View File

@ -78,7 +78,7 @@ let widgetApi: WidgetApi;
scriptTag.src = SdkConfig.get()['jitsi']['externalApiUrl']; scriptTag.src = SdkConfig.get()['jitsi']['externalApiUrl'];
document.body.appendChild(scriptTag); document.body.appendChild(scriptTag);
// TODO: register widgetApi listeners for PTT controls // TODO: register widgetApi listeners for PTT controls (https://github.com/vector-im/riot-web/issues/12795)
document.getElementById("joinButton").onclick = () => joinConference(); document.getElementById("joinButton").onclick = () => joinConference();
} catch (e) { } catch (e) {