Fix in apache

This commit is contained in:
Antonio de la Rosa 2025-08-26 21:26:38 +02:00
parent d3bc7701d2
commit 0eb82d0f86
2 changed files with 20 additions and 10 deletions

View file

@ -5,20 +5,25 @@
</%block>
<%block name="content">
<h3>${hostname}</h3>
<p><a href="${url_for('admin_app.webservers')}">${lang('webservers', 'webservers_list', 'Webservers list')}</a> &gt;&gt; ${lang('webservers', 'websites', 'Websites')}</p>
<p><a href="${url_for('admin_app.add_virtualhost', webserver_id=webserver_id)}">${lang('webservers', 'add_new_website', 'Add new website')}</a><!-- - <a href="${url_for('admin_app.users_list')}">${lang('webservers', 'webserver_users', 'Webserver users')}</a>--></p>
<p>${_('Filter by user')}:
<select name="user_vhost">
</select>
</p>
<p><a href="${url_for('admin_app.webservers')}">${_('Webservers list')}</a> &gt;&gt; ${_('Websites')}</p>
<p><a href="${url_for('admin_app.add_virtualhost', webserver_id=webserver_id)}">${_('Add new website')}</a><!-- - <a href="${url_for('admin_app.users_list')}">${lang('webservers', 'webserver_users', 'Webserver users')}</a>--></p>
<div id="table_servers">
</div>
<p><a href="${url_for('admin_app.webservers')}">${lang('webservers', 'webservers_list', 'Webservers list')}</a> &gt;&gt; ${lang('webservers', 'websites', 'Websites')}</p>
<p><a href="${url_for('admin_app.webservers')}">${_('Webservers list')}</a> &gt;&gt; ${_('Websites')}</p>
<div id="popup_change" style="display:none;">
<div class="title title_popup" style="">
${lang('webservers', 'change_user_ssh_key', 'Change user ssh key for access')} <a href="#" class="close_icon close_popup"><i class="fa fa-window-close" aria-hidden="true"></i></a>
</div>
<div class="cont cont_popup" style="">
${lang('webservers', 'explain_change_ssh_access', 'If you want SSH access with this user, you can add a ssh pub key here.')}
${_('If you want SSH access with this user, you can add a ssh pub key here.')}
<form method="post" action="" id="form_change_password">
<div class="form">
<p><label for="username">${lang('webservers', 'username', 'Username')}:</label> <span id="username_label"></span><input type="hidden" name="user" id="user_form" value=""/></p>
<p><label for="username">${_('Username')}:</label> <span id="username_label"></span><input type="hidden" name="user" id="user_form" value=""/></p>
<!--<p><label>User password
<i class="fa fa-question-circle tooltip" data-tooltip-content="#tooltip_password_content" style="cursor:pointer;"></i>
@ -29,7 +34,7 @@
<p><label>Repeat User password</label><input type="password" class="" name="repeat_password" id="repeat_password_form" value="" /> <span class="error" id="repeat_password_error"></span></p>-->
<p><label>SSH Pub Key</label><textarea name="ssh_pub_key" id="ssh_pub_key"></textarea></span><span class="error" id="ssh_pub_key_error"></span></p>
</div>
<input type="submit" value="${lang('webservers', 'change_ssh_key', 'Change SSH key')}" />
<input type="submit" value="${_('Change SSH key')}" />
</form>
</div>
</div>