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

(-)a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css (-1 / +23 lines)
Lines 2476-2486 fieldset.rows table.mceListBox { Link Here
2476
2476
2477
#jobpanel,#jobstatus,#jobfailed { display : none; }
2477
#jobpanel,#jobstatus,#jobfailed { display : none; }
2478
#jobstatus { margin:.4em; }
2478
#jobstatus { margin:.4em; }
2479
#jobprogress{ width:200px;height:10px;border:1px solid #666;background:url('../img/progress.png') -300px 0px no-repeat; }
2479
2480
#jobprogress{
2481
    display: inline-block;
2482
    width:200px;
2483
    height:10px;
2484
    border:1px solid #666;
2485
    background:url('../img/progress.png') -300px 0px no-repeat;
2486
 }
2487
2488
.progress_panel {
2489
    clear: both;
2490
    font-size: 120%;
2491
    margin: 1em 0;
2492
    padding: 1em;
2493
    border: 2px solid #EEE;
2494
    border-radius: 5px;
2495
}
2496
2497
progress {
2498
    width: 50%;
2499
}
2500
2480
#selections { width : 100%; white-space : normal; }
2501
#selections { width : 100%; white-space : normal; }
2481
#selections span { margin:3px;padding:3px;background-color:#EBF3FF;-moz-border-radius:5px;border-radius:5px;white-space:nowrap;line-height:240%;font-size:75%; }
2502
#selections span { margin:3px;padding:3px;background-color:#EBF3FF;-moz-border-radius:5px;border-radius:5px;white-space:nowrap;line-height:240%;font-size:75%; }
2482
#selections span.selected { background-color : #CCE0FC; }
2503
#selections span.selected { background-color : #CCE0FC; }
2483
#selections input { vertical-align:middle;margin:0 2px; }
2504
#selections input { vertical-align:middle;margin:0 2px; }
2505
2484
#changepasswordf input[type="text"],
2506
#changepasswordf input[type="text"],
2485
#changepasswordf input[type="password"] {
2507
#changepasswordf input[type="password"] {
2486
    font-size: 140%;
2508
    font-size: 140%;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt (-5 / +1 lines)
