Changeset 21022 in spip-zone


Ignore:
Timestamp:
Jun 19, 2008, 10:22:05 PM (11 years ago)
Author:
toutati@…
Message:

un css externe pour modifier facilement le formulaire d'upload, en esperant que ça ne casse rien ;)

Location:
_plugins_/_dev_/formulaire_upload
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_dev_/formulaire_upload/formulaires/upload.html

    r16909 r21022  
    11<div class="formulaire_spip formulaire_upload">
    22
    3 <form action="#ENV{url}#formulaire_upload" method="post" enctype="multipart/form-data"><div>
     3<form action="#ENV{url}#formulaire_upload" method="post" enctype="multipart/form-data">
    44[(#ENV{url_post}|form_hidden)]
    55
     
    2424        {id_auteur?}{id_article?}{id_breve?}{id_rubrique?}
    2525        {!par id_document}{pagination 3}>
    26         <div style="border:1px solid #ccc;margin-top:8px;margin-bottom:8px;padding:3px">
    27         <div class="spip_doc_descriptif" style='float:#LANG_LEFT;width:80px; margin-bottom: 8px; text-align:center;'>
     26        <div class="bord_formup">
     27        <div class="spip_doc_descriptif spip_doc_logo float#LANG_RIGHT">
    2828        [(#SET{logo,[(#LOGO_DOCUMENT|#URL_DOCUMENT
    2929                |inserer_attribut{title,#TYPE_DOCUMENT[
     
    3535                [<br />(#DATE|affdate_court)]
    3636        </div>
    37         <div style='float:#LANG_RIGHT;width:57%;'>
    38                 <div style='float:#LANG_RIGHT;width:10px;'>
     37        <div class='float#LANG_RIGHT decrire_doc'>
     38                <div class='forboxcheck checkbox'>
    3939                <input type="checkbox" name="supprimer[]" value="#ID_DOCUMENT" title="<:formupload:doc_delete:>" />
    4040                </div>
     
    4747        [(#CONFIG{formupload/insert_code}|?{' ',''})
    4848        <div class="insert_code">
    49                 <strong><:formupload:insert_code:></strong><br />
     49                <div class="strong"><:formupload:insert_code:></div>
    5050                [(#TYPE_DOCUMENT|match{jpg|gif|png}|?{' ',''})
    5151                <abbr title="<:formupload:img_left:>">&lt;img#ID_DOCUMENT|left&gt;</abbr> <abbr title="<:formupload:img_center:>">&lt;img#ID_DOCUMENT|center&gt;</abbr> <abbr title="<:formupload:img_right:>">&lt;img#ID_DOCUMENT|right&gt;]
     
    6464        <input type="text" name="nobot" id="nobot" value="#ENV{nobot}" size="10" /></p>
    6565
    66         <div style="margin-top:5px; padding:5px; border-top: dotted gray 1px;">
    67                 <label for="fichier"><:formupload:choosefiles:>
    68                 <input type="file" name="fichier" class="forml"[ accept="(#CONFIG{formupload/files_accepted})"][ maxlength="(#CONFIG{formupload/files_number})"] />
    69                 </label>
     66        <div class="inputfile">
     67                <label for="fichier"><:formupload:choosefiles:></label>
     68                <input type="file" name="fichier" class="forml" style="padding:0; font-size:0.8em" [ accept="(#CONFIG{formupload/files_accepted})"][ maxlength="(#CONFIG{formupload/files_number})"] />
     69       
     70
     71        <p class="spip_bouton"><input type="submit" value="<:bouton_enregistrer:>" /><br style="clear:both;" /></p>
    7072        </div>
    71 
    72         <p class="spip_bouton"><input type="submit" value="<:bouton_enregistrer:>" /></p>
    73 
     73       
    7474        </fieldset>
    7575        <br style="clear:both;" />
     
    7979</form>
    8080
    81 </div>
    8281<br style="clear:both" />
  • _plugins_/_dev_/formulaire_upload/modeles/upload_documents_auteurs.html

    r13619 r21022  
    22<p class="pagination">#PAGINATION</p>
    33<table id="zone-documents">
    4 <BOUCLE_tous(DOCUMENTS){id_auteur>0}{pagination}{!par date}>
     4<BOUCLE_tous(DOCUMENTS){id_auteur>0}{id_article?}{id_rubrique?}{id_breve?}{pagination}{!par date}>
    55<tr><td class="logo-document">
    66#ID_AUTEUR [(#LOGO_DOCUMENT|#URL_DOCUMENT)]
  • _plugins_/_dev_/formulaire_upload/upload_zone.html

    r16927 r21022  
    55<title>Upload Zone - [(#NOM_SITE_SPIP|textebrut)]</title>
    66[<meta name="description" content="(#INTRODUCTION|couper{150}|textebrut)" />]
     7
     8[(#REM) on peut surcharger la css du formulaire]
     9[<link rel="stylesheet" href="(#CHEMIN{upload.css}|direction_css)" type="text/css" media="projection, screen, tv" />]
     10
    711<INCLURE{fond=inc-head}>
     12
    813
    914<style type="text/css"><!--
Note: See TracChangeset for help on using the changeset viewer.