View | Details | Raw Unified | Return to bug 11904
Collapse All | Expand All

(-)a/Koha/Messages.pm (+141 lines)
Line 0 Link Here
1
package Koha::Messages;
2
3
# Copyright 2014 BibLibre
4
#
5
# This file is part of Koha.
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
20
use Modern::Perl;
21
22
use CGI;
23
use C4::Auth qw( get_session );
24
25
use base qw( Exporter );
26
our @EXPORT = qw( messages_set messages_get );
27
28
=head1 NAME
29
30
Koha::Messages - Messages in user's session
31
32
=head1 SYNOPSIS
33
34
  use Koha::Messages;
35
36
  messages_set("Operation succeeded");
37
  messages_set("Something odd happened", "warning");
38
  messages_set("Operation failed", "error");
39
40
  my $messages = messages_get();
41
42
=head1 DESCRIPTION
43
44
This module provides a uniform way to send messages to user interface.
45
46
=head1 FUNCTIONS
47
48
=cut
49
50
sub session {
51
    my $cgi = new CGI;
52
    my $cgisessid = $cgi->cookie('CGISESSID') || '';
53
    return get_session($cgisessid);
54
}
55
56
=head2 messages_set
57
58
    messages_set($message);
59
    messages_set($message, $type);
60
61
This function store a message into user session with a given type.
62
63
=head3 Parameters
64
65
=over 2
66
67
=item * $message: The message string to store
68
69
=item * $type: The type of message. Can be one of 'ok', 'warning', or 'error'.
70
If not given, defaults to 'ok'.
71
72
=back
73
74
=cut
75
76
sub messages_set {
77
    my ($message, $type) = @_;
78
79
    return unless $message;
80
81
    $type //= 'ok';
82
83
    my $session = session;
84
    my $messages = $session->param('messages') // {};
85
    $messages->{$type} //= [];
86
87
    push @{ $messages->{$type} }, $message;
88
89
    $session->param('messages', $messages);
90
91
    # Save session
92
    $session->flush;
93
}
94
95
=head2 messages_get
96
97
    $messages = messages_get();
98
99
This function retrieves all messages in a hashref and remove them from user
100
session.
101
102
=head3 Return value
103
104
A hashref where keys are the type of messages and values are arrayrefs of
105
messages.
106
107
Example:
108
109
  $messages = {
110
    'ok' => [
111
      "Everything is ok",
112
      "Operation succeeded"
113
    ],
114
    'warning' => [
115
      "Something odd happended"
116
    ],
117
  };
