Overview
Comment:Amélioration ergonomie édition wiki
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1a0d846e54fba6788da2c76f5a6050dd8b116a49
User & Date: bohwaz on 2012-09-04 00:14:56
Other Links: manifest | tags
Context
2012-09-04
01:27
Modification de la date de création d'une page wiki check-in: a3190f4fe0 user: bohwaz tags: trunk
00:14
Amélioration ergonomie édition wiki check-in: 1a0d846e54 user: bohwaz tags: trunk
2012-08-28
22:58
Typo check-in: 10b10a1d16 user: bohwaz tags: trunk
Changes

Modified templates/admin/wiki/editer.tpl from [d87267f43c] to [aabb376e25].

62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
            </dd>
        </dl>
    </fieldset>


    <fieldset class="wikiText">
        <p>
            <textarea name="contenu" id="f_contenu" cols="70" rows="30">{form_field data=$page name=contenu}</textarea>
        </p>
    </fieldset>

    <fieldset class="wikiRevision">
        <dl>
            <dt><label for="f_modification">Résumé des modifications</label>  <i>(facultatif)</i></dt>
            <dd><input type="text" name="modification" id="f_modification" value="{form_field data=$page name=modification}" /></dd>







|







62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
            </dd>
        </dl>
    </fieldset>


    <fieldset class="wikiText">
        <p>
            <textarea name="contenu" id="f_contenu" cols="70" rows="32">{form_field data=$page name=contenu}</textarea>
        </p>
    </fieldset>

    <fieldset class="wikiRevision">
        <dl>
            <dt><label for="f_modification">Résumé des modifications</label>  <i>(facultatif)</i></dt>
            <dd><input type="text" name="modification" id="f_modification" value="{form_field data=$page name=modification}" /></dd>

Modified www/admin/static/admin.css from [284e2a761b] to [df29a038c2].

146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
    padding: 0.2em 0.5em 0.2em 1em;
}

input[type=text], textarea, input[type=password], input[type=email],
input[type=url], input[type=tel], select {
    padding: 0.2em 0.4em;
    font-family: Sans-serif;
    min-width: 20em;
}

input[type=number], input[type=date] {
    padding: 0.2em 0.4em;
    font-family: Sans-serif;
    min-width: 2em;
}







|







146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
    padding: 0.2em 0.5em 0.2em 1em;
}

input[type=text], textarea, input[type=password], input[type=email],
input[type=url], input[type=tel], select {
    padding: 0.2em 0.4em;
    font-family: Sans-serif;
    min-width: 10em;
}

input[type=number], input[type=date] {
    padding: 0.2em 0.4em;
    font-family: Sans-serif;
    min-width: 2em;
}
435
436
437
438
439
440
441
442


443
444
445
446
447
448
449
450
451
452
453
454
455
456

457
458
459
460
461
462
463
464
465
466
467
468
469
470
471




472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488

489
490
491
492
493
494
495
496
497
498
499
500
501
502


503
504
505



506
507
508
509
510
511
512
513
514
515
516
517
518
    margin-top: -2em;
    float: right;
}

.memberList {
    clear: both;
}



fieldset.wikiText {
    clear: both;
    border: none;
    padding: 0.5em;
}

fieldset.wikiText textarea, fieldset.skelEdit textarea {
    width: 100%;
}

fieldset.wikiMain {
    float: left;
    width: 47%;
    margin-right: 2%;

}

fieldset.wikiMain #f_titre {
    width: 90%;
    font-size: 14pt;
}

fieldset.wikiMain #f_uri {
    width: 90%;
}

fieldset.wikiRights dl {
    font-size: 10pt;
}





fieldset.wikiRevision #f_modification {
    width: 100%;
}

.wikiContent p, .wikiContent h3, .wikiContent h4, .wikiContent h5, .wikiContent h6,
.wikiContent ul, .wikiContent ol, .wikiContent table, .wikiContent blockquote {
    margin-bottom: 8pt;
}

.wikiContent ul, .wikiContent ol, .wikiContent dd {
    margin-left: 2em;
}

.pagination {
    clear: both;
    list-style-type: none;
    padding: 0.4em 0;

    text-align: center;
}

.pagination li {
    display: inline-block;
    margin: 0 0.3em;
}

.pagination li.current {
    font-size: 1.3em;
}

.pagination li a {
    color: #000;


}

fieldset.memberMessage {



    max-width: 30em;
}

fieldset.memberMessage #f_sujet, fieldset.memberMessage #f_message {
    width: 95%;
}

.wikiFooter {
    font-size: 0.8em;
    color: #666;
    border-top: 0.1em solid #ccc;
    clear: both;
}








>
>

<

<






|
|
|
|
>















>
>
>
>

|











|
<
<
|
>
|
<
|
|
<
|
<
|
<
|


|
|
>
>


|
>
>
>
|
<
|
<
<
<







435
436
437
438
439
440
441
442
443
444
445

446

447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490


491
492
493

494
495

496

497

498
499
500
501
502
503
504
505
506
507
508
509
510
511

512



513
514
515
516
517
518
519
    margin-top: -2em;
    float: right;
}

.memberList {
    clear: both;
}

/* WIKI */

fieldset.wikiText {

    border: none;

}

fieldset.wikiText textarea, fieldset.skelEdit textarea {
    width: 100%;
}

fieldset.wikiMain, fieldset.wikiRights {
    float: right;
    width: 30%;
    margin-left: 3%;
    clear: right;
}

fieldset.wikiMain #f_titre {
    width: 90%;
    font-size: 14pt;
}

fieldset.wikiMain #f_uri {
    width: 90%;
}

