We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 0cf0a684 authored by Sarven Capadisli's avatar Sarven Capadisli

Updated SN install UI. Using separate fieldsets

parent 8b3febab
...@@ -474,76 +474,80 @@ function showForm() ...@@ -474,76 +474,80 @@ function showForm()
</ul> </ul>
</dd> </dd>
</dl> </dl>
<dl id="page_notice" class="system_notice">
<dt>Page notice</dt>
<dd>
<div class="instructions">
<p>Enter your database connection information below to initialize the database.</p>
</div>
</dd>
</dl>
<form method="post" action="install.php" class="form_settings" id="form_install"> <form method="post" action="install.php" class="form_settings" id="form_install">
<fieldset> <fieldset>
<legend>Connection settings</legend> <fieldset id="settings_site">
<ul class="form_data"> <legend>Site settings</legend>
<li> <ul class="form_data">
<label for="sitename">Site name</label> <li>
<input type="text" id="sitename" name="sitename" value="{$post->value('sitename')}" /> <label for="sitename">Site name</label>
<p class="form_guide">The name of your site</p> <input type="text" id="sitename" name="sitename" value="{$post->value('sitename')}" />
</li> <p class="form_guide">The name of your site</p>
<li> </li>
<label for="fancy-enable">Fancy URLs</label> <li>
<input type="radio" name="fancy" id="fancy-enable" value="enable" checked='checked' /> enable<br /> <label for="fancy-enable">Fancy URLs</label>
<input type="radio" name="fancy" id="fancy-disable" value="" /> disable<br /> <input type="radio" name="fancy" id="fancy-enable" value="enable" checked='checked' /> enable<br />
<p class="form_guide" id='fancy-form_guide'>Enable fancy (pretty) URLs. Auto-detection failed, it depends on Javascript.</p> <input type="radio" name="fancy" id="fancy-disable" value="" /> disable<br />
</li> <p class="form_guide" id='fancy-form_guide'>Enable fancy (pretty) URLs. Auto-detection failed, it depends on Javascript.</p>
<li> </li>
<label for="host">Hostname</label> <li>
<input type="text" id="host" name="host" value="{$post->value('host')}" /> <label for="host">Hostname</label>
<p class="form_guide">Database hostname</p> <input type="text" id="host" name="host" value="{$post->value('host')}" />
</li> <p class="form_guide">Database hostname</p>
<li> </li>
</ul>
<label for="dbtype">Type</label> </fieldset>
$dbRadios
<p class="form_guide">Database type</p> <fieldset id="settings_db">
</li> <legend>Database settings</legend>
<ul class="form_data">
<li> <li>
<label for="database">Name</label> <label for="dbtype">Type</label>
<input type="text" id="database" name="database" value="{$post->value('database')}" /> $dbRadios
<p class="form_guide">Database name</p> <p class="form_guide">Database type</p>
</li> </li>
<li> <li>
<label for="dbusername">DB username</label> <label for="database">Name</label>
<input type="text" id="dbusername" name="dbusername" value="{$post->value('dbusername')}" /> <input type="text" id="database" name="database" value="{$post->value('database')}" />
<p class="form_guide">Database username</p> <p class="form_guide">Database name</p>
</li> </li>
<li> <li>
<label for="dbpassword">DB password</label> <label for="dbusername">DB username</label>
<input type="password" id="dbpassword" name="dbpassword" value="{$post->value('dbpassword')}" /> <input type="text" id="dbusername" name="dbusername" value="{$post->value('dbusername')}" />
<p class="form_guide">Database password (optional)</p> <p class="form_guide">Database username</p>
</li> </li>
<li> <li>
<label for="admin_nickname">Administrator nickname</label> <label for="dbpassword">DB password</label>
<input type="text" id="admin_nickname" name="admin_nickname" value="{$post->value('admin_nickname')}" /> <input type="password" id="dbpassword" name="dbpassword" value="{$post->value('dbpassword')}" />
<p class="form_guide">Nickname for the initial StatusNet user (administrator)</p> <p class="form_guide">Database password (optional)</p>
</li> </li>
<li> </ul>
<label for="admin_password">Administrator password</label> </fieldset>
<input type="password" id="admin_password" name="admin_password" value="{$post->value('admin_password')}" />
<p class="form_guide">Password for the initial StatusNet user (administrator)</p> <fieldset id="settings_admin">
</li> <legend>Administrator settings</legend>
<li> <ul class="form_data">
<label for="admin_password2">Confirm password</label> <li>
<input type="password" id="admin_password2" name="admin_password2" value="{$post->value('admin_password2')}" /> <label for="admin_nickname">Administrator nickname</label>
</li> <input type="text" id="admin_nickname" name="admin_nickname" value="{$post->value('admin_nickname')}" />
<li> <p class="form_guide">Nickname for the initial StatusNet user (administrator)</p>
<label for="admin_email">Administrator e-mail</label> </li>
<input id="admin_email" name="admin_email" value="{$post->value('admin_email')}" /> <li>
<p class="form_guide">Optional email address for the initial StatusNet user (administrator)</p> <label for="admin_password">Administrator password</label>
</li> <input type="password" id="admin_password" name="admin_password" value="{$post->value('admin_password')}" />
</ul> <p class="form_guide">Password for the initial StatusNet user (administrator)</p>
</li>
<li>
<label for="admin_password2">Confirm password</label>
<input type="password" id="admin_password2" name="admin_password2" value="{$post->value('admin_password2')}" />
</li>
<li>
<label for="admin_email">Administrator e-mail</label>
<input id="admin_email" name="admin_email" value="{$post->value('admin_email')}" />
<p class="form_guide">Optional email address for the initial StatusNet user (administrator)</p>
</li>
</ul>
</fieldset>
<input type="submit" name="submit" class="submit" value="Submit" /> <input type="submit" name="submit" class="submit" value="Submit" />
</fieldset> </fieldset>
</form> </form>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment