virt2/api/mod/room_settings.html

32 lines
1.6 KiB
HTML
Raw Permalink Normal View History

{include file=$header h1="Настройка комнаты" css="<link rel='stylesheet' href='/api/jquery/jquery-ui/jquery-ui-1.12.1/jquery-ui.css'><link rel='stylesheet' href='/api/jquery/jquery-ui/jquery-ui-1.12.1/jquery-ui.theme.min.css'>"}
<div id="tabs" class="mb-20">
<ul>
<li><a href="#tabs-1">Основные</a></li>
<li><a href="#tabs-2">Оформление</a></li>
</ul>
<div id="tabs-1">
<form action='/room_new/' method='post' class="regform bg-white" id="room_new">
<div class="form-group">
<label for="room_name">Название</label>
<input type="text" class="form-control" id="room_name" name='room_name' value='{$room[0].room_name}' requred>
</div>
<div class="form-group">
<label for="tematika">Тематика</label>
<textarea name="tematika" id="tematika" class="form-control">{$room[0].tematika}</textarea>
</div>
<div class="form-group">
<label for="pass">Пароль</label>
<input type="password" class="form-control" id="capcha" placeholder="не обязательно!" name='pass' value='{$room[0].pass}'>
</div>
<div class="form-group">
<label for="max_users">Максимум пользователей</label>
<input type="text" class="form-control" id="max_users" name='max_users' value='{$room[0].max_users}'>
</div>
<input type="submit" name="ok" value="Сохранить" class="btn btn-outline-dark">
<div id="div_res" class="col-xs col-sm col-md col-lg"></div>
</form>
</div>
<div id="tabs-2">
</div>
</div>
{include file=$footer}