fieldset.wikiRights dl {
    font-size: 10pt;
}

fieldset.wikiRevision  {
    clear: both;
}

fieldset.wikiRevision #f_modification {
    width: 90%;
}

.wikiContent p, .wikiContent h3, .wikiContent h4, .wikiContent h5, .wikiContent h6,
.wikiContent ul, .wikiContent ol, .wikiContent table, .wikiContent blockquote {
    margin-bottom: 8pt;
}

.wikiContent ul, .wikiContent ol, .wikiContent dd {
    margin-left: 2em;
}

.toolbar input {


    padding: .1em .2em;
    border: 1px solid #ccc;
    color: #000;

    background: #fff;
    cursor: pointer;

    margin: 0 .5em .5em .5em;

    border-bottom: 2px solid #9c4f15;

    border-radius: .2em;
}

.toolbar input:hover {
    color: #fff;
    background: #d98628;
    border-color: transparent;
}

.toolbar .title { font-size: 1.2em; }
.toolbar .bold { font-weight: bold; }
.toolbar .italic { font-style: italic; }
.toolbar .code { font-family: Courier New, Courier, mono; }
.toolbar .strike { text-decoration: line-through; }

.toolbar .link { color: blue; text-decoration: underline; }




.wikiFooter {
    font-size: 0.8em;
    color: #666;
    border-top: 0.1em solid #ccc;
    clear: both;
}
546
547
548
549
550
551
552






553
554
555
556
557
558
559
.wikiTree ul ul {
    margin-left: 2em;
}

.wikiTree a {
    color: #666;
}







.wikiTree li {
    margin: 0.2em 0;
}

.wikiTree h3 {
    font-size: 1em;







>
>
>
>
>
>







547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
.wikiTree ul ul {
    margin-left: 2em;
}

.wikiTree a {
    color: #666;
}

.wikiTree h3:before {
    content: "▸";
    display: inline;
    margin-right: .5em;
}

.wikiTree li {
    margin: 0.2em 0;
}

.wikiTree h3 {
    font-size: 1em;
646
647
648
649
650
651
652




























653
654
655
656
657
658
659
.diff .line { width: 2%; padding: 0.2em; text-align: right; }
.diff .leftChange, .diff .rightChange { padding: 0.2em; text-align: center; }
.diff ins { background: #9f9; }
.diff del { background: #f99; }
.diff hr { background: none; border: none; border-top: 2px dotted #000; color: #fff; }
.diff { border-collapse: collapse; width: 100%; font-size: 0.9em; }
.diff tr { border: 1px solid #ccc; vertical-align: top; }





























.templatesList ul {
    margin: 1em 2em;
}

.catList dt {
    font-size: 1.2em;







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
.diff .line { width: 2%; padding: 0.2em; text-align: right; }
.diff .leftChange, .diff .rightChange { padding: 0.2em; text-align: center; }
.diff ins { background: #9f9; }
.diff del { background: #f99; }
.diff hr { background: none; border: none; border-top: 2px dotted #000; color: #fff; }
.diff { border-collapse: collapse; width: 100%; font-size: 0.9em; }
.diff tr { border: 1px solid #ccc; vertical-align: top; }

.pagination {
    clear: both;
    list-style-type: none;
    padding: 0.4em 0;
    text-align: center;
}

.pagination li {
    display: inline-block;
    margin: 0 0.3em;
}

.pagination li.current {
    font-size: 1.3em;
}

.pagination li a {
    color: #000;
}

fieldset.memberMessage {
    max-width: 30em;
}

fieldset.memberMessage #f_sujet, fieldset.memberMessage #f_message {
    width: 95%;
}

.templatesList ul {
    margin: 1em 2em;
}

.catList dt {
    font-size: 1.2em;

Modified www/admin/static/wikitoolbar.js from [ea167f721d] to [a8994c22e2].

92
93
94
95
96
97
98

99
100







101
102
103
104
105
106
107

		var txt = document.getElementById('f_contenu');
		var parent = txt.parentNode.parentNode;
		var toolbar = document.createElement('div');
		toolbar.className = "toolbar";

		addBtn('title', 'Titre', function () { selection.wrap(txt, '{{{', "}}}\n"); } );

		addBtn('bold', 'Gras', function () { selection.wrap(txt, '{{', '}}'); } );
		addBtn('italic', 'Italique', function () { selection.wrap(txt, '{', '}'); } );








		parent.insertBefore(toolbar, txt.parentNode);
	}

	if (document.addEventListener)
	{
		document.addEventListener("DOMContentLoaded", launchToolbar, false);







>

|
>
>
>
>
>
>
>







92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115

		var txt = document.getElementById('f_contenu');
		var parent = txt.parentNode.parentNode;
		var toolbar = document.createElement('div');
		toolbar.className = "toolbar";

		addBtn('title', 'Titre', function () { selection.wrap(txt, '{{{', "}}}\n"); } );
		addBtn('italic', 'Italique', function () { selection.wrap(txt, '{', '}'); } );
		addBtn('bold', 'Gras', function () { selection.wrap(txt, '{{', '}}'); } );
		addBtn('strike', 'Barré', function () { selection.wrap(txt, '<del>', '</del>'); } );
		addBtn('code', 'Chasse fixe', function () { selection.wrap(txt, '<pre>', '</pre>'); } );
		addBtn('link', 'Lien', function () {
				if (url = window.prompt('Adresse du lien ?'))
				{
						selection.wrap(txt, '[', '->' + url + ']');
				}
			} );

		parent.insertBefore(toolbar, txt.parentNode);
	}

	if (document.addEventListener)
	{
		document.addEventListener("DOMContentLoaded", launchToolbar, false);