ZwiiCMS/core/module/theme/view/fontAdd/fontAdd.php

55 lines
1.6 KiB
PHP
Raw Normal View History

2022-02-08 17:00:08 +01:00
<?php echo template::formOpen('fontAddForm'); ?>
<div class="row">
<div class="col2">
<?php echo template::button('fontAddBack', [
'class' => 'buttonGrey',
2022-02-09 16:07:45 +01:00
'href' => helper::baseUrl() . 'theme/fonts',
2022-02-08 17:00:08 +01:00
'ico' => 'left',
'value' => 'Retour'
]); ?>
</div>
<div class="col2 offset8">
<?php echo template::submit('fontAddPublish', [
'value' => 'Valider',
'uniqueSubmission' => true
]); ?>
</div>
</div>
<div class="row">
<div class="col12">
<div class="block">
2022-02-09 10:43:04 +01:00
<h4>Identité de la fonte</h4>
2022-02-09 16:17:56 +01:00
<div class="row">
<div class="col12">
Police utilisée en ligne se connecter sur <a href="https://www.cdnfonts.com/" target="_blank">https://www.cdnfonts.com/</a> pour récupérer les informations nécessaires.<br/>Sinon, précisez le nom du fichier de fonte au format WOFF.
</div>
</div>
2022-02-08 17:00:08 +01:00
<div class="row">
<div class="col6">
<?php echo template::text('fontAddFontId', [
'autocomplete' => 'off',
2022-02-09 10:43:04 +01:00
'label' => 'Identifiant (sans espace ni majuscule)',
2022-02-08 17:00:08 +01:00
'placeholder' => 'perry-gothic'
]); ?>
</div>
<div class="col6">
<?php echo template::text('fontAddFontName', [
'autocomplete' => 'off',
'label' => 'Nom (Font Family)',
'placeholder' => 'PerryGothic'
]); ?>
</div>
</div>
<div class="row">
<div class="col12">
<?php echo template::file('fontAddFile', [
'label' => 'Fichier de police (Format WOFF)',
'placeholder' => 'https://fonts.cdnfonts.com/s/7896/PERRYGOT.woff'
]); ?>
</div>
</div>
</div>
</div>
</div>
2022-02-08 17:00:08 +01:00
<?php echo template::formClose(); ?>