2019-08-03 21:42:33 +02:00
|
|
|
<p>Renseignez les champs ci-dessous pour finaliser l'installation.</p>
|
2018-04-02 08:29:19 +02:00
|
|
|
<?php echo template::formOpen('installForm'); ?>
|
2022-08-22 21:01:01 +02:00
|
|
|
<ul class="accordion" data-speed="150">
|
|
|
|
<li class="accordion-item active">
|
|
|
|
<h3 class="accordion-title">Compte administrateur</h3>
|
|
|
|
<div class="accordion-content">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<?php echo template::text('installId', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Identifiant'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::password('installPassword', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Mot de passe'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::password('installConfirmPassword', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Confirmation'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo template::mail('installMail', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Adresse mail'
|
|
|
|
]); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('installFirstname', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Prénom'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('installLastname', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Nom'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li class="accordion-item">
|
|
|
|
<h3 class="accordion-title">Options avancées</h3>
|
|
|
|
<div class="accordion-content">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<?php echo template::checkbox('installDefaultData',true , 'Ne pas charger l\'exemple de site (utilisateurs avancés)', [
|
|
|
|
'checked' => false
|
|
|
|
]);
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::select('installProxyType', $module::$proxyType, [
|
|
|
|
'label' => 'Type de proxy',
|
|
|
|
'selected' => $this->getData(['config', 'proxyType'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('installProxyUrl', [
|
|
|
|
'label' => 'Adresse du proxy',
|
|
|
|
'placeholder' => 'cache.proxy.fr',
|
|
|
|
'value' => $this->getData(['config', 'proxyUrl'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::text('installProxyPort', [
|
|
|
|
'label' => 'Port du proxy',
|
|
|
|
'placeholder' => '6060',
|
|
|
|
'value' => $this->getData(['config', 'proxyPort'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-08-22 21:12:53 +02:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<?php echo template::select('installTheme', $module::$themes, [
|
|
|
|
'label' => 'Thème'
|
|
|
|
]); ?>
|
2022-08-22 21:01:01 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2018-04-02 08:29:19 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col3 offset9">
|
|
|
|
<?php echo template::submit('installSubmit', [
|
|
|
|
'value' => 'Installer'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo template::formClose(); ?>
|