vpanel-stack/panel/ui/vhost/users-edit.html
2024-08-30 14:01:15 -07:00

195 lines
6.0 KiB
HTML

<include href="header.html" />
<!-- password -->
<p>
<form action="{{@REALM}}" method="POST">
<fieldset>
<legend>Change Password for {{ @user_array.username }}</legend>
<input id="action" name="action" type="hidden" value="password">
<label for="password">Password <small></small></label>
<input id="password" name="password" type="password" value="">
<label for="password_confirm">Confirm Password <small>(repeat same password)</small></label>
<input id="password_confirm" name="password_confirm" type="password" value="">
<input type="submit" value="Submit">
<button id="reset" type="reset">Reset</button>
<br>
<b>Password</b> must be at least 8 characters with 12 or more being highly recommended.<br>
Passwords under 15 characters must contain characters from at least three of the following four groups:<br>
Lower Case Letters, Upper Case Leters, Numbers, Puncuation/Special Characters.<br>
Passwords 15 or more characters long do not have any complexity requirements.<br>
</fieldset>
</form>
</p>
<check if="{{ @NAV.mapping=='vpanel' }}">
<p>
<!-- jail -->
<form action="{{@REALM}}" method="POST">
<fieldset>
<legend>Jail User {{ @user_array.username }}</legend>
<input id="action" name="action" type="hidden" value="jail">
<check if="{{ @user_array.jailed=='Yes' }}">
<true>
User is Jailed. This can not be undone by this admin.
</true>
<false>
<input type="submit" value="Jail User"><br>
<b>Jail User</b> puts existing user in a secure jail. This is recommended on a Shared Server. Once a user is Jailed it can't be undone by these admins.<br>
</false>
</check>
</fieldset>
</form>
</p>
<!-- php workers -->
<p>
<form action="{{@REALM}}" method="POST">
<fieldset>
<legend>Adjust PHP Workers for {{ @user_array.username }}</legend>
<input id="action" name="action" type="hidden" value="fpmmax">
<check if="{{ @user_array.fpmmax=='0' }}">
<true>
User {{ @user_array.username }} does not have PHP enabled.
</true>
<false>
<label for="fpmmax">Adjust PHP Workers <small>(Recommended range 2-12 on a Shared Server)</small></label>
<select id="fpmmax" name="fpmmax">
<check if="{{ @user_array.fpmmax=='2' }}">
<true>
<option value="2" selected>2</option>
</true>
<false>
<option value="2">2</option>
</false>
</check>
<check if="{{ @user_array.fpmmax=='4' }}">
<true>
<option value="4" selected>4</option>
</true>
<false>
<option value="4">4</option>
</false>
</check>
<check if="{{ @user_array.fpmmax=='6' }}">
<true>
<option value="6" selected>6</option>
</true>
<false>
<option value="6">6</option>
</false>
</check>
<check if="{{ @user_array.fpmmax=='8' }}">
<true>
<option value="8" selected>8</option>
</true>
<false>
<option value="8">8</option>
</false>
</check>
<check if="{{ @user_array.fpmmax=='10' }}">
<true>
<option value="10" selected>10</option>
</true>
<false>
<option value="10">10</option>
</false>
</check>
<check if="{{ @user_array.fpmmax=='12' }}">
<true>
<option value="12" selected>12</option>
</true>
<false>
<option value="12">12</option>
</false>
</check>
<check if="{{ @user_array.fpmmax=='16' }}">
<true>
<option value="16" selected>16</option>
</true>
<false>
<option value="16">16</option>
</false>
</check>
<check if="{{ @user_array.fpmmax=='20' }}">
<true>
<option value="20" selected>20</option>
</true>
<false>
<option value="20">20</option>
</false>
</check>
<check if="{{ @user_array.fpmmax=='24' }}">
<true>
<option value="24" selected>24</option>
</true>
<false>
<option value="24">24</option>
</false>
</check>
<check if="{{ @user_array.fpmmax=='30' }}">
<true>
<option value="30" selected>30</option>
</true>
<false>
<option value="30">30</option>
</false>
</check>
<check if="{{ @user_array.fpmmax=='36' }}">
<true>
<option value="36" selected>36</option>
</true>
<false>
<option value="36">36</option>
</false>
</check>
<check if="{{ @user_array.fpmmax=='42' }}">
<true>
<option value="42" selected>42</option>
</true>
<false>
<option value="42">42</option>
</false>
</check>
<check if="{{ @user_array.fpmmax=='48' }}">
<true>
<option value="48" selected>48</option>
</true>
<false>
<option value="48">48</option>
</false>
</check>
</select>
<input type="submit" value="Submit">
<button id="reset" type="reset">Reset</button><br>
<b>PHP Workers</b> is maximum number of PHP processes that this user can have running at one time. Any website(s) installed for this user will be limited by this.<br>
</false>
</check>
</fieldset>
</form>
</p>
</check>
<check if="{{ @NAV.mapping=='vhost' }}">
<!-- show php workers -->
<p>
<form action="{{@REALM}}" method="POST">
<fieldset>
<b>PHP Workers for {{ @user_array.username }}: {{ @user_array.fpmmax }}</b>
<br><br>
PHP Workers is maximum number of PHP processes that this user can have running at one time. Any website(s) installed for this user will be limited by this.
<br><br>
This can not be changed here, contact tech support if you think you need more PHP workers.<br>
</fieldset>
</form>
</p>
</check>
<include href="footer.html" />