|
|
@@ -23,34 +23,30 @@ function Меню(события, подсказки) |
|
|
|
|
|
|
|
this.отобразитьМеню = function(имя) |
|
|
|
{ |
|
|
|
UIkit.modal("#меню").show(); |
|
|
|
/* |
|
|
|
let подсказка = подсказки.задано[имя]; |
|
|
|
let html = ` |
|
|
|
`; |
|
|
|
UIkit.modal.dialog(html); |
|
|
|
*/ |
|
|
|
document.getElementById("меню-заголовок").innerHTML = подсказка.текст; |
|
|
|
UIkit.modal("#меню").show(); |
|
|
|
}; |
|
|
|
|
|
|
|
this.установитьМеню = function() |
|
|
|
{ |
|
|
|
let html = ` |
|
|
|
<div id="меню" uk-modal> |
|
|
|
<button class="uk-modal-close-default" type="button" uk-close></button> |
|
|
|
<div class="uk-modal-body"> |
|
|
|
<h2 class="uk-modal-title">Заголовок</h2> |
|
|
|
<div class="uk-child-width-1-4@s uk-text-center" uk-grid> |
|
|
|
<div class="uk-modal-dialog uk-modal-body"> |
|
|
|
<button class="uk-modal-close-default" type="button" uk-close></button> |
|
|
|
<h2 id="меню-заголовок" class="uk-modal-title">Заголовок</h2> |
|
|
|
<div class="uk-child-width-1-4 uk-text-center" uk-grid> |
|
|
|
<div> |
|
|
|
<div class="uk-card uk-card-default uk-card-body">👁️</div> |
|
|
|
<div class="uk-card uk-card-small uk-card-hover uk-card-default uk-card-body">👁️</div> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<div class="uk-card uk-card-default uk-card-body">🤚</div> |
|
|
|
<div class="uk-card uk-card-small uk-card-hover uk-card-default uk-card-body">🤚</div> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<div class="uk-card uk-card-default uk-card-body">🗣</div> |
|
|
|
<div class="uk-card uk-card-small uk-card-hover uk-card-default uk-card-body">🗣</div> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<div class="uk-card uk-card-default uk-card-body">🥾</div> |
|
|
|
<div class="uk-card uk-card-small uk-card-hover uk-card-default uk-card-body">🥾</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|