Bootstrap 5 containers

This commit is contained in:
Alexander Yakovlev 2021-08-14 14:06:06 +07:00
parent ec1246d2a9
commit 444df1ac2a
Signed by: oreolek
GPG key ID: 8D24103F5EE2A6C0
3 changed files with 9 additions and 2 deletions

View file

@ -10,8 +10,8 @@
<div id="page" class="container">
<button id="restart" type="button" class="btn btn-warning">Restart</button>
<div class="row">
<div id="content" class="col-12"></div>
<div class="col-10 offset-1">
<div id="content" class="col"></div>
<div class="col col-md-10 offset-md-1">
<ul id="options">
</ul>
</div>

View file

@ -112,3 +112,9 @@ jQuery(document).on('click', "#options li a", function() {
continueToNextChoice(s);
return false;
});
jQuery(document).on('click', "#options li", function() {
s.ChooseChoiceIndex(jQuery(this).find('a').data("index"));
saveChoice(jQuery(this).data("index"));
continueToNextChoice(s);
return false;
});

View file

@ -44,6 +44,7 @@ $warning-color: darkred;
@import 'bootstrap/scss/reboot';
@import 'bootstrap/scss/type';
@import 'bootstrap/scss/images';
@import 'bootstrap/scss/containers';
@import 'bootstrap/scss/grid';
@import 'bootstrap/scss/buttons';
@import 'bootstrap/scss/transitions';