Lines 66-75 function CheckForm(f) { Link Here
66
66
67
//]]>
67
//]]>
68
</script>
68
</script>
69
<style type="text/css">
70
	#fileuploadstatus,#jobstatus { margin:.4em; }
71
    #fileuploadprogress,#jobprogress{ width:200px;height:10px;border:1px solid #666;background:url('[% interface %]/[% theme %]/img/progress.png') -300px 0px no-repeat; }
72
</style>
73
</head>
69
</head>
74
<body id="ocirc_process_koc" class="circ ocirc">
70
<body id="ocirc_process_koc" class="circ ocirc">
75
[% INCLUDE 'header.inc' %]
71
[% INCLUDE 'header.inc' %]
Lines 109-115 function CheckForm(f) { Link Here
109
       <fieldset class="action"><input type="button" class="submit" value="Upload file" id="upload_file" /></fieldset>
105
       <fieldset class="action"><input type="button" class="submit" value="Upload file" id="upload_file" /></fieldset>
110
	   </fieldset>
106
	   </fieldset>
111
     </form>
107
     </form>
112
     <div id="fileuploadstatus" style="display:none">Upload progress: <progress id="fileuploadprogress" min="0" max="100" value="0"></progress> <span class="fileuploadpercent">0</span>%</div>
108
     <div id="fileuploadstatus" class="progress_panel" style="display:none">Upload progress: <progress id="fileuploadprogress" max="100" value="0"></progress> <span class="fileuploadpercent">0</span>%</div>
113
     <div id="fileuploadfailed" style="display:none"></div>
109
     <div id="fileuploadfailed" style="display:none"></div>
114
   </div>
110
   </div>
115
111
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt (-9 / +4 lines)
Lines 1-7 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Tools &rsaquo; Batch item deletion</title>
2
<title>Koha &rsaquo; Tools &rsaquo; Batch item deletion</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
<script type="text/javascript" src="[% interface %]/[% theme %]/js/background-job-progressbar.js"></script>
5
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
4
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
6
[% INCLUDE 'datatables.inc' %]
5
[% INCLUDE 'datatables.inc' %]
7
<script type="text/javascript" src="[% interface %]/[% theme %]/js/pages/batchMod.js"></script>
6
<script type="text/javascript" src="[% interface %]/[% theme %]/js/pages/batchMod.js"></script>
Lines 42-49 $(document).ready(function(){ Link Here
42
                [% IF ( show ) %]<h1>Batch item deletion</h1>[% ELSE %]<h1>Batch item deletion results</h1>[% END %]
41
                [% IF ( show ) %]<h1>Batch item deletion</h1>[% ELSE %]<h1>Batch item deletion results</h1>[% END %]
43
	    [% IF ( barcode_not_unique ) %]<div class="dialog alert"><strong>Error saving item</strong>: Barcode must be unique.</div>[% END %]
42
	    [% IF ( barcode_not_unique ) %]<div class="dialog alert"><strong>Error saving item</strong>: Barcode must be unique.</div>[% END %]
44
	    [% IF ( no_next_barcode ) %]<div class="dialog alert"><strong>Error saving items</strong>: Unable to automatically determine values for barcodes. No item has been inserted.</div>[% END %]
43
	    [% IF ( no_next_barcode ) %]<div class="dialog alert"><strong>Error saving items</strong>: Unable to automatically determine values for barcodes. No item has been inserted.</div>[% END %]
45
	    [% IF ( book_on_loan ) %]<div class="dialog alert"><strong>Cannot Delete</strong>: item is checked out.</div>[% END %]
44
        [% IF ( book_on_loan ) %]<div class="dialog alert"><strong>Cannot delete</strong>: item is checked out.</div>[% END %]
46
	    [% IF ( book_reserved ) %]<div class="dialogalert"><strong>Cannot Delete</strong>: item has a waiting hold.</div>[% END %]
45
        [% IF ( book_reserved ) %]<div class="dialogalert"><strong>Cannot delete</strong>: item has a waiting hold.</div>[% END %]
47
46
48
    [% UNLESS ( action ) %]
47
    [% UNLESS ( action ) %]
49
48
Lines 136-150 $(document).ready(function(){ Link Here
136
	     <p>This will delete [% IF ( too_many_items ) %]all the[% ELSE %]the selected[% END %] items.</p>
135
	     <p>This will delete [% IF ( too_many_items ) %]all the[% ELSE %]the selected[% END %] items.</p>
137
	     <input type="hidden" name="del" value="1" />
136
	     <input type="hidden" name="del" value="1" />
138
	     <fieldset class="action">    
137
	     <fieldset class="action">    
139
		<div id="jobpanel">
140
		    <div id="jobstatus">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div>
141
		    <div id="jobfailed"></div>
142
		</div>
143
        <input type="checkbox" name="del_records" id="del_records" /> <label for="del_records">Delete records if no items remain.</label>
138
        <input type="checkbox" name="del_records" id="del_records" /> <label for="del_records">Delete records if no items remain.</label>
144
        [% IF too_many_items %]
139
        [% IF too_many_items %]
145
            <input type="submit" id="mainformsubmit" name="mainformsubmit" value="Delete ALL submitted items" />
140
            <input type="submit" name="mainformsubmit" value="Delete ALL submitted items" />
146
        [% ELSE %]
141
        [% ELSE %]
147
            <input type="submit" id="mainformsubmit" name="mainformsubmit" value="Delete selected items" />
142
            <input type="submit" name="mainformsubmit" value="Delete selected items" />
148
        [% END %]
143
        [% END %]
149
144
150
		<a href="/cgi-bin/koha/tools/batchMod.pl?del=1" class="cancel">Cancel</a>
145
		<a href="/cgi-bin/koha/tools/batchMod.pl?del=1" class="cancel">Cancel</a>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt (-1 / +1 lines)
Lines 235-241 $(document).ready(function(){ Link Here
235
    </fieldset>
235
    </fieldset>
236
    <fieldset class="action">    
236
    <fieldset class="action">    
237
   <div id="jobpanel">
237
   <div id="jobpanel">
238
       <div id="jobstatus">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div>
238
       <div id="jobstatus" class="progress_panel">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div>
239
       <div id="jobfailed"></div>
239
       <div id="jobfailed"></div>
240
   </div>
240
   </div>
241
   <input type="submit" id="mainformsubmit" value="Save" />
241
   <input type="submit" id="mainformsubmit" value="Save" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt (-1 / +1 lines)
Lines 252-258 $(document).ready(function() { Link Here
252
          <a class="cancel" href="/cgi-bin/koha/tools/batch_record_modification.pl">Cancel</a>
252
          <a class="cancel" href="/cgi-bin/koha/tools/batch_record_modification.pl">Cancel</a>
253
        </fieldset>
253
        </fieldset>
254
        <div id="jobpanel">
254
        <div id="jobpanel">
255
          <div id="jobstatus">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div>
255
          <div id="jobstatus" class="progress_panel">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div>
256
          <div id="jobfailed"></div>
256
          <div id="jobfailed"></div>
257
        </div>
257
        </div>
258
      </form>
258
      </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt (-4 / +2 lines)
Lines 152-160 $(document).ready(function(){ Link Here
152
//]]>
152
//]]>
153
</script>
153
</script>
154
<style type="text/css">
154
<style type="text/css">
155
	#jobpanel,#jobstatus,#jobfailed { display : none; }
155
    #jobpanel,#jobstatus,#jobfailed { display : none; }
156
	#jobstatus { margin:.4em; }
157
    #jobprogress{ width:200px;height:10px;border:1px solid #666;background:url('[% interface %]/[% theme %]/img/progress.png') -300px 0px no-repeat; } span.change-status { font-style:italic; color:#666; display:none; }#marcPreview { width : 80%; margin-left : -40%; } @media (max-width: 767px) { #marcPreview { margin: 0; width : auto; } }
158
</style>
156
</style>
159
</head>
157
</head>
160
<body id="tools_manage-marc-import" class="tools">
158
<body id="tools_manage-marc-import" class="tools">
Lines 360-366 $(document).ready(function(){ Link Here
360
    [% END %]
358
    [% END %]
361
    </fieldset>
359
    </fieldset>
362
  </form>
360
  </form>
363
  <div id="jobpanel"><div id="jobstatus">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div>
361
  <div id="jobpanel"><div id="jobstatus" class="progress_panel">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div>
364
     <div id="jobfailed"></div></div>
362
     <div id="jobfailed"></div></div>
365
  [% END %]
363
  [% END %]
366
  [% IF ( can_revert ) %]
364
  [% IF ( can_revert ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt (-5 / +3 lines)
Lines 7-14 Link Here
7
7
8
<style type="text/css">
8
<style type="text/css">
9
    #fileuploadstatus,#fileuploadfailed,#fileuploadcancel,#jobpanel,#jobstatus,#jobfailed { display : none; }
9
    #fileuploadstatus,#fileuploadfailed,#fileuploadcancel,#jobpanel,#jobstatus,#jobfailed { display : none; }
10
	#fileuploadstatus,#jobstatus { margin:.4em; }
11
    #fileuploadprogress,#jobprogress { width:150px;height:10px;border:1px solid #666;background:url('[% interface %]/[% theme %]/img/progress.png') -300px 0px no-repeat; }
12
</style>
10
</style>
13
11
14
<script type="text/javascript">
12
<script type="text/javascript">
Lines 154-161 function cbUpload( status, fileid ) { Link Here
154
</fieldset>
152
</fieldset>
155
		
153
		
156
    <div id="fileuploadpanel">
154
    <div id="fileuploadpanel">
157
        <div id="fileuploadstatus">Upload progress:
155
        <div id="fileuploadstatus" class="progress_panel">Upload progress:
158
            <progress id="fileuploadprogress" min="0" max="100" value="0">
156
            <progress id="fileuploadprogress" max="100" value="0">
159
            </progress>
157
            </progress>
160
            <span class="fileuploadpercent">0</span>%
158
            <span class="fileuploadpercent">0</span>%
161
        </div>
159
        </div>
Lines 266-272 function cbUpload( status, fileid ) { Link Here
266
  </fieldset>
264
  </fieldset>
267
  <fieldset class="action"><input type="button" id="mainformsubmit" value="Stage for import" /></fieldset>
265
  <fieldset class="action"><input type="button" id="mainformsubmit" value="Stage for import" /></fieldset>
268
 
266
 
269
       <div id="jobpanel"><div id="jobstatus">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div>
267
       <div id="jobpanel"><div id="jobstatus" class="progress_panel">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div>
270
     <div id="jobfailed"></div></div>
268
     <div id="jobfailed"></div></div>
271
  
269
  
272
</form>
270
</form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt (-11 / +5 lines)
Lines 7-14 Link Here
7
7
8
<style type="text/css">
8
<style type="text/css">
9
    #fileuploadstatus,#fileuploadfailed,#jobpanel,#jobstatus,#jobfailed { display : none; }
9
    #fileuploadstatus,#fileuploadfailed,#jobpanel,#jobstatus,#jobfailed { display : none; }
10
	#fileuploadstatus,#jobstatus { margin:.4em; }
11
    #fileuploadprogress,#jobprogress { width:150px;height:10px;border:1px solid #666;background:url('[% interface %]/[% theme %]/img/progress.png') -300px 0px no-repeat; }
12
</style>
10
</style>
13
11
14
<script type="text/javascript">
12
<script type="text/javascript">
Lines 89-95 $(document).ready(function(){ Link Here
89
<ul>
87
<ul>
90
	<li>Select an image file or ZIP file to upload. The tool will accept images in GIF, JPEG, PNG, and XPM formats.</li>
88
	<li>Select an image file or ZIP file to upload. The tool will accept images in GIF, JPEG, PNG, and XPM formats.</li>
91
</ul>
89
</ul>
92
<form method="post" action="[% SCRIPT_NAME %]" id="uploadfile" enctype="multipart/form-data">
90
<form method="post" action="/cgi-bin/koha/tools/upload-cover-image.pl" id="uploadfile" enctype="multipart/form-data">
93
<fieldset class="rows" id="uploadform">
91
<fieldset class="rows" id="uploadform">
94
<legend>Upload images</legend>
92
<legend>Upload images</legend>
95
<ol>
93
<ol>
Lines 104-111 $(document).ready(function(){ Link Here
104
</fieldset>
102
</fieldset>
105
103
106
    <div id="uploadpanel">
104
    <div id="uploadpanel">
107
        <div id="fileuploadstatus">Upload progress:
105
        <div id="fileuploadstatus" class="progress_panel">Upload progress:
108
            <progress min="0" max="100" value="0" id="fileuploadprogress">
106
            <progress max="100" value="0" id="fileuploadprogress">
109
            </progress>
107
            </progress>
110
            <span class="fileuploadpercent">0</span>%
108
            <span class="fileuploadpercent">0</span>%
111
        </div>
109
        </div>
Lines 113-119 $(document).ready(function(){ Link Here
113
    </div>
111
    </div>
114
</form>
112
</form>
115
113
116
    <form method="post" id="processfile" action="[% SCRIPT_NAME %]" enctype="multipart/form-data">
114
    <form method="post" id="processfile" action="/cgi-bin/koha/tools/upload-cover-image.pl" enctype="multipart/form-data">
117
<fieldset class="rows">
115
<fieldset class="rows">
118
        <input type="hidden" name="uploadedfileid" id="uploadedfileid" value="" />
116
        <input type="hidden" name="uploadedfileid" id="uploadedfileid" value="" />
119
        <input type="hidden" name="runinbackground" id="runinbackground" value="" />
117
        <input type="hidden" name="runinbackground" id="runinbackground" value="" />
Lines 128-134 $(document).ready(function(){ Link Here
128
      </li>
126
      </li>
129
      <li class="radio">
127
      <li class="radio">
130
        [% IF (filetype == 'image' ) %]<input type="radio" id="image" name="filetype" value="image" checked="checked" />[% ELSE %]<input type="radio" id="image" name="filetype" value="image" />[% END %]
128
        [% IF (filetype == 'image' ) %]<input type="radio" id="image" name="filetype" value="image" checked="checked" />[% ELSE %]<input type="radio" id="image" name="filetype" value="image" />[% END %]
131
        <label for="imagefile">Image file</label>
129
        <label for="image">Image file</label>
132
      </li>
130
      </li>
133
      <li class="radio">
131
      <li class="radio">
134
        [% IF ( filetype == 'image' ) %]<span id="bibnum">[% ELSE %]<span id="bibnum" style="display: none">[% END %]<label for="biblionumber">Enter cover biblionumber: </label><input type="text" id="biblionumber" name="biblionumber" value="[% biblionumber %]" size="15" /></span>
132
        [% IF ( filetype == 'image' ) %]<span id="bibnum">[% ELSE %]<span id="bibnum" style="display: none">[% END %]<label for="biblionumber">Enter cover biblionumber: </label><input type="text" id="biblionumber" name="biblionumber" value="[% biblionumber %]" size="15" /></span>
Lines 145-154 $(document).ready(function(){ Link Here
145
    </ol>
143
    </ol>
146
  </fieldset>
144
  </fieldset>
147
  <fieldset class="action"><input type="submit" value="Process images" /></fieldset>
145
  <fieldset class="action"><input type="submit" value="Process images" /></fieldset>
148
149
       <div id="jobpanel"><div id="jobstatus">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div>
150
     <div id="jobfailed"></div></div>
151
152
</form>
146
</form>
153
147
154
</div>
148
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt (-2 / +1 lines)
Lines 81-87 Link Here
81
        </fieldset>
81
        </fieldset>
82
        </fieldset>
82
        </fieldset>
83
        <div id="fileuploadpanel">
83
        <div id="fileuploadpanel">
84
            <div id="fileuploadstatus">Upload progress:
84
            <div id="fileuploadstatus" class="progress_panel">Upload progress:
85
            <progress id="fileuploadprogress" max="100" value="0">
85
            <progress id="fileuploadprogress" max="100" value="0">
86
            </progress>
86
            </progress>
87
            <span class="fileuploadpercent">0</span>%
87
            <span class="fileuploadpercent">0</span>%
88
- 

Return to bug 16538