118
119
=cut
120
121
sub messages_get {
122
    my $session = session;
123
124
    my $messages = $session->param('messages') // {};
125
126
    # Empty messages
127
    $session->param('messages', {});
128
129
    # Save session
130
    $session->flush;
131
132
    return $messages;
133
}
134
135
=head1 SEE ALSO
136
137
Koha::Template::Plugin::Messages
138
139
=cut
140
141
1;
(-)a/Koha/Template/Plugin/Messages.pm (+12 lines)
Line 0 Link Here
1
package Koha::Template::Plugin::Messages;
2
3
use Modern::Perl;
4
5
use base qw( Template::Plugin );
6
use Koha::Messages;
7
8
sub Get {
9
    return messages_get();
10
}
11
12
1;
(-)a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css (+29 lines)
Lines 2712-2714 span.browse-button { Link Here
2712
    font-size:0.8em;
2712
    font-size:0.8em;
2713
    padding:0.5em;
2713
    padding:0.5em;
2714
}
2714
}
2715
2716
/* Messages */
2717
div.messages {
2718
  background-color: white;
2719
  background-position: 5px 5px;
2720
  background-repeat: no-repeat;
2721
  border: 1px solid #b9d8d9;
2722
  border-radius: 4px;
2723
  -moz-border-radius: 4px;
2724
  -webkit-border-radius: 4px;
2725
  color: black;
2726
  margin: 10px 0;
2727
  padding: 5px 5px 5px 25px;
2728
}
2729
2730
div.messages.ok {
2731
  background-color: #f4f8f9;
2732
  background-image: url('../../img/messages-ok.png');
2733
}
2734
2735
div.messages.warning {
2736
  background-color: #ffff99;
2737
  background-image: url('../../img/messages-warning.png');
2738
}
2739
2740
div.messages.error {
2741
  background-color: #ff7777;
2742
  background-image: url('../../img/messages-error.png');
2743
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/messages.inc (+19 lines)
Line 0 Link Here
1
[% USE Messages %]
2
[% contents = Messages.Get() %]
3
4
[% FOREACH type IN contents.keys %]
5
  [% messages = contents.$type %]
6
  [% IF messages.size > 0 %]
7
    <div class="messages [% type %]">
8
      [% IF messages.size > 1 %]
9
        <ul>
10
          [% FOREACH message IN contents.$type %]
11
            <li>[% message %]</li>
12
          [% END %]
13
        </ul>
14
      [% ELSE %]
15
        [% messages.0 %]
16
      [% END %]
17
    </div>
18
  [% END %]
19
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/img/messages-error.svg (+139 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!-- Created with Inkscape (http://www.inkscape.org/) -->
3
4
<svg
5
   xmlns:dc="http://purl.org/dc/elements/1.1/"
6
   xmlns:cc="http://creativecommons.org/ns#"
7
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
   xmlns:svg="http://www.w3.org/2000/svg"
9
   xmlns="http://www.w3.org/2000/svg"
10
   xmlns:xlink="http://www.w3.org/1999/xlink"
11
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
12
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
13
   width="210mm"
14
   height="297mm"
15
   id="svg2"
16
   version="1.1"
17
   inkscape:version="0.48.4 r9939"
18
   sodipodi:docname="flash-error.svg">
19
  <defs
20
     id="defs4">
21
    <linearGradient
22
       id="linearGradient4515">
23
      <stop
24
         style="stop-color:#ff0000;stop-opacity:1;"
25
         offset="0"
26
         id="stop4517" />
27
      <stop
28
         style="stop-color:#aa0000;stop-opacity:1;"
29
         offset="1"
30
         id="stop4519" />
31
    </linearGradient>
32
    <marker
33
       inkscape:stockid="Arrow1Lstart"
34
       orient="auto"
35
       refY="0.0"
36
       refX="0.0"
37
       id="Arrow1Lstart"
38
       style="overflow:visible">
39
      <path
40
         id="path3855"
41
         d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
42
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt"
43
         transform="scale(0.8) translate(12.5,0)" />
44
    </marker>
45
    <linearGradient
46
       id="linearGradient3056">
47
      <stop
48
         style="stop-color:#007c00;stop-opacity:0.99242425;"
49
         offset="0"
50
         id="stop3073" />
51
      <stop
52
         style="stop-color:#00ff00;stop-opacity:1;"
53
         offset="1"
54
         id="stop3060" />
55
    </linearGradient>
56
    <linearGradient
57
       inkscape:collect="always"
58
       xlink:href="#linearGradient4515"
59
       id="linearGradient4521"
60
       x1="297.56363"
61
       y1="370.95212"
62
       x2="438.68622"
63
       y2="716.45923"
64
       gradientUnits="userSpaceOnUse" />
65
  </defs>
66
  <sodipodi:namedview
67
     id="base"
68
     pagecolor="#ffffff"
69
     bordercolor="#666666"
70
     borderopacity="1.0"
71
     inkscape:pageopacity="0.0"
72
     inkscape:pageshadow="2"
73
     inkscape:zoom="1.2519785"
74
     inkscape:cx="366.50855"
75
     inkscape:cy="515.91331"
76
     inkscape:document-units="px"
77
     inkscape:current-layer="layer1"
78
     showgrid="false"
79
     inkscape:window-width="1364"
80
     inkscape:window-height="747"
81
     inkscape:window-x="0"
82
     inkscape:window-y="19"
83
     inkscape:window-maximized="0" />
84
  <metadata
85
     id="metadata7">
86
    <rdf:RDF>
87
      <cc:Work
88
         rdf:about="">
89
        <dc:format>image/svg+xml</dc:format>
90
        <dc:type
91
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
92
        <dc:title></dc:title>
93
      </cc:Work>
94
    </rdf:RDF>
95
  </metadata>
96
  <g
97
     inkscape:label="Calque 1"
98
     inkscape:groupmode="layer"
99
     id="layer1">
100
    <path
101
       sodipodi:type="arc"
102
       style="fill:url(#linearGradient4521);stroke:#000000;stroke-width:4;stroke-miterlimit:4;stroke-dasharray:none;fill-opacity:1;stroke-linejoin:miter;marker-start:none"
103
       id="path2985"
104
       sodipodi:cx="412.85715"
105
       sodipodi:cy="573.79077"
106
       sodipodi:rx="210"
107
       sodipodi:ry="210"
108
       d="m 622.85715,573.79077 a 210,210 0 1 1 -420,0 210,210 0 1 1 420,0 z"
109
       transform="translate(-48.571429,-42.857143)"
110
       clip-path="none"
111
       inkscape:export-xdpi="3.1800001"
112
       inkscape:export-ydpi="3.1800001"
113
       inkscape:export-filename="/home/julian/mnt/lxc/koha-community/home/koha/src/koha-tmpl/intranet-tmpl/prog/img/flash-error.png" />
114
    <rect
115
       style="fill:#ffffff;stroke:#b3b3b3;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none"
116
       id="rect2995-6"
117
       width="34.285713"
118
       height="157.14285"
119
       x="491.42856"
120
       y="805.2193" />
121
    <rect
122
       style="fill:#ffffff;stroke:#ffffff;stroke-width:3.18947482;stroke-miterlimit:4;stroke-dasharray:none"
123
       id="rect2995"
124
       width="56.109856"
125
       height="311.43195"
126
       x="603.33112"
127
       y="-44.856983"
128
       transform="matrix(0.69707974,0.71699361,-0.69707974,0.71699361,0,0)" />
129
    <rect
130
       style="fill:#ffffff;stroke:#ffffff;stroke-width:3.91251945;stroke-miterlimit:4;stroke-dasharray:none"
131
       id="rect2995-7"
132
       width="54.651596"
133
       height="314.63809"
134
       x="-143.05527"
135
       y="472.45291"
136
       transform="matrix(0.70158587,-0.71258492,0.70158587,0.71258492,0,0)"
137
       ry="0" />
138
  </g>
139
</svg>
(-)a/koha-tmpl/intranet-tmpl/prog/img/messages-ok.svg (+127 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!-- Created with Inkscape (http://www.inkscape.org/) -->
3
4
<svg
5
   xmlns:dc="http://purl.org/dc/elements/1.1/"
6
   xmlns:cc="http://creativecommons.org/ns#"
7
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
   xmlns:svg="http://www.w3.org/2000/svg"
9
   xmlns="http://www.w3.org/2000/svg"
10
   xmlns:xlink="http://www.w3.org/1999/xlink"
11
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
12
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
13
   width="210mm"
14
   height="297mm"
15
   id="svg2"
16
   version="1.1"
17
   inkscape:version="0.48.4 r9939"
18
   sodipodi:docname="Nouveau document 1">
19
  <defs
20
     id="defs4">
21
    <marker
22
       inkscape:stockid="Arrow1Lstart"
23
       orient="auto"
24
       refY="0.0"
25
       refX="0.0"
26
       id="Arrow1Lstart"
27
       style="overflow:visible">
28
      <path
29
         id="path3855"
30
         d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
31
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt"
32
         transform="scale(0.8) translate(12.5,0)" />
33
    </marker>
34
    <linearGradient
35
       id="linearGradient3056">
36
      <stop
37
         style="stop-color:#007c00;stop-opacity:0.99242425;"
38
         offset="0"
39
         id="stop3073" />
40
      <stop
41
         style="stop-color:#00ff00;stop-opacity:1;"
42
         offset="1"
43
         id="stop3060" />
44
    </linearGradient>
45
    <linearGradient
46
       inkscape:collect="always"
47
       xlink:href="#linearGradient3056"
48
       id="linearGradient3069"
49
       gradientUnits="userSpaceOnUse"
50
       x1="411.7222"
51
       y1="760.62836"
52
       x2="315.93134"
53
       y2="353.03528" />
54
  </defs>
55
  <sodipodi:namedview
56
     id="base"
57
     pagecolor="#ffffff"
58
     bordercolor="#666666"
59
     borderopacity="1.0"
60
     inkscape:pageopacity="0.0"
61
     inkscape:pageshadow="2"
62
     inkscape:zoom="1.2329704"
63
     inkscape:cx="198.6889"
64
     inkscape:cy="524.50754"
65
     inkscape:document-units="px"
66
     inkscape:current-layer="layer1"
67
     showgrid="false"
68
     inkscape:window-width="1364"
69
     inkscape:window-height="747"
70
     inkscape:window-x="0"
71
     inkscape:window-y="19"
72
     inkscape:window-maximized="0" />
73
  <metadata
74
     id="metadata7">
75
    <rdf:RDF>
76
      <cc:Work
77
         rdf:about="">
78
        <dc:format>image/svg+xml</dc:format>
79
        <dc:type
80
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
81
        <dc:title></dc:title>
82
      </cc:Work>
83
    </rdf:RDF>
84
  </metadata>
85
  <g
86
     inkscape:label="Calque 1"
87
     inkscape:groupmode="layer"
88
     id="layer1">
89
    <path
90
       sodipodi:type="arc"
91
       style="fill:url(#linearGradient3069);stroke:#000000;stroke-width:4;stroke-miterlimit:4;stroke-dasharray:none;fill-opacity:1;stroke-linejoin:miter;marker-start:none"
92
       id="path2985"
93
       sodipodi:cx="412.85715"
94
       sodipodi:cy="573.79077"
95
       sodipodi:rx="210"
96
       sodipodi:ry="210"
97
       d="m 622.85715,573.79077 a 210,210 0 1 1 -420,0 210,210 0 1 1 420,0 z"
98
       transform="translate(-48.571429,-42.857143)"
99
       clip-path="none"
100
       inkscape:export-xdpi="3.1800001"
101
       inkscape:export-ydpi="3.1800001" />
102
    <rect
103
       style="fill:#ffffff;stroke:#b3b3b3;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none"
104
       id="rect2995-6"
105
       width="34.285713"
106
       height="157.14285"
107
       x="491.42856"
108
       y="805.2193" />
109
    <rect
110
       style="fill:#ffffff;stroke:#ffffff;stroke-width:3.20195031;stroke-miterlimit:4;stroke-dasharray:none"
111
       id="rect2995"
112
       width="56.231792"
113
       height="237.79759"
114
       x="634.94287"
115
       y="-57.230003"
116
       transform="matrix(0.69707974,0.71699361,-0.69707974,0.71699361,0,0)" />
117
    <rect
118
       style="fill:#ffffff;stroke:#ffffff;stroke-width:2.37494564;stroke-miterlimit:4;stroke-dasharray:none"
119
       id="rect2995-7"
120
       width="55.077957"
121
       height="187.32999"
122
       x="-209.73082"
123
       y="504.0864"
124
       transform="matrix(0.69707974,-0.71699361,0.69707974,0.71699361,0,0)"
125
       ry="0" />
126
  </g>
127
</svg>
(-)a/koha-tmpl/intranet-tmpl/prog/img/messages-warning.svg (+98 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!-- Created with Inkscape (http://www.inkscape.org/) -->
3
4
<svg
5
   xmlns:dc="http://purl.org/dc/elements/1.1/"
6
   xmlns:cc="http://creativecommons.org/ns#"
7
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
   xmlns:svg="http://www.w3.org/2000/svg"
9
   xmlns="http://www.w3.org/2000/svg"
10
   xmlns:xlink="http://www.w3.org/1999/xlink"
11
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
12
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
13
   width="210mm"
14
   height="297mm"
15
   id="svg2"
16
   version="1.1"
17
   inkscape:version="0.48.4 r9939"
18
   sodipodi:docname="flash-warning.svg">
19
  <defs
20
     id="defs4">
21
    <linearGradient
22
       id="linearGradient3763">
23
      <stop
24
         style="stop-color:#ffff00;stop-opacity:1;"
25
         offset="0"
26
         id="stop3765" />
27
      <stop
28
         style="stop-color:#c8c800;stop-opacity:1;"
29
         offset="1"
30
         id="stop3767" />
31
    </linearGradient>
32
    <linearGradient
33
       inkscape:collect="always"
34
       xlink:href="#linearGradient3763"
35
       id="linearGradient3769"
36
       x1="348.95874"
37
       y1="423.19217"
38
       x2="407.26358"
39
       y2="545.02319"
40
       gradientUnits="userSpaceOnUse" />
41
  </defs>
42
  <sodipodi:namedview
43
     id="base"
44
     pagecolor="#ffffff"
45
     bordercolor="#666666"
46
     borderopacity="1.0"
47
     inkscape:pageopacity="0.0"
48
     inkscape:pageshadow="2"
49
     inkscape:zoom="1.1491329"
50
     inkscape:cx="330.01999"
51
     inkscape:cy="616.34841"
52
     inkscape:document-units="px"
53
     inkscape:current-layer="layer1"
54
     showgrid="false"
55
     inkscape:window-width="1364"
56
     inkscape:window-height="747"
57
     inkscape:window-x="0"
58
     inkscape:window-y="19"
59
     inkscape:window-maximized="0" />
60
  <metadata
61
     id="metadata7">
62
    <rdf:RDF>
63
      <cc:Work
64
         rdf:about="">
65
        <dc:format>image/svg+xml</dc:format>
66
        <dc:type
67
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
68
        <dc:title></dc:title>
69
      </cc:Work>
70
    </rdf:RDF>
71
  </metadata>
72
  <g
73
     inkscape:label="Calque 1"
74
     inkscape:groupmode="layer"
75
     id="layer1">
76
    <path
77
       style="fill:url(#linearGradient3769);fill-opacity:1;stroke:#000000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
78
       d="m 337.14285,331.78371 -157.22836,288.52615 315.32696,1.49397 z"
79
       id="path2985"
80
       inkscape:connector-curvature="0"
81
       sodipodi:nodetypes="cccc"
82
       inkscape:export-filename="/home/julian/mnt/lxc/koha-community/home/koha/src/koha-tmpl/intranet-tmpl/prog/img/flash-warning.png"
83
       inkscape:export-xdpi="4.2852411"
84
       inkscape:export-ydpi="4.2852411" />
85
    <flowRoot
86
       xml:space="preserve"
87
       id="flowRoot3755"
88
       style="font-size:230px;font-style:normal;font-weight:normal;text-align:center;line-height:100%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
89
       transform="matrix(1.763424,0,0,1,-257.54626,11.129779)"><flowRegion
90
         id="flowRegion3757"><rect
91
           id="rect3759"
92
           width="116.60966"
93
           height="209.72334"
94
           x="279.34103"
95
           y="385.77264"
96
           style="font-size:230px;text-align:center;line-height:100%;text-anchor:middle" /></flowRegion><flowPara
97
         id="flowPara3761">!</flowPara></flowRoot>  </g>
98
</svg>
(-)a/koha-tmpl/opac-tmpl/bootstrap/css/opac.css (+30 lines)
Lines 2278-2283 a.reviewlink:visited { Link Here
2278
  -moz-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
2278
  -moz-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
2279
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
2279
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
2280
}
2280
}
2281
2282
/* Messages */
2283
div.messages {
2284
  background-color: white;
2285
  background-position: 5px 5px;
2286
  background-repeat: no-repeat;
2287
  border: 1px solid #b9d8d9;
2288
  border-radius: 4px;
2289
  -moz-border-radius: 4px;
2290
  -webkit-border-radius: 4px;
2291
  color: black;
2292
  margin: 10px 20px;
2293
  padding: 5px 5px 5px 25px;
2294
}
2295
2296
div.messages.ok {
2297
  background-color: #f4f8f9;
2298
  background-image: url('../images/messages-ok.png');
2299
}
2300
2301
div.messages.warning {
2302
  background-color: #ffff99;
2303
  background-image: url('../images/messages-warning.png');
2304
}
2305
2306
div.messages.error {
2307
  background-color: #ff7777;
2308
  background-image: url('../images/messages-error.png');
2309
}
2310
2281
@media only screen and (min-width: 0px) and (max-width: 304px) {
2311
@media only screen and (min-width: 0px) and (max-width: 304px) {
2282
  /* Screens bewteen 0 and 304 pixels wide */
2312
  /* Screens bewteen 0 and 304 pixels wide */
2283
  #oh:after {
2313
  #oh:after {
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/messages.inc (+19 lines)
Line 0 Link Here
1
[% USE Messages %]
2
[% contents = Messages.Get() %]
3
4
[% FOREACH type IN contents.keys %]
5
  [% messages = contents.$type %]
6
  [% IF messages.size > 0 %]
7
    <div class="messages [% type %]">
8
      [% IF messages.size > 1 %]
9
        <ul>
10
          [% FOREACH message IN contents.$type %]
11
            <li>[% message %]</li>
12
          [% END %]
13
        </ul>
14
      [% ELSE %]
15
        [% messages.0 %]
16
      [% END %]
17
    </div>
18
  [% END %]
19
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/images/messages-error.svg (+139 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!-- Created with Inkscape (http://www.inkscape.org/) -->
3
4
<svg
5
   xmlns:dc="http://purl.org/dc/elements/1.1/"
6
   xmlns:cc="http://creativecommons.org/ns#"
7
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
   xmlns:svg="http://www.w3.org/2000/svg"
9
   xmlns="http://www.w3.org/2000/svg"
10
   xmlns:xlink="http://www.w3.org/1999/xlink"
11
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
12
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
13
   width="210mm"
14
   height="297mm"
15
   id="svg2"
16
   version="1.1"
17
   inkscape:version="0.48.4 r9939"
18
   sodipodi:docname="flash-error.svg">
19
  <defs
20
     id="defs4">
21
    <linearGradient
22
       id="linearGradient4515">
23
      <stop
24
         style="stop-color:#ff0000;stop-opacity:1;"
25
         offset="0"
26
         id="stop4517" />
27
      <stop
28
         style="stop-color:#aa0000;stop-opacity:1;"
29
         offset="1"
30
         id="stop4519" />
31
    </linearGradient>
32
    <marker
33
       inkscape:stockid="Arrow1Lstart"
34
       orient="auto"
35
       refY="0.0"
36
       refX="0.0"
37
       id="Arrow1Lstart"
38
       style="overflow:visible">
39
      <path
40
         id="path3855"
41
         d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
42
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt"
43
         transform="scale(0.8) translate(12.5,0)" />
44
    </marker>
45
    <linearGradient
46
       id="linearGradient3056">
47
      <stop
48
         style="stop-color:#007c00;stop-opacity:0.99242425;"
49
         offset="0"
50
         id="stop3073" />
51
      <stop
52
         style="stop-color:#00ff00;stop-opacity:1;"
53
         offset="1"
54
         id="stop3060" />
55
    </linearGradient>
56
    <linearGradient
57
       inkscape:collect="always"
58
       xlink:href="#linearGradient4515"
59
       id="linearGradient4521"
60
       x1="297.56363"
61
       y1="370.95212"
62
       x2="438.68622"
63
       y2="716.45923"
64
       gradientUnits="userSpaceOnUse" />
65
  </defs>
66
  <sodipodi:namedview
67
     id="base"
68
     pagecolor="#ffffff"
69
     bordercolor="#666666"
70
     borderopacity="1.0"
71
     inkscape:pageopacity="0.0"
72
     inkscape:pageshadow="2"
73
     inkscape:zoom="1.2519785"
74
     inkscape:cx="366.50855"
75
     inkscape:cy="515.91331"
76
     inkscape:document-units="px"
77
     inkscape:current-layer="layer1"
78
     showgrid="false"
79
     inkscape:window-width="1364"
80
     inkscape:window-height="747"
81
     inkscape:window-x="0"
82
     inkscape:window-y="19"
83
     inkscape:window-maximized="0" />
84
  <metadata
85
     id="metadata7">
86
    <rdf:RDF>
87
      <cc:Work
88
         rdf:about="">
89
        <dc:format>image/svg+xml</dc:format>
90
        <dc:type
91
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
92
        <dc:title></dc:title>
93
      </cc:Work>
94
    </rdf:RDF>
95
  </metadata>
96
  <g
97
     inkscape:label="Calque 1"
98
     inkscape:groupmode="layer"
99
     id="layer1">
100
    <path
101
       sodipodi:type="arc"
102
       style="fill:url(#linearGradient4521);stroke:#000000;stroke-width:4;stroke-miterlimit:4;stroke-dasharray:none;fill-opacity:1;stroke-linejoin:miter;marker-start:none"
103
       id="path2985"
104
       sodipodi:cx="412.85715"
105
       sodipodi:cy="573.79077"
106
       sodipodi:rx="210"
107
       sodipodi:ry="210"
108
       d="m 622.85715,573.79077 a 210,210 0 1 1 -420,0 210,210 0 1 1 420,0 z"
109
       transform="translate(-48.571429,-42.857143)"
110
       clip-path="none"
111
       inkscape:export-xdpi="3.1800001"
112
       inkscape:export-ydpi="3.1800001"
113
       inkscape:export-filename="/home/julian/mnt/lxc/koha-community/home/koha/src/koha-tmpl/intranet-tmpl/prog/img/flash-error.png" />
114
    <rect
115
       style="fill:#ffffff;stroke:#b3b3b3;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none"
116
       id="rect2995-6"
117
       width="34.285713"
118
       height="157.14285"
119
       x="491.42856"
120
       y="805.2193" />
121
    <rect
122
       style="fill:#ffffff;stroke:#ffffff;stroke-width:3.18947482;stroke-miterlimit:4;stroke-dasharray:none"
123
       id="rect2995"
124
       width="56.109856"
125
       height="311.43195"
126
       x="603.33112"
127
       y="-44.856983"
128
       transform="matrix(0.69707974,0.71699361,-0.69707974,0.71699361,0,0)" />
129
    <rect
130
       style="fill:#ffffff;stroke:#ffffff;stroke-width:3.91251945;stroke-miterlimit:4;stroke-dasharray:none"
131
       id="rect2995-7"
132
       width="54.651596"
133
       height="314.63809"
134
       x="-143.05527"
135
       y="472.45291"
136
       transform="matrix(0.70158587,-0.71258492,0.70158587,0.71258492,0,0)"
137
       ry="0" />
138
  </g>
139
</svg>
(-)a/koha-tmpl/opac-tmpl/bootstrap/images/messages-ok.svg (+127 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!-- Created with Inkscape (http://www.inkscape.org/) -->
3
4
<svg
5
   xmlns:dc="http://purl.org/dc/elements/1.1/"
6
   xmlns:cc="http://creativecommons.org/ns#"
7
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
   xmlns:svg="http://www.w3.org/2000/svg"
9
   xmlns="http://www.w3.org/2000/svg"
10
   xmlns:xlink="http://www.w3.org/1999/xlink"
11
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
12
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
13
   width="210mm"
14
   height="297mm"
15
   id="svg2"
16
   version="1.1"
17
   inkscape:version="0.48.4 r9939"
18
   sodipodi:docname="Nouveau document 1">
19
  <defs
20
     id="defs4">
21
    <marker
22
       inkscape:stockid="Arrow1Lstart"
23
       orient="auto"
24
       refY="0.0"
25
       refX="0.0"
26
       id="Arrow1Lstart"
27
       style="overflow:visible">
28
      <path
29
         id="path3855"
30
         d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
31
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt"
32
         transform="scale(0.8) translate(12.5,0)" />
33
    </marker>
34
    <linearGradient
35
       id="linearGradient3056">
36
      <stop
37
         style="stop-color:#007c00;stop-opacity:0.99242425;"
38
         offset="0"
39
         id="stop3073" />
40
      <stop
41
         style="stop-color:#00ff00;stop-opacity:1;"
42
         offset="1"
43
         id="stop3060" />
44
    </linearGradient>
45
    <linearGradient
46
       inkscape:collect="always"
47
       xlink:href="#linearGradient3056"
48
       id="linearGradient3069"
49
       gradientUnits="userSpaceOnUse"
50
       x1="411.7222"
51
       y1="760.62836"
52
       x2="315.93134"
53
       y2="353.03528" />
54
  </defs>
55
  <sodipodi:namedview
56
     id="base"
57
     pagecolor="#ffffff"
58
     bordercolor="#666666"
59
     borderopacity="1.0"
60
     inkscape:pageopacity="0.0"
61
     inkscape:pageshadow="2"
62
     inkscape:zoom="1.2329704"
63
     inkscape:cx="198.6889"
64
     inkscape:cy="524.50754"
65
     inkscape:document-units="px"
66
     inkscape:current-layer="layer1"
67
     showgrid="false"
68
     inkscape:window-width="1364"
69
     inkscape:window-height="747"
70
     inkscape:window-x="0"
71
     inkscape:window-y="19"
72
     inkscape:window-maximized="0" />
73
  <metadata
74
     id="metadata7">
75
    <rdf:RDF>
76
      <cc:Work
77
         rdf:about="">
78
        <dc:format>image/svg+xml</dc:format>
79
        <dc:type
80
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
81
        <dc:title></dc:title>
82
      </cc:Work>
83
    </rdf:RDF>
84
  </metadata>
85
  <g
86
     inkscape:label="Calque 1"
87
     inkscape:groupmode="layer"
88
     id="layer1">
89
    <path
90
       sodipodi:type="arc"
91
       style="fill:url(#linearGradient3069);stroke:#000000;stroke-width:4;stroke-miterlimit:4;stroke-dasharray:none;fill-opacity:1;stroke-linejoin:miter;marker-start:none"
92
       id="path2985"
93
       sodipodi:cx="412.85715"
94
       sodipodi:cy="573.79077"
95
       sodipodi:rx="210"
96
       sodipodi:ry="210"
97
       d="m 622.85715,573.79077 a 210,210 0 1 1 -420,0 210,210 0 1 1 420,0 z"
98
       transform="translate(-48.571429,-42.857143)"
99
       clip-path="none"
100
       inkscape:export-xdpi="3.1800001"
101
       inkscape:export-ydpi="3.1800001" />
102
    <rect
103
       style="fill:#ffffff;stroke:#b3b3b3;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none"
104
       id="rect2995-6"
105
       width="34.285713"
106
       height="157.14285"
107
       x="491.42856"
108
       y="805.2193" />
109
    <rect
110
       style="fill:#ffffff;stroke:#ffffff;stroke-width:3.20195031;stroke-miterlimit:4;stroke-dasharray:none"
111
       id="rect2995"
112
       width="56.231792"
113
       height="237.79759"
114
       x="634.94287"
115
       y="-57.230003"
116
       transform="matrix(0.69707974,0.71699361,-0.69707974,0.71699361,0,0)" />
117
    <rect
118
       style="fill:#ffffff;stroke:#ffffff;stroke-width:2.37494564;stroke-miterlimit:4;stroke-dasharray:none"
119
       id="rect2995-7"
120
       width="55.077957"
121
       height="187.32999"
122
       x="-209.73082"
123
       y="504.0864"
124
       transform="matrix(0.69707974,-0.71699361,0.69707974,0.71699361,0,0)"
125
       ry="0" />
126
  </g>
127
</svg>
(-)a/koha-tmpl/opac-tmpl/bootstrap/images/messages-warning.svg (+98 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!-- Created with Inkscape (http://www.inkscape.org/) -->
3
4
<svg
5
   xmlns:dc="http://purl.org/dc/elements/1.1/"
6
   xmlns:cc="http://creativecommons.org/ns#"
7
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
   xmlns:svg="http://www.w3.org/2000/svg"
9
   xmlns="http://www.w3.org/2000/svg"
10
   xmlns:xlink="http://www.w3.org/1999/xlink"
11
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
12
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
13
   width="210mm"
14
   height="297mm"
15
   id="svg2"
16
   version="1.1"
17
   inkscape:version="0.48.4 r9939"
18
   sodipodi:docname="flash-warning.svg">
19
  <defs
20
     id="defs4">
21
    <linearGradient
22
       id="linearGradient3763">
23
      <stop
24
         style="stop-color:#ffff00;stop-opacity:1;"
25
         offset="0"
26
         id="stop3765" />
27
      <stop
28
         style="stop-color:#c8c800;stop-opacity:1;"
29
         offset="1"
30
         id="stop3767" />
31
    </linearGradient>
32
    <linearGradient
33
       inkscape:collect="always"
34
       xlink:href="#linearGradient3763"
35
       id="linearGradient3769"
36
       x1="348.95874"
37
       y1="423.19217"
38
       x2="407.26358"
39
       y2="545.02319"
40
       gradientUnits="userSpaceOnUse" />
41
  </defs>
42
  <sodipodi:namedview
43
     id="base"
44
     pagecolor="#ffffff"
45
     bordercolor="#666666"
46
     borderopacity="1.0"
47
     inkscape:pageopacity="0.0"
48
     inkscape:pageshadow="2"
49
     inkscape:zoom="1.1491329"
50
     inkscape:cx="330.01999"
51
     inkscape:cy="616.34841"
52
     inkscape:document-units="px"
53
     inkscape:current-layer="layer1"
54
     showgrid="false"
55
     inkscape:window-width="1364"
56
     inkscape:window-height="747"
57
     inkscape:window-x="0"
58
     inkscape:window-y="19"
59
     inkscape:window-maximized="0" />
60
  <metadata
61
     id="metadata7">
62
    <rdf:RDF>
63
      <cc:Work
64
         rdf:about="">
65
        <dc:format>image/svg+xml</dc:format>
66
        <dc:type
67
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
68
        <dc:title></dc:title>
69
      </cc:Work>
70
    </rdf:RDF>
71
  </metadata>
72
  <g
73
     inkscape:label="Calque 1"
74
     inkscape:groupmode="layer"
75
     id="layer1">
76
    <path
77
       style="fill:url(#linearGradient3769);fill-opacity:1;stroke:#000000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
78
       d="m 337.14285,331.78371 -157.22836,288.52615 315.32696,1.49397 z"
79
       id="path2985"
80
       inkscape:connector-curvature="0"
81
       sodipodi:nodetypes="cccc"
82
       inkscape:export-filename="/home/julian/mnt/lxc/koha-community/home/koha/src/koha-tmpl/intranet-tmpl/prog/img/flash-warning.png"
83
       inkscape:export-xdpi="4.2852411"
84
       inkscape:export-ydpi="4.2852411" />
85
    <flowRoot
86
       xml:space="preserve"
87
       id="flowRoot3755"
88
       style="font-size:230px;font-style:normal;font-weight:normal;text-align:center;line-height:100%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
89
       transform="matrix(1.763424,0,0,1,-257.54626,11.129779)"><flowRegion
90
         id="flowRegion3757"><rect
91
           id="rect3759"
92
           width="116.60966"
93
           height="209.72334"
94
           x="279.34103"
95
           y="385.77264"
96
           style="font-size:230px;text-align:center;line-height:100%;text-anchor:middle" /></flowRegion><flowPara
97
         id="flowPara3761">!</flowPara></flowRoot>  </g>
98
</svg>
(-)a/koha-tmpl/opac-tmpl/prog/en/css/opac.css (+29 lines)
Lines 3074-3076 padding: 0.1em 0; Link Here
3074
    width: 35%;
3074
    width: 35%;
3075
    font-size: 111%;
3075
    font-size: 111%;
3076
}
3076
}
3077
3078
/* Messages */
3079
div.messages {
3080
  background-color: white;
3081
  background-position: 5px 5px;
3082
  background-repeat: no-repeat;
3083
  border: 1px solid #b9d8d9;
3084
  border-radius: 4px;
3085
  -moz-border-radius: 4px;
3086
  -webkit-border-radius: 4px;
3087
  color: black;
3088
  margin: 10px 20px;
3089
  padding: 5px 5px 5px 25px;
3090
}
3091
3092
div.messages.ok {
3093
  background-color: #f4f8f9;
3094
  background-image: url('../../images/messages-ok.png');
3095
}
3096
3097
div.messages.warning {
3098
  background-color: #ffff99;
3099
  background-image: url('../../images/messages-warning.png');
3100
}
3101
3102
div.messages.error {
3103
  background-color: #ff7777;
3104
  background-image: url('../../images/messages-error.png');
3105
}
(-)a/koha-tmpl/opac-tmpl/prog/en/includes/messages.inc (+19 lines)
Line 0 Link Here
1
[% USE Messages %]
2
[% contents = Messages.Get() %]
3
4
[% FOREACH type IN contents.keys %]
5
  [% messages = contents.$type %]
6
  [% IF messages.size > 0 %]
7
    <div class="messages [% type %]">
8
      [% IF messages.size > 1 %]
9
        <ul>
10
          [% FOREACH message IN contents.$type %]
11
            <li>[% message %]</li>
12
          [% END %]
13
        </ul>
14
      [% ELSE %]
15
        [% messages.0 %]
16
      [% END %]
17
    </div>
18
  [% END %]
19
[% END %]
(-)a/koha-tmpl/opac-tmpl/prog/images/messages-error.svg (+139 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!-- Created with Inkscape (http://www.inkscape.org/) -->
3
4
<svg
5
   xmlns:dc="http://purl.org/dc/elements/1.1/"
6
   xmlns:cc="http://creativecommons.org/ns#"
7
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
   xmlns:svg="http://www.w3.org/2000/svg"
9
   xmlns="http://www.w3.org/2000/svg"
10
   xmlns:xlink="http://www.w3.org/1999/xlink"
11
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
12
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
13
   width="210mm"
14
   height="297mm"
15
   id="svg2"
16
   version="1.1"
17
   inkscape:version="0.48.4 r9939"
18
   sodipodi:docname="flash-error.svg">
19
  <defs
20
     id="defs4">
21
    <linearGradient
22
       id="linearGradient4515">
23
      <stop
24
         style="stop-color:#ff0000;stop-opacity:1;"
25
         offset="0"
26
         id="stop4517" />
27
      <stop
28
         style="stop-color:#aa0000;stop-opacity:1;"
29
         offset="1"
30
         id="stop4519" />
31
    </linearGradient>
32
    <marker
33
       inkscape:stockid="Arrow1Lstart"
34
       orient="auto"
35
       refY="0.0"
36
       refX="0.0"
37
       id="Arrow1Lstart"
38
       style="overflow:visible">
39
      <path
40
         id="path3855"
41
         d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
42
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt"
43
         transform="scale(0.8) translate(12.5,0)" />
44
    </marker>
45
    <linearGradient
46
       id="linearGradient3056">
47
      <stop
48
         style="stop-color:#007c00;stop-opacity:0.99242425;"
49
         offset="0"
50
         id="stop3073" />
51
      <stop
52
         style="stop-color:#00ff00;stop-opacity:1;"
53
         offset="1"
54
         id="stop3060" />
55
    </linearGradient>
56
    <linearGradient
57
       inkscape:collect="always"
58
       xlink:href="#linearGradient4515"
59
       id="linearGradient4521"
60
       x1="297.56363"
61
       y1="370.95212"
62
       x2="438.68622"
63
       y2="716.45923"
64
       gradientUnits="userSpaceOnUse" />
65
  </defs>
66
  <sodipodi:namedview
67
     id="base"
68
     pagecolor="#ffffff"
69
     bordercolor="#666666"
70
     borderopacity="1.0"
71
     inkscape:pageopacity="0.0"
72
     inkscape:pageshadow="2"
73
     inkscape:zoom="1.2519785"
74
     inkscape:cx="366.50855"
75
     inkscape:cy="515.91331"
76
     inkscape:document-units="px"
77
     inkscape:current-layer="layer1"
78
     showgrid="false"
79
     inkscape:window-width="1364"
80
     inkscape:window-height="747"
81
     inkscape:window-x="0"
82
     inkscape:window-y="19"
83
     inkscape:window-maximized="0" />
84
  <metadata
85
     id="metadata7">
86
    <rdf:RDF>
87
      <cc:Work
88
         rdf:about="">
89
        <dc:format>image/svg+xml</dc:format>
90
        <dc:type
91
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
92
        <dc:title></dc:title>
93
      </cc:Work>
94
    </rdf:RDF>
95
  </metadata>
96
  <g
97
     inkscape:label="Calque 1"
98
     inkscape:groupmode="layer"
99
     id="layer1">
100
    <path
101
       sodipodi:type="arc"
102
       style="fill:url(#linearGradient4521);stroke:#000000;stroke-width:4;stroke-miterlimit:4;stroke-dasharray:none;fill-opacity:1;stroke-linejoin:miter;marker-start:none"
103
       id="path2985"
104
       sodipodi:cx="412.85715"
105
       sodipodi:cy="573.79077"
106
       sodipodi:rx="210"
107
       sodipodi:ry="210"
108
       d="m 622.85715,573.79077 a 210,210 0 1 1 -420,0 210,210 0 1 1 420,0 z"
109
       transform="translate(-48.571429,-42.857143)"
110
       clip-path="none"
111
       inkscape:export-xdpi="3.1800001"
112
       inkscape:export-ydpi="3.1800001"
113
       inkscape:export-filename="/home/julian/mnt/lxc/koha-community/home/koha/src/koha-tmpl/intranet-tmpl/prog/img/flash-error.png" />
114
    <rect
115
       style="fill:#ffffff;stroke:#b3b3b3;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none"
116
       id="rect2995-6"
117
       width="34.285713"
118
       height="157.14285"
119
       x="491.42856"
120
       y="805.2193" />
121
    <rect
122
       style="fill:#ffffff;stroke:#ffffff;stroke-width:3.18947482;stroke-miterlimit:4;stroke-dasharray:none"
123
       id="rect2995"
124
       width="56.109856"
125
       height="311.43195"
126
       x="603.33112"
127
       y="-44.856983"
128
       transform="matrix(0.69707974,0.71699361,-0.69707974,0.71699361,0,0)" />
129
    <rect
130
       style="fill:#ffffff;stroke:#ffffff;stroke-width:3.91251945;stroke-miterlimit:4;stroke-dasharray:none"
131
       id="rect2995-7"
132
       width="54.651596"
133
       height="314.63809"
134
       x="-143.05527"
135
       y="472.45291"
136
       transform="matrix(0.70158587,-0.71258492,0.70158587,0.71258492,0,0)"
137
       ry="0" />
138
  </g>
139
</svg>
(-)a/koha-tmpl/opac-tmpl/prog/images/messages-ok.svg (+127 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!-- Created with Inkscape (http://www.inkscape.org/) -->
3
4
<svg
5
   xmlns:dc="http://purl.org/dc/elements/1.1/"
6
   xmlns:cc="http://creativecommons.org/ns#"
7
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
   xmlns:svg="http://www.w3.org/2000/svg"
9
   xmlns="http://www.w3.org/2000/svg"
10
   xmlns:xlink="http://www.w3.org/1999/xlink"
11
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
12
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
13
   width="210mm"
14
   height="297mm"
15
   id="svg2"
16
   version="1.1"
17
   inkscape:version="0.48.4 r9939"
18
   sodipodi:docname="Nouveau document 1">
19
  <defs
20
     id="defs4">
21
    <marker
22
       inkscape:stockid="Arrow1Lstart"
23
       orient="auto"
24
       refY="0.0"
25
       refX="0.0"
26
       id="Arrow1Lstart"
27
       style="overflow:visible">
28
      <path
29
         id="path3855"
30
         d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
31
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt"
32
         transform="scale(0.8) translate(12.5,0)" />
33
    </marker>
34
    <linearGradient
35
       id="linearGradient3056">
36
      <stop
37
         style="stop-color:#007c00;stop-opacity:0.99242425;"
38
         offset="0"
39
         id="stop3073" />
40
      <stop
41
         style="stop-color:#00ff00;stop-opacity:1;"
42
         offset="1"
43
         id="stop3060" />
44
    </linearGradient>
45
    <linearGradient
46
       inkscape:collect="always"
47
       xlink:href="#linearGradient3056"
48
       id="linearGradient3069"
49
       gradientUnits="userSpaceOnUse"
50
       x1="411.7222"
51
       y1="760.62836"
52
       x2="315.93134"
53
       y2="353.03528" />
54
  </defs>
55
  <sodipodi:namedview
56
     id="base"
57
     pagecolor="#ffffff"
58
     bordercolor="#666666"
59
     borderopacity="1.0"
60
     inkscape:pageopacity="0.0"
61
     inkscape:pageshadow="2"
62
     inkscape:zoom="1.2329704"
63
     inkscape:cx="198.6889"
64
     inkscape:cy="524.50754"
65
     inkscape:document-units="px"
66
     inkscape:current-layer="layer1"
67
     showgrid="false"
68
     inkscape:window-width="1364"
69
     inkscape:window-height="747"
70
     inkscape:window-x="0"
71
     inkscape:window-y="19"
72
     inkscape:window-maximized="0" />
73
  <metadata
74
     id="metadata7">
75
    <rdf:RDF>
76
      <cc:Work
77
         rdf:about="">
78
        <dc:format>image/svg+xml</dc:format>
79
        <dc:type
80
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
81
        <dc:title></dc:title>
82
      </cc:Work>
83
    </rdf:RDF>
84
  </metadata>
85
  <g
86
     inkscape:label="Calque 1"
87
     inkscape:groupmode="layer"
88
     id="layer1">
89
    <path
90
       sodipodi:type="arc"
91
       style="fill:url(#linearGradient3069);stroke:#000000;stroke-width:4;stroke-miterlimit:4;stroke-dasharray:none;fill-opacity:1;stroke-linejoin:miter;marker-start:none"
92
       id="path2985"
93
       sodipodi:cx="412.85715"
94
       sodipodi:cy="573.79077"
95
       sodipodi:rx="210"
96
       sodipodi:ry="210"
97
       d="m 622.85715,573.79077 a 210,210 0 1 1 -420,0 210,210 0 1 1 420,0 z"
98
       transform="translate(-48.571429,-42.857143)"
99
       clip-path="none"
100
       inkscape:export-xdpi="3.1800001"
101
       inkscape:export-ydpi="3.1800001" />
102
    <rect
103
       style="fill:#ffffff;stroke:#b3b3b3;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none"
104
       id="rect2995-6"
105
       width="34.285713"
106
       height="157.14285"
107
       x="491.42856"
108
       y="805.2193" />
109
    <rect
110
       style="fill:#ffffff;stroke:#ffffff;stroke-width:3.20195031;stroke-miterlimit:4;stroke-dasharray:none"
111
       id="rect2995"
112
       width="56.231792"
113
       height="237.79759"
114
       x="634.94287"
115
       y="-57.230003"
116
       transform="matrix(0.69707974,0.71699361,-0.69707974,0.71699361,0,0)" />
117
    <rect
118
       style="fill:#ffffff;stroke:#ffffff;stroke-width:2.37494564;stroke-miterlimit:4;stroke-dasharray:none"
119
       id="rect2995-7"
120
       width="55.077957"
121
       height="187.32999"
122
       x="-209.73082"
123
       y="504.0864"
124
       transform="matrix(0.69707974,-0.71699361,0.69707974,0.71699361,0,0)"
125
       ry="0" />
126
  </g>
127
</svg>
(-)a/koha-tmpl/opac-tmpl/prog/images/messages-warning.svg (-1 / +98 lines)
Line 0 Link Here
0
- 
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!-- Created with Inkscape (http://www.inkscape.org/) -->
3
4
<svg
5
   xmlns:dc="http://purl.org/dc/elements/1.1/"
6
   xmlns:cc="http://creativecommons.org/ns#"
7
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
   xmlns:svg="http://www.w3.org/2000/svg"
9
   xmlns="http://www.w3.org/2000/svg"
10
   xmlns:xlink="http://www.w3.org/1999/xlink"
11
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
12
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
13
   width="210mm"
14
   height="297mm"
15
   id="svg2"
16
   version="1.1"
17
   inkscape:version="0.48.4 r9939"
18
   sodipodi:docname="flash-warning.svg">
19
  <defs
20
     id="defs4">
21
    <linearGradient
22
       id="linearGradient3763">
23
      <stop
24
         style="stop-color:#ffff00;stop-opacity:1;"
25
         offset="0"
26
         id="stop3765" />
27
      <stop
28
         style="stop-color:#c8c800;stop-opacity:1;"
29
         offset="1"
30
         id="stop3767" />
31
    </linearGradient>
32
    <linearGradient
33
       inkscape:collect="always"
34
       xlink:href="#linearGradient3763"
35
       id="linearGradient3769"
36
       x1="348.95874"
37
       y1="423.19217"
38
       x2="407.26358"
39
       y2="545.02319"
40
       gradientUnits="userSpaceOnUse" />
41
  </defs>
42
  <sodipodi:namedview
43
     id="base"
44
     pagecolor="#ffffff"
45
     bordercolor="#666666"
46
     borderopacity="1.0"
47
     inkscape:pageopacity="0.0"
48
     inkscape:pageshadow="2"
49
     inkscape:zoom="1.1491329"
50
     inkscape:cx="330.01999"
51
     inkscape:cy="616.34841"
52
     inkscape:document-units="px"
53
     inkscape:current-layer="layer1"
54
     showgrid="false"
55
     inkscape:window-width="1364"
56
     inkscape:window-height="747"
57
     inkscape:window-x="0"
58
     inkscape:window-y="19"
59
     inkscape:window-maximized="0" />
60
  <metadata
61
     id="metadata7">
62
    <rdf:RDF>
63
      <cc:Work
64
         rdf:about="">
65
        <dc:format>image/svg+xml</dc:format>
66
        <dc:type
67
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
68
        <dc:title></dc:title>
69
      </cc:Work>
70
    </rdf:RDF>
71
  </metadata>
72
  <g
73
     inkscape:label="Calque 1"
74
     inkscape:groupmode="layer"
75
     id="layer1">
76
    <path
77
       style="fill:url(#linearGradient3769);fill-opacity:1;stroke:#000000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
78
       d="m 337.14285,331.78371 -157.22836,288.52615 315.32696,1.49397 z"
79
       id="path2985"
80
       inkscape:connector-curvature="0"
81
       sodipodi:nodetypes="cccc"
82
       inkscape:export-filename="/home/julian/mnt/lxc/koha-community/home/koha/src/koha-tmpl/intranet-tmpl/prog/img/flash-warning.png"
83
       inkscape:export-xdpi="4.2852411"
84
       inkscape:export-ydpi="4.2852411" />
85
    <flowRoot
86
       xml:space="preserve"
87
       id="flowRoot3755"
88
       style="font-size:230px;font-style:normal;font-weight:normal;text-align:center;line-height:100%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
89
       transform="matrix(1.763424,0,0,1,-257.54626,11.129779)"><flowRegion
90
         id="flowRegion3757"><rect
91
           id="rect3759"
92
           width="116.60966"
93
           height="209.72334"
94
           x="279.34103"
95
           y="385.77264"
96
           style="font-size:230px;text-align:center;line-height:100%;text-anchor:middle" /></flowRegion><flowPara
97
         id="flowPara3761">!</flowPara></flowRoot>  </g>
98
</svg>

Return to bug 11904