2022-02-08 17:00:08 +01:00
|
|
|
<?php echo template::formOpen('fontAddForm'); ?>
|
|
|
|
<div class="row">
|
2022-04-26 18:46:09 +02:00
|
|
|
<div class="col1">
|
2022-02-08 17:00:08 +01:00
|
|
|
<?php echo template::button('fontAddBack', [
|
|
|
|
'class' => 'buttonGrey',
|
2022-02-09 16:07:45 +01:00
|
|
|
'href' => helper::baseUrl() . 'theme/fonts',
|
2022-04-26 18:46:09 +02:00
|
|
|
'value' => template::ico('left')
|
2022-02-08 17:00:08 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-04-26 18:46:09 +02:00
|
|
|
<div class="col1">
|
2022-03-12 12:28:28 +01:00
|
|
|
<?php echo template::button('fontAddHelp', [
|
2022-02-25 14:45:12 +01:00
|
|
|
'href' => 'https://doc.zwiicms.fr/fontes#add',
|
|
|
|
'target' => '_blank',
|
2022-04-26 18:46:09 +02:00
|
|
|
'value' => template::ico('help'),
|
2022-02-25 14:45:12 +01:00
|
|
|
'class' => 'buttonHelp'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-04-26 18:46:09 +02:00
|
|
|
<div class="col2 offset8">
|
2022-02-08 17:00:08 +01:00
|
|
|
<?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">
|
2022-02-10 09:10:21 +01:00
|
|
|
<div class="col6">
|
2022-03-11 11:12:16 +01:00
|
|
|
<?php echo template::checkbox('fontAddFontImported', true, 'Fonte en ligne', []); ?>
|
2022-02-10 09:10:21 +01:00
|
|
|
</div>
|
|
|
|
<div class="col6">
|
2022-03-11 11:12:16 +01:00
|
|
|
<?php echo template::checkbox('fontAddFontFile', true,'Fonte installée', []); ?>
|
2022-02-09 16:17:56 +01:00
|
|
|
</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-03-11 11:12:16 +01:00
|
|
|
'placeholder' => 'big-marker-extrude'
|
2022-02-08 17:00:08 +01:00
|
|
|
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('fontAddFontName', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Nom (Font Family)',
|
2022-03-22 18:50:53 +01:00
|
|
|
'placeholder' => 'PerryGothic'
|
2022-02-08 17:00:08 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2022-03-11 11:12:16 +01:00
|
|
|
<div class="col12">
|
|
|
|
<?php echo template::text('fontAddFontFamilyName', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Famille',
|
|
|
|
'placeholder' => "'Big Marker Extrude', sans-serif"
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row" id="containerFontAddFile">
|
2022-02-08 17:00:08 +01:00
|
|
|
<div class="col12">
|
|
|
|
<?php echo template::file('fontAddFile', [
|
2022-03-11 11:12:16 +01:00
|
|
|
'label' => 'Fichier de fonte (Format WOFF)'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row" id="containerFontAddUrl">
|
|
|
|
<div class="col12">
|
|
|
|
<?php echo template::text('fontAddUrl', [
|
|
|
|
'label' => 'Url du fichier de fonte',
|
|
|
|
'placeholder' => 'https://fonts.cdnfonts.com/css/big-marker-extrude'
|
2022-02-08 17:00:08 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-02-10 08:25:23 +01:00
|
|
|
</div>
|
2022-02-08 17:00:08 +01:00
|
|
|
<?php echo template::formClose(); ?>
|