[FIX] website_event_meet: improve typography

SPECIFICATIONS

Improve typography to take more place (h2 instead of h1), smaller phrases and
move some text to lessen noise on main community screen.

LINKS

Task ID-2169118
odoo/odoo#55967
odoo/enterprise#12438

X-original-commit: 7041225a4b039bc81eb2b301b5fda09fbefc95f9
This commit is contained in:
Thibault Delavallée
2020-08-17 16:29:52 +00:00
parent 8f715d1e22
commit fbcf45fbfb
3 changed files with 7 additions and 7 deletions
@@ -10,6 +10,7 @@
class="text-dark"
method="POST">
<h2>Launch a new topic</h2>
<p>Be sure you are ready to spend at least 10 minutes in the room if you want to initiate a new topic.</p>
<div class="row m-2">
<label class="col-4 mt-2 text-left">Room Topic</label>
<input class="form-control col-8" maxlength="50" name="name" placeholder="e.g. Finance" required="1"/>
@@ -26,10 +26,10 @@
<!-- Meeting Rooms Main Display -->
<template id="community_main" name="Meeting Rooms: Main Display">
<div class="col-12 col-md-8 pl-0 pr-0 pr-md-3 mt-3">
<h1 class="d-flex flex-row justify-content-between">
<h2 class="d-flex flex-row justify-content-between">
<span>Join a room</span>
<div class="dropdown">
<a class="dropdown-toggle o-no-caret btn pr-0" title="Languages Menu"
<a class="dropdown-toggle o-no-caret btn p-0" title="Languages Menu"
aria-label="Dropdown menu" data-display="static" data-toggle="dropdown" href="#" role="button">
<span t-esc="current_lang.name if current_lang else 'All Languages'"/> ▼</a>
<div class="dropdown-menu" role="menu">
@@ -38,7 +38,7 @@
<a class="dropdown-item" role="menuitem" t-as="language" t-attf-href="/event/#{slug(event)}/community?lang=#{language.id}" t-esc="language.name" t-foreach="available_languages"/>
</div>
</div>
</h1>
</h2>
<hr class="mt-2 mb-3"/>
<p class="mt-">Choose a topic that interests you and start talking with the community. <br/> Don't forget to setup your camera and microphone.</p>
<div class="d-flex flex-column justify-content-start align-items-start">
@@ -130,7 +130,7 @@
</button>
</div>
</div>
<span t-esc="meeting_room.summary" class="h5 text-muted"/>
<span class="text-muted" t-field="meeting_room.summary"/>
<div class="d-flex flex-row justify-content-between align-items-center">
<span class="h6 m-0 row">
<span t-esc="meeting_room.room_participant_count"/>&amp;nbsp;
@@ -151,10 +151,9 @@
<template id="community_aside" name="Community: Aside">
<div class="col-md-4 p-0 mt-3 o_wevent_community_aside">
<div class="d-none d-md-block mb-3" t-if="event.meeting_room_allow_creation">
<h1>Launch a new topic</h1>
<h2>Start a topic</h2>
<hr class="mt-2 mb-3"/>
<p>Want to create your own discussion room ?</p>
<p>Be sure you are ready to spend at least 10 minutes in the room if you want to initiate a new topic.</p>
<a href="#" role="button"
class="btn btn-primary o_wevent_create_room_button"
t-if="event.is_ongoing or event.start_today or is_event_manager"
@@ -9,7 +9,7 @@
<template id="community_leaderboard_small" name="Small Leaderboard">
<div class="w-100 d-flex justify-content-between align-items-end o_page_header">
<h1 class="m-0">Leaderboard</h1>
<h2>Leaderboard</h2>
<a t-attf-href="#{'/event/%s/community/leaderboard' % (slug(event))}">View all</a>
</div>
<t t-call="website_event_meet_quiz.visitor_quiz_points_card"/>