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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss (+19 lines)
Lines 401-406 tbody { Link Here
401
            }
401
            }
402
        }
402
        }
403
    }
403
    }
404
    .dropdown-menu{
405
        
406
        background-color: #fff;
407
        color: #000;
408
        top: 100%;
409
410
        a{
411
            color: #000;
412
413
            &:hover,
414
            &:focus{
415
                background-image: none;
416
                background-color: #fff;
417
                color: #000;
418
                padding: 3px 20px;
419
                text-decoration: underline;
420
            }
421
        }
422
    }
404
}
423
}
405
424
406
.dataTables_wrapper {
425
.dataTables_wrapper {
(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (-54 / +104 lines)
Lines 28-34 a { Link Here
28
    }
28
    }
29
29
30
    &.authlink {
30
    &.authlink {
31
        background-color: #e6f0f2;
31
        background-color: #e3f1df;
32
        border-radius: 5px;
32
        border-radius: 5px;
33
        display: inline-block;
33
        display: inline-block;
34
        padding: 2px 4px;
34
        padding: 2px 4px;
Lines 38-44 a { Link Here
38
        &:link,
38
        &:link,
39
        &:visited {
39
        &:visited {
40
            //color: #71B443;
40
            //color: #71B443;
41
            padding: 6px 25px;
41
           // padding: 6px 25px;
42
        }
42
        }
43
43
44
        &.btn-link {
44
        &.btn-link {
Lines 64-79 a { Link Here
64
    box-shadow: none;
64
    box-shadow: none;
65
    font-size: 100%;
65
    font-size: 100%;
66
66
67
    &:hover, &:focus, &:active{
67
    &:hover, &:focus, &:active, &:active:hover, &:active:focus{
68
        text-decoration: underline;
68
        text-decoration: underline;
69
        color: #71B443;
69
        color: #71B443;
70
    padding: .3em;
70
        padding: .3em;
71
    border: none;
71
        border: none;
72
    background-color: transparent;
72
        background-color: transparent;
73
    border: none;
73
        border: none;
74
    box-shadow: none;
74
        box-shadow: none;
75
    font-size: 100%;
75
        font-size: 100%;
76
    }
76
        }
77
    }
77
    }
78
78
79
    &.cancel {
79
    &.cancel {
Lines 694-699 p { Link Here
694
            font: 400 13.3333px Arial;
694
            font: 400 13.3333px Arial;
695
        }
695
        }
696
    }
696
    }
697
698
    &.plusdessous{
699
        background-color: #352C2E;
700
        height: auto !important;
701
        padding: 0 5px 10px 5px;    
702
        top: 30px;
703
        border-bottom-left-radius: 17px;
704
        border-bottom-right-radius: 17px;
705
706
        input{
707
            outline-offset: 0px;
708
            outline: 1px black;
709
            height: 20px;
710
            border-radius: 17px;
711
            padding-left: 2em;
712
            padding-right: 1.5em;
713
            border: none;
714
            margin-top: 5px;
715
            margin-left: 0px;
716
            width: 100%;
717
            z-index: 100;
718
            display: inline-block !important;
719
            letter-spacing: normal;
720
            word-spacing: normal;
721
            text-transform: none;
722
            text-indent: 0px;
723
            text-shadow: none;
724
            text-align: start;
725
            cursor: text;
726
            font: 400 13.3333px Arial;
727
        }
728
    }
697
}
729
}
698
730
699
strong {
731
strong {
Lines 1255-1267 ol { Link Here
1255
}
1287
}
1256
1288
1257
fieldset {
1289
fieldset {
1258
    overflow: auto;
1290
    //overflow: auto;
1259
    background-color: #FFF;
1291
    background-color: #FFF;
1260
    position: relative;
1292
    position: relative;
1261
    color: #696969;
1293
    color: #696969;
1262
    left: 0px;
1294
    left: 0px;
1263
    top: 0px;
1295
    top: 0px;
1264
    //border: 2px solid #B9D8D9;
1296
    //border: 2px solid #bfd9b9;
1265
    //border-radius: 5px;
1297
    //border-radius: 5px;
1266
    margin: 0em 1em 1em 0em;
1298
    margin: 0em 1em 1em 0em;
1267
    //display: block;
1299
    //display: block;
Lines 1282-1288 fieldset { Link Here
1282
    }
1314
    }
1283
1315
1284
    .standard {
1316
    .standard {
1285
        background-color:#f4f8f9 !important;
1317
        background-color:#F4F8F9 !important;
1286
    }
1318
    }
1287
1319
1288
    .contrast {
1320
    .contrast {
Lines 1306-1314 fieldset { Link Here
1306
1338
1307
1339
1308
    &.brief {
1340
    &.brief {
1309
        //border: 2px solid #B9D8D9;
1341
        //border: 2px solid #bfd9b9;
1310
        width: 50%;
1342
        width: 50%;
1311
        box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
1343
        box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
1344
        overflow: visible;
1312
1345
1313
        div {
1346
        div {
1314
            &.hint {
1347
            &.hint {
Lines 1671-1677 fieldset { Link Here
1671
/*
1704
/*
1672
legend {
1705
legend {
1673
    background-color: #FFFFFF;
1706
    background-color: #FFFFFF;
1674
    border: 2px solid #B9D8D9;
1707
    border: 2px solid #bfd9b9;
1675
    border-radius: 3px;
1708
    border-radius: 3px;
1676
    font-size: 123.1%;
1709
    font-size: 123.1%;
1677
    font-weight: bold;
1710
    font-weight: bold;
Lines 1808-1814 div { Link Here
1808
1841
1809
    &.rule {
1842
    &.rule {
1810
        background-color: #F4F8F9;
1843
        background-color: #F4F8F9;
1811
        border: 2px solid #B9D8D9;
1844
        border: 2px solid #bfd9b9;
1812
        border-radius: 5px;
1845
        border-radius: 5px;
1813
        margin: .3em;
1846
        margin: .3em;
1814
        padding: .3em;
1847
        padding: .3em;
Lines 2140-2146 dd { Link Here
2140
        position: relative;
2173
        position: relative;
2141
        float: right;
2174
        float: right;
2142
        height: 100%;
2175
        height: 100%;
2143
        padding: 0.3em;
2176
     //   padding: 0.3em;
2144
2177
2145
        .dropdown-menu {
2178
        .dropdown-menu {
2146
            /*border-top-width: 1px;
2179
            /*border-top-width: 1px;
Lines 2162-2168 dd { Link Here
2162
            border: 0.5px solid lightgray;
2195
            border: 0.5px solid lightgray;
2163
            font-size: 100%;
2196
            font-size: 100%;
2164
            background-color: #fff;
2197
            background-color: #fff;
2165
            margin: 0;
2198
            margin: 5px 0 0 0;
2166
            box-shadow: 1px 1px 2px 0 rgba(102, 102, 102, .5);
2199
            box-shadow: 1px 1px 2px 0 rgba(102, 102, 102, .5);
2167
            position: absolute;
2200
            position: absolute;
2168
            text-decoration: none;
2201
            text-decoration: none;
Lines 2319-2325 dd { Link Here
2319
    padding-bottom: 25px;
2352
    padding-bottom: 25px;
2320
2353
2321
    h5 {
2354
    h5 {
2322
        //border-right: 1px solid #B9D8D9;
2355
        //border-right: 1px solid #bfd9b9;
2323
        margin-bottom: 0;
2356
        margin-bottom: 0;
2324
        padding: .5em .9em;
2357
        padding: .5em .9em;
2325
        font-weight: bold;
2358
        font-weight: bold;
Lines 2357-2363 dd { Link Here
2357
    }
2390
    }
2358
2391
2359
    > div {
2392
    > div {
2360
        //border-right: 1px solid #B9D8D9;
2393
        //border-right: 1px solid #bfd9b9;
2361
        width: 100%;
2394
        width: 100%;
2362
    }
2395
    }
2363
2396
Lines 2584-2590 i { Link Here
2584
.circ-settings {
2617
.circ-settings {
2585
    //background-color: #F4F8F9;
2618
    //background-color: #F4F8F9;
2586
    border-radius: 0;
2619
    border-radius: 0;
2587
    //border-top: 2px solid #B9D8D9;
2620
    //border-top: 2px solid #bfd9b9;
2588
    display: none;
2621
    display: none;
2589
    margin-left: -1em;
2622
    margin-left: -1em;
2590
    margin-right: -1em;
2623
    margin-right: -1em;
Lines 2794-2799 i { Link Here
2794
        //border: 1px solid #BCBCBC;
2827
        //border: 1px solid #BCBCBC;
2795
        color: #000000;
2828
        color: #000000;
2796
        text-align: center;
2829
        text-align: center;
2830
        background-color: #fff;
2831
      //  box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
2832
        
2797
2833
2798
        ul,
2834
        ul,
2799
        h5 {
2835
        h5 {
Lines 2888-2894 i { Link Here
2888
}
2924
}
2889
2925
2890
#menu {
2926
#menu {
2891
    border-right: 1px solid #B9D8D9;
2927
    border-right: 1px solid #bfd9b9;
2892
    margin-right: .5em;
2928
    margin-right: .5em;
2893
    padding-bottom: 2em;
2929
    padding-bottom: 2em;
2894
    padding-top: 1em;
2930
    padding-top: 1em;
Lines 2896-2902 i { Link Here
2896
    li {
2932
    li {
2897
        a {
2933
        a {
2898
            background: linear-gradient(to bottom, #E8F0F6 0%, #E8F0F6 96%, #C1C1C1 100%);
2934
            background: linear-gradient(to bottom, #E8F0F6 0%, #E8F0F6 96%, #C1C1C1 100%);
2899
            border: 1px solid #B9D8D9;
2935
            border: 1px solid #bfd9b9;
2900
            border-bottom-left-radius: 5px;
2936
            border-bottom-left-radius: 5px;
2901
            border-top-left-radius: 5px;
2937
            border-top-left-radius: 5px;
2902
            display: block;
2938
            display: block;
Lines 3060-3065 li { Link Here
3060
#searchresults {
3096
#searchresults {
3061
    background-color: #fff;
3097
    background-color: #fff;
3062
    margin-top: 20px;
3098
    margin-top: 20px;
3099
  //  overflow: auto;
3063
    box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
3100
    box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
3064
    padding: 20px;
3101
    padding: 20px;
3065
3102
Lines 3078-3085 li { Link Here
3078
                font-size: 90%;
3115
                font-size: 90%;
3079
                list-style: url("../img/item-bullet.svg");
3116
                list-style: url("../img/item-bullet.svg");
3080
                padding: .2em 0;
3117
                padding: .2em 0;
3081
                background-color: #fff;
3118
              //  background-color: #fff;
3082
                box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
3119
                //box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
3083
                color: #000;
3120
                color: #000;
3084
                top: 100%;
3121
                top: 100%;
3085
3122
Lines 3145-3150 li { Link Here
3145
        //top: 50px;
3182
        //top: 50px;
3146
        background-color: #fff;
3183
        background-color: #fff;
3147
        color: #000;
3184
        color: #000;
3185
        height: fit-content;
3148
        top: 100%;
3186
        top: 100%;
3149
3187
3150
        a{
3188
        a{
Lines 3270-3276 li { Link Here
3270
}
3308
}
3271
3309
3272
#biblio-cover-slider {
3310
#biblio-cover-slider {
3273
    border: 1px solid #b9d8d9;
3311
    border: 1px solid #bfd9b9;
3274
    border-radius: 3px;
3312
    border-radius: 3px;
3275
    margin: 5px;
3313
    margin: 5px;
3276
    padding: 10px 5px 5px 5px;
3314
    padding: 10px 5px 5px 5px;
Lines 3321-3327 td { Link Here
3321
    }
3359
    }
3322
}
3360
}
3323
3361
3324
#lientype, #show_invoice_adjustment, #cancel_invoice_adjustment, #show_active_vendors, #add-contact, #multi_hold_submit, #show-picture-upload, #edit_suggester, #expand_all, #collapse_all, #hide_inactive, #show_inactive, #addnewmessageLabel, #results_batch_ops, #highlight_toggle_off, #selectall, #clearall, #highlight_toggle_on, #addColumn, #remove_from_cart, #place_hold, #add_to_list, #batch_modify, #batch_delete, #delColumn, #edit_manager, #addauth, #unset, #UncheckAll, #check-all, #results_batch_ops #uncheck-all, #frameworkactions, #authtypeactions, #modify_sru_fields, #cartsubmit, #z3950submit, #add_manual_restriction{
3362
#lientype, #add, #merge-patrons, #btn_batchremove, #doedit, #show_invoice_adjustment, #cancel_invoice_adjustment, #show_active_vendors, #add-contact, #multi_hold_submit, #show-picture-upload, #edit_suggester, #expand_all, #collapse_all, #hide_inactive, #show_inactive, #addnewmessageLabel, #results_batch_ops, #highlight_toggle_off, #selectall, #clearall, #highlight_toggle_on, #addColumn, #remove_from_cart, #place_hold, #add_to_list, #batch_modify, #batch_delete, #delColumn, #edit_manager, #addauth, #unset, #UncheckAll, #check-all, #results_batch_ops #uncheck-all, #frameworkactions, #authtypeactions, #modify_sru_fields, #cartsubmit, #z3950submit, #add_manual_restriction{
3325
    color: #71B443;
3363
    color: #71B443;
3326
    padding: .3em;
3364
    padding: .3em;
3327
    border: none;
3365
    border: none;
Lines 3330-3336 td { Link Here
3330
    box-shadow: none;
3368
    box-shadow: none;
3331
    font-size: 100%;
3369
    font-size: 100%;
3332
3370
3333
    &:hover{
3371
    &:hover, &:active, &:focus, &:active:hover, &:active:focus{
3334
        text-decoration: underline;
3372
        text-decoration: underline;
3335
    }
3373
    }
3336
}
3374
}
Lines 3791-3798 td { Link Here
3791
}
3829
}
3792
3830
3793
.ui-widget-header {
3831
.ui-widget-header {
3794
    background: #E6F0F2 none;
3832
    background: #b5dbad none;
3795
    border: 1px solid #B9D8D9;
3833
    border: 1px solid #bfd9b9;
3796
    color: #222222;
3834
    color: #222222;
3797
    font-weight: bold;
3835
    font-weight: bold;
3798
}
3836
}
Lines 3801-3807 td { Link Here
3801
.ui-widget-content .ui-state-default,
3839
.ui-widget-content .ui-state-default,
3802
.ui-widget-header .ui-state-default {
3840
.ui-widget-header .ui-state-default {
3803
   // background: #F4F8F9 none;
3841
   // background: #F4F8F9 none;
3804
    border: 1px solid #B9D8D9;
3842
    border: 1px solid #bfd9b9;
3805
    color: #555555;
3843
    color: #555555;
3806
    font-weight: normal;
3844
    font-weight: normal;
3807
}
3845
}
Lines 3812-3819 td { Link Here
3812
.ui-state-focus,
3850
.ui-state-focus,
3813
.ui-widget-content .ui-state-focus,
3851
.ui-widget-content .ui-state-focus,
3814
.ui-widget-header .ui-state-focus {
3852
.ui-widget-header .ui-state-focus {
3815
    background: #E6F0F2 none;
3853
    background: #cad8c6 none;
3816
    border: 1px solid #B9D8D9;
3854
    border: 1px solid #bfd9b9;
3817
    color: #212121;
3855
    color: #212121;
3818
    font-weight: normal;
3856
    font-weight: normal;
3819
}
3857
}
Lines 3855-3861 td { Link Here
3855
                padding: 3px 1em 3px .4em;
3893
                padding: 3px 1em 3px .4em;
3856
3894
3857
                &:hover {
3895
                &:hover {
3858
                    background: #E6F0F2 none;
3896
                    background: #e3f1df none;
3859
                    color: #212121;
3897
                    color: #212121;
3860
                    font-weight: normal;
3898
                    font-weight: normal;
3861
                }
3899
                }
Lines 4064-4071 td { Link Here
4064
        }
4102
        }
4065
4103
4066
        li {
4104
        li {
4067
            //background: none repeat scroll 0 0 #E6F0F2;
4105
            //background: none repeat scroll 0 0 #e3f1df;
4068
            //border: 1px solid #B9D8D9;
4106
            //border: 1px solid #bfd9b9;
4069
        //    border-bottom: 0 none;
4107
        //    border-bottom: 0 none;
4070
            border-top-left-radius: 4px;
4108
            border-top-left-radius: 4px;
4071
            border-top-right-radius: 4px;
4109
            border-top-right-radius: 4px;
Lines 4103-4109 td { Link Here
4103
                a {
4141
                a {
4104
                    background: none repeat scroll 0 0 transparent;
4142
                    background: none repeat scroll 0 0 transparent;
4105
                    color: #fff;
4143
                    color: #fff;
4106
                    cursor: text;
4144
                  //  cursor: text;
4107
                    //font-weight: bold;
4145
                    //font-weight: bold;
4108
                    outline: 0 none;
4146
                    outline: 0 none;
4109
                    top: 1px;
4147
                    top: 1px;
Lines 4249-4255 td { Link Here
4249
}
4287
}
4250
4288
4251
.pluginname {
4289
.pluginname {
4252
    background-color: #E6F0F2;
4290
    background-color: #e3f1df;
4253
    cursor: move;
4291
    cursor: move;
4254
    margin: .3em;
4292
    margin: .3em;
4255
    padding-bottom: 4px;
4293
    padding-bottom: 4px;
Lines 4417-4422 nav { Link Here
4417
    li {
4455
    li {
4418
        list-style: none;
4456
        list-style: none;
4419
4457
4458
        .haut{
4459
            position: relative;
4460
            bottom: 3px;
4461
            left: 300px;
4462
        }
4463
4420
        .filteraction{
4464
        .filteraction{
4421
            position: absolute;
4465
            position: absolute;
4422
            right: 30px;
4466
            right: 30px;
Lines 5068-5073 button, Link Here
5068
    &:active,
5112
    &:active,
5069
    &:focus{
5113
    &:focus{
5070
        background-color: #fec22c9f;
5114
        background-color: #fec22c9f;
5115
        color: #000;
5071
    }
5116
    }
5072
}
5117
}
5073
5118
Lines 5082-5087 button, Link Here
5082
.panel {
5127
.panel {
5083
    background: #F4F8F9 none;
5128
    background: #F4F8F9 none;
5084
    box-shadow: none;
5129
    box-shadow: none;
5130
5131
    &:hover{
5132
        background: #e3f1df none;
5133
    }
5085
}
5134
}
5086
5135
5087
.panel-collapse {
5136
.panel-collapse {
Lines 5104-5110 button, Link Here
5104
        }
5153
        }
5105
5154
5106
        &:hover {
5155
        &:hover {
5107
            background: #e6f0f2 none;
5156
            background: #e3f1df none;
5108
            border-bottom-left-radius: 0;
5157
            border-bottom-left-radius: 0;
5109
            border-bottom-right-radius: 0;
5158
            border-bottom-right-radius: 0;
5110
        }
5159
        }
Lines 5118-5124 button, Link Here
5118
            }
5167
            }
5119
5168
5120
            &:hover {
5169
            &:hover {
5121
                background: #e6f0f2 none;
5170
                background: #e3f1df none;
5122
                border-bottom-left-radius: 3px;
5171
                border-bottom-left-radius: 3px;
5123
                border-bottom-right-radius: 3px;
5172
                border-bottom-right-radius: 3px;
5124
            }
5173
            }
Lines 5127-5140 button, Link Here
5127
}
5176
}
5128
5177
5129
.panel-default {
5178
.panel-default {
5130
    border: 1px solid #B9D8D9;
5179
    border: 1px solid #bfd9b9;
5131
    > .panel-heading {
5180
    > .panel-heading {
5132
        background: transparent none;
5181
        background: transparent none;
5133
        padding: 0;
5182
        padding: 0;
5134
5183
5135
        + .panel-collapse {
5184
        + .panel-collapse {
5136
            > .panel-body {
5185
            > .panel-body {
5137
                border-top-color: #B9D8D9;
5186
                border-top-color: #bfd9b9;
5138
            }
5187
            }
5139
        }
5188
        }
5140
    }
5189
    }
Lines 5333-5339 label { Link Here
5333
5382
5334
    fieldset,
5383
    fieldset,
5335
    ol {
5384
    ol {
5336
        background-color: transparent;
5385
        background-color: #FFF;
5337
        border: 0;
5386
        border: 0;
5338
        margin: 0;
5387
        margin: 0;
5339
        padding: 0;
5388
        padding: 0;
Lines 5341-5347 label { Link Here
5341
}
5390
}
5342
5391
5343
.modal-content {
5392
.modal-content {
5344
    background-color: #EDF4F6;
5393
    background-color: rgb(211, 223, 204);
5345
}
5394
}
5346
5395
5347
.btn-group {
5396
.btn-group {
Lines 5384-5393 code { Link Here
5384
5433
5385
.tab-content {
5434
.tab-content {
5386
 /*   background-color: #FFF;
5435
 /*   background-color: #FFF;
5387
    border: 1px solid #B9D8D9;
5436
    border: 1px solid #bfd9b9;
5388
    border-top-width: 0;*/
5437
    border-top-width: 0;*/
5389
    border: 3px solid #538200;
5438
    border: 3px solid #538200;
5390
    border-radius: 4px;
5439
    border-radius: 4px;
5440
    overflow: auto;
5391
    //border-top-width: 0;
5441
    //border-top-width: 0;
5392
    padding: 1em;
5442
    padding: 1em;
5393
}
5443
}
Lines 5476-5482 progress { Link Here
5476
    }
5526
    }
5477
5527
5478
    span {
5528
    span {
5479
        background-color: #EBF3FF;
5529
        background-color: #ecffeb;
5480
        border-radius: 5px;
5530
        border-radius: 5px;
5481
        display: inline-block;
5531
        display: inline-block;
5482
        font-size: 75%;
5532
        font-size: 75%;
Lines 5485-5491 progress { Link Here
5485
        white-space: nowrap;
5535
        white-space: nowrap;
5486
5536
5487
        &.selected {
5537
        &.selected {
5488
            background-color: #CCE0FC;
5538
            background-color: #d2fad0;
5489
        }
5539
        }
5490
    }
5540
    }
5491
}
5541
}
Lines 5546-5552 progress { Link Here
5546
5596
5547
#browse-return-to-results {
5597
#browse-return-to-results {
5548
    background-color: #E8F0F6;
5598
    background-color: #E8F0F6;
5549
    border: 1px solid #B9D8D9;
5599
    border: 1px solid #bfd9b9;
5550
    border-bottom-width: 0;
5600
    border-bottom-width: 0;
5551
    border-top-left-radius: 5px;
5601
    border-top-left-radius: 5px;
5552
    border-top-right-radius: 5px;
5602
    border-top-right-radius: 5px;
Lines 5557-5563 progress { Link Here
5557
5607
5558
.browse-button {
5608
.browse-button {
5559
    background-color: #FFF;
5609
    background-color: #FFF;
5560
    border: 1px solid #B9D8D9;
5610
    border: 1px solid #bfd9b9;
5561
    color: #004D99;
5611
    color: #004D99;
5562
    display: block;
5612
    display: block;
5563
    overflow: hidden;
5613
    overflow: hidden;
Lines 5745-5751 input.renew { Link Here
5745
5795
5746
.branchgriditem {
5796
.branchgriditem {
5747
    background-color: #FFFFFF;
5797
    background-color: #FFFFFF;
5748
    border: 1px solid #B9D8D9;
5798
    border: 1px solid #bfd9b9;
5749
    border-radius: 3px;
5799
    border-radius: 3px;
5750
    display: table-cell;
5800
    display: table-cell;
5751
    float: left;
5801
    float: left;
Lines 5772-5778 input.renew { Link Here
5772
5822
5773
#new_rule {
5823
#new_rule {
5774
    background-color: #F4F8F9;
5824
    background-color: #F4F8F9;
5775
    border: 2px solid #B9D8D9;
5825
    border: 2px solid #bfd9b9;
5776
    border-radius: 5px;
5826
    border-radius: 5px;
5777
    display: none;
5827
    display: none;
5778
    margin: .3em;
5828
    margin: .3em;
Lines 5858-5864 input.renew { Link Here
5858
}
5908
}
5859
5909
5860
#fixedlengthbuilderaction {
5910
#fixedlengthbuilderaction {
5861
    border: 3px solid #E6F0F2;
5911
    border: 3px solid #e3f1df;
5862
    left: 80%;
5912
    left: 80%;
5863
    padding: 5px;
5913
    padding: 5px;
5864
    position: relative;
5914
    position: relative;
Lines 6294-6300 input.renew { Link Here
6294
}
6344
}
6295
6345
6296
.about h2 {
6346
.about h2 {
6297
    border-bottom: 1px solid #B9D8D9;
6347
    border-bottom: 1px solid #bfd9b9;
6298
    padding: .5em .2em;
6348
    padding: .5em .2em;
6299
    margin:  .5em 0;
6349
    margin:  .5em 0;
6300
}
6350
}
Lines 6318-6324 input.renew { Link Here
6318
6368
6319
/*#catalog-search-link {
6369
/*#catalog-search-link {
6320
    //color : #fff;
6370
    //color : #fff;
6321
    //border-right: 1px solid lighten( #E6F0F2, 15% );
6371
    //border-right: 1px solid lighten( #e3f1df, 15% );
6322
    //padding-right: .3em;
6372
    //padding-right: .3em;
6323
6373
6324
}*/
6374
}*/
(-)a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css (-47 / +92 lines)
Lines 212-217 tbody tr:nth-child(odd):not(.dtrg-group):not(.active) td:not(.bg-danger):not(.bg Link Here
212
  background-color: #F9F9F9;
212
  background-color: #F9F9F9;
213
  margin: 1em; }
213
  margin: 1em; }
214
214
215
tbody .dropdown-menu {
216
  background-color: #fff;
217
  color: #000;
218
  top: 100%; }
219
  tbody .dropdown-menu a {
220
    color: #000; }
221
    tbody .dropdown-menu a:hover, tbody .dropdown-menu a:focus {
222
      background-image: none;
223
      background-color: #fff;
224
      color: #000;
225
      padding: 3px 20px;
226
      text-decoration: underline; }
227
215
.dataTables_wrapper .dataTables_processing {
228
.dataTables_wrapper .dataTables_processing {
216
  background-color: #F4F8F9;
229
  background-color: #F4F8F9;
217
  border: 2px solid #538200;
230
  border: 2px solid #538200;
Lines 1193-1206 a:hover .term { Link Here
1193
  text-decoration: underline; }
1206
  text-decoration: underline; }
1194
1207
1195
a.authlink {
1208
a.authlink {
1196
  background-color: #e6f0f2;
1209
  background-color: #e3f1df;
1197
  border-radius: 5px;
1210
  border-radius: 5px;
1198
  display: inline-block;
1211
  display: inline-block;
1199
  padding: 2px 4px; }
1212
  padding: 2px 4px; }
1200
1213
1201
a.btn:link, a.btn:visited {
1202
  padding: 6px 25px; }
1203
1204
a.btn.btn-link:link, a.btn.btn-link:visited {
1214
a.btn.btn-link:link, a.btn.btn-link:visited {
1205
  color: #71B443; }
1215
  color: #71B443; }
1206
1216
Lines 1217-1223 a.lientype { Link Here
1217
  -webkit-box-shadow: none;
1227
  -webkit-box-shadow: none;
1218
          box-shadow: none;
1228
          box-shadow: none;
1219
  font-size: 100%; }
1229
  font-size: 100%; }
1220
  a.lientype:hover, a.lientype:focus, a.lientype:active {
1230
  a.lientype:hover, a.lientype:focus, a.lientype:active, a.lientype:active:hover, a.lientype:active:focus {
1221
    text-decoration: underline;
1231
    text-decoration: underline;
1222
    color: #71B443;
1232
    color: #71B443;
1223
    padding: .3em;
1233
    padding: .3em;
Lines 1688-1693 p { Link Here
1688
      text-align: start;
1698
      text-align: start;
1689
      cursor: text;
1699
      cursor: text;
1690
      font: 400 13.3333px Arial; }
1700
      font: 400 13.3333px Arial; }
1701
  p.plusdessous {
1702
    background-color: #352C2E;
1703
    height: auto !important;
1704
    padding: 0 5px 10px 5px;
1705
    top: 30px;
1706
    border-bottom-left-radius: 17px;
1707
    border-bottom-right-radius: 17px; }
1708
    p.plusdessous input {
1709
      outline-offset: 0px;
1710
      outline: 1px black;
1711
      height: 20px;
1712
      border-radius: 17px;
1713
      padding-left: 2em;
1714
      padding-right: 1.5em;
1715
      border: none;
1716
      margin-top: 5px;
1717
      margin-left: 0px;
1718
      width: 100%;
1719
      z-index: 100;
1720
      display: inline-block !important;
1721
      letter-spacing: normal;
1722
      word-spacing: normal;
1723
      text-transform: none;
1724
      text-indent: 0px;
1725
      text-shadow: none;
1726
      text-align: start;
1727
      cursor: text;
1728
      font: 400 13.3333px Arial; }
1691
1729
1692
strong {
1730
strong {
1693
  font-weight: bold; }
1731
  font-weight: bold; }
Lines 2095-2101 ol { Link Here
2095
  font-weight: bold; }
2133
  font-weight: bold; }
2096
2134
2097
fieldset {
2135
fieldset {
2098
  overflow: auto;
2099
  background-color: #FFF;
2136
  background-color: #FFF;
2100
  position: relative;
2137
  position: relative;
2101
  color: #696969;
2138
  color: #696969;
Lines 2112-2118 fieldset { Link Here
2112
    margin-bottom: 0;
2149
    margin-bottom: 0;
2113
    margin-right: 0; }
2150
    margin-right: 0; }
2114
  fieldset .standard {
2151
  fieldset .standard {
2115
    background-color: #f4f8f9 !important; }
2152
    background-color: #F4F8F9 !important; }
2116
  fieldset .contrast {
2153
  fieldset .contrast {
2117
    background-color: #F3F3F3 !important; }
2154
    background-color: #F3F3F3 !important; }
2118
  fieldset.action {
2155
  fieldset.action {
Lines 2130-2136 fieldset { Link Here
2130
  fieldset.brief {
2167
  fieldset.brief {
2131
    width: 50%;
2168
    width: 50%;
2132
    -webkit-box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
2169
    -webkit-box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
2133
            box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356); }
2170
            box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
2171
    overflow: visible; }
2134
    fieldset.brief div.hint {
2172
    fieldset.brief div.hint {
2135
      margin-bottom: .4em; }
2173
      margin-bottom: .4em; }
2136
    fieldset.brief label {
2174
    fieldset.brief label {
Lines 2338-2344 fieldset { Link Here
2338
/*
2376
/*
2339
legend {
2377
legend {
2340
    background-color: #FFFFFF;
2378
    background-color: #FFFFFF;
2341
    border: 2px solid #B9D8D9;
2379
    border: 2px solid #bfd9b9;
2342
    border-radius: 3px;
2380
    border-radius: 3px;
2343
    font-size: 123.1%;
2381
    font-size: 123.1%;
2344
    font-weight: bold;
2382
    font-weight: bold;
Lines 2431-2437 div.results { Link Here
2431
2469
2432
div.rule {
2470
div.rule {
2433
  background-color: #F4F8F9;
2471
  background-color: #F4F8F9;
2434
  border: 2px solid #B9D8D9;
2472
  border: 2px solid #bfd9b9;
2435
  border-radius: 5px;
2473
  border-radius: 5px;
2436
  margin: .3em;
2474
  margin: .3em;
2437
  padding: .3em; }
2475
  padding: .3em; }
Lines 2699-2706 dd { Link Here
2699
    display: inline-block;
2737
    display: inline-block;
2700
    position: relative;
2738
    position: relative;
2701
    float: right;
2739
    float: right;
2702
    height: 100%;
2740
    height: 100%; }
2703
    padding: 0.3em; }
2704
    #toolbar div .dropdown-menu,
2741
    #toolbar div .dropdown-menu,
2705
    .btn-toolbar div .dropdown-menu {
2742
    .btn-toolbar div .dropdown-menu {
2706
      /*border-top-width: 1px;
2743
      /*border-top-width: 1px;
Lines 2719-2725 dd { Link Here
2719
      border: 0.5px solid lightgray;
2756
      border: 0.5px solid lightgray;
2720
      font-size: 100%;
2757
      font-size: 100%;
2721
      background-color: #fff;
2758
      background-color: #fff;
2722
      margin: 0;
2759
      margin: 5px 0 0 0;
2723
      -webkit-box-shadow: 1px 1px 2px 0 rgba(102, 102, 102, 0.5);
2760
      -webkit-box-shadow: 1px 1px 2px 0 rgba(102, 102, 102, 0.5);
2724
              box-shadow: 1px 1px 2px 0 rgba(102, 102, 102, 0.5);
2761
              box-shadow: 1px 1px 2px 0 rgba(102, 102, 102, 0.5);
2725
      position: absolute;
2762
      position: absolute;
Lines 3168-3174 i.warn { Link Here
3168
      text-align: right; }
3205
      text-align: right; }
3169
  .dialog.message {
3206
  .dialog.message {
3170
    color: #000000;
3207
    color: #000000;
3171
    text-align: center; }
3208
    text-align: center;
3209
    background-color: #fff; }
3172
    .dialog.message ul,
3210
    .dialog.message ul,
3173
    .dialog.message h5 {
3211
    .dialog.message h5 {
3174
      padding-left: 25%;
3212
      padding-left: 25%;
Lines 3224-3237 i.warn { Link Here
3224
  font-style: italic; }
3262
  font-style: italic; }
3225
3263
3226
#menu {
3264
#menu {
3227
  border-right: 1px solid #B9D8D9;
3265
  border-right: 1px solid #bfd9b9;
3228
  margin-right: .5em;
3266
  margin-right: .5em;
3229
  padding-bottom: 2em;
3267
  padding-bottom: 2em;
3230
  padding-top: 1em; }
3268
  padding-top: 1em; }
3231
  #menu li a {
3269
  #menu li a {
3232
    background: -webkit-gradient(linear, left top, left bottom, from(#E8F0F6), color-stop(96%, #E8F0F6), to(#C1C1C1));
3270
    background: -webkit-gradient(linear, left top, left bottom, from(#E8F0F6), color-stop(96%, #E8F0F6), to(#C1C1C1));
3233
    background: linear-gradient(to bottom, #E8F0F6 0%, #E8F0F6 96%, #C1C1C1 100%);
3271
    background: linear-gradient(to bottom, #E8F0F6 0%, #E8F0F6 96%, #C1C1C1 100%);
3234
    border: 1px solid #B9D8D9;
3272
    border: 1px solid #bfd9b9;
3235
    border-bottom-left-radius: 5px;
3273
    border-bottom-left-radius: 5px;
3236
    border-top-left-radius: 5px;
3274
    border-top-left-radius: 5px;
3237
    display: block;
3275
    display: block;
Lines 3363-3371 li.email { Link Here
3363
      font-size: 90%;
3401
      font-size: 90%;
3364
      list-style: url("../img/item-bullet.svg");
3402
      list-style: url("../img/item-bullet.svg");
3365
      padding: .2em 0;
3403
      padding: .2em 0;
3366
      background-color: #fff;
3367
      -webkit-box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
3368
              box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
3369
      color: #000;
3404
      color: #000;
3370
      top: 100%; }
3405
      top: 100%; }
3371
      #searchresults td ul li.result_itype_image {
3406
      #searchresults td ul li.result_itype_image {
Lines 3404-3409 li.email { Link Here
3404
#table_borrowers .dropdown-menu {
3439
#table_borrowers .dropdown-menu {
3405
  background-color: #fff;
3440
  background-color: #fff;
3406
  color: #000;
3441
  color: #000;
3442
  height: -webkit-fit-content;
3443
  height: -moz-fit-content;
3444
  height: fit-content;
3407
  top: 100%; }
3445
  top: 100%; }
3408
  #searchresults .dropdown-menu a,
3446
  #searchresults .dropdown-menu a,
3409
  #table_borrowers .dropdown-menu a {
3447
  #table_borrowers .dropdown-menu a {
Lines 3486-3492 li.email { Link Here
3486
  max-width: 140px; }
3524
  max-width: 140px; }
3487
3525
3488
#biblio-cover-slider {
3526
#biblio-cover-slider {
3489
  border: 1px solid #b9d8d9;
3527
  border: 1px solid #bfd9b9;
3490
  border-radius: 3px;
3528
  border-radius: 3px;
3491
  margin: 5px;
3529
  margin: 5px;
3492
  padding: 10px 5px 5px 5px;
3530
  padding: 10px 5px 5px 5px;
Lines 3517-3523 td.credit, td.debit, td.total { Link Here
3517
  tfoot td.credit, tfoot td.debit, tfoot td.total {
3555
  tfoot td.credit, tfoot td.debit, tfoot td.total {
3518
    color: #000; }
3556
    color: #000; }
3519
3557
3520
#lientype, #show_invoice_adjustment, #cancel_invoice_adjustment, #show_active_vendors, #add-contact, #multi_hold_submit, #show-picture-upload, #edit_suggester, #expand_all, #collapse_all, #hide_inactive, #show_inactive, #addnewmessageLabel, #results_batch_ops, #highlight_toggle_off, #selectall, #clearall, #highlight_toggle_on, #addColumn, #remove_from_cart, #place_hold, #add_to_list, #batch_modify, #batch_delete, #delColumn, #edit_manager, #addauth, #unset, #UncheckAll, #check-all, #results_batch_ops #uncheck-all, #frameworkactions, #authtypeactions, #modify_sru_fields, #cartsubmit, #z3950submit, #add_manual_restriction {
3558
#lientype, #add, #merge-patrons, #btn_batchremove, #doedit, #show_invoice_adjustment, #cancel_invoice_adjustment, #show_active_vendors, #add-contact, #multi_hold_submit, #show-picture-upload, #edit_suggester, #expand_all, #collapse_all, #hide_inactive, #show_inactive, #addnewmessageLabel, #results_batch_ops, #highlight_toggle_off, #selectall, #clearall, #highlight_toggle_on, #addColumn, #remove_from_cart, #place_hold, #add_to_list, #batch_modify, #batch_delete, #delColumn, #edit_manager, #addauth, #unset, #UncheckAll, #check-all, #results_batch_ops #uncheck-all, #frameworkactions, #authtypeactions, #modify_sru_fields, #cartsubmit, #z3950submit, #add_manual_restriction {
3521
  color: #71B443;
3559
  color: #71B443;
3522
  padding: .3em;
3560
  padding: .3em;
3523
  border: none;
3561
  border: none;
Lines 3526-3532 td.credit, td.debit, td.total { Link Here
3526
  -webkit-box-shadow: none;
3564
  -webkit-box-shadow: none;
3527
          box-shadow: none;
3565
          box-shadow: none;
3528
  font-size: 100%; }
3566
  font-size: 100%; }
3529
  #lientype:hover, #show_invoice_adjustment:hover, #cancel_invoice_adjustment:hover, #show_active_vendors:hover, #add-contact:hover, #multi_hold_submit:hover, #show-picture-upload:hover, #edit_suggester:hover, #expand_all:hover, #collapse_all:hover, #hide_inactive:hover, #show_inactive:hover, #addnewmessageLabel:hover, #results_batch_ops:hover, #highlight_toggle_off:hover, #selectall:hover, #clearall:hover, #highlight_toggle_on:hover, #addColumn:hover, #remove_from_cart:hover, #place_hold:hover, #add_to_list:hover, #batch_modify:hover, #batch_delete:hover, #delColumn:hover, #edit_manager:hover, #addauth:hover, #unset:hover, #UncheckAll:hover, #check-all:hover, #results_batch_ops #uncheck-all:hover, #frameworkactions:hover, #authtypeactions:hover, #modify_sru_fields:hover, #cartsubmit:hover, #z3950submit:hover, #add_manual_restriction:hover {
3567
  #lientype:hover, #lientype:active, #lientype:focus, #lientype:active:hover, #lientype:active:focus, #add:hover, #add:active, #add:focus, #add:active:hover, #add:active:focus, #merge-patrons:hover, #merge-patrons:active, #merge-patrons:focus, #merge-patrons:active:hover, #merge-patrons:active:focus, #btn_batchremove:hover, #btn_batchremove:active, #btn_batchremove:focus, #btn_batchremove:active:hover, #btn_batchremove:active:focus, #doedit:hover, #doedit:active, #doedit:focus, #doedit:active:hover, #doedit:active:focus, #show_invoice_adjustment:hover, #show_invoice_adjustment:active, #show_invoice_adjustment:focus, #show_invoice_adjustment:active:hover, #show_invoice_adjustment:active:focus, #cancel_invoice_adjustment:hover, #cancel_invoice_adjustment:active, #cancel_invoice_adjustment:focus, #cancel_invoice_adjustment:active:hover, #cancel_invoice_adjustment:active:focus, #show_active_vendors:hover, #show_active_vendors:active, #show_active_vendors:focus, #show_active_vendors:active:hover, #show_active_vendors:active:focus, #add-contact:hover, #add-contact:active, #add-contact:focus, #add-contact:active:hover, #add-contact:active:focus, #multi_hold_submit:hover, #multi_hold_submit:active, #multi_hold_submit:focus, #multi_hold_submit:active:hover, #multi_hold_submit:active:focus, #show-picture-upload:hover, #show-picture-upload:active, #show-picture-upload:focus, #show-picture-upload:active:hover, #show-picture-upload:active:focus, #edit_suggester:hover, #edit_suggester:active, #edit_suggester:focus, #edit_suggester:active:hover, #edit_suggester:active:focus, #expand_all:hover, #expand_all:active, #expand_all:focus, #expand_all:active:hover, #expand_all:active:focus, #collapse_all:hover, #collapse_all:active, #collapse_all:focus, #collapse_all:active:hover, #collapse_all:active:focus, #hide_inactive:hover, #hide_inactive:active, #hide_inactive:focus, #hide_inactive:active:hover, #hide_inactive:active:focus, #show_inactive:hover, #show_inactive:active, #show_inactive:focus, #show_inactive:active:hover, #show_inactive:active:focus, #addnewmessageLabel:hover, #addnewmessageLabel:active, #addnewmessageLabel:focus, #addnewmessageLabel:active:hover, #addnewmessageLabel:active:focus, #results_batch_ops:hover, #results_batch_ops:active, #results_batch_ops:focus, #results_batch_ops:active:hover, #results_batch_ops:active:focus, #highlight_toggle_off:hover, #highlight_toggle_off:active, #highlight_toggle_off:focus, #highlight_toggle_off:active:hover, #highlight_toggle_off:active:focus, #selectall:hover, #selectall:active, #selectall:focus, #selectall:active:hover, #selectall:active:focus, #clearall:hover, #clearall:active, #clearall:focus, #clearall:active:hover, #clearall:active:focus, #highlight_toggle_on:hover, #highlight_toggle_on:active, #highlight_toggle_on:focus, #highlight_toggle_on:active:hover, #highlight_toggle_on:active:focus, #addColumn:hover, #addColumn:active, #addColumn:focus, #addColumn:active:hover, #addColumn:active:focus, #remove_from_cart:hover, #remove_from_cart:active, #remove_from_cart:focus, #remove_from_cart:active:hover, #remove_from_cart:active:focus, #place_hold:hover, #place_hold:active, #place_hold:focus, #place_hold:active:hover, #place_hold:active:focus, #add_to_list:hover, #add_to_list:active, #add_to_list:focus, #add_to_list:active:hover, #add_to_list:active:focus, #batch_modify:hover, #batch_modify:active, #batch_modify:focus, #batch_modify:active:hover, #batch_modify:active:focus, #batch_delete:hover, #batch_delete:active, #batch_delete:focus, #batch_delete:active:hover, #batch_delete:active:focus, #delColumn:hover, #delColumn:active, #delColumn:focus, #delColumn:active:hover, #delColumn:active:focus, #edit_manager:hover, #edit_manager:active, #edit_manager:focus, #edit_manager:active:hover, #edit_manager:active:focus, #addauth:hover, #addauth:active, #addauth:focus, #addauth:active:hover, #addauth:active:focus, #unset:hover, #unset:active, #unset:focus, #unset:active:hover, #unset:active:focus, #UncheckAll:hover, #UncheckAll:active, #UncheckAll:focus, #UncheckAll:active:hover, #UncheckAll:active:focus, #check-all:hover, #check-all:active, #check-all:focus, #check-all:active:hover, #check-all:active:focus, #results_batch_ops #uncheck-all:hover, #results_batch_ops #uncheck-all:active, #results_batch_ops #uncheck-all:focus, #results_batch_ops #uncheck-all:active:hover, #results_batch_ops #uncheck-all:active:focus, #frameworkactions:hover, #frameworkactions:active, #frameworkactions:focus, #frameworkactions:active:hover, #frameworkactions:active:focus, #authtypeactions:hover, #authtypeactions:active, #authtypeactions:focus, #authtypeactions:active:hover, #authtypeactions:active:focus, #modify_sru_fields:hover, #modify_sru_fields:active, #modify_sru_fields:focus, #modify_sru_fields:active:hover, #modify_sru_fields:active:focus, #cartsubmit:hover, #cartsubmit:active, #cartsubmit:focus, #cartsubmit:active:hover, #cartsubmit:active:focus, #z3950submit:hover, #z3950submit:active, #z3950submit:focus, #z3950submit:active:hover, #z3950submit:active:focus, #add_manual_restriction:hover, #add_manual_restriction:active, #add_manual_restriction:focus, #add_manual_restriction:active:hover, #add_manual_restriction:active:focus {
3530
    text-decoration: underline; }
3568
    text-decoration: underline; }
3531
3569
3532
.highlight_toggle {
3570
.highlight_toggle {
Lines 3857-3871 td.credit, td.debit, td.total { Link Here
3857
  color: #222222; }
3895
  color: #222222; }
3858
3896
3859
.ui-widget-header {
3897
.ui-widget-header {
3860
  background: #E6F0F2 none;
3898
  background: #b5dbad none;
3861
  border: 1px solid #B9D8D9;
3899
  border: 1px solid #bfd9b9;
3862
  color: #222222;
3900
  color: #222222;
3863
  font-weight: bold; }
3901
  font-weight: bold; }
3864
3902
3865
.ui-state-default,
3903
.ui-state-default,
3866
.ui-widget-content .ui-state-default,
3904
.ui-widget-content .ui-state-default,
3867
.ui-widget-header .ui-state-default {
3905
.ui-widget-header .ui-state-default {
3868
  border: 1px solid #B9D8D9;
3906
  border: 1px solid #bfd9b9;
3869
  color: #555555;
3907
  color: #555555;
3870
  font-weight: normal; }
3908
  font-weight: normal; }
3871
3909
Lines 3875-3882 td.credit, td.debit, td.total { Link Here
3875
.ui-state-focus,
3913
.ui-state-focus,
3876
.ui-widget-content .ui-state-focus,
3914
.ui-widget-content .ui-state-focus,
3877
.ui-widget-header .ui-state-focus {
3915
.ui-widget-header .ui-state-focus {
3878
  background: #E6F0F2 none;
3916
  background: #cad8c6 none;
3879
  border: 1px solid #B9D8D9;
3917
  border: 1px solid #bfd9b9;
3880
  color: #212121;
3918
  color: #212121;
3881
  font-weight: normal; }
3919
  font-weight: normal; }
3882
3920
Lines 3902-3908 td.credit, td.debit, td.total { Link Here
3902
  .ui-autocomplete.ui-menu li.ui-menu-item {
3940
  .ui-autocomplete.ui-menu li.ui-menu-item {
3903
    padding: 3px 1em 3px .4em; }
3941
    padding: 3px 1em 3px .4em; }
3904
    .ui-autocomplete.ui-menu li.ui-menu-item:hover {
3942
    .ui-autocomplete.ui-menu li.ui-menu-item:hover {
3905
      background: #E6F0F2 none;
3943
      background: #e3f1df none;
3906
      color: #212121;
3944
      color: #212121;
3907
      font-weight: normal; }
3945
      font-weight: normal; }
3908
    .ui-autocomplete.ui-menu li.ui-menu-item .ui-state-active {
3946
    .ui-autocomplete.ui-menu li.ui-menu-item .ui-state-active {
Lines 4051-4057 td.credit, td.debit, td.total { Link Here
4051
        .statictabs > ul li.active a, .statictabs > ul li:hover a {
4089
        .statictabs > ul li.active a, .statictabs > ul li:hover a {
4052
          background: none repeat scroll 0 0 transparent;
4090
          background: none repeat scroll 0 0 transparent;
4053
          color: #fff;
4091
          color: #fff;
4054
          cursor: text;
4055
          outline: 0 none;
4092
          outline: 0 none;
4056
          top: 1px; }
4093
          top: 1px; }
4057
      .statictabs > ul li a {
4094
      .statictabs > ul li a {
Lines 4152-4158 td.credit, td.debit, td.total { Link Here
4152
  margin: 0 1em 1em 0; }
4189
  margin: 0 1em 1em 0; }
4153
4190
4154
.pluginname {
4191
.pluginname {
4155
  background-color: #E6F0F2;
4192
  background-color: #e3f1df;
4156
  cursor: move;
4193
  cursor: move;
4157
  margin: .3em;
4194
  margin: .3em;
4158
  padding-bottom: 4px;
4195
  padding-bottom: 4px;
Lines 4330-4335 nav { Link Here
4330
4367
4331
            }
4368
            }
4332
        }*/ }
4369
        }*/ }
4370
  .navbar-nav li .haut {
4371
    position: relative;
4372
    bottom: 3px;
4373
    left: 300px; }
4333
  .navbar-nav li .filteraction {
4374
  .navbar-nav li .filteraction {
4334
    position: absolute;
4375
    position: absolute;
4335
    right: 30px;
4376
    right: 30px;
Lines 4731-4737 button, Link Here
4731
  background-image: none;
4772
  background-image: none;
4732
  margin: 5px; }
4773
  margin: 5px; }
4733
  .principal:hover, .principal:active, .principal:focus {
4774
  .principal:hover, .principal:active, .principal:focus {
4734
    background-color: #fec22c9f; }
4775
    background-color: #fec22c9f;
4776
    color: #000; }
4735
4777
4736
.btn-xs,
4778
.btn-xs,
4737
.btn-group-xs > .btn {
4779
.btn-group-xs > .btn {
Lines 4743-4748 button, Link Here
4743
  background: #F4F8F9 none;
4785
  background: #F4F8F9 none;
4744
  -webkit-box-shadow: none;
4786
  -webkit-box-shadow: none;
4745
          box-shadow: none; }
4787
          box-shadow: none; }
4788
  .panel:hover {
4789
    background: #e3f1df none; }
4746
4790
4747
.panel-collapse {
4791
.panel-collapse {
4748
  background: #FFF none; }
4792
  background: #FFF none; }
Lines 4759-4765 button, Link Here
4759
    font-family: FontAwesome;
4803
    font-family: FontAwesome;
4760
    width: 1em; }
4804
    width: 1em; }
4761
  .panel-title a:hover {
4805
  .panel-title a:hover {
4762
    background: #e6f0f2 none;
4806
    background: #e3f1df none;
4763
    border-bottom-left-radius: 0;
4807
    border-bottom-left-radius: 0;
4764
    border-bottom-right-radius: 0; }
4808
    border-bottom-right-radius: 0; }
4765
  .panel-title a.collapsed::before {
4809
  .panel-title a.collapsed::before {
Lines 4768-4784 button, Link Here
4768
    font-family: FontAwesome;
4812
    font-family: FontAwesome;
4769
    width: 1em; }
4813
    width: 1em; }
4770
  .panel-title a.collapsed:hover {
4814
  .panel-title a.collapsed:hover {
4771
    background: #e6f0f2 none;
4815
    background: #e3f1df none;
4772
    border-bottom-left-radius: 3px;
4816
    border-bottom-left-radius: 3px;
4773
    border-bottom-right-radius: 3px; }
4817
    border-bottom-right-radius: 3px; }
4774
4818
4775
.panel-default {
4819
.panel-default {
4776
  border: 1px solid #B9D8D9; }
4820
  border: 1px solid #bfd9b9; }
4777
  .panel-default > .panel-heading {
4821
  .panel-default > .panel-heading {
4778
    background: transparent none;
4822
    background: transparent none;
4779
    padding: 0; }
4823
    padding: 0; }
4780
    .panel-default > .panel-heading + .panel-collapse > .panel-body {
4824
    .panel-default > .panel-heading + .panel-collapse > .panel-body {
4781
      border-top-color: #B9D8D9; }
4825
      border-top-color: #bfd9b9; }
4782
4826
4783
.panel-group .panel + .panel {
4827
.panel-group .panel + .panel {
4784
  margin-top: 3px; }
4828
  margin-top: 3px; }
Lines 4905-4917 label.disabled { Link Here
4905
  overflow-y: auto; }
4949
  overflow-y: auto; }
4906
  .modal-body fieldset,
4950
  .modal-body fieldset,
4907
  .modal-body ol {
4951
  .modal-body ol {
4908
    background-color: transparent;
4952
    background-color: #FFF;
4909
    border: 0;
4953
    border: 0;
4910
    margin: 0;
4954
    margin: 0;
4911
    padding: 0; }
4955
    padding: 0; }
4912
4956
4913
.modal-content {
4957
.modal-content {
4914
  background-color: #EDF4F6; }
4958
  background-color: #d3dfcc; }
4915
4959
4916
.btn-group label,
4960
.btn-group label,
4917
.btn-group select {
4961
.btn-group select {
Lines 4946-4955 code { Link Here
4946
4990
4947
.tab-content {
4991
.tab-content {
4948
  /*   background-color: #FFF;
4992
  /*   background-color: #FFF;
4949
    border: 1px solid #B9D8D9;
4993
    border: 1px solid #bfd9b9;
4950
    border-top-width: 0;*/
4994
    border-top-width: 0;*/
4951
  border: 3px solid #538200;
4995
  border: 3px solid #538200;
4952
  border-radius: 4px;
4996
  border-radius: 4px;
4997
  overflow: auto;
4953
  padding: 1em; }
4998
  padding: 1em; }
4954
4999
4955
.nav-tabs > li > a {
5000
.nav-tabs > li > a {
Lines 5010-5016 progress { Link Here
5010
    margin: 0 2px;
5055
    margin: 0 2px;
5011
    vertical-align: middle; }
5056
    vertical-align: middle; }
5012
  #selections span {
5057
  #selections span {
5013
    background-color: #EBF3FF;
5058
    background-color: #ecffeb;
5014
    border-radius: 5px;
5059
    border-radius: 5px;
5015
    display: inline-block;
5060
    display: inline-block;
5016
    font-size: 75%;
5061
    font-size: 75%;
Lines 5018-5024 progress { Link Here
5018
    padding: 3px;
5063
    padding: 3px;
5019
    white-space: nowrap; }
5064
    white-space: nowrap; }
5020
    #selections span.selected {
5065
    #selections span.selected {
5021
      background-color: #CCE0FC; }
5066
      background-color: #d2fad0; }
5022
5067
5023
#changepasswordf input[type="text"], #changepasswordf input[type="password"] {
5068
#changepasswordf input[type="text"], #changepasswordf input[type="password"] {
5024
  font-family: "Courier New", Courier, monospace;
5069
  font-family: "Courier New", Courier, monospace;
Lines 5062-5068 progress { Link Here
5062
5107
5063
#browse-return-to-results {
5108
#browse-return-to-results {
5064
  background-color: #E8F0F6;
5109
  background-color: #E8F0F6;
5065
  border: 1px solid #B9D8D9;
5110
  border: 1px solid #bfd9b9;
5066
  border-bottom-width: 0;
5111
  border-bottom-width: 0;
5067
  border-top-left-radius: 5px;
5112
  border-top-left-radius: 5px;
5068
  border-top-right-radius: 5px;
5113
  border-top-right-radius: 5px;
Lines 5072-5078 progress { Link Here
5072
5117
5073
.browse-button {
5118
.browse-button {
5074
  background-color: #FFF;
5119
  background-color: #FFF;
5075
  border: 1px solid #B9D8D9;
5120
  border: 1px solid #bfd9b9;
5076
  color: #004D99;
5121
  color: #004D99;
5077
  display: block;
5122
  display: block;
5078
  overflow: hidden;
5123
  overflow: hidden;
Lines 5206-5212 input.renew { Link Here
5206
5251
5207
.branchgriditem {
5252
.branchgriditem {
5208
  background-color: #FFFFFF;
5253
  background-color: #FFFFFF;
5209
  border: 1px solid #B9D8D9;
5254
  border: 1px solid #bfd9b9;
5210
  border-radius: 3px;
5255
  border-radius: 3px;
5211
  display: table-cell;
5256
  display: table-cell;
5212
  float: left;
5257
  float: left;
Lines 5228-5234 input.renew { Link Here
5228
5273
5229
#new_rule {
5274
#new_rule {
5230
  background-color: #F4F8F9;
5275
  background-color: #F4F8F9;
5231
  border: 2px solid #B9D8D9;
5276
  border: 2px solid #bfd9b9;
5232
  border-radius: 5px;
5277
  border-radius: 5px;
5233
  display: none;
5278
  display: none;
5234
  margin: .3em;
5279
  margin: .3em;
Lines 5289-5295 input.renew { Link Here
5289
  font-size: 100%; }
5334
  font-size: 100%; }
5290
5335
5291
#fixedlengthbuilderaction {
5336
#fixedlengthbuilderaction {
5292
  border: 3px solid #E6F0F2;
5337
  border: 3px solid #e3f1df;
5293
  left: 80%;
5338
  left: 80%;
5294
  padding: 5px;
5339
  padding: 5px;
5295
  position: relative;
5340
  position: relative;
Lines 5614-5620 input.renew { Link Here
5614
          padding: 0; }
5659
          padding: 0; }
5615
5660
5616
.about h2 {
5661
.about h2 {
5617
  border-bottom: 1px solid #B9D8D9;
5662
  border-bottom: 1px solid #bfd9b9;
5618
  padding: .5em .2em;
5663
  padding: .5em .2em;
5619
  margin: .5em 0; }
5664
  margin: .5em 0; }
5620
5665
Lines 5644-5650 input.renew { Link Here
5644
5689
5645
/*#catalog-search-link {
5690
/*#catalog-search-link {
5646
    //color : #fff;
5691
    //color : #fff;
5647
    //border-right: 1px solid lighten( #E6F0F2, 15% );
5692
    //border-right: 1px solid lighten( #e3f1df, 15% );
5648
    //padding-right: .3em;
5693
    //padding-right: .3em;
5649
5694
5650
}*/
5695
}*/
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc (-2 / +2 lines)
Lines 26-33 Link Here
26
    
26
    
27
27
28
    <ul id="taille">
28
    <ul id="taille">
29
        <li><a id="button_1" title="Vendor search" onclick="clique(this)" class="iconsearch" href="#supplier_search"><i class="fa fa-upload"></i></a></li>
29
        <li><a id="icon_1" title="Vendor search" onclick="clique(this)" class="iconsearch" href="#supplier_search"><i class="fa fa-upload"></i></a></li>
30
        <li><a id="button_2" title="Orders search" onclick="clique(this)" class="iconsearch" href="#orders_search"><i class="fa fa-download"></i></a></li>
30
        <li><a id="icon_2" title="Orders search" onclick="clique(this)" class="iconsearch" href="#orders_search"><i class="fa fa-download"></i></a></li>
31
31
32
        <span id="button_1" class="buttonsearch active">Vendor search</span>
32
        <span id="button_1" class="buttonsearch active">Vendor search</span>
33
        <span id="button_2" class="buttonsearch">Orders search</span>
33
        <span id="button_2" class="buttonsearch">Orders search</span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc (-202 / +309 lines)
Lines 1-209 Link Here
1
<!-- Begin Authorities Resident Search Box -->
1
<!-- Begin Authorities Resident Search Box -->
2
2
3
<div id="header_search" class="residentsearch fold">
3
<div id="header_search" class="fold">
4
    <div id="mainmain_heading" class="residentsearch">
4
    <div id="mainmain_heading" class="residentsearch">
5
    <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
5
        <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
6
        <label class="tip" for="value_mainentry">Enter main heading ($a only):</label>
6
            
7
        <input type="hidden" name="op" value="do_search" />
7
            <select name="orderby" class="haut">
8
        <input type="hidden" name="type" value="intranet" />
8
                [% IF ( orderby == 'HeadingAsc' ) %]
9
        <select name="authtypecode" id="authtype_main_heading_a">
9
                <option value="HeadingAsc" selected="selected">Heading A-Z</option>
10
        [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
10
                [% ELSE %]
11
        [% FOREACH authority_type IN authority_types %]
11
                <option value="HeadingAsc">Heading A-Z</option>
12
            [% IF authority_type.authtypecode == authtypecode %]
12
                [% END %]
13
            <option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
13
                [% IF ( orderby == 'HeadingDsc' ) %]
14
            [% ELSE %]
14
                <option value="HeadingDsc" selected="selected">Heading Z-A</option>
15
            <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
15
                [% ELSE %]
16
            [% END %]
16
                <option value="HeadingDsc">Heading Z-A</option>
17
        [% END %]
17
                [% END %]
18
        </select>
18
                [% IF ( orderby == '' && op ) %]
19
        <input type="hidden" name="marclist" value="mainmainentry" />
19
                <option value="" selected="selected">None</option>
20
        <input type="hidden" name="and_or" value="and" />
20
                [% ELSE %]
21
        <input type="hidden" name="excluding" value="" />
21
                <option value="">None</option>
22
        <select name="operator">
22
                [% END %]
23
            [% IF ( operator == 'contains' ) %]
23
            </select>
24
            <option value="contains" selected="selected">contains</option>
24
25
            [% ELSE %]
25
            <p class="plusdessous" id="filters">
26
            <option value="contains">contains</option>
26
                <input type="hidden" name="op" value="do_search" />
27
            [% END %]
27
                <input type="hidden" name="type" value="intranet" />
28
            [% IF ( operator == 'start' ) %]
28
                <select name="authtypecode" id="authtype_main_heading_a">
29
            <option value="start" selected="selected">starts with</option>
29
                [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
30
            [% ELSE %]
30
                [% FOREACH authority_type IN authority_types %]
31
            <option value="start">starts with</option>
31
                    [% IF authority_type.authtypecode == authtypecode %]
32
            [% END %]
32
                    <option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
33
            [% IF ( operator == 'exact' ) %]
33
                    [% ELSE %]
34
            <option value="exact" selected="selected">is exactly</option>
34
                    <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
35
            [% ELSE %]
35
                    [% END %]
36
            <option value="exact">is exactly</option>
36
                [% END %]
37
            [% END %]
37
                </select>
38
        </select>
38
39
        <input id="value_mainentry" type="text" name="value" value="[% value | html %]" class="head-searchbox" />
39
                <input type="hidden" name="marclist" value="mainmainentry" />
40
        <select name="orderby">
40
                <input type="hidden" name="and_or" value="and" />
41
            [% IF ( orderby == 'HeadingAsc' ) %]
41
                <input type="hidden" name="excluding" value="" />
42
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
42
                <select name="operator">
43
            [% ELSE %]
43
                    [% IF ( operator == 'contains' ) %]
44
            <option value="HeadingAsc">Heading A-Z</option>
44
                    <option value="contains" selected="selected">contains</option>
45
            [% END %]
45
                    [% ELSE %]
46
            [% IF ( orderby == 'HeadingDsc' ) %]
46
                    <option value="contains">contains</option>
47
            <option value="HeadingDsc" selected="selected">Heading Z-A</option>
47
                    [% END %]
48
            [% ELSE %]
48
                    [% IF ( operator == 'start' ) %]
49
            <option value="HeadingDsc">Heading Z-A</option>
49
                    <option value="start" selected="selected">starts with</option>
50
            [% END %]
50
                    [% ELSE %]
51
            [% IF ( orderby == '' && op ) %]
51
                    <option value="start">starts with</option>
52
            <option value="" selected="selected">None</option>
52
                    [% END %]
53
            [% ELSE %]
53
                    [% IF ( operator == 'exact' ) %]
54
            <option value="">None</option>
54
                    <optiontype value="exact" selected="selected">is exactly</option>
55
            [% END %]
55
                    [% ELSE %]
56
        </select>
56
                    <option value="exact">is exactly</option>
57
        <input type="submit" class="submit principal" value="Submit" />
57
                    [% END %]
58
    </form>
58
                </select>
59
60
                <input id="value_mainentry" type="text" name="value" value="[% value | html %]" placeholder="Enter main heading ($a only)" />
61
            </p>
62
63
            <input type="submit" class="submit" id="submit" value="" />
64
        </form>
59
    </div>
65
    </div>
66
67
    
60
    <div id="main_heading" class="residentsearch">
68
    <div id="main_heading" class="residentsearch">
61
    <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
69
        <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
62
        <label class="tip" for="value_mainheading">Enter main heading:</label>
70
            <select name="orderby" class="haut">
63
        <input type="hidden" name="op" value="do_search" />
71
                [% IF ( orderby == 'HeadingAsc' ) %]
64
        <input type="hidden" name="type" value="intranet" />
72
                <option value="HeadingAsc" selected="selected">Heading A-Z</option>
65
        <select name="authtypecode" id="authtype_main_heading">
73
                [% ELSE %]
66
        [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
74
                <option value="HeadingAsc">Heading A-Z</option>
67
        [% FOREACH authority_type IN authority_types %]
75
                [% END %]
68
            [% IF authority_type.authtypecode == authtypecode %]
76
                [% IF ( orderby == 'HeadingDsc' ) %]
69
            <option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
77
                <option value="HeadingDsc" selected="selected">Heading Z-A</option>
70
            [% ELSE %]
78
                [% ELSE %]
71
            <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
79
                <option value="HeadingDsc">Heading Z-A</option>
72
            [% END %]
80
                [% END %]
73
        [% END %]
81
                [% IF ( orderby == '' && op ) %]
74
        </select>
82
                <option value="" selected="selected">None</option>
75
        <input type="hidden" name="marclist" value="mainentry" />
83
                [% ELSE %]
76
        <input type="hidden" name="and_or" value="and" />
84
                <option value="">None</option>
77
        <input type="hidden" name="excluding" value="" />
85
                [% END %]
78
        <select name="operator">
86
            </select>
79
            [% IF ( operator == 'contains' ) %]
87
80
            <option value="contains" selected="selected">contains</option>
88
            <p class="plusdessous" id="filters">
81
            [% ELSE %]
89
                <input type="hidden" name="op" value="do_search" />
82
            <option value="contains">contains</option>
90
                <input type="hidden" name="type" value="intranet" />
83
            [% END %]
91
                <select name="authtypecode" id="authtype_main_heading">
84
            [% IF ( operator == 'start' ) %]
92
                [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
85
            <option value="start" selected="selected">starts with</option>
93
                [% FOREACH authority_type IN authority_types %]
86
            [% ELSE %]
94
                    [% IF authority_type.authtypecode == authtypecode %]
87
            <option value="start">starts with</option>
95
                    <option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
88
            [% END %]
96
                    [% ELSE %]
89
            [% IF ( operator == 'exact' ) %]
97
                    <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
90
            <option value="exact" selected="selected">is exactly</option>
98
                    [% END %]
91
            [% ELSE %]
99
                [% END %]
92
            <option value="exact">is exactly</option>
100
                </select>
93
            [% END %]
101
                
94
        </select>
102
                <input type="hidden" name="marclist" value="mainentry" />
95
        <input id="value_mainheading" type="text" name="value" value="[% value | html %]" class="head-searchbox" />
103
                <input type="hidden" name="and_or" value="and" />
96
        <select name="orderby">
104
                <input type="hidden" name="excluding" value="" />
97
            [% IF ( orderby == 'HeadingAsc' ) %]
105
                <select name="operator">
98
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
106
                    [% IF ( operator == 'contains' ) %]
99
            [% ELSE %]
107
                    <option value="contains" selected="selected">contains</option>
100
            <option value="HeadingAsc">Heading A-Z</option>
108
                    [% ELSE %]
101
            [% END %]
109
                    <option value="contains">contains</option>
102
            [% IF ( orderby == 'HeadingDsc' ) %]
110
                    [% END %]
103
            <option value="HeadingDsc" selected="selected">Heading Z-A</option>
111
                    [% IF ( operator == 'start' ) %]
104
            [% ELSE %]
112
                    <option value="start" selected="selected">starts with</option>
105
            <option value="HeadingDsc">Heading Z-A</option>
113
                    [% ELSE %]
106
            [% END %]
114
                    <option value="start">starts with</option>
107
            [% IF ( orderby == '' && op ) %]
115
                    [% END %]
108
            <option value="" selected="selected">None</option>
116
                    [% IF ( operator == 'exact' ) %]
109
            [% ELSE %]
117
                    <option value="exact" selected="selected">is exactly</option>
110
            <option value="">None</option>
118
                    [% ELSE %]
111
            [% END %]
119
                    <option value="exact">is exactly</option>
112
        </select>
120
                    [% END %]
113
        <input type="submit" class="submit principal" value="Submit" />
121
                </select>
114
    </form>
122
123
                <input id="value_mainheading" type="text" name="value" value="[% value | html %]" placeholder="Enter main heading" />
124
            </p>
125
126
            <input type="submit" class="submit" id="submit" value="" />
127
        </form>
115
    </div>
128
    </div>
129
116
    <div id="matchheading_search" class="residentsearch">
130
    <div id="matchheading_search" class="residentsearch">
117
    <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
131
        <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
118
        <label class="tip" for="value_matchheading">Enter any heading:</label>
132
119
        <input type="hidden" name="op" value="do_search" />
133
            <select name="orderby" class="haut">
120
        <input type="hidden" name="type" value="intranet" />
134
                [% IF ( orderby == 'HeadingAsc' ) %]
121
        <select name="authtypecode" id="authtype_all_headings">
135
                <option value="HeadingAsc" selected="selected">Heading A-Z</option>
122
        [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
136
                [% ELSE %]
123
        [% FOREACH authority_type IN authority_types %]
137
                <option value="HeadingAsc">Heading A-Z</option>
124
            [% IF authority_type.authtypecode == authtypecode %]
138
                [% END %]
125
            <option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
139
                [% IF ( orderby == 'HeadingDsc' ) %]
126
            [% ELSE %]
140
                <option value="HeadingDsc" selected="selected">Heading Z-A</option>
127
            <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
141
                [% ELSE %]
128
            [% END %]
142
                <option value="HeadingDsc">Heading Z-A</option>
129
        [% END %]
143
                [% END %]
130
        </select>
144
                [% IF ( orderby == '' && op ) %]
131
        <input type="hidden" name="marclist" value="match" />
145
                <option value="" selected="selected">None</option>
132
        <select name="operator">
146
                [% ELSE %]
133
            [% IF ( operator == 'contains' ) %]
147
                <option value="">None</option>
134
            <option value="contains" selected="selected">contains</option>
148
                [% END %]
135
            [% ELSE %]
149
            </select>
136
            <option value="contains">contains</option>
150
137
            [% END %]
151
            <p class="plusdessous" id="filters">
138
            [% IF ( operator == 'start' ) %]
152
                <input type="hidden" name="op" value="do_search" />
139
            <option value="start" selected="selected">starts with</option>
153
                <input type="hidden" name="type" value="intranet" />
140
            [% ELSE %]
154
                <select name="authtypecode" id="authtype_all_headings">
141
            <option value="start">starts with</option>
155
                [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
142
            [% END %]
156
                [% FOREACH authority_type IN authority_types %]
143
            [% IF ( operator == 'exact' ) %]
157
                    [% IF authority_type.authtypecode == authtypecode %]
144
            <option value="exact" selected="selected">is exactly</option>
158
                    <option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
145
            [% ELSE %]
159
                    [% ELSE %]
146
            <option value="exact">is exactly</option>
160
                    <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
147
            [% END %]
161
                    [% END %]
148
        </select>
162
                [% END %]
149
        <input id="value_matchheading" type="text" name="value" value="[% value | html %]" class="head-searchbox" />
163
                </select>
150
        <select name="orderby">
164
151
            [% IF ( orderby == 'HeadingAsc' ) %]
165
                <input type="hidden" name="marclist" value="match" />
152
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
166
                <select name="operator">
153
            [% ELSE %]
167
                    [% IF ( operator == 'contains' ) %]
154
            <option value="HeadingAsc">Heading A-Z</option>
168
                    <option value="contains" selected="selected">contains</option>
155
            [% END %]
169
                    [% ELSE %]
156
            [% IF ( orderby == 'HeadingDsc' ) %]
170
                    <option value="contains">contains</option>
157
            <option value="HeadingDsc" selected="selected">Heading Z-A</option>
171
                    [% END %]
158
            [% ELSE %]
172
                    [% IF ( operator == 'start' ) %]
159
            <option value="HeadingDsc">Heading Z-A</option>
173
                    <option value="start" selected="selected">starts with</option>
160
            [% END %]
174
                    [% ELSE %]
161
            [% IF ( orderby == '' && op ) %]
175
                    <option value="start">starts with</option>
162
            <option value="" selected="selected">None</option>
176
                    [% END %]
163
            [% ELSE %]
177
                    [% IF ( operator == 'exact' ) %]
164
            <option value="">None</option>
178
                    <option value="exact" selected="selected">is exactly</option>
165
            [% END %]
179
                    [% ELSE %]
166
         </select>
180
                    <option value="exact">is exactly</option>
167
         <input type="submit" class="submit principal" value="Submit" />
181
                    [% END %]
168
    </form>
182
                </select>
183
184
                <input id="value_matchheading" type="text" name="value" value="[% value | html %]" placeholder="Enter any heading" />
185
            </p>
186
187
            <input type="submit" class="submit" id="submit" value="" />
188
        </form>
169
    </div>
189
    </div>
190
170
    <div id="entire_record" class="residentsearch">
191
    <div id="entire_record" class="residentsearch">
171
    <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
192
    <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
172
        <label class="tip" for="value_anywhere">Enter any authority field:</label>
193
173
        <input type="hidden" name="op" value="do_search" />
194
        <select name="orderby" class="haut">
174
        <input type="hidden" name="type" value="intranet" />
175
        <select name="authtypecode" id="authtype_entire_record">
176
        [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
177
        [% FOREACH authority_type IN authority_types %]
178
            [% IF authority_type.authtypecode == authtypecode %]
179
            <option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
180
            [% ELSE %]
181
            <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
182
            [% END %]
183
        [% END %]
184
        </select>
185
        <input type="hidden" name="marclist" value="all" />
186
        <input type="hidden" name="and_or" value="and" />
187
        <input type="hidden" name="excluding" value="" />
188
        <select name="operator">
189
            [% IF ( operator == 'contains' ) %]
190
            <option value="contains" selected="selected">contains</option>
191
            [% ELSE %]
192
            <option value="contains">contains</option>
193
            [% END %]
194
            [% IF ( operator == 'start' ) %]
195
            <option value="start" selected="selected">starts with</option>
196
            [% ELSE %]
197
            <option value="start">starts with</option>
198
            [% END %]
199
            [% IF ( operator == 'exact' ) %]
200
            <option value="exact" selected="selected">is exactly</option>
201
            [% ELSE %]
202
            <option value="exact">is exactly</option>
203
            [% END %]
204
        </select>
205
        <input id="value_anywhere" type="text" name="value" value="[% value | html %]" class="head-searchbox" />
206
        <select name="orderby">
207
            [% IF ( orderby == 'HeadingAsc' ) %]
195
            [% IF ( orderby == 'HeadingAsc' ) %]
208
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
196
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
209
            [% ELSE %]
197
            [% ELSE %]
Lines 220-234 Link Here
220
            <option value="">None</option>
208
            <option value="">None</option>
221
            [% END %]
209
            [% END %]
222
        </select>
210
        </select>
223
        <input type="submit" class="submit principal" value="Submit" />
211
212
        <p class="plusdessous" id="filters">
213
            <input type="hidden" name="op" value="do_search" />
214
            <input type="hidden" name="type" value="intranet" />
215
            <select name="authtypecode" id="authtype_entire_record">
216
            [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
217
            [% FOREACH authority_type IN authority_types %]
218
                [% IF authority_type.authtypecode == authtypecode %]
219
                <option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
220
                [% ELSE %]
221
                <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
222
                [% END %]
223
            [% END %]
224
            </select>
225
226
            <input type="hidden" name="marclist" value="all" />
227
            <input type="hidden" name="and_or" value="and" />
228
            <input type="hidden" name="excluding" value="" />
229
            <select name="operator">
230
                [% IF ( operator == 'contains' ) %]
231
                <option value="contains" selected="selected">contains</option>
232
                [% ELSE %]
233
                <option value="contains">contains</option>
234
                [% END %]
235
                [% IF ( operator == 'start' ) %]
236
                <option value="start" selected="selected">starts with</option>
237
                [% ELSE %]
238
                <option value="start">starts with</option>
239
                [% END %]
240
                [% IF ( operator == 'exact' ) %]
241
                <option value="exact" selected="selected">is exactly</option>
242
                [% ELSE %]
243
                <option value="exact">is exactly</option>
244
                [% END %]
245
            </select>
246
247
            <input id="value_anywhere" type="text" name="value" value="[% value | html %]" placeholder="Enter any authority field" />
248
        </p>
249
250
        <input type="submit" class="submit" id="submit" value="" />
224
    </form>
251
    </form>
225
    </div>
252
    </div>
253
226
    <ul>
254
    <ul>
227
        <li><a class="keep_text" href="#mainmain_heading">Search main heading ($a only)</a></li>
255
        <li><a id="icon_1" title="Search main heading ($a only)" onclick="clique(this)" class="iconsearch" href="#mainmain_heading"><i style="font-weight:bold">$a</i></a></li>
228
        <li><a class="keep_text" href="#main_heading">Search main heading</a></li>
256
        <li><a id="icon_2" title="Search main heading" onclick="clique(this)" class="iconsearch" href="#main_heading"><i class="fa fa-upload"></i></a></li>
229
        <li><a class="keep_text" href="#matchheading_search">Search all headings</a></li>
257
        <li><a id="icon_3" title="Search all headings" onclick="clique(this)" class="iconsearch" href="#matchheading_search"><i class="fa fa-upload"></i></a></li>
230
        <li><a class="keep_text" href="#entire_record">Search entire record</a></li>
258
        <li><a id="icon_4" title="Search entire record" onclick="clique(this)" class="iconsearch" href="#entire_record"><i class="fa fa-upload"></i></a></li>
259
    
260
        <span id="button_1" class="buttonsearch active">Search main heading ($a only)</span>
261
        <span id="button_2" class="buttonsearch">Search main heading</span>
262
        <span id="button_3" class="buttonsearch">Search all headings</span>
263
        <span id="button_4" class="buttonsearch">Search entire record</span>
264
    
231
    </ul>
265
    </ul>
232
</div><!-- /header_search -->
266
</div><!-- /header_search -->
233
</div><!-- /gradient -->
267
268
<script type="text/javascript">
269
    function focusInput(){
270
        document.getElementsByClassName('head-searchbox').focus();
271
    }
272
273
    function toggle(elem){style="width: calc(301px);"
274
        var buttonssearch = document.getElementsByClassName('active');
275
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
276
            buttonssearch[i].classList.remove('active');
277
        }
278
279
        if(elem){
280
            elem.classList.add('active');
281
            fold();
282
        }else{//Back
283
            document.getElementById('button_1').classList.add('active');
284
            document.getElementById('header_search').classList.remove('fold');
285
            document.getElementsByClassName('head-searchbox').style = '';
286
        }
287
288
        focusInput();
289
    }
290
291
    function clique(elem){
292
        var buttonssearch = document.getElementsByClassName('buttonsearch');
293
        var iconssearch = document.getElementsByClassName('iconsearch');
294
        var inputssearch = document.getElementsByClassName('head-searchbox');
295
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
296
            buttonssearch[i].classList.remove('active');
297
            if (elem == iconssearch[i]){
298
                buttonssearch[i].classList.add('active');
299
            }
300
        }
301
302
        for (var i = inputssearch.length - 1; i >= 0; i--) {
303
            inputssearch[i].classList.remove('focus');
304
305
            if (elem == iconssearch[i]){
306
                inputssearch[i].classList.add('focus');
307
308
                taille(inputssearch[i])
309
            }
310
        }
311
312
        focusInput();
313
        fold();
314
    }
315
316
    function fold(){
317
        document.getElementById('header_search').classList.add('fold');
318
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
319
        setTimeout(
320
            function(){
321
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
322
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
323
            }
324
        , 250);
325
    }
326
327
    function taille(el){
328
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
329
        el.style = "width:calc(500px - "+offsetWidth+"px)";
330
    }
331
332
    $('.btn').click(function(){
333
    if($(this).hasClass('active')){
334
        $(this).removeClass('active')
335
    } else {
336
        $(this).addClass('active')
337
    }
338
});
339
340
</script>
234
<!-- End Authorities Resident Search Box -->
341
<!-- End Authorities Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc (-1 / +1 lines)
Lines 41-47 Link Here
41
            [% END %]
41
            [% END %]
42
42
43
            <div class="btn-group">
43
            <div class="btn-group">
44
                <a class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#"><i class="fa fa-download"></i> Save
44
                <a class="btn btn-default dropdown-toggle principal" data-toggle="dropdown" href="#"><i class="fa fa-download"></i> Save
45
                <span class="caret"></span>
45
                <span class="caret"></span>
46
                </a>
46
                </a>
47
                <ul class="dropdown-menu">
47
                <ul class="dropdown-menu">
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-search.inc (-3 / +3 lines)
Lines 4-13 Link Here
4
4
5
    <div id="budgets_search" class="residentsearch">
5
    <div id="budgets_search" class="residentsearch">
6
        <form action="/cgi-bin/koha/admin/aqbudgets.pl" method="post">
6
        <form action="/cgi-bin/koha/admin/aqbudgets.pl" method="post">
7
            <input class="query" type="text" name="filter_budgetname" id="filter_budgetname" value="[% filter_budgetname | html %]" placeholder="Fund code: " />
7
            <input class="query focus" type="text" name="filter_budgetname" id="filter_budgetname" value="[% filter_budgetname | html %]" style="width:150px" placeholder="Fund code" />
8
8
9
            <select name="filter_budgetbranch" id="filter_budgetbranch" style="width:10em;">
9
            <select name="filter_budgetbranch" id="filter_budgetbranch" style="width:10em;position: relative;left: 170px;bottom: 3px;">
10
                <option value="Library: "></option>
10
                <option disabled selected hidden>Library:</option>
11
                    [% FOREACH branchloo IN Branches.all( selected => selected_branchcode ) %]
11
                    [% FOREACH branchloo IN Branches.all( selected => selected_branchcode ) %]
12
                        [% IF branchloo.selected %]
12
                        [% IF branchloo.selected %]
13
                        <option value="[% branchloo.branchcode | html %]" selected="selected">[% branchloo.branchname | html %]</option>
13
                        <option value="[% branchloo.branchcode | html %]" selected="selected">[% branchloo.branchname | html %]</option>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc (-1 / +1 lines)
Lines 1-5 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div id="header_search">
2
<div id="header_search" class="fold">
3
3
4
    [% INCLUDE 'patron-search-box.inc' %]
4
    [% INCLUDE 'patron-search-box.inc' %]
5
5
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc (-2 / +2 lines)
Lines 232-243 Link Here
232
            </fieldset>
232
            </fieldset>
233
        </div>
233
        </div>
234
        <div class="modal-footer">
234
        <div class="modal-footer">
235
            <button type="submit" class="pat">Export</button>
235
            <button type="submit" class="principal">Export</button>
236
            <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
236
            <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
237
        </div>
237
        </div>
238
        <input type="hidden" name="op" value="export" />
238
        <input type="hidden" name="op" value="export" />
239
        <input type="hidden" name="bib" value="[% biblionumber | html %]" />
239
        <input type="hidden" name="bib" value="[% biblionumber | html %]" />
240
        </form>
240
        </form>
241
        </div>
241
        </div>
242
        </div>
243
    </div>
242
    </div>
243
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc (+75 lines)
Lines 21-24 Link Here
21
        <span id="button_3" class="buttonsearch">Search the catalog</span>
21
        <span id="button_3" class="buttonsearch">Search the catalog</span>
22
    </ul>
22
    </ul>
23
</div>
23
</div>
24
25
<script type="text/javascript">
26
    function focusInput(){
27
        document.getElementsByClassName('head-searchbox').focus();
28
    }
29
30
    function toggle(elem){style="width: calc(301px);"
31
        var buttonssearch = document.getElementsByClassName('active');
32
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
33
            buttonssearch[i].classList.remove('active');
34
        }
35
36
        if(elem){
37
            elem.classList.add('active');
38
            fold();
39
        }else{//Back
40
            document.getElementById('button_1').classList.add('active');
41
            document.getElementById('header_search').classList.remove('fold');
42
            document.getElementsByClassName('head-searchbox').style = '';
43
        }
44
45
        focusInput();
46
    }
47
48
    function clique(elem){
49
        var buttonssearch = document.getElementsByClassName('buttonsearch');
50
        var iconssearch = document.getElementsByClassName('iconsearch');
51
        var inputssearch = document.getElementsByClassName('head-searchbox');
52
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
53
            buttonssearch[i].classList.remove('active');
54
            if (elem == iconssearch[i]){
55
                buttonssearch[i].classList.add('active');
56
            }
57
        }
58
59
        for (var i = inputssearch.length - 1; i >= 0; i--) {
60
            inputssearch[i].classList.remove('focus');
61
62
            if (elem == iconssearch[i]){
63
                inputssearch[i].classList.add('focus');
64
65
                taille(inputssearch[i])
66
            }
67
        }
68
69
        focusInput();
70
        fold();
71
    }
72
73
    function fold(){
74
        document.getElementById('header_search').classList.add('fold');
75
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
76
        setTimeout(
77
            function(){
78
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
79
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
80
            }
81
        , 250);
82
    }
83
84
    function taille(el){
85
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
86
        el.style = "width:calc(500px - "+offsetWidth+"px)";
87
    }
88
89
    $('.btn').click(function(){
90
    if($(this).hasClass('active')){
91
        $(this).removeClass('active')
92
    } else {
93
        $(this).addClass('active')
94
    }
95
});
96
97
</script>
98
24
<!-- End Cities Resident Search Box -->
99
<!-- End Cities Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/clubs-table.inc (-5 / +5 lines)
Lines 75-81 Link Here
75
                            <a class="btn btn-default btn-xs dropdown-toggle lientype" id="clubactions[% c.id | html %]" role="button" data-toggle="dropdown" href="#">
75
                            <a class="btn btn-default btn-xs dropdown-toggle lientype" id="clubactions[% c.id | html %]" role="button" data-toggle="dropdown" href="#">
76
                                Actions <b class="caret"></b>
76
                                Actions <b class="caret"></b>
77
                            </a>
77
                            </a>
78
                            <ul class="dropdown-menu pull-right" id="lientype" role="menu" aria-labelledby="clubactions[% c.id | html %]">
78
                            <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="clubactions[% c.id | html %]">
79
                                [% IF ( c.club_enrollments.count ) %]
79
                                [% IF ( c.club_enrollments.count ) %]
80
                                    <li>
80
                                    <li>
81
                                        <a href="club-enrollments.pl?id=[% c.id | uri %]">
81
                                        <a href="club-enrollments.pl?id=[% c.id | uri %]">
Lines 84-109 Link Here
84
                                    </li>
84
                                    </li>
85
                                [% ELSE %]
85
                                [% ELSE %]
86
                                    <li class="disabled">
86
                                    <li class="disabled">
87
                                        <a href="#" data-toggle="tooltip" data-placement="left" id="lientype" title="There are no enrollments for this club yet">
87
                                        <a href="#" data-toggle="tooltip" data-placement="left" title="There are no enrollments for this club yet">
88
                                            <i class="fa fa-list-ul"></i> Enrollments
88
                                            <i class="fa fa-list-ul"></i> Enrollments
89
                                        </a>
89
                                        </a>
90
                                    </li>
90
                                    </li>
91
                                [% END %]
91
                                [% END %]
92
                                [% IF CAN_user_clubs_edit_clubs %]
92
                                [% IF CAN_user_clubs_edit_clubs %]
93
                                    <li>
93
                                    <li>
94
                                        <a id="lientype" href="clubs-add-modify.pl?id=[% c.id | uri %]">
94
                                        <a href="clubs-add-modify.pl?id=[% c.id | uri %]">
95
                                            <i class="fa fa-pencil"></i> Edit
95
                                            <i class="fa fa-pencil"></i> Edit
96
                                        </a>
96
                                        </a>
97
                                    </li>
97
                                    </li>
98
                                    <li>
98
                                    <li>
99
                                        <a href="#" id="lientype" class="delete_club" data-id="[% c.id | html %]" data-name="[% c.name | html %]">
99
                                        <a href="#" class="delete_club" data-id="[% c.id | html %]" data-name="[% c.name | html %]">
100
                                            <i class="fa fa-trash"></i> Delete
100
                                            <i class="fa fa-trash"></i> Delete
101
                                        </a>
101
                                        </a>
102
                                    </li>
102
                                    </li>
103
                                [% END %]
103
                                [% END %]
104
                                [% IF ( c.club_enrollments.count ) %]
104
                                [% IF ( c.club_enrollments.count ) %]
105
                                    <li>
105
                                    <li>
106
                                        <a href="#" class="club_hold_search" id="lientype" data-id="[% c.id | html %]">
106
                                        <a href="#" class="club_hold_search" data-id="[% c.id | html %]">
107
                                            <i class="fa fa-search"></i> Search to hold
107
                                            <i class="fa fa-search"></i> Search to hold
108
                                        </a>
108
                                        </a>
109
                                    </li>
109
                                    </li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc (+74 lines)
Lines 22-25 Link Here
22
	</ul>
22
	</ul>
23
</div>
23
</div>
24
24
25
<script type="text/javascript">
26
    function focusInput(){
27
        document.getElementsByClassName('head-searchbox').focus();
28
    }
29
30
    function toggle(elem){style="width: calc(301px);"
31
        var buttonssearch = document.getElementsByClassName('active');
32
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
33
            buttonssearch[i].classList.remove('active');
34
        }
35
36
        if(elem){
37
            elem.classList.add('active');
38
            fold();
39
        }else{//Back
40
            document.getElementById('button_1').classList.add('active');
41
            document.getElementById('header_search').classList.remove('fold');
42
            document.getElementsByClassName('head-searchbox').style = '';
43
        }
44
45
        focusInput();
46
    }
47
48
    function clique(elem){
49
        var buttonssearch = document.getElementsByClassName('buttonsearch');
50
        var iconssearch = document.getElementsByClassName('iconsearch');
51
        var inputssearch = document.getElementsByClassName('head-searchbox');
52
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
53
            buttonssearch[i].classList.remove('active');
54
            if (elem == iconssearch[i]){
55
                buttonssearch[i].classList.add('active');
56
            }
57
        }
58
59
        for (var i = inputssearch.length - 1; i >= 0; i--) {
60
            inputssearch[i].classList.remove('focus');
61
62
            if (elem == iconssearch[i]){
63
                inputssearch[i].classList.add('focus');
64
65
                taille(inputssearch[i])
66
            }
67
        }
68
69
        focusInput();
70
        fold();
71
    }
72
73
    function fold(){
74
        document.getElementById('header_search').classList.add('fold');
75
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
76
        setTimeout(
77
            function(){
78
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
79
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
80
            }
81
        , 250);
82
    }
83
84
    function taille(el){
85
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
86
        el.style = "width:calc(500px - "+offsetWidth+"px)";
87
    }
88
89
    $('.btn').click(function(){
90
    if($(this).hasClass('active')){
91
        $(this).removeClass('active')
92
    } else {
93
        $(this).addClass('active')
94
    }
95
});
96
97
</script>
98
25
<!-- End Patrons Admin Resident Search Box -->
99
<!-- End Patrons Admin Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc (-5 / +80 lines)
Lines 13-25 Link Here
13
    [% INCLUDE 'catalogue-search-box.inc' %]
13
    [% INCLUDE 'catalogue-search-box.inc' %]
14
14
15
    <ul id="taille">
15
    <ul id="taille">
16
        <li><a id="icon_1" title="Check out" onclick="clique(this)" class="iconsearch" href="#currency_search"><i class="fa fa-dollar"></i></a></li>
16
        <li><a id="icon_1" title="Search currencies" onclick="clique(this)" class="iconsearch" href="#currency_search"><i class="fa fa-dollar"></i></a></li>
17
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_2" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
17
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_2" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
18
        [% IF ( CAN_user_catalogue ) %]<li><a id="icon_3" title="Check out" onclick="clique(this)" class="iconsearch" href="#catalog_search"><i class="fa fa-upload"></i></a></li>[% END %]
18
        [% IF ( CAN_user_catalogue ) %]<li><a id="icon_3" title="Search catalog" onclick="clique(this)" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
19
19
20
        <span class="keep_text">Search currencies</span>
20
        <span id="button_1" class="buttonsearch active">Search currencies</span>
21
        <span class="keep_text">Check out</span>
21
        <span id="button_2" class="buttonsearch">Check out</span>
22
        <span class="keep_text">Search the catalog</span>
22
        <span id="button_3" class="buttonsearch">Search catalog</span>
23
    </ul>
23
    </ul>
24
</div>
24
</div>
25
26
<script type="text/javascript">
27
    function focusInput(){
28
        document.getElementsByClassName('head-searchbox').focus();
29
    }
30
31
    function toggle(elem){style="width: calc(301px);"
32
        var buttonssearch = document.getElementsByClassName('active');
33
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
34
            buttonssearch[i].classList.remove('active');
35
        }
36
37
        if(elem){
38
            elem.classList.add('active');
39
            fold();
40
        }else{//Back
41
            document.getElementById('button_1').classList.add('active');
42
            document.getElementById('header_search').classList.remove('fold');
43
            document.getElementsByClassName('head-searchbox').style = '';
44
        }
45
46
        focusInput();
47
    }
48
49
    function clique(elem){
50
        var buttonssearch = document.getElementsByClassName('buttonsearch');
51
        var iconssearch = document.getElementsByClassName('iconsearch');
52
        var inputssearch = document.getElementsByClassName('head-searchbox');
53
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
54
            buttonssearch[i].classList.remove('active');
55
            if (elem == iconssearch[i]){
56
                buttonssearch[i].classList.add('active');
57
            }
58
        }
59
60
        for (var i = inputssearch.length - 1; i >= 0; i--) {
61
            inputssearch[i].classList.remove('focus');
62
63
            if (elem == iconssearch[i]){
64
                inputssearch[i].classList.add('focus');
65
66
                taille(inputssearch[i])
67
            }
68
        }
69
70
        focusInput();
71
        fold();
72
    }
73
74
    function fold(){
75
        document.getElementById('header_search').classList.add('fold');
76
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
77
        setTimeout(
78
            function(){
79
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
80
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
81
            }
82
        , 250);
83
    }
84
85
    function taille(el){
86
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
87
        el.style = "width:calc(500px - "+offsetWidth+"px)";
88
    }
89
90
    $('.btn').click(function(){
91
    if($(this).hasClass('active')){
92
        $(this).removeClass('active')
93
    } else {
94
        $(this).addClass('active')
95
    }
96
});
97
98
</script>
99
25
<!-- End Currencies Resident Search Box -->
100
<!-- End Currencies Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/desks-admin-search.inc (+75 lines)
Lines 22-25 Link Here
22
        <span id="button_3" class="buttonsearch">Search catalog</span>
22
        <span id="button_3" class="buttonsearch">Search catalog</span>
23
    </ul>
23
    </ul>
24
</div>
24
</div>
25
26
<script type="text/javascript">
27
    function focusInput(){
28
        document.getElementsByClassName('head-searchbox').focus();
29
    }
30
31
    function toggle(elem){style="width: calc(301px);"
32
        var buttonssearch = document.getElementsByClassName('active');
33
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
34
            buttonssearch[i].classList.remove('active');
35
        }
36
37
        if(elem){
38
            elem.classList.add('active');
39
            fold();
40
        }else{//Back
41
            document.getElementById('button_1').classList.add('active');
42
            document.getElementById('header_search').classList.remove('fold');
43
            document.getElementsByClassName('head-searchbox').style = '';
44
        }
45
46
        focusInput();
47
    }
48
49
    function clique(elem){
50
        var buttonssearch = document.getElementsByClassName('buttonsearch');
51
        var iconssearch = document.getElementsByClassName('iconsearch');
52
        var inputssearch = document.getElementsByClassName('head-searchbox');
53
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
54
            buttonssearch[i].classList.remove('active');
55
            if (elem == iconssearch[i]){
56
                buttonssearch[i].classList.add('active');
57
            }
58
        }
59
60
        for (var i = inputssearch.length - 1; i >= 0; i--) {
61
            inputssearch[i].classList.remove('focus');
62
63
            if (elem == iconssearch[i]){
64
                inputssearch[i].classList.add('focus');
65
66
                taille(inputssearch[i])
67
            }
68
        }
69
70
        focusInput();
71
        fold();
72
    }
73
74
    function fold(){
75
        document.getElementById('header_search').classList.add('fold');
76
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
77
        setTimeout(
78
            function(){
79
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
80
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
81
            }
82
        , 250);
83
    }
84
85
    function taille(el){
86
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
87
        el.style = "width:calc(500px - "+offsetWidth+"px)";
88
    }
89
90
    $('.btn').click(function(){
91
    if($(this).hasClass('active')){
92
        $(this).removeClass('active')
93
    } else {
94
        $(this).addClass('active')
95
    }
96
});
97
98
</script>
99
25
<!-- End Desks Resident Search Box -->
100
<!-- End Desks Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc (-1 / +76 lines)
Lines 3-9 Link Here
3
<div id="header_search" class="fold">
3
<div id="header_search" class="fold">
4
        <div id="notices_search" class="residentsearch">
4
        <div id="notices_search" class="residentsearch">
5
                <form action="/cgi-bin/koha/tools/letter.pl" method="post">
5
                <form action="/cgi-bin/koha/tools/letter.pl" method="post">
6
                        <input class="head-searchbox focus" type="text" name="searchfield" id="searchfield" value="" placeholder="Search existing notices:"/>
6
                        <input class="head-searchbox focus" type="text" name="searchfield" id="searchfield" value="" placeholder="Search existing notices"/>
7
                        <input type="submit" class="submit" id="submit" name="search" value="" />
7
                        <input type="submit" class="submit" id="submit" name="search" value="" />
8
                </form>
8
                </form>
9
        </div>
9
        </div>
Lines 22-25 Link Here
22
                <span id="button_3" class="buttonsearch">Search the catalog</span>
22
                <span id="button_3" class="buttonsearch">Search the catalog</span>
23
	</ul>
23
	</ul>
24
</div>
24
</div>
25
26
<script type="text/javascript">
27
    function focusInput(){
28
        document.getElementsByClassName('head-searchbox').focus();
29
    }
30
31
    function toggle(elem){style="width: calc(301px);"
32
        var buttonssearch = document.getElementsByClassName('active');
33
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
34
            buttonssearch[i].classList.remove('active');
35
        }
36
37
        if(elem){
38
            elem.classList.add('active');
39
            fold();
40
        }else{//Back
41
            document.getElementById('button_1').classList.add('active');
42
            document.getElementById('header_search').classList.remove('fold');
43
            document.getElementsByClassName('head-searchbox').style = '';
44
        }
45
46
        focusInput();
47
    }
48
49
    function clique(elem){
50
        var buttonssearch = document.getElementsByClassName('buttonsearch');
51
        var iconssearch = document.getElementsByClassName('iconsearch');
52
        var inputssearch = document.getElementsByClassName('head-searchbox');
53
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
54
            buttonssearch[i].classList.remove('active');
55
            if (elem == iconssearch[i]){
56
                buttonssearch[i].classList.add('active');
57
            }
58
        }
59
60
        for (var i = inputssearch.length - 1; i >= 0; i--) {
61
            inputssearch[i].classList.remove('focus');
62
63
            if (elem == iconssearch[i]){
64
                inputssearch[i].classList.add('focus');
65
66
                taille(inputssearch[i])
67
            }
68
        }
69
70
        focusInput();
71
        fold();
72
    }
73
74
    function fold(){
75
        document.getElementById('header_search').classList.add('fold');
76
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
77
        setTimeout(
78
            function(){
79
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
80
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
81
            }
82
        , 250);
83
    }
84
85
    function taille(el){
86
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
87
        el.style = "width:calc(500px - "+offsetWidth+"px)";
88
    }
89
90
    $('.btn').click(function(){
91
    if($(this).hasClass('active')){
92
        $(this).removeClass('active')
93
    } else {
94
        $(this).addClass('active')
95
    }
96
});
97
98
</script>
99
25
<!-- End Notices Resident Search Box -->
100
<!-- End Notices Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc (-2 / +2 lines)
Lines 139-146 Link Here
139
                    <input type="hidden" name="branchcode" value="[% Branches.GetLoggedInBranchcode | html %]" />
139
                    <input type="hidden" name="branchcode" value="[% Branches.GetLoggedInBranchcode | html %]" />
140
                </div>
140
                </div>
141
                <div class="modal-footer">
141
                <div class="modal-footer">
142
                    <button class="pat" type="submit"><i class="fa fa-check"></i> Save</button>
142
                    <button class="principal" type="submit"><i class="fa fa-check"></i> Save</button>
143
                    <button class="pat" href="#" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i> Cancel</button>
143
                    <button class="Cancel" href="#" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i> Cancel</button>
144
                </div>
144
                </div>
145
            </form>
145
            </form>
146
        </div>
146
        </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-121 / +3 lines)
Lines 6-24 Link Here
6
[% USE To %]
6
[% USE To %]
7
[% PROCESS 'html_helpers.inc' %]
7
[% PROCESS 'html_helpers.inc' %]
8
[% PROCESS 'patronfields.inc' %]
8
[% PROCESS 'patronfields.inc' %]
9
<!-- Begin Patrons Resident Search Box -->
10
11
<div id="header_search" class="fold">
12
13
    <div id="patron_search" class="residentsearch">
14
        <form action="/cgi-bin/koha/members/member.pl" method="post">
15
            <div class="autocomplete">
16
                <input name="barcode" id="searchmember" class="head-searchbox focus" type="text" placeholder="Enter patron card number or partial name">
17
                <span class="filteraction" id="filteraction_off"> <a id="plus" href="#">[-]</a></span>
18
                <span class="filteraction" id="filteraction_on"> <a id="plus" href="#">[+]</a></span></input>
19
                <input value="" id="submitsearch" type="submit" />
20
                <input type="hidden" name="quicksearch" value="1" />
21
            </div>
22
9
23
[%# Display a simple form %]
10
[%# Display a simple form %]
24
[% BLOCK patron_search_filters_simple  %]
11
[% BLOCK patron_search_filters_simple  %]
Lines 106-113 Link Here
106
                [% END %]
93
                [% END %]
107
            </ol>
94
            </ol>
108
            <fieldset class="action">
95
            <fieldset class="action">
109
                <input type="submit" value="Search" />
96
                <input type="submit" class="principal" value="Search" />
110
                <input type="button" value="Clear" id="clear_search" />
97
                <input type="button" value="Clear" class="cancel" id="clear_search" />
111
            </fieldset>
98
            </fieldset>
112
        </fieldset>
99
        </fieldset>
113
    </form>
100
    </form>
Lines 182-203 Link Here
182
              </thead>
169
              </thead>
183
            <tbody></tbody>
170
            <tbody></tbody>
184
        </table>
171
        </table>
185
    [% INCLUDE 'patron-search-box.inc' %]
186
187
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
188
    <div id="checkin_search" class="residentsearch">
189
        <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
190
            <input name="barcode" id="ret_barcode" class="head-searchbox focus" accesskey="r" type="text" placeholder="Scan a barcode to check in" />
191
            <input value="" type="submit" id="submit" />
192
        </form>
193
    </div>
194
172
195
    <div id="renew_search" class="residentsearch">
173
196
        <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
197
            <input name="barcode" id="ren_barcode" class="head-searchbox focus"type="text" placeholder="Scan a barcode to renew" />
198
            <input value="" type="submit" id="submit" />
199
        </form>
200
    </div>
201
174
202
<!-- Patron preview modal -->
175
<!-- Patron preview modal -->
203
<div class="modal" id="patronPreview" tabindex="-1" role="dialog" aria-labelledby="patronPreviewLabel">
176
<div class="modal" id="patronPreview" tabindex="-1" role="dialog" aria-labelledby="patronPreviewLabel">
Lines 834-930 Link Here
834
807
835
            if ( setstate ) {
808
            if ( setstate ) {
836
                history.pushState( null, null, "?firstletter=" + letter );
809
                history.pushState( null, null, "?firstletter=" + letter );
837
    [% INCLUDE 'catalogue-search-box.inc' %]
838
839
    <ul id="taille">
840
        <li><a id="icon_1" title="Search patrons" onclick="clique(this)" class="iconsearch" href="#patron_search"><i class="fa fa-fw fa-id-card-o"></i></a></li>
841
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_2" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
842
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_3" title="Check in" onclick="clique(this)" class="iconsearch" href="#checkin_search"><i class="fa fa-download"></i></a></li>[% END %]
843
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_4" title="Renew" onclick="clique(this)" class="iconsearch" href="#renew_search"><i class="fa fa-retweet"></i></a></li>[% END %]
844
        [% IF ( CAN_user_catalogue ) %]<li><a id="icon_5" title="Search catalog" onclick="clique(this)" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
845
846
        <span id="button_1" class="buttonsearch active">Search patrons</span>
847
        <span id="button_2" class="buttonsearch">Check-out</span>
848
        <span id="button_3" class="buttonsearch">Check-in</span>
849
        <span id="button_4" class="buttonsearch">Renew</span>
850
        <span id="button_5" class="buttonsearch">Search catalog</span>
851
    </ul>
852
</div>
853
854
855
<script type="text/javascript">
856
    function focusInput(){
857
        document.getElementsByClassName('head-searchbox').focus();
858
    }
859
860
    function toggle(elem){style="width: calc(301px);"
861
        var buttonssearch = document.getElementsByClassName('active');
862
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
863
            buttonssearch[i].classList.remove('active');
864
        }
865
866
        if(elem){
867
            elem.classList.add('active');
868
            fold();
869
        }else{//Back
870
            document.getElementById('button_1').classList.add('active');
871
            document.getElementById('header_search').classList.remove('fold');
872
            document.getElementsByClassName('head-searchbox').style = '';
873
        }
874
        
875
        focusInput();
876
    }
877
878
    function clique(elem){
879
        var buttonssearch = document.getElementsByClassName('buttonsearch');
880
        var iconssearch = document.getElementsByClassName('iconsearch');
881
        var inputssearch = document.getElementsByClassName('head-searchbox');
882
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
883
            buttonssearch[i].classList.remove('active');
884
            if (elem == iconssearch[i]){
885
                buttonssearch[i].classList.add('active');
886
            }
887
        }
888
889
        for (var i = inputssearch.length - 1; i >= 0; i--) {
890
            inputssearch[i].classList.remove('focus');
891
892
            if (elem == iconssearch[i]){
893
                inputssearch[i].classList.add('focus');
894
895
                taille(inputssearch[i])
896
            }
897
        }
898
899
        focusInput();
900
        fold();
901
    }
902
903
    function fold(){
904
        document.getElementById('header_search').classList.add('fold');
905
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
906
        setTimeout(
907
            function(){
908
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
909
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
910
            }
911
912
    function taille(el){
913
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
914
        el.style = "width:calc(500px - "+offsetWidth+"px)";
915
    }
916
917
    $('.btn').click(function(){
918
    if($(this).hasClass('active')){
919
        $(this).removeClass('active')
920
    } else {
921
        $(this).addClass('active')
922
    }
923
});
924
925
926
927
</script>
928
810
929
        // modify parent window owner element
811
        // modify parent window owner element
930
        function add_user(borrowernumber, borrowername) {
812
        function add_user(borrowernumber, borrowername) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc (+2 lines)
Lines 2-7 Link Here
2
[% SET return_claims = patron.return_claims %]
2
[% SET return_claims = patron.return_claims %]
3
3
4
[% IF ( has_modifications || warndeparture || returnbeforeexpiry || expired || patron.gonenoaddress || patron.lost || userdebarred || odues || ( return_claims.count > ClaimReturnedWarningThreshold ) || age_limitations || charges || charges_guarantors_guarantees || charges_guarantees || credits ) %]
4
[% IF ( has_modifications || warndeparture || returnbeforeexpiry || expired || patron.gonenoaddress || patron.lost || userdebarred || odues || ( return_claims.count > ClaimReturnedWarningThreshold ) || age_limitations || charges || charges_guarantors_guarantees || charges_guarantees || credits ) %]
5
    <fieldset id="searchresults">
5
    <h3>Attention</h3>
6
    <h3>Attention</h3>
6
    <ul>
7
    <ul>
7
        [% IF ( has_modifications ) %]
8
        [% IF ( has_modifications ) %]
Lines 126-131 Link Here
126
        [% END %]
127
        [% END %]
127
128
128
    </ul>
129
    </ul>
130
    </fieldset>
129
131
130
[% END # /F ( has_modifications || warndeparture... %]
132
[% END # /F ( has_modifications || warndeparture... %]
131
133
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc (+75 lines)
Lines 22-25 Link Here
22
        <span id="button_3" class="buttonsearch">Search the catalog</span>
22
        <span id="button_3" class="buttonsearch">Search the catalog</span>
23
	</ul>
23
	</ul>
24
</div>
24
</div>
25
26
<script type="text/javascript">
27
    function focusInput(){
28
        document.getElementsByClassName('head-searchbox').focus();
29
    }
30
31
    function toggle(elem){style="width: calc(301px);"
32
        var buttonssearch = document.getElementsByClassName('active');
33
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
34
            buttonssearch[i].classList.remove('active');
35
        }
36
37
        if(elem){
38
            elem.classList.add('active');
39
            fold();
40
        }else{//Back
41
            document.getElementById('button_1').classList.add('active');
42
            document.getElementById('header_search').classList.remove('fold');
43
            document.getElementsByClassName('head-searchbox').style = '';
44
        }
45
46
        focusInput();
47
    }
48
49
    function clique(elem){
50
        var buttonssearch = document.getElementsByClassName('buttonsearch');
51
        var iconssearch = document.getElementsByClassName('iconsearch');
52
        var inputssearch = document.getElementsByClassName('head-searchbox');
53
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
54
            buttonssearch[i].classList.remove('active');
55
            if (elem == iconssearch[i]){
56
                buttonssearch[i].classList.add('active');
57
            }
58
        }
59
60
        for (var i = inputssearch.length - 1; i >= 0; i--) {
61
            inputssearch[i].classList.remove('focus');
62
63
            if (elem == iconssearch[i]){
64
                inputssearch[i].classList.add('focus');
65
66
                taille(inputssearch[i])
67
            }
68
        }
69
70
        focusInput();
71
        fold();
72
    }
73
74
    function fold(){
75
        document.getElementById('header_search').classList.add('fold');
76
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
77
        setTimeout(
78
            function(){
79
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
80
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
81
            }
82
        , 250);
83
    }
84
85
    function taille(el){
86
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
87
        el.style = "width:calc(500px - "+offsetWidth+"px)";
88
    }
89
90
    $('.btn').click(function(){
91
    if($(this).hasClass('active')){
92
        $(this).removeClass('active')
93
    } else {
94
        $(this).addClass('active')
95
    }
96
});
97
98
</script>
99
25
<!-- End Patrons Admin Resident Search Box -->
100
<!-- End Patrons Admin Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc (-9 / +46 lines)
Lines 28-37 Link Here
28
28
29
<script type="text/javascript">
29
<script type="text/javascript">
30
    function focusInput(){
30
    function focusInput(){
31
        document.getElementById('inputsearch').focus();
31
        document.getElementsByClassName('head-searchbox').focus();
32
    }
32
    }
33
33
34
    function toggle(elem){
34
    function toggle(elem){style="width: calc(301px);"
35
        var buttonssearch = document.getElementsByClassName('active');
35
        var buttonssearch = document.getElementsByClassName('active');
36
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
36
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
37
            buttonssearch[i].classList.remove('active');
37
            buttonssearch[i].classList.remove('active');
Lines 42-66 Link Here
42
            fold();
42
            fold();
43
        }else{//Back
43
        }else{//Back
44
            document.getElementById('button_1').classList.add('active');
44
            document.getElementById('button_1').classList.add('active');
45
            document.getElementById('containersearch').classList.remove('fold');
45
            document.getElementById('header_search').classList.remove('fold');
46
            document.getElementById('inputsearch').style = '';
46
            document.getElementsByClassName('head-searchbox').style = '';
47
        }
47
        }
48
48
49
        focusInput();
49
        focusInput();
50
    }
50
    }
51
51
52
    function fold(){
52
    function clique(elem){
53
        var buttonssearch = document.getElementsByClassName('buttonsearch');
54
        var iconssearch = document.getElementsByClassName('iconsearch');
55
        var inputssearch = document.getElementsByClassName('head-searchbox');
56
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
57
            buttonssearch[i].classList.remove('active');
58
            if (elem == iconssearch[i]){
59
                buttonssearch[i].classList.add('active');
60
            }
61
        }
62
63
        for (var i = inputssearch.length - 1; i >= 0; i--) {
64
            inputssearch[i].classList.remove('focus');
65
66
            if (elem == iconssearch[i]){
67
                inputssearch[i].classList.add('focus');
68
69
                taille(inputssearch[i])
70
            }
71
        }
53
72
54
        document.getElementById('containersearch').classList.add('fold');
73
        focusInput();
55
        // document.getElementById('inputsearch').style = "width:calc(500px - 100px)";
74
        fold();
75
    }
76
77
    function fold(){
78
        document.getElementById('header_search').classList.add('fold');
79
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
56
        setTimeout(
80
        setTimeout(
57
            function(){
81
            function(){
58
                var offsetWidth = document.getElementById('buttonssearch').offsetWidth +5;
82
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
59
                document.getElementById('inputsearch').style = "width:calc(500px - "+offsetWidth+"px)";
83
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
60
            }
84
            }
61
        , 250);
85
        , 250);
62
    }
86
    }
63
87
88
    function taille(el){
89
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
90
        el.style = "width:calc(500px - "+offsetWidth+"px)";
91
    }
92
93
    $('.btn').click(function(){
94
    if($(this).hasClass('active')){
95
        $(this).removeClass('active')
96
    } else {
97
        $(this).addClass('active')
98
    }
99
});
100
64
</script>
101
</script>
65
102
66
<!-- /header_search -->
103
<!-- /header_search -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc (-4 / +4 lines)
Lines 103-112 Link Here
103
                </ul>
103
                </ul>
104
            </div>
104
            </div>
105
            <div class="btn-group">
105
            <div class="btn-group">
106
                <a class="btn btn-default toggle_sql" id="toggle_sql_hid" href="#"><i class="fa fa-eye"></i> Show SQL code</a>
106
                <a class="btn btn-default toggle_sql pat" id="toggle_sql_hid" href="#"><i class="fa fa-eye"></i> Show SQL code</a>
107
            </div>
107
            </div>
108
            <div class="btn-group">
108
            <div class="btn-group">
109
                <a class="btn btn-default toggle_sql" id="toggle_sql_vis" href="#" style="display:none;"><i class="fa fa-eye-slash"></i> Hide SQL code</a>
109
                <a class="btn btn-default toggle_sql pat" id="toggle_sql_vis" href="#" style="display:none;"><i class="fa fa-eye-slash"></i> Hide SQL code</a>
110
            </div>
110
            </div>
111
            <div class="btn-group">
111
            <div class="btn-group">
112
                [% IF allresults.size %]
112
                [% IF allresults.size %]
Lines 144-150 Link Here
144
                            <p>
144
                            <p>
145
                                Search reports by keyword:
145
                                Search reports by keyword:
146
                                <input type="text" id="mana_search_field" />
146
                                <input type="text" id="mana_search_field" />
147
                                <input type="submit" class="mana_search_button" value="Search" />
147
                                <input type="submit" class="mana_search_button principal" value="Search" />
148
                                <span id="mana-loading" style="display:none"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </span>
148
                                <span id="mana-loading" style="display:none"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </span>
149
                            </p>
149
                            </p>
150
                        </fieldset>
150
                        </fieldset>
Lines 152-158 Link Here
152
                        </div>
152
                        </div>
153
                    </div>
153
                    </div>
154
                    <div class="modal-footer">
154
                    <div class="modal-footer">
155
                        <button type="button" class="pat" data-dismiss="modal">Cancel</button>
155
                        <button type="button" class="Cancel" data-dismiss="modal">Cancel</button>
156
                    </div>
156
                    </div>
157
                </div>
157
                </div>
158
            </form>
158
            </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-toolbar.inc (-2 / +2 lines)
Lines 210-217 Link Here
210
                [% END %]
210
                [% END %]
211
            </div> <!-- /.modal-body -->
211
            </div> <!-- /.modal-body -->
212
            <div class="modal-footer">
212
            <div class="modal-footer">
213
                <button type="submit" form="mana_share_form" class="pat">Share</button>
213
                <button type="submit" form="mana_share_form" class="principal">Share</button>
214
                <button class="pat" data-dismiss="modal" aria-hidden="true">Cancel</button>
214
                <button class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</button>
215
            </div>
215
            </div>
216
        </div> <!-- /.modal-content -->
216
        </div> <!-- /.modal-content -->
217
    </div> <!-- /.modal-dialog -->
217
    </div> <!-- /.modal-dialog -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/suggestions-add-search.inc (+75 lines)
Lines 25-28 Link Here
25
        <span id="button_3" class="buttonsearch">Search catalog</span>
25
        <span id="button_3" class="buttonsearch">Search catalog</span>
26
    </ul>
26
    </ul>
27
</div>
27
</div>
28
29
<script type="text/javascript">
30
    function focusInput(){
31
        document.getElementsByClassName('head-searchbox').focus();
32
    }
33
34
    function toggle(elem){style="width: calc(301px);"
35
        var buttonssearch = document.getElementsByClassName('active');
36
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
37
            buttonssearch[i].classList.remove('active');
38
        }
39
40
        if(elem){
41
            elem.classList.add('active');
42
            fold();
43
        }else{//Back
44
            document.getElementById('button_1').classList.add('active');
45
            document.getElementById('header_search').classList.remove('fold');
46
            document.getElementsByClassName('head-searchbox').style = '';
47
        }
48
49
        focusInput();
50
    }
51
52
    function clique(elem){
53
        var buttonssearch = document.getElementsByClassName('buttonsearch');
54
        var iconssearch = document.getElementsByClassName('iconsearch');
55
        var inputssearch = document.getElementsByClassName('head-searchbox');
56
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
57
            buttonssearch[i].classList.remove('active');
58
            if (elem == iconssearch[i]){
59
                buttonssearch[i].classList.add('active');
60
            }
61
        }
62
63
        for (var i = inputssearch.length - 1; i >= 0; i--) {
64
            inputssearch[i].classList.remove('focus');
65
66
            if (elem == iconssearch[i]){
67
                inputssearch[i].classList.add('focus');
68
69
                taille(inputssearch[i])
70
            }
71
        }
72
73
        focusInput();
74
        fold();
75
    }
76
77
    function fold(){
78
        document.getElementById('header_search').classList.add('fold');
79
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
80
        setTimeout(
81
            function(){
82
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
83
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
84
            }
85
        , 250);
86
    }
87
88
    function taille(el){
89
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
90
        el.style = "width:calc(500px - "+offsetWidth+"px)";
91
    }
92
93
    $('.btn').click(function(){
94
    if($(this).hasClass('active')){
95
        $(this).removeClass('active')
96
    } else {
97
        $(this).addClass('active')
98
    }
99
});
100
101
</script>
102
28
<!-- End Suggestions Resident Search Box -->
103
<!-- End Suggestions Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc (-2 / +77 lines)
Lines 4-10 Link Here
4
    <div id="z3950_search" class="residentsearch">
4
    <div id="z3950_search" class="residentsearch">
5
	    <form action="/cgi-bin/koha/admin/z3950servers.pl" method="post">
5
	    <form action="/cgi-bin/koha/admin/z3950servers.pl" method="post">
6
                <input class="head-searchbox focus" type="text" name="searchfield" id="searchfield" value="[% searchfield | html %]" placeholder="Z39.50/SRU server search:" />
6
                <input class="head-searchbox focus" type="text" name="searchfield" id="searchfield" value="[% searchfield | html %]" placeholder="Z39.50/SRU server search:" />
7
                <input type="submit" class="submit" id="submit" name="search" value="Search" />
7
                <input type="submit" class="submit" id="submit" name="search" value="" />
8
        </form>
8
        </form>
9
	</div>
9
	</div>
10
10
Lines 13-19 Link Here
13
    [% INCLUDE 'catalogue-search-box.inc' %]
13
    [% INCLUDE 'catalogue-search-box.inc' %]
14
14
15
    <ul id="taille">
15
    <ul id="taille">
16
        <li><li><a id="icon_1" title="Search Z39.50/SRU servers" onclick="clique(this)" class="iconsearch" href="#z3950_search"><i class="fa fa-square-z"></i></a></li>
16
        <li><li><a id="icon_1" title="Search Z39.50/SRU servers" onclick="clique(this)" class="iconsearch" href="#z3950_search"><i style="font-weight:bold">Z39.50</i></a></li>
17
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><li><a id="icon_2" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
17
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><li><a id="icon_2" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
18
        [% IF ( CAN_user_catalogue ) %]<li><a id="icon_3" title="Search catalog" onclick="clique(this)" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
18
        [% IF ( CAN_user_catalogue ) %]<li><a id="icon_3" title="Search catalog" onclick="clique(this)" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
19
19
Lines 23-26 Link Here
23
        <span id="button_3" class="buttonsearch">Search the catalog</span>
23
        <span id="button_3" class="buttonsearch">Search the catalog</span>
24
    </ul>
24
    </ul>
25
</div>
25
</div>
26
27
<script type="text/javascript">
28
    function focusInput(){
29
        document.getElementsByClassName('head-searchbox').focus();
30
    }
31
32
    function toggle(elem){style="width: calc(301px);"
33
        var buttonssearch = document.getElementsByClassName('active');
34
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
35
            buttonssearch[i].classList.remove('active');
36
        }
37
38
        if(elem){
39
            elem.classList.add('active');
40
            fold();
41
        }else{//Back
42
            document.getElementById('button_1').classList.add('active');
43
            document.getElementById('header_search').classList.remove('fold');
44
            document.getElementsByClassName('head-searchbox').style = '';
45
        }
46
47
        focusInput();
48
    }
49
50
    function clique(elem){
51
        var buttonssearch = document.getElementsByClassName('buttonsearch');
52
        var iconssearch = document.getElementsByClassName('iconsearch');
53
        var inputssearch = document.getElementsByClassName('head-searchbox');
54
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
55
            buttonssearch[i].classList.remove('active');
56
            if (elem == iconssearch[i]){
57
                buttonssearch[i].classList.add('active');
58
            }
59
        }
60
61
        for (var i = inputssearch.length - 1; i >= 0; i--) {
62
            inputssearch[i].classList.remove('focus');
63
64
            if (elem == iconssearch[i]){
65
                inputssearch[i].classList.add('focus');
66
67
                taille(inputssearch[i])
68
            }
69
        }
70
71
        focusInput();
72
        fold();
73
    }
74
75
    function fold(){
76
        document.getElementById('header_search').classList.add('fold');
77
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
78
        setTimeout(
79
            function(){
80
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
81
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
82
            }
83
        , 250);
84
    }
85
86
    function taille(el){
87
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
88
        el.style = "width:calc(500px - "+offsetWidth+"px)";
89
    }
90
91
    $('.btn').click(function(){
92
    if($(this).hasClass('active')){
93
        $(this).removeClass('active')
94
    } else {
95
        $(this).addClass('active')
96
    }
97
});
98
99
</script>
100
26
<!-- End Members Resident Search Box -->
101
<!-- End Members Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt (-4 / +4 lines)
Lines 41-48 Link Here
41
            <main>
41
            <main>
42
42
43
43
44
<h2>Acquisitions</h2>
45
[% INCLUDE 'acquisitions-toolbar.inc' %]
44
[% INCLUDE 'acquisitions-toolbar.inc' %]
45
<h2>Acquisitions</h2>
46
    [% INCLUDE 'budgets-active-currency.inc' hide = 'yes' %]
46
    [% INCLUDE 'budgets-active-currency.inc' hide = 'yes' %]
47
    [% UNLESS ( loop_budget ) %]
47
    [% UNLESS ( loop_budget ) %]
48
        [% IF ( CAN_user_acquisition_period_manage ) %]
48
        [% IF ( CAN_user_acquisition_period_manage ) %]
Lines 58-64 Link Here
58
        <div class="col-sm-12">
58
        <div class="col-sm-12">
59
    [% END %]
59
    [% END %]
60
<div id="acqui_acqui_home_order">
60
<div id="acqui_acqui_home_order">
61
    <fieldset class="brief">
61
    <fieldset class="rows">
62
        <h3>Manage orders</h3>
62
        <h3>Manage orders</h3>
63
        <fieldset>
63
        <fieldset>
64
            <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
64
            <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
Lines 73-80 Link Here
73
[% IF ( CAN_user_suggestions_suggestions_manage && ( suggestions_count || all_pendingsuggestions ) ) %]
73
[% IF ( CAN_user_suggestions_suggestions_manage && ( suggestions_count || all_pendingsuggestions ) ) %]
74
<div class="col-sm-6">
74
<div class="col-sm-6">
75
    <div id="acqui_acqui_home_suggestions">
75
    <div id="acqui_acqui_home_suggestions">
76
        <fieldset>
76
        <fieldset class="rows">
77
        <legend>Pending suggestions</legend>
77
        <h3>Pending suggestions</h3>
78
        <p>
78
        <p>
79
            Manage suggestions:
79
            Manage suggestions:
80
            <a href="/cgi-bin/koha/suggestion/suggestion.pl?branchcode=[% Branches.GetLoggedInBranchcode | url %]#ASKED">
80
            <a href="/cgi-bin/koha/suggestion/suggestion.pl?branchcode=[% Branches.GetLoggedInBranchcode | url %]#ASKED">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt (-11 / +11 lines)
Lines 4-11 Link Here
4
[% PROCESS 'i18n.inc' %]
4
[% PROCESS 'i18n.inc' %]
5
[% BLOCK csv_export %]
5
[% BLOCK csv_export %]
6
    <div class="btn-group">
6
    <div class="btn-group">
7
        <a id="exportbutton" class="btn btn-default" href="[% script_name | url %]?op=export&amp;basketno=[% basketno | uri %]&amp;booksellerid=[% booksellerid | uri %]"><i class="fa fa-download"></i> Export as CSV</a>
7
        <a id="exportbutton" class="btn btn-default pat" href="[% script_name | url %]?op=export&amp;basketno=[% basketno | uri %]&amp;booksellerid=[% booksellerid | uri %]"><i class="fa fa-download"></i> Export as CSV</a>
8
      <a class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></a>
8
      <a class="btn btn-default dropdown-toggle pat" data-toggle="dropdown"><span class="caret"></span></a>
9
      <ul class="dropdown-menu" id="export-csv-menu">
9
      <ul class="dropdown-menu" id="export-csv-menu">
10
          <li><a href="#">Default</a></li>
10
          <li><a href="#">Default</a></li>
11
          [% IF csv_profiles.count %]
11
          [% IF csv_profiles.count %]
Lines 87-114 Link Here
87
            [% UNLESS ( delete_confirmed ) %]
87
            [% UNLESS ( delete_confirmed ) %]
88
                <div id="toolbar" class="btn-toolbar fh-fixedHeader">
88
                <div id="toolbar" class="btn-toolbar fh-fixedHeader">
89
                    [% IF active %]
89
                    [% IF active %]
90
                        <div class="btn-group"><a href="#addtoBasket" role="button" class="btn btn-default" data-toggle="modal"><i class="fa fa-plus"></i> Add to basket</a></div>
90
                        <div class="btn-group"><a href="#addtoBasket" role="button" class="btn btn-default pat" data-toggle="modal"><i class="fa fa-plus"></i> Add to basket</a></div>
91
                    [% END %]
91
                    [% END %]
92
                    <div class="btn-group"><a href="basketheader.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]&amp;op=add_form" class="btn btn-default" id="basketheadbutton"><i class="fa fa-pencil"></i> Edit basket</a></div>
92
                    <div class="btn-group"><a href="basketheader.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]&amp;op=add_form" class="btn btn-default pat" id="basketheadbutton"><i class="fa fa-pencil"></i> Edit basket</a></div>
93
                    [% IF CAN_user_acquisition_delete_baskets %]
93
                    [% IF CAN_user_acquisition_delete_baskets %]
94
                        <div class="btn-group"><a href="#deleteBasketModal" role="button" class="btn btn-default" data-toggle="modal" id="delbasketbutton"><i class="fa fa-trash"></i> Delete basket</a></div>
94
                        <div class="btn-group"><a href="#deleteBasketModal" role="button" class="btn btn-default pat" data-toggle="modal" id="delbasketbutton"><i class="fa fa-trash"></i> Delete basket</a></div>
95
                    [% END %]
95
                    [% END %]
96
                   [% IF ( unclosable ) %]
96
                   [% IF ( unclosable ) %]
97
                    [% ELSIF ( uncertainprices ) %]
97
                    [% ELSIF ( uncertainprices ) %]
98
                        <div class="btn-group"><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid | uri %]&amp;owner=1" class="btn btn-default" id="uncertpricesbutton"><i class="fa fa-usd"></i> Uncertain prices</a></div>
98
                        <div class="btn-group"><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid | uri %]&amp;owner=1" class="btn btn-default pat" id="uncertpricesbutton"><i class="fa fa-usd"></i> Uncertain prices</a></div>
99
                        <div title="Can not close baskets that have items with uncertain prices in them." class="btn-group">
99
                        <div title="Can not close baskets that have items with uncertain prices in them." class="btn-group">
100
                            <a href="" class="btn btn-default disabled" id="closebutton"><i class="fa fa-times-circle"></i> Close basket</a>
100
                            <a href="" class="btn btn-default disabled pat" id="closebutton"><i class="fa fa-times-circle"></i> Close basket</a>
101
                        </div>
101
                        </div>
102
                    [% ELSE %]
102
                    [% ELSE %]
103
                        <div class="btn-group">
103
                        <div class="btn-group">
104
                            <a href="/cgi-bin/koha/acqui/basket.pl?op=close&amp;basketno=[% basketno | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default" id="closebutton"><i class="fa fa-times-circle"></i> Close basket</a>
104
                            <a href="/cgi-bin/koha/acqui/basket.pl?op=close&amp;basketno=[% basketno | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default pat" id="closebutton"><i class="fa fa-times-circle"></i> Close basket</a>
105
                        </div>
105
                        </div>
106
                    [% END %]
106
                    [% END %]
107
107
108
                    [% PROCESS csv_export %]
108
                    [% PROCESS csv_export %]
109
109
110
                        [% IF Koha.Preference('EDIFACT') && ediaccount %]
110
                        [% IF Koha.Preference('EDIFACT') && ediaccount %]
111
                        <div class="btn-group"><a href="/cgi-bin/koha/acqui/edi_ean.pl?op=ediorder&amp;basketno=[% basketno | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default" id="ediorderbutton"><i class="fa fa-download"></i> Create EDIFACT order</a></div>
111
                        <div class="btn-group"><a href="/cgi-bin/koha/acqui/edi_ean.pl?op=ediorder&amp;basketno=[% basketno | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default pat" id="ediorderbutton"><i class="fa fa-download"></i> Create EDIFACT order</a></div>
112
                        [% END %]
112
                        [% END %]
113
113
114
                        [% IF ( active && books_loop ) %]
114
                        [% IF ( active && books_loop ) %]
Lines 116-122 Link Here
116
                                <form action="/cgi-bin/koha/acqui/basket.pl" method="post">
116
                                <form action="/cgi-bin/koha/acqui/basket.pl" method="post">
117
                                    <input type="hidden" name="op" value="email" />
117
                                    <input type="hidden" name="op" value="email" />
118
                                    <input type="hidden" name="basketno" value="[% basketno | html %]" />
118
                                    <input type="hidden" name="basketno" value="[% basketno | html %]" />
119
                                    <button type="submit" class="btn btn-default" id="emailvendorbutton"><i class="fa fa-envelope"></i> E-mail order</button>
119
                                    <button type="submit" class="btn btn-default pat" id="emailvendorbutton"><i class="fa fa-envelope"></i> E-mail order</button>
120
                                </form>
120
                                </form>
121
                            </div>
121
                            </div>
122
                        [% END %]
122
                        [% END %]
Lines 264-270 Link Here
264
                                    </li>
264
                                    </li>
265
                                [% END %]
265
                                [% END %]
266
                                <li>
266
                                <li>
267
                                    <a href="#" id="add_user"><i class="fa fa-plus"></i> Add user</a>
267
                                    <a id="lientype" href="#" id="add_user"><i class="fa fa-plus"></i> Add user</a>
268
                                </li>
268
                                </li>
269
                                <li id="add_user_submit" style="display:none;">
269
                                <li id="add_user_submit" style="display:none;">
270
                                    <button type="submit" class="btn btn-default btn-xs">Save changes</button>
270
                                    <button type="submit" class="btn btn-default btn-xs">Save changes</button>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt (-3 lines)
Lines 77-85 Link Here
77
77
78
[% INCLUDE 'header.inc' form=formulaire %]
78
[% INCLUDE 'header.inc' form=formulaire %]
79
79
80
<!-- ################################################################################# -->
81
<!-- BREADCRUMBS -->
82
<!-- ################################################################################# -->
83
80
84
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
81
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
85
    <ol>
82
    <ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt (-9 / +9 lines)
Lines 110-115 Link Here
110
[% INCLUDE 'budgets-active-currency.inc' %]
110
[% INCLUDE 'budgets-active-currency.inc' %]
111
111
112
[% IF budgets %]
112
[% IF budgets %]
113
<fieldset id="searchresults">
113
114
114
    [% UNLESS budget_period_id %]
115
    [% UNLESS budget_period_id %]
115
        <div class="toolbar btn-toolbar">
116
        <div class="toolbar btn-toolbar">
Lines 220-226 Link Here
220
    [% ELSE %]
221
    [% ELSE %]
221
        <td>
222
        <td>
222
            <div class="btn-group dropup">
223
            <div class="btn-group dropup">
223
                <a class="btn btn-default btn-xs dropdown-toggle" id="budgetactions[% budget.budget_id | html %]_[% budget.budget_period_id | html %]" role="button" data-toggle="dropdown" href="#">
224
                <a class="btn btn-default btn-xs dropdown-toggle lientype" id="budgetactions[% budget.budget_id | html %]_[% budget.budget_period_id | html %]" role="button" data-toggle="dropdown" href="#">
224
                   Actions <b class="caret"></b>
225
                   Actions <b class="caret"></b>
225
                </a>
226
                </a>
226
                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="budgetactions[% budget.budget_id | html %]_[% budget.budget_period_id | html %]">
227
                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="budgetactions[% budget.budget_id | html %]_[% budget.budget_period_id | html %]">
Lines 240-246 Link Here
240
    </tbody>
241
    </tbody>
241
</table>
242
</table>
242
</div>
243
</div>
243
244
</fieldset
244
[% ELSE %]
245
[% ELSE %]
245
    <p>No fund found</p>
246
    <p>No fund found</p>
246
[% END %]
247
[% END %]
Lines 300-314 Link Here
300
        <span class="label">Owner: </span>
301
        <span class="label">Owner: </span>
301
        [% IF  budget_owner %]
302
        [% IF  budget_owner %]
302
            <span  id="budget_owner_name">
303
            <span  id="budget_owner_name">
303
                <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% budget_owner.borrowernumber | uri %]">
304
                < href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% budget_owner.borrowernumber | uri %]">
304
                    [% budget_owner.firstname | html %] [% budget_owner.surname | html %]
305
                    [% budget_owner.firstname | html %] [% budget_owner.surname | html %]
305
                </a> |
306
                </a> |
306
            </span>
307
            </span>
307
        [% ELSE %]
308
        [% ELSE %]
308
            <span  id="budget_owner_name"></span>
309
            <span  id="budget_owner_name"></span>
309
        [% END %]
310
        [% END %]
310
        <a id="edit_owner" class="new_window" href="#"><i class="fa fa-search"></i> Select owner</a>
311
        <a id="edit_owner" class="new_window lientype" href="#"><i class="fa fa-search"></i> Select owner</a>
311
        <a id="remove_owner" href="#"><i class="fa fa-trash"></i> Remove owner</a>
312
        <a id="remove_owner" href="#" class="lientype"><i class="fa fa-trash lientype"></i> Remove owner</a>
312
        <input type="hidden" name="budget_owner_id" id="budget_owner_id"
313
        <input type="hidden" name="budget_owner_id" id="budget_owner_id"
313
            value="[% budget_owner.borrowernumber | html %]" />
314
            value="[% budget_owner.borrowernumber | html %]" />
314
    </li>
315
    </li>
Lines 332-341 Link Here
332
                    <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% user.borrowernumber | uri %]">
333
                    <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% user.borrowernumber | uri %]">
333
                        [% user.firstname | html %] [% user.surname | html %]
334
                        [% user.firstname | html %] [% user.surname | html %]
334
                    </a>
335
                    </a>
335
                    &bull; <a href="#" class="del_user" data-borrowernumber="[% user.borrowernumber | html %]"><i class="fa fa-trash"></i> Remove</a>
336
                    &bull; <a href="#" class="del_user" id="lientype" data-borrowernumber="[% user.borrowernumber | html %]"><i class="fa fa-trash"></i> Remove</a>
336
                </li>
337
                </li>
337
            [% END %]
338
            [% END %]
338
            <li><a href="#" id="add_user_button"><i class="fa fa-plus"></i> Add users</a></li>
339
            <li><a class="lientype" href="#" id="add_user_button"><i class="fa fa-plus"></i> Add users</a></li>
339
        </ul>
340
        </ul>
340
        <input type="hidden" name="budget_users_ids" id="budget_users_id" value="[% budget_users_ids | html %]" />
341
        <input type="hidden" name="budget_users_ids" id="budget_users_id" value="[% budget_users_ids | html %]" />
341
    </li>
342
    </li>
Lines 420-426 Link Here
420
421
421
[% IF op == 'delete_confirm' %]
422
[% IF op == 'delete_confirm' %]
422
    <div class="dialog alert">
423
    <div class="dialog alert">
423
        <h1>Delete fund [% budget_name | html %]?</h1>
424
        <h2>Delete fund [% budget_name | html %]?</h2>
424
        If you delete this fund, all orders linked to this fund will be deleted!
425
        If you delete this fund, all orders linked to this fund will be deleted!
425
        <table>
426
        <table>
426
            <tr>
427
            <tr>
Lines 450-456 Link Here
450
451
451
[% IF op == 'list' %]
452
[% IF op == 'list' %]
452
  <form action="/cgi-bin/koha/admin/aqbudgets.pl" method="get">
453
  <form action="/cgi-bin/koha/admin/aqbudgets.pl" method="get">
453
    <a href="#" id="filterbutton">Filters</a>
454
    <fieldset class="brief" id="fundfilters">
454
    <fieldset class="brief" id="fundfilters">
455
    <h4>Fund filters</h4>
455
    <h4>Fund filters</h4>
456
        <ol>
456
        <ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt (-1 / +4 lines)
Lines 49-55 Link Here
49
[% INCLUDE 'budgets-admin-toolbar.inc' %]
49
[% INCLUDE 'budgets-admin-toolbar.inc' %]
50
50
51
<form method="post" id="Aform" name="Aform"  action="/cgi-bin/koha/admin/aqplan.pl">
51
<form method="post" id="Aform" name="Aform"  action="/cgi-bin/koha/admin/aqplan.pl">
52
<h1>Planning for [% budget_period_description | html %] [% PROCESS planning plan=authcat %]</h1>
52
<h2>Planning for [% budget_period_description | html %] [% PROCESS planning plan=authcat %]</h2>
53
<input type="hidden" name="authcat" value="[% authcat | html %]" />
53
<input type="hidden" name="authcat" value="[% authcat | html %]" />
54
<!-- Budget Lines -->
54
<!-- Budget Lines -->
55
55
Lines 61-66 Link Here
61
        [% ELSE %]
61
        [% ELSE %]
62
            <p><strong>Cells contain estimated values only.</strong></p>
62
            <p><strong>Cells contain estimated values only.</strong></p>
63
        [% END %]
63
        [% END %]
64
        
65
    <fieldset id="searchresults">
64
66
65
    <p id="selections">
67
    <p id="selections">
66
        <strong>Show/hide columns:</strong> <span class="selected"><input type="checkbox" checked="checked" id="showall"/><label for="showall">Show all columns</label></span> <span><input type="checkbox" id="hideall"/><label for="hideall">Hide all columns</label></span>
68
        <strong>Show/hide columns:</strong> <span class="selected"><input type="checkbox" checked="checked" id="showall"/><label for="showall">Show all columns</label></span> <span><input type="checkbox" id="hideall"/><label for="hideall">Hide all columns</label></span>
Lines 176-181 Link Here
176
    [% ELSE %]
178
    [% ELSE %]
177
        <input type="hidden" name="op" class="principal" value="save" />
179
        <input type="hidden" name="op" class="principal" value="save" />
178
        <fieldset class="action"><input type="submit" class="principal" value="Save"/></fieldset>
180
        <fieldset class="action"><input type="submit" class="principal" value="Save"/></fieldset>
181
    </fieldset>
179
    [% END %]
182
    [% END %]
180
183
181
184
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/audio_alerts.tt (-2 / +1 lines)
Lines 46-52 Link Here
46
46
47
                <form id="new-alert-form" action="audio_alerts.pl" method="post" class="validated">
47
                <form id="new-alert-form" action="audio_alerts.pl" method="post" class="validated">
48
                    <fieldset class="rows">
48
                    <fieldset class="rows">
49
                        <legend><h1><span class="create-alert">Add new alert</span><span class="edit-alert">Edit alert</span></h1></legend>
50
                        <h3><span class="create-alert">Add new alert</span><span class="edit-alert">Edit alert</span></h3>
49
                        <h3><span class="create-alert">Add new alert</span><span class="edit-alert">Edit alert</span></h3>
51
50
52
                        <input id="id" name="id" type="hidden" value="" />
51
                        <input id="id" name="id" type="hidden" value="" />
Lines 100-106 Link Here
100
                        <div class="dialog alert">
99
                        <div class="dialog alert">
101
                            <h3>Audio alerts are disabled</h3>
100
                            <h3>Audio alerts are disabled</h3>
102
                            [% IF ( CAN_user_parameters_manage_sysprefs ) %]
101
                            [% IF ( CAN_user_parameters_manage_sysprefs ) %]
103
                                <p>Please enable system preference <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=AudioAlerts">AudioAlerts</a> to activate sounds.</p>
102
                                <p>Please enable system preference <a id="lientype" href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=AudioAlerts">AudioAlerts</a> to activate sounds.</p>
104
                            [% ELSE %]
103
                            [% ELSE %]
105
                                <p>The system preference <strong>AudioAlerts</strong> must be enabled to activate sounds.</p>
104
                                <p>The system preference <strong>AudioAlerts</strong> must be enabled to activate sounds.</p>
106
                            [% END %]
105
                            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt (-5 / +5 lines)
Lines 195-201 Authority types &rsaquo; Administration &rsaquo; Koha Link Here
195
                <td>[% authority_type.auth_tag_to_report | html %]</td>
195
                <td>[% authority_type.auth_tag_to_report | html %]</td>
196
                <td>
196
                <td>
197
                  <div class="btn-group dropup">
197
                  <div class="btn-group dropup">
198
                    <a class="btn btn-default btn-xs dropdown-toggle" id="authtypeactions[% authority_type.authtypecode | html %]" role="button" data-toggle="dropdown" href="#">
198
                    <a class="btn btn-default btn-xs dropdown-toggle lientype" id="authtypeactions[% authority_type.authtypecode | html %]" role="button" data-toggle="dropdown" href="#">
199
                      Actions <b class="caret"></b></a>
199
                      Actions <b class="caret"></b></a>
200
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authtypeactions[% authority_type.authtypecode | html %]">
200
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authtypeactions[% authority_type.authtypecode | html %]">
201
                      <li><a href="auth_tag_structure.pl?authtypecode=[% authority_type.authtypecode | uri %]" class="button parameters"><i class="fa fa-eye"></i> MARC structure</a></li>
201
                      <li><a href="auth_tag_structure.pl?authtypecode=[% authority_type.authtypecode | uri %]" class="button parameters"><i class="fa fa-eye"></i> MARC structure</a></li>
Lines 225-232 Authority types &rsaquo; Administration &rsaquo; Koha Link Here
225
                                      </fieldset>
225
                                      </fieldset>
226
                                  </div>
226
                                  </div>
227
                                  <div class="modal-footer">
227
                                  <div class="modal-footer">
228
                                      <button type="submit" class="btn btn-default">Export</button>
228
                                      <button type="submit" class="btn btn-default principal">Export</button>
229
                                      <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
229
                                      <button class="btn btn-link cancel" data-dismiss="modal" aria-hidden="true">Cancel</button>
230
                                  </div>
230
                                  </div>
231
                              </form>
231
                              </form>
232
                          </div>
232
                          </div>
Lines 249-256 Authority types &rsaquo; Administration &rsaquo; Koha Link Here
249
                                      <div id="importing_[% authority_type.authtypecode | html %]" style="display:none" class="importing"><img src="[% interface | html %]/[% theme | html %]/img/loading-small.gif" alt="" /><span class="importing_msg"></span></div>
249
                                      <div id="importing_[% authority_type.authtypecode | html %]" style="display:none" class="importing"><img src="[% interface | html %]/[% theme | html %]/img/loading-small.gif" alt="" /><span class="importing_msg"></span></div>
250
                                  </div>
250
                                  </div>
251
                                  <div class="modal-footer">
251
                                  <div class="modal-footer">
252
                                      <button type="submit" class="btn btn-default">Import</button>
252
                                      <button type="submit" class="btn btn-default principal">Import</button>
253
                                      <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Close</button>
253
                                      <button class="btn btn-link cancel" data-dismiss="modal" aria-hidden="true">Close</button>
254
                                  </div>
254
                                  </div>
255
                              </form>
255
                              </form>
256
                          </div>
256
                          </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/background_jobs.tt (-1 / +1 lines)
Lines 162-168 Link Here
162
162
163
[% IF op == 'list' %]
163
[% IF op == 'list' %]
164
164
165
    <h1>Background jobs</h1>
165
    <h2>Background jobs</h2>
166
166
167
    [% IF jobs.count %]
167
    [% IF jobs.count %]
168
    <div id="searchresults">
168
    <div id="searchresults">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt (-9 / +9 lines)
Lines 150-156 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
150
            <p><strong><span class="ex">[% framework.frameworktext | html %] ([% framework.frameworkcode | html %])</span></strong></p>
150
            <p><strong><span class="ex">[% framework.frameworktext | html %] ([% framework.frameworkcode | html %])</span></strong></p>
151
            <p>The framework is used [% biblios_use_this_framework | html %] times.</p>
151
            <p>The framework is used [% biblios_use_this_framework | html %] times.</p>
152
            <form action="/cgi-bin/koha/admin/biblio_framework.pl" method="get">
152
            <form action="/cgi-bin/koha/admin/biblio_framework.pl" method="get">
153
                <button type="submit"><i class="fa fa-fw fa-arrow-left"></i> Return to frameworks</button>
153
                <button type="submit" id="lientype"><i class="fa fa-fw fa-arrow-left"></i> Return to frameworks</button>
154
            </form>
154
            </form>
155
        [% ELSE %]
155
        [% ELSE %]
156
            <h1>Delete framework for [% framework.frameworktext | html %] ([% framework.frameworkcode | html %])?</h1>
156
            <h1>Delete framework for [% framework.frameworktext | html %] ([% framework.frameworkcode | html %])?</h1>
Lines 212-219 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
212
                            </fieldset>
212
                            </fieldset>
213
                        </div> <!-- /.modal-body -->
213
                        </div> <!-- /.modal-body -->
214
                        <div class="modal-footer">
214
                        <div class="modal-footer">
215
                            <button type="submit" class="btn btn-default">Export</button>
215
                            <button type="submit" class="btn btn-default principal">Export</button>
216
                            <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
216
                            <button class="btn btn-link cancel" data-dismiss="modal" aria-hidden="true">Cancel</button>
217
                        </div> <!-- /.modal-footer -->
217
                        </div> <!-- /.modal-footer -->
218
                    </form> <!-- /.form_export -->
218
                    </form> <!-- /.form_export -->
219
                </div> <!-- /.modal-content -->
219
                </div> <!-- /.modal-content -->
Lines 236-243 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
236
                            <div id="importing_default" style="display:none" class="importing"><img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /><span class="importing_msg"></span></div>
236
                            <div id="importing_default" style="display:none" class="importing"><img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /><span class="importing_msg"></span></div>
237
                        </div> <!-- /.modal-body -->
237
                        </div> <!-- /.modal-body -->
238
                        <div class="modal-footer">
238
                        <div class="modal-footer">
239
                            <button type="submit" class="btn btn-default">Import</button>
239
                            <button type="submit" class="btn btn-default principal">Import</button>
240
                            <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Close</button>
240
                            <button class="btn btn-link cancel" data-dismiss="modal" aria-hidden="true">Close</button>
241
                        </div> <!-- /.modal-footer -->
241
                        </div> <!-- /.modal-footer -->
242
                    </form> <!-- /.form_export -->
242
                    </form> <!-- /.form_export -->
243
                </div> <!-- /.modal-content -->
243
                </div> <!-- /.modal-content -->
Lines 282-289 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
282
                                </fieldset>
282
                                </fieldset>
283
                            </div> <!-- /.modal-body -->
283
                            </div> <!-- /.modal-body -->
284
                            <div class="modal-footer">
284
                            <div class="modal-footer">
285
                                <button type="submit" class="btn btn-default">Export</button>
285
                                <button type="submit" class="btn btn-default principal">Export</button>
286
                                <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
286
                                <button class="btn btn-link cancel" data-dismiss="modal" aria-hidden="true">Cancel</button>
287
                            </div> <!-- /.modal-footer -->
287
                            </div> <!-- /.modal-footer -->
288
                        </form> <!-- /.form_export -->
288
                        </form> <!-- /.form_export -->
289
                    </div> <!-- /.modal-content -->
289
                    </div> <!-- /.modal-content -->
Lines 306-313 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
306
                                <div id="importing_[% loo.frameworkcode | html %]" style="display:none" class="importing"><img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /><span class="importing_msg"></span></div>
306
                                <div id="importing_[% loo.frameworkcode | html %]" style="display:none" class="importing"><img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /><span class="importing_msg"></span></div>
307
                            </div> <!-- /.modal-body -->
307
                            </div> <!-- /.modal-body -->
308
                            <div class="modal-footer">
308
                            <div class="modal-footer">
309
                                <button type="submit" class="btn btn-default" title="[% loo.frameworkcode | html %]">Import</button>
309
                                <button type="submit" class="btn btn-default principal" title="[% loo.frameworkcode | html %]">Import</button>
310
                                <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Close</button>
310
                                <button class="btn btn-link cancel" data-dismiss="modal" aria-hidden="true">Close</button>
311
                            </div> <!-- /.modal-footer -->
311
                            </div> <!-- /.modal-footer -->
312
                        </form> <!-- /.form_export -->
312
                        </form> <!-- /.form_export -->
313
                    </div> <!-- /.modal-content -->
313
                    </div> <!-- /.modal-content -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt (-3 / +3 lines)
Lines 54-62 Link Here
54
<div id="searchresults">
54
<div id="searchresults">
55
<fieldset>
55
<fieldset>
56
    [% IF ( limitType == 'ccode' ) %]<strong>For all collection codes: </strong>[% ELSE %]<strong>For all item types: </strong>[% END %]
56
    [% IF ( limitType == 'ccode' ) %]<strong>For all collection codes: </strong>[% ELSE %]<strong>For all item types: </strong>[% END %]
57
    <a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a>
57
    <a id="CheckAll" href="#" class="lientype"><i class="fa fa-check"></i> Select all</a>
58
    |
58
    |
59
    <a id="UncheckAll" href="#"><i class="fa fa-remove"></i> Clear all</a>
59
    <a id="UncheckAll" href="#" class="lientype"><i class="fa fa-remove"></i> Clear all</a>
60
    |
60
    |
61
    <a href="/cgi-bin/koha/admin/transfer_limits.pl" id="lientype">Switch to advanced editor</a>
61
    <a href="/cgi-bin/koha/admin/transfer_limits.pl" id="lientype">Switch to advanced editor</a>
62
</fieldset>
62
</fieldset>
Lines 77-83 Link Here
77
    <div role="tabpanel" class="tab-pane" id="[% codes_loo.code | html %]set">
77
    <div role="tabpanel" class="tab-pane" id="[% codes_loo.code | html %]set">
78
    <h4>Policy for [% codes_loo.limit_phrase | html %]: [% codes_loo.code | html %]</h4>
78
    <h4>Policy for [% codes_loo.limit_phrase | html %]: [% codes_loo.code | html %]</h4>
79
79
80
    <p><a id="CheckAll[% codes_loo.code | html %]table" data-cb="[% codes_loo.code | html %]" class="checkall" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="UncheckAll[% codes_loo.code | html %]table" data-cb="[% codes_loo.code | html %]" class="uncheckall" href="#"><i class="fa fa-remove"></i> Clear all</a></p>
80
    <p><a id="CheckAll[% codes_loo.code | html %]table" data-cb="[% codes_loo.code | html %]" class="checkall lientype" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="UncheckAll[% codes_loo.code | html %]table" data-cb="[% codes_loo.code | html %]" class="uncheckall lientype" href="#"><i class="fa fa-remove"></i> Clear all</a></p>
81
81
82
        <table id="[% codes_loo.code | html %]table" class="sorted">
82
        <table id="[% codes_loo.code | html %]table" class="sorted">
83
            <thead>
83
            <thead>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt (-3 / +3 lines)
Lines 134-140 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
134
134
135
<div id="searchresults">
135
<div id="searchresults">
136
[% IF op == 'add_form' %]
136
[% IF op == 'add_form' %]
137
    <h1>[% IF library %]Modify library[% ELSE %]New library[% END %]</h1>
137
    <h2>[% IF library %]Modify library[% ELSE %]New library[% END %]</h2>
138
    <form action="/cgi-bin/koha/admin/branches.pl" id="Aform" name="Aform" class="validated" method="post">
138
    <form action="/cgi-bin/koha/admin/branches.pl" id="Aform" name="Aform" class="validated" method="post">
139
        <fieldset>
139
        <fieldset>
140
            <input type="hidden" name="op" value="add_validate" />
140
            <input type="hidden" name="op" value="add_validate" />
Lines 299-305 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
299
[% IF op == 'delete_confirm' and not ( items_count or patrons_count )%]
299
[% IF op == 'delete_confirm' and not ( items_count or patrons_count )%]
300
    <div class="dialog alert">
300
    <div class="dialog alert">
301
        <form action="/cgi-bin/koha/admin/branches.pl" method="post">
301
        <form action="/cgi-bin/koha/admin/branches.pl" method="post">
302
            <h1>Are you sure you want to delete [% library.branchname | html %] ([% library.branchcode | html %])?</h1>
302
            <h2>Are you sure you want to delete [% library.branchname | html %] ([% library.branchcode | html %])?</h2>
303
            <input type="hidden" name="op" value="delete_confirmed" />
303
            <input type="hidden" name="op" value="delete_confirmed" />
304
            <input type="hidden" name="branchcode" value="[% library.branchcode | html %]" />
304
            <input type="hidden" name="branchcode" value="[% library.branchcode | html %]" />
305
            <input type="hidden" name="branchname" value="[% library.branchname | html %]">
305
            <input type="hidden" name="branchname" value="[% library.branchname | html %]">
Lines 312-318 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
312
[% END %]
312
[% END %]
313
313
314
[% IF op == 'list' %]
314
[% IF op == 'list' %]
315
    <h1>Libraries</h1>
315
    <h2>Libraries</h2>
316
    [% IF libraries_count > 0 %]
316
    [% IF libraries_count > 0 %]
317
        <table id="libraries">
317
        <table id="libraries">
318
            <thead>
318
            <thead>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt (-10 / +12 lines)
Lines 159-167 Classification sources &rsaquo; Administration &rsaquo; Koha Link Here
159
159
160
[% IF op == 'add_source' %]
160
[% IF op == 'add_source' %]
161
  [% IF class_source %]
161
  [% IF class_source %]
162
<h1>Modify classification source</h1>
162
<h2>Modify classification source</h2>
163
  [% ELSE %]
163
  [% ELSE %]
164
<h1>Add classification source</h1>
164
<h2>Add classification source</h2>
165
  [% END %]
165
  [% END %]
166
<form action="[% script_name | html %]" name="Aform" class="validated" method="post">
166
<form action="[% script_name | html %]" name="Aform" class="validated" method="post">
167
  <input type="hidden" name="op" value="add_source_validate" />
167
  <input type="hidden" name="op" value="add_source_validate" />
Lines 223-231 Classification sources &rsaquo; Administration &rsaquo; Koha Link Here
223
223
224
[% IF op == 'add_sort_rule' %]
224
[% IF op == 'add_sort_rule' %]
225
  [% IF sort_rule %]
225
  [% IF sort_rule %]
226
<h1>Modify filing rule</h1>
226
<h2>Modify filing rule</h2>
227
  [% ELSE %]
227
  [% ELSE %]
228
<h1>Add filing rule</h1>
228
<h2>Add filing rule</h2>
229
  [% END %]
229
  [% END %]
230
<form action="[% script_name | html %]" name="Aform" class="validated" method="post">
230
<form action="[% script_name | html %]" name="Aform" class="validated" method="post">
231
  <input type="hidden" name="op" value="add_sort_rule_validate" />
231
  <input type="hidden" name="op" value="add_sort_rule_validate" />
Lines 261-277 Classification sources &rsaquo; Administration &rsaquo; Koha Link Here
261
    </ol>
261
    </ol>
262
    <fieldset class="action">
262
    <fieldset class="action">
263
        <input type="submit" class="principal" value="Save" />
263
        <input type="submit" class="principal" value="Save" />
264
        <a class="c
264
        <a class="cancel" href="/cgi-bin/koha/admin/classsources.pl">Cancel</a>
265
  </fieldset>ancel" href="/cgi-bin/koha/admin/classsources.pl">Cancel</a>
265
  </fieldset>
266
    </fieldset>
266
    </fieldset>
267
</form>
267
</form>
268
[% END %]
268
[% END %]
269
269
270
[% IF op == 'add_split_rule' %]
270
[% IF op == 'add_split_rule' %]
271
  [% IF split_rule %]
271
  [% IF split_rule %]
272
<h1>Modify splitting rule</h1>
272
<h2>Modify splitting rule</h2>
273
  [% ELSE %]
273
  [% ELSE %]
274
<h1>Add splitting rule</h1>
274
<h2>Add splitting rule</h2>
275
  [% END %]
275
  [% END %]
276
<form action="[% script_name | html %]" name="Aform" class="validated" method="post">
276
<form action="[% script_name | html %]" name="Aform" class="validated" method="post">
277
  <input type="hidden" name="op" value="add_split_rule_validate" />
277
  <input type="hidden" name="op" value="add_split_rule_validate" />
Lines 288-298 Classification sources &rsaquo; Administration &rsaquo; Koha Link Here
288
              <span class="required">Required</span>
288
              <span class="required">Required</span>
289
          [% END %]
289
          [% END %]
290
       </li>
290
       </li>
291
       <li><label for="description" class="required">Description: </label>
291
       <li>
292
            <label for="description" class="required">Description: </label>
292
           <input class="required" required="required" type="text" id="description" name="description" size="50" maxlength="250" value="[% split_rule.description | html %]" />
293
           <input class="required" required="required" type="text" id="description" name="description" size="50" maxlength="250" value="[% split_rule.description | html %]" />
293
           <span class="required">Required</span>
294
           <span class="required">Required</span>
294
       </li>
295
       </li>
295
       <li><label for="split_routine" class="required">Splitting routine: </label>
296
       <li>
297
            <label for="split_routine" class="required">Splitting routine: </label>
296
           <select class="required" required="required" id="split_routine" name="split_routine">
298
           <select class="required" required="required" id="split_routine" name="split_routine">
297
            [% FOREACH routine_name IN split_routines %]
299
            [% FOREACH routine_name IN split_routines %]
298
                [% IF routine_name == split_rule.split_routine %]
300
                [% IF routine_name == split_rule.split_routine %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt (-206 / +74 lines)
Lines 30-36 Link Here
30
                            <div class="datatable_config" id="[% table_id | html %]">
30
                            <div class="datatable_config" id="[% table_id | html %]">
31
                                <input type="hidden" name="table_id" value="[% table_id| html %]" />
31
                                <input type="hidden" name="table_id" value="[% table_id| html %]" />
32
                                [% IF pagename == 'additem' AND tablename == 'itemst' %]
32
                                [% IF pagename == 'additem' AND tablename == 'itemst' %]
33
                                    <div class="alert">Changes made below will only apply to item subfields that are mapped to the 'items' table. <a href="/cgi-bin/koha/admin/koha2marclinks.pl?tablename=items">Go to Koha to MARC mapping</a></div>
33
                                    <div class="alert">Changes made below will only apply to item subfields that are mapped to the 'items' table. <a id="lientype" href="/cgi-bin/koha/admin/koha2marclinks.pl?tablename=items">Go to Koha to MARC mapping</a></div>
34
                                [% END %]
34
                                [% END %]
35
                                <table>
35
                                <table>
36
                                    <caption>
36
                                    <caption>
Lines 208-437 Link Here
208
                <div class="col-sm-10 col-sm-push-2">
208
                <div class="col-sm-10 col-sm-push-2">
209
                        <main>
209
                        <main>
210
210
211
                            <h1>Table settings</h1>
211
                            <h2>Table settings</h2>
212
                            <div class="panel-group" id="modules" role="tablist" aria-multiselectable="true">
212
                            <div id="modules">
213
                                <div class="panel panel-default">
213
                                <div class="panel_header"><a href="#acqui">Acquisition</a></div>
214
                                    <div class="panel-heading" role="tab" id="acquiHeading">
214
                                <div id="acqui">
215
                                        <h2 class="panel-title">
215
                                    <h3>Acquisition tables</h3>
216
                                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#modules" href="#acqui" aria-expanded="false" aria-controls="collapseOne">
216
                                    [% PROCESS pagelist module=modules.acqui modulename="acqui" %]
217
                                                Acquisition
218
                                            </a>
219
                                        </h2>
220
                                    </div> <!-- /.panel-heading -->
221
                                    <div id="acqui" class="panel-collapse collapse" role="tabpanel" aria-labelledby="acquiHeading">
222
                                        <div class="panel-body">
223
                                            <h3>Acquisition tables</h3>
224
                                            [% PROCESS pagelist module=modules.acqui modulename="acqui" %]
225
                                        </div> <!-- /.panel-body -->
226
                                    </div> <!-- /.panel-collapse -->
227
                                </div>
217
                                </div>
228
218
229
                                <div class="panel panel-default">
219
                                <div class="panel_header"><a href="#admin">Administration</a></div>
230
                                    <div class="panel-heading" role="tab" id="adminHeading">
220
                                <div id="admin">
231
                                        <h2 class="panel-title">
221
                                    <h3>Administration tables</h3>
232
                                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#modules" href="#admin" aria-expanded="false" aria-controls="collapseOne">
222
                                    [% PROCESS pagelist module=modules.admin modulename="admin" %]
233
                                                Administration
234
                                            </a>
235
                                        </h2>
236
                                    </div> <!-- /.panel-heading -->
237
                                    <div id="admin" class="panel-collapse collapse" role="tabpanel" aria-labelledby="adminHeading">
238
                                        <div class="panel-body">
239
                                            <h3>Administration tables</h3>
240
                                            [% PROCESS pagelist module=modules.admin modulename="admin" %]
241
                                        </div> <!-- /.panel-body -->
242
                                    </div> <!-- /.panel-collapse -->
243
                                </div>
223
                                </div>
244
224
245
                                <div class="panel panel-default">
225
                                <div class="panel_header"><a href="#authorities">Authorities</a></div>
246
                                    <div class="panel-heading" role="tab" id="authoritiesHeading">
226
                                <div id="authorities">
247
                                        <h2 class="panel-title">
227
                                    <h3>Authorities tables</h3>
248
                                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#modules" href="#authorities" aria-expanded="false" aria-controls="collapseOne">
228
                                    [% PROCESS pagelist module=modules.authorities modulename="authorities" %]
249
                                                Authorities
250
                                            </a>
251
                                        </h2>
252
                                    </div> <!-- /.panel-heading -->
253
                                    <div id="authorities" class="panel-collapse collapse" role="tabpanel" aria-labelledby="authoritiesHeading">
254
                                        <div class="panel-body">
255
                                            <h3>Authorities tables</h3>
256
                                            [% PROCESS pagelist module=modules.authorities modulename="authorities" %]
257
                                        </div> <!-- /.panel-body -->
258
                                    </div> <!-- /.panel-collapse -->
259
                                </div>
229
                                </div>
260
230
261
                                <div class="panel panel-default">
231
                                <div class="panel_header"><a href="#catalog">Catalog</a></div>
262
                                    <div class="panel-heading" role="tab" id="catalogueHeading">
232
                                <div id="catalogue">
263
                                        <h2 class="panel-title">
233
                                    <h3>Catalogue tables</h3>
264
                                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#modules" href="#catalogue" aria-expanded="false" aria-controls="collapseOne">
234
                                    [% PROCESS pagelist module=modules.catalogue modulename="catalogue" %]
265
                                                Catalog
266
                                            </a>
267
                                        </h2>
268
                                    </div> <!-- /.panel-heading -->
269
                                    <div id="catalogue" class="panel-collapse collapse" role="tabpanel" aria-labelledby="catalogueHeading">
270
                                        <div class="panel-body">
271
                                            <h3>Catalogue tables</h3>
272
                                            [% PROCESS pagelist module=modules.catalogue modulename="catalogue" %]
273
                                        </div> <!-- /.panel-body -->
274
                                    </div> <!-- /.panel-collapse -->
275
                                </div>
235
                                </div>
276
236
277
                                <div class="panel panel-default">
237
                                <div class="panel_header"><a href="#cataloguing">Cataloging</a></div>
278
                                    <div class="panel-heading" role="tab" id="cataloguingHeading">
238
                                <div id="cataloguing">
279
                                        <h2 class="panel-title">
239
                                    <h3>Cataloguing tables</h3>
280
                                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#modules" href="#cataloguing" aria-expanded="false" aria-controls="collapseOne">
240
                                    [% PROCESS pagelist module=modules.cataloguing modulename="cataloguing" %]
281
                                                Cataloging
282
                                            </a>
283
                                        </h2>
284
                                    </div> <!-- /.panel-heading -->
285
                                    <div id="cataloguing" class="panel-collapse collapse" role="tabpanel" aria-labelledby="cataloguingHeading">
286
                                        <div class="panel-body">
287
                                            <h3>Cataloguing tables</h3>
288
                                            [% PROCESS pagelist module=modules.cataloguing modulename="cataloguing" %]
289
                                        </div> <!-- /.panel-body -->
290
                                    </div> <!-- /.panel-collapse -->
291
                                </div>
241
                                </div>
292
242
293
                                <div class="panel panel-default">
243
                                <div class="panel_header"><a href="#circulation">Circulation</a></div>
294
                                    <div class="panel-heading" role="tab" id="circulationHeading">
244
                                <div id="circulation">
295
                                        <h2 class="panel-title">
245
                                    <h3>Circulation tables</h3>
296
                                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#modules" href="#circulation" aria-expanded="false" aria-controls="collapseOne">
246
                                    [% PROCESS pagelist module=modules.circ modulename="circ" %]
297
                                                Circulation
298
                                            </a>
299
                                        </h2>
300
                                    </div> <!-- /.panel-heading -->
301
                                    <div id="circulation" class="panel-collapse collapse" role="tabpanel" aria-labelledby="circulationHeading">
302
                                        <div class="panel-body">
303
                                            <h3>Circulation tables</h3>
304
                                            [% PROCESS pagelist module=modules.circ modulename="circ" %]
305
                                        </div> <!-- /.panel-body -->
306
                                    </div> <!-- /.panel-collapse -->
307
                                </div>
247
                                </div>
308
248
309
                                <div class="panel panel-default">
249
                                <div class="panel_header"><a href="#coursereserves">Course reserves</a></div>
310
                                    <div class="panel-heading" role="tab" id="coursereservesHeading">
250
                                <div id="coursereserves">
311
                                        <h2 class="panel-title">
251
                                    <h3>Course reserves tables</h3>
312
                                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#modules" href="#coursereserves" aria-expanded="false" aria-controls="collapseOne">
252
                                    [% PROCESS pagelist module=modules.coursereserves modulename="coursereserves" %]
313
                                                Course reserves
314
                                            </a>
315
                                        </h2>
316
                                    </div> <!-- /.panel-heading -->
317
                                    <div id="coursereserves" class="panel-collapse collapse" role="tabpanel" aria-labelledby="coursereservesHeading">
318
                                        <div class="panel-body">
319
                                            <h3>Course reserves tables</h3>
320
                                            [% PROCESS pagelist module=modules.coursereserves modulename="coursereserves" %]
321
                                        </div> <!-- /.panel-body -->
322
                                    </div> <!-- /.panel-collapse -->
323
                                </div>
253
                                </div>
324
254
325
                                <div class="panel panel-default">
255
                                <div class="panel_header"><a href="#ill">Interlibrary loans</a></div>
326
                                    <div class="panel-heading" role="tab" id="illHeading">
256
                                <div id="ill">
327
                                        <h2 class="panel-title">
257
                                    <h3>Interlibrary loans tables</h3>
328
                                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#modules" href="#ill" aria-expanded="false" aria-controls="collapseOne">
258
                                    [% PROCESS pagelist module=modules.illrequests modulename="illrequests" %]
329
                                                Interlibrary loans
330
                                            </a>
331
                                        </h2>
332
                                    </div> <!-- /.panel-heading -->
333
                                    <div id="ill" class="panel-collapse collapse" role="tabpanel" aria-labelledby="illHeading">
334
                                        <div class="panel-body">
335
                                            <h3>Interlibrary loans tables</h3>
336
                                            [% PROCESS pagelist module=modules.illrequests modulename="illrequests" %]
337
                                        </div> <!-- /.panel-body -->
338
                                    </div> <!-- /.panel-collapse -->
339
                                </div>
259
                                </div>
340
260
341
                                <div class="panel panel-default">
261
                                <div class="panel_header"><a href="#members">Patrons</a></div>
342
                                    <div class="panel-heading" role="tab" id="membersHeading">
262
                                <div id="members">
343
                                        <h2 class="panel-title">
263
                                    <h3>Patrons tables</h3>
344
                                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#modules" href="#members" aria-expanded="false" aria-controls="collapseOne">
264
                                    [% PROCESS pagelist module=modules.members modulename="members" %]
345
                                                Patrons
346
                                            </a>
347
                                        </h2>
348
                                    </div> <!-- /.panel-heading -->
349
                                    <div id="members" class="panel-collapse collapse" role="tabpanel" aria-labelledby="membersHeading">
350
                                        <div class="panel-body">
351
                                            <h3>Patrons tables</h3>
352
                                            [% PROCESS pagelist module=modules.members modulename="members" %]
353
                                        </div> <!-- /.panel-body -->
354
                                    </div> <!-- /.panel-collapse -->
355
                                </div>
265
                                </div>
356
266
357
                                <div class="panel panel-default">
267
                                <div class="panel_header"><a href="#pos">Point of sale</a></div>
358
                                    <div class="panel-heading" role="tab" id="posHeading">
268
                                <div id="pos">
359
                                        <h2 class="panel-title">
269
                                    <h3>Point of sale tables</h3>
360
                                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#modules" href="#pos" aria-expanded="false" aria-controls="collapseOne">
270
                                    [% PROCESS pagelist module=modules.pos modulename="pos" %]
361
                                                Point of sale
362
                                            </a>
363
                                        </h2>
364
                                    </div> <!-- /.panel-heading -->
365
                                    <div id="pos" class="panel-collapse collapse" role="tabpanel" aria-labelledby="posHeading">
366
                                        <div class="panel-body">
367
                                            <h3>Point of sale tables</h3>
368
                                            [% PROCESS pagelist module=modules.pos modulename="pos" %]
369
                                        </div> <!-- /.panel-body -->
370
                                    </div> <!-- /.panel-collapse -->
371
                                </div>
271
                                </div>
372
272
373
                                <div class="panel panel-default">
273
                                <div class="panel_header"><a href="#tools">Tools</a></div>
374
                                    <div class="panel-heading" role="tab" id="toolsHeading">
274
                                <div id="tools">
375
                                        <h2 class="panel-title">
275
                                    <h3>Tools tables</h3>
376
                                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#modules" href="#tools" aria-expanded="false" aria-controls="collapseOne">
276
                                    [% PROCESS pagelist module=modules.tools modulename="tools" %]
377
                                                Tools
378
                                            </a>
379
                                        </h2>
380
                                    </div> <!-- /.panel-heading -->
381
                                    <div id="tools" class="panel-collapse collapse" role="tabpanel" aria-labelledby="toolsHeading">
382
                                        <div class="panel-body">
383
                                            <h3>Tools tables</h3>
384
                                            [% PROCESS pagelist module=modules.tools modulename="tools" %]
385
                                        </div> <!-- /.panel-body -->
386
                                    </div> <!-- /.panel-collapse -->
387
                                </div>
277
                                </div>
388
278
389
                                <div class="panel panel-default">
279
                                <div class="panel_header"><a href="#opac">OPAC</a></div>
390
                                    <div class="panel-heading" role="tab" id="opacHeading">
280
                                <div id="opac">
391
                                        <h2 class="panel-title">
281
                                    <h3>OPAC tables</h3>
392
                                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#modules" href="#opac" aria-expanded="false" aria-controls="collapseOne">
282
                                    [% PROCESS pagelist module=modules.opac modulename="opac" %]
393
                                                OPAC
394
                                            </a>
395
                                        </h2>
396
                                    </div> <!-- /.panel-heading -->
397
                                    <div id="opac" class="panel-collapse collapse" role="tabpanel" aria-labelledby="opacHeading">
398
                                        <div class="panel-body">
399
                                            <h3>OPAC tables</h3>
400
                                            [% PROCESS pagelist module=modules.opac modulename="opac" %]
401
                                        </div> <!-- /.panel-body -->
402
                                    </div> <!-- /.panel-collapse -->
403
                                </div>
283
                                </div>
404
284
405
                                <div class="panel panel-default">
285
                                <div class="panel_header"><a href="#reports">Reports</a></div>
406
                                    <div class="panel-heading" role="tab" id="reportsHeading">
286
                                <div id="reports">
407
                                        <h2 class="panel-title">
287
                                    <h3>Reports tables</h3>
408
                                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#modules" href="#reports" aria-expanded="false" aria-controls="collapseOne">
288
                                    [% PROCESS pagelist module=modules.reports modulename="reports" %]
409
                                                Reports
410
                                            </a>
411
                                        </h2>
412
                                    </div> <!-- /.panel-heading -->
413
                                    <div id="reports" class="panel-collapse collapse" role="tabpanel" aria-labelledby="reportsHeading">
414
                                        <div class="panel-body">
415
                                            <h3>Reports tables</h3>
416
                                            [% PROCESS pagelist module=modules.reports modulename="reports" %]
417
                                        </div> <!-- /.panel-body -->
418
                                    </div> <!-- /.panel-collapse -->
419
                                </div>
289
                                </div>
420
290
421
                                <div class="panel panel-default">
291
                                <div class="panel_header"><a href="#serials">Serials</a></div>
422
                                    <div class="panel-heading" role="tab" id="serialsHeading">
292
                                <div id="serials">
423
                                        <h2 class="panel-title">
293
                                    <h3>Serials tables</h3>
424
                                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#modules" href="#serials" aria-expanded="false" aria-controls="collapseOne">
294
                                    [% PROCESS pagelist module=modules.serials modulename="serials" %]
425
                                                Serials
426
                                            </a>
427
                                        </h2>
428
                                    </div> <!-- /.panel-heading -->
429
                                    <div id="serials" class="panel-collapse collapse" role="tabpanel" aria-labelledby="serialsHeading">
430
                                        <div class="panel-body">
431
                                            <h3>Serials tables</h3>
432
                                            [% PROCESS pagelist module=modules.serials modulename="serials" %]
433
                                        </div> <!-- /.panel-body -->
434
                                    </div> <!-- /.panel-collapse -->
435
                                </div>
295
                                </div>
436
296
437
                            </div>
297
                            </div>
Lines 445-459 Link Here
445
                </div> <!-- /.col-sm-2.col-sm-pull-10 -->
305
                </div> <!-- /.col-sm-2.col-sm-pull-10 -->
446
        </div> <!-- /.row -->
306
        </div> <!-- /.row -->
447
307
308
448
[% MACRO jsinclude BLOCK %]
309
[% MACRO jsinclude BLOCK %]
449
    [% Asset.js("js/admin-menu.js") | $raw %]
310
    [% Asset.js("js/admin-menu.js") | $raw %]
450
311
    <script>
451
    [%- IF ( panel.defined && panel >= 0 ) -%]
312
        $(document).ready( function() {
452
        <script>
313
            var accordion = $( "#modules" ).accordion({
453
            $(document).ready( function() {
314
                    collapsible: true,
454
                $("#modules a.collapsed:eq(" + Number( [% panel | html %] ) + ")").click();
315
                    heightStyle: "content",
316
                    header: ".panel_header",
317
                [%- IF panel -%]
318
                    [%# we were asked to show a specific panel, usually on update %]
319
                    active: [%- panel | html -%]
320
                [%- ELSE -%]
321
                    active: false
322
                [%- END -%]
455
            });
323
            });
456
        </script>
324
        });
457
    [%- END -%]
325
    </script>
458
[% END %]
326
[% END %]
459
[% INCLUDE 'intranet-bottom.inc' %]
327
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/credit_types.tt (-3 / +3 lines)
Lines 87-95 Link Here
87
87
88
                [% IF op == 'add_form' %]
88
                [% IF op == 'add_form' %]
89
                    [% IF credit_type %]
89
                    [% IF credit_type %]
90
                        <h1>Modify a credit type</h1>
90
                        <h2>Modify a credit type</h2>
91
                    [% ELSE %]
91
                    [% ELSE %]
92
                        <h1>New credit type</h1>
92
                        <h2>New credit type</h2>
93
                    [% END %]
93
                    [% END %]
94
94
95
                    <form action="/cgi-bin/koha/admin/credit_types.pl" name="Aform" method="post" class="validated">
95
                    <form action="/cgi-bin/koha/admin/credit_types.pl" name="Aform" method="post" class="validated">
Lines 166-172 Link Here
166
                        <a class="pat" id="newcredittype" href="/cgi-bin/koha/admin/credit_types.pl?op=add_form"><i class="fa fa-plus"></i> New credit type</a>
166
                        <a class="pat" id="newcredittype" href="/cgi-bin/koha/admin/credit_types.pl?op=add_form"><i class="fa fa-plus"></i> New credit type</a>
167
                    </div></div>
167
                    </div></div>
168
168
169
                    <h1>Account credit types</h1>
169
                    <h2>Account credit types</h2>
170
                    [% IF credit_types.count %]
170
                    [% IF credit_types.count %]
171
                    <div id="searchresults">
171
                    <div id="searchresults">
172
                        <table id="table_credit_types">
172
                        <table id="table_credit_types">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt (-2 / +2 lines)
Lines 169-175 Link Here
169
[% IF op =='delete_confirm' %]
169
[% IF op =='delete_confirm' %]
170
    [% IF nb_of_orders or nb_of_vendors %]
170
    [% IF nb_of_orders or nb_of_vendors %]
171
    <div class="dialog alert">
171
    <div class="dialog alert">
172
        <h1>Cannot delete currency [% currency.currency | $HtmlTags tag='span' attributes=>'class="ex"' %]</h1>
172
        <h2>Cannot delete currency [% currency.currency | $HtmlTags tag='span' attributes=>'class="ex"' %]</h2>
173
        <p>
173
        <p>
174
            [% IF nb_of_orders %]
174
            [% IF nb_of_orders %]
175
                <span>This currency is used by [% nb_of_orders | html %] orders.</span>
175
                <span>This currency is used by [% nb_of_orders | html %] orders.</span>
Lines 209-215 Link Here
209
209
210
[% IF op == 'list' %]
210
[% IF op == 'list' %]
211
211
212
<h1>Currencies and exchange rates</h1>
212
<h2>Currencies and exchange rates</h2>
213
213
214
    [% IF currencies and no_active_currency %]
214
    [% IF currencies and no_active_currency %]
215
        <div class="dialog alert"><h3>No active currency is defined</h3><p>Please edit one currency and mark it as active.</p></div>
215
        <div class="dialog alert"><h3>No active currency is defined</h3><p>Please edit one currency and mark it as active.</p></div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt (-4 / +4 lines)
Lines 85-93 Link Here
85
85
86
                [% IF op == 'add_form' %]
86
                [% IF op == 'add_form' %]
87
                    [% IF debit_type %]
87
                    [% IF debit_type %]
88
                        <h1>Modify a debit type</h1>
88
                        <h2>Modify a debit type</h2>
89
                    [% ELSE %]
89
                    [% ELSE %]
90
                        <h1>New debit type</h1>
90
                        <h2>New debit type</h2>
91
                    [% END %]
91
                    [% END %]
92
92
93
                    <form action="/cgi-bin/koha/admin/debit_types.pl" name="Aform" method="post" class="validated">
93
                    <form action="/cgi-bin/koha/admin/debit_types.pl" name="Aform" method="post" class="validated">
Lines 157-163 Link Here
157
                        <a class="pat" id="newdebittype" href="/cgi-bin/koha/admin/debit_types.pl?op=add_form"><i class="fa fa-plus"></i> New debit type</a>
157
                        <a class="pat" id="newdebittype" href="/cgi-bin/koha/admin/debit_types.pl?op=add_form"><i class="fa fa-plus"></i> New debit type</a>
158
                    </div></div>
158
                    </div></div>
159
159
160
                    <h1>Account debit types</h1>
160
                    <h2>Account debit types</h2>
161
                    [% IF debit_types.count %]
161
                    [% IF debit_types.count %]
162
                    <div id="searchresults">
162
                    <div id="searchresults">
163
                        <table id="table_debit_types">
163
                        <table id="table_debit_types">
Lines 222-228 Link Here
222
                    </div>
222
                    </div>
223
                    [% ELSE %]
223
                    [% ELSE %]
224
                        <div class="dialog message">
224
                        <div class="dialog message">
225
                            There are no account debit types defined. <a href="/cgi-bin/koha/admin/debit_types.pl?op=add_form">Create new debit type</a>
225
                            There are no account debit types defined. <a href="/cgi-bin/koha/admin/debit_types.pl?op=add_form" id="lientype">Create new debit type</a>
226
                        </div>
226
                        </div>
227
                    [% END %]
227
                    [% END %]
228
                [% END %]
228
                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt (-4 / +4 lines)
Lines 265-280 EDI accounts &rsaquo; Administration &rsaquo; Koha Link Here
265
  </ol>
265
  </ol>
266
  <fieldset class="action">
266
  <fieldset class="action">
267
    <input type="submit" class="principal" value="Submit" />
267
    <input type="submit" class="principal" value="Submit" />
268
    <a href="/
268
    <a href="/cgi-bin/koha/admin/edi_accounts.pl" class="cancel">Cancel</a>
269
  </fieldset>
269
  </fieldset>
270
cgi-bin/koha/admin/edi_accounts.pl" class="cancel">Cancel</a>
270
271
  </fieldset>
271
  </fieldset>
272
</form>
272
</form>
273
273
274
[% END %]
274
[% END %]
275
[% IF delete_confirm %]
275
[% IF delete_confirm %]
276
<div class="dialog alert">
276
<div class="dialog alert">
277
<h1>Delete this account?</h1>
277
<h2>Delete this account?</h2>
278
<table>
278
<table>
279
    <tr>
279
    <tr>
280
    <th>Vendor</th>
280
    <th>Vendor</th>
Lines 303-309 cgi-bin/koha/admin/edi_accounts.pl" class="cancel">Cancel</a> Link Here
303
[% END %]
303
[% END %]
304
[% IF display %]
304
[% IF display %]
305
[% IF ( ediaccounts ) %]
305
[% IF ( ediaccounts ) %]
306
<h1>Vendor EDI accounts</h1>
306
<h2>Vendor EDI accounts</h2>
307
307
308
<div id="searchresults">
308
<div id="searchresults">
309
309
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_ean_accounts.tt (-2 / +1 lines)
Lines 148-154 Library EANs &rsaquo; Administration &rsaquo; Koha Link Here
148
148
149
[% IF delete_confirm %]
149
[% IF delete_confirm %]
150
<div class="dialog alert">
150
<div class="dialog alert">
151
<h1>Delete EAN [% ean.ean | html %] for [% ean.branch.branchname | html %]?</h1>
151
<h2>Delete EAN [% ean.ean | html %] for [% ean.branch.branchname | html %]?</h2>
152
<form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" method="post">
152
<form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" method="post">
153
    <input type="hidden" name="op" value="delete_confirmed" />
153
    <input type="hidden" name="op" value="delete_confirmed" />
154
    <input type="hidden" name="id" value="[% ean.id | html %]" />
154
    <input type="hidden" name="id" value="[% ean.id | html %]" />
Lines 161-167 Library EANs &rsaquo; Administration &rsaquo; Koha Link Here
161
[% END %]
161
[% END %]
162
162
163
[% IF display %]
163
[% IF display %]
164
    <h1>Library EANs</h1>
165
[% IF ( eans ) %]
164
[% IF ( eans ) %]
166
    <h2>Library EANs</h2>
165
    <h2>Library EANs</h2>
167
    <div id="searchresults">
166
    <div id="searchresults">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/items_search_fields.tt (-6 / +3 lines)
Lines 75-81 Link Here
75
          [% END %]
75
          [% END %]
76
          [% IF fields.size %]
76
          [% IF fields.size %]
77
              <div id="search_fields_list">
77
              <div id="search_fields_list">
78
                  <h1>Item search fields</h1>
78
                  <h2>Item search fields</h2>
79
79
80
                  <div id="searchresults">
80
                  <div id="searchresults">
81
81
Lines 108-114 Link Here
108
                  </table>
108
                  </table>
109
              </div></div>
109
              </div></div>
110
          [% ELSE %]
110
          [% ELSE %]
111
                <h1>Item search fields</h1>
111
                <h2>Item search fields</h2>
112
              <div class="dialog message">
112
              <div class="dialog message">
113
                  There are no item search fields defined.
113
                  There are no item search fields defined.
114
              </div>
114
              </div>
Lines 116-130 Link Here
116
116
117
          <form id="add_field_form" action="/cgi-bin/koha/admin/items_search_fields.pl" method="POST">
117
          <form id="add_field_form" action="/cgi-bin/koha/admin/items_search_fields.pl" method="POST">
118
            <fieldset class="rows">
118
            <fieldset class="rows">
119
                <legend><h1>Add a new field</h1></legend>
120
              <h3>Add a new field</h3>
119
              <h3>Add a new field</h3>
121
              [% INCLUDE 'admin-items-search-field-form.inc' field=undef %]
120
              [% INCLUDE 'admin-items-search-field-form.inc' field=undef %]
122
              <input type="hidden" name="op" value="add" />
121
              <input type="hidden" name="op" value="add" />
123
            <fieldset class="action">
122
            <fieldset class="action">
124
              <input type="submit" value="Submit" />
125
              <a href="#" class="cancel hide_form">Cancel</a>
126
              <input type="submit" class="principal" value="Submit" />
123
              <input type="submit" class="principal" value="Submit" />
127
              <a href="#" class="cancel">Cancel</a>
124
              <a href="#" class="cancel hide_form">Cancel</a>
128
            </fieldset>
125
            </fieldset>
129
            </fieldset>
126
            </fieldset>
130
          </form>
127
          </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/library_groups.tt (-14 / +14 lines)
Lines 74-86 Link Here
74
74
75
                    <div id="toolbar" class="btn-toolbar">
75
                    <div id="toolbar" class="btn-toolbar">
76
                        <div class="btn-group">
76
                        <div class="btn-group">
77
                            <a id="add-group-root" class="btn btn-default add-group" href="#">
77
                            <a id="add-group-root" class="btn btn-default add-group pat" href="#">
78
                                <i class="fa fa-plus"></i> Add group
78
                                <i class="fa fa-plus"></i> Add group
79
                            </a>
79
                            </a>
80
                        </div>
80
                        </div>
81
                    </div>
81
                    </div>
82
82
83
                <h1>Library groups</h1>
83
                <h2>Library groups</h2>
84
84
85
                [% FOREACH root_group IN root_groups %]
85
                [% FOREACH root_group IN root_groups %]
86
                    <table class="library-groups">
86
                    <table class="library-groups">
Lines 112-118 Link Here
112
                        <h3 id="add-group-modal-label">Add group</h3>
112
                        <h3 id="add-group-modal-label">Add group</h3>
113
                    </div>
113
                    </div>
114
                    <div class="modal-body">
114
                    <div class="modal-body">
115
                        <fieldset class="rows">
115
                        <fieldset>
116
                            <input type="hidden" id="add-group-modal-parent-id" name="parent_id" value="" />
116
                            <input type="hidden" id="add-group-modal-parent-id" name="parent_id" value="" />
117
                            <input type="hidden" id="add-group-modal-action" name="action" value="add">
117
                            <input type="hidden" id="add-group-modal-action" name="action" value="add">
118
                            <ol>
118
                            <ol>
Lines 159-165 Link Here
159
                        </div>
159
                        </div>
160
                    </div>
160
                    </div>
161
                    <div class="modal-footer">
161
                    <div class="modal-footer">
162
                        <button type="submit" class="btn btn-default">Save</button>
162
                        <button type="submit" class="btn btn-default principal">Save</button>
163
                        <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a>
163
                        <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a>
164
                    </div>
164
                    </div>
165
                </div>
165
                </div>
Lines 177-183 Link Here
177
                    <div class="modal-body">
177
                    <div class="modal-body">
178
                        <input type="hidden" id="edit-group-modal-id" name="id" value="" />
178
                        <input type="hidden" id="edit-group-modal-id" name="id" value="" />
179
                        <input type="hidden" id="edit-group-modal-action" name="action" value="edit" />
179
                        <input type="hidden" id="edit-group-modal-action" name="action" value="edit" />
180
                        <fieldset class="rows">
180
                        <fieldset>
181
                            <ol>
181
                            <ol>
182
                                <li>
182
                                <li>
183
                                    <label for="edit-group-modal-title">Title: </label>
183
                                    <label for="edit-group-modal-title">Title: </label>
Lines 223-229 Link Here
223
                        </div>
223
                        </div>
224
                    </div>
224
                    </div>
225
                    <div class="modal-footer">
225
                    <div class="modal-footer">
226
                        <button type="submit" class="btn btn-default">Update</button>
226
                        <button type="submit" class="btn btn-default principal">Update</button>
227
                        <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a>
227
                        <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a>
228
                    </div>
228
                    </div>
229
                </div>
229
                </div>
Lines 244-250 Link Here
244
                        Are you sure you want to delete <span id="delete-group-modal-title" class="name"></span>?
244
                        Are you sure you want to delete <span id="delete-group-modal-title" class="name"></span>?
245
                    </div>
245
                    </div>
246
                    <div class="modal-footer">
246
                    <div class="modal-footer">
247
                        <button type="submit" class="btn btn-danger"><i class="fa fa-trash"></i> Delete</button>
247
                        <button type="submit" class="btn btn-danger principal"><i class="fa fa-trash"></i> Delete</button>
248
                        <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Cancel</button>
248
                        <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Cancel</button>
249
                    </div>
249
                    </div>
250
                </div>
250
                </div>
Lines 265-271 Link Here
265
                        Are you sure you want to remove <span id="remove-library-modal-library" class="name"></span> from <span id="remove-library-modal-group" class="name"></span>?
265
                        Are you sure you want to remove <span id="remove-library-modal-library" class="name"></span> from <span id="remove-library-modal-group" class="name"></span>?
266
                    </div>
266
                    </div>
267
                    <div class="modal-footer">
267
                    <div class="modal-footer">
268
                        <button type="submit" class="btn btn-danger"><i class="fa fa-trash"></i> Remove</button>
268
                        <button type="submit" class="btn btn-danger principal"><i class="fa fa-trash"></i> Remove</button>
269
                        <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Cancel</button>
269
                        <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Cancel</button>
270
                    </div>
270
                    </div>
271
                </div>
271
                </div>
Lines 420-444 Link Here
420
        </td>
420
        </td>
421
        <td>
421
        <td>
422
            [% IF group.branchcode %]
422
            [% IF group.branchcode %]
423
                <button class="btn btn-default btn-xs remove-library" data-group-id="[% group.id | html %]" data-group-library="[% group.library.branchname | html %]" data-group-parent-title="[% group.parent.title | html %]" ><i class="fa fa-trash"></i> Remove from group</button>
423
                <button id="lientype" class="btn btn-default btn-xs remove-library" data-group-id="[% group.id | html %]" data-group-library="[% group.library.branchname | html %]" data-group-parent-title="[% group.parent.title | html %]" ><i class="fa fa-trash"></i> Remove from group</button>
424
            [% ELSE %]
424
            [% ELSE %]
425
                <div class="btn-group">
425
                <div class="btn-group">
426
                    <button class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown"><i class="fa fa-wrench"></i> Actions <span class="caret"></span></button>
426
                    <button id="lientype" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown"><i class="fa fa-wrench"></i> Actions <span class="caret"></span></button>
427
                    <ul class="dropdown-menu">
427
                    <ul class="dropdown-menu">
428
                        <li>
428
                        <li>
429
                            <a id="add-group-[% group.id | html %]" href="#" class="add-group" data-group-id="[% group.id | html %]">
429
                            <a id="add-group-[% group.id | html %]" href="#" class="add-group lientype" data-group-id="[% group.id | html %]">
430
                                <i class="fa fa-plus"></i> Add sub-group
430
                                <i class="fa fa-plus"></i> Add sub-group
431
                            </a>
431
                            </a>
432
                       </li>
432
                       </li>
433
433
434
                        <li>
434
                        <li>
435
                            <a class="edit-group" id="edit-group-[% group.id | html %]" href="#" data-group-id="[% group.id | html %]" data-group-parent-id="[% group.parent_id | html %]" data-group-title="[% group.title | html %]" data-group-description="[% group.description | html %]" data-group-ft_hide_patron_info="[% group.ft_hide_patron_info | html %]" data-group-ft_search_groups_opac="[% group.ft_search_groups_opac | html %]" data-group-ft_search_groups_staff="[% group.ft_search_groups_staff | html %]" data-group-ft_local_hold_group="[% group.ft_local_hold_group | html %]" >
435
                            <a class="edit-group lientype" id="edit-group-[% group.id | html %]" href="#" data-group-id="[% group.id | html %]" data-group-parent-id="[% group.parent_id | html %]" data-group-title="[% group.title | html %]" data-group-description="[% group.description | html %]" data-group-ft_hide_patron_info="[% group.ft_hide_patron_info | html %]" data-group-ft_search_groups_opac="[% group.ft_search_groups_opac | html %]" data-group-ft_search_groups_staff="[% group.ft_search_groups_staff | html %]" data-group-ft_local_hold_group="[% group.ft_local_hold_group | html %]" >
436
                                <i class="fa fa-pencil"></i> Edit
436
                                <i class="fa fa-pencil"></i> Edit
437
                            </a>
437
                            </a>
438
                       </li>
438
                       </li>
439
439
440
                        <li>
440
                        <li>
441
                            <a class="delete-group" id="delete-group-[% group.id | html %]" href="#" data-group-id="[% group.id | html %]" data-group-title="[% group.title | html %]">
441
                            <a class="delete-group lientype" id="delete-group-[% group.id | html %]" href="#" data-group-id="[% group.id | html %]" data-group-title="[% group.title | html %]">
442
                                <i class="fa fa-trash"></i> Delete
442
                                <i class="fa fa-trash"></i> Delete
443
                            </a>
443
                            </a>
444
                       </li>
444
                       </li>
Lines 446-452 Link Here
446
                </div>
446
                </div>
447
447
448
                <div class="btn-group">
448
                <div class="btn-group">
449
                    <button class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> Add library <span class="caret"></span></button>
449
                    <button class="btn btn-default btn-xs dropdown-toggle" id="lientype" data-toggle="dropdown"><i class="fa fa-plus"></i> Add library <span class="caret"></span></button>
450
                    <ul class="dropdown-menu">
450
                    <ul class="dropdown-menu">
451
                        [% FOREACH library IN group.libraries_not_direct_children %]
451
                        [% FOREACH library IN group.libraries_not_direct_children %]
452
                            <li>
452
                            <li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc-overlay-rules.tt (-7 / +8 lines)
Lines 46-52 Link Here
46
        <div class="row">
46
        <div class="row">
47
            <div class="col-sm-10 col-sm-push-2">
47
            <div class="col-sm-10 col-sm-push-2">
48
48
49
                <h1>Manage MARC overlay rules</h1>
49
                <h2>Manage MARC overlay rules</h2>
50
50
51
                [% FOR m IN messages %]
51
                [% FOR m IN messages %]
52
                <div class="dialog [% m.type | html %]">
52
                <div class="dialog [% m.type | html %]">
Lines 62-68 Link Here
62
                [% END %]
62
                [% END %]
63
63
64
                [% UNLESS Koha.Preference( 'MARCOverlayRules' ) %]
64
                [% UNLESS Koha.Preference( 'MARCOverlayRules' ) %]
65
                [% SET pref_MARCOverlayRules_link = '<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=MARCOverlayRules">MARCOverlayRules</a>' %]
65
                [% SET pref_MARCOverlayRules_link = '<a id="lientype" href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=MARCOverlayRules">MARCOverlayRules</a>' %]
66
                <div class="dialog message">
66
                <div class="dialog message">
67
                    The [%  pref_MARCOverlayRules_link | $raw | $KohaSpan %] preference is not set, don't forget to enable it for rules to take effect.
67
                    The [%  pref_MARCOverlayRules_link | $raw | $KohaSpan %] preference is not set, don't forget to enable it for rules to take effect.
68
                </div>
68
                </div>
Lines 78-84 Link Here
78
                    <button type="button" class="approve" id="doremove"><i class="fa fa-fw fa-check"></i> Yes, remove</button>
78
                    <button type="button" class="approve" id="doremove"><i class="fa fa-fw fa-check"></i> Yes, remove</button>
79
                </div>
79
                </div>
80
                [% END %]
80
                [% END %]
81
81
                <fieldset id="searchresults">
82
                <form action="/cgi-bin/koha/admin/marc-overlay-rules.pl" method="POST" id="marc-overlay-rules-form">
82
                <form action="/cgi-bin/koha/admin/marc-overlay-rules.pl" method="POST" id="marc-overlay-rules-form">
83
                    <table id="marc-overlay-rules">
83
                    <table id="marc-overlay-rules">
84
                        <thead><tr>
84
                        <thead><tr>
Lines 142-148 Link Here
142
                                    </select>
142
                                    </select>
143
                                </th>
143
                                </th>
144
                                <th><button class="btn btn-default btn-xs" title="Add" id="add"><i class="fa fa-plus"></i> Add rule</button></th>
144
                                <th><button class="btn btn-default btn-xs" title="Add" id="add"><i class="fa fa-plus"></i> Add rule</button></th>
145
                                <th><button id="btn_batchremove" disabled="disabled" class="btn btn-default btn-xs" title="Batch remove"><i class="fa fa-trash"></i> Delete selected</button></th>
145
                                <th><button id="btn_batchremove" disabled="disabled" class=" btn btn-default btn-xs " title="Batch remove"><i class="fa fa-trash"></i> Delete selected</button></th>
146
                            </tr>
146
                            </tr>
147
                        </tfoot>
147
                        </tfoot>
148
                        [% END %]
148
                        [% END %]
Lines 228-234 Link Here
228
                                    </td>
228
                                    </td>
229
                                    <td class="actions">
229
                                    <td class="actions">
230
                                        <button class="btn btn-default btn-xs" title="Save" id="doedit" value="[% rule.id | html %]"><i class="fa fa-check"></i> Save</button>
230
                                        <button class="btn btn-default btn-xs" title="Save" id="doedit" value="[% rule.id | html %]"><i class="fa fa-check"></i> Save</button>
231
                                        <button type="submit" class="btn btn-default btn-xs" title="Cancel" ><i class="fa fa-times"></i> Cancel</button>
231
                                        <button type="submit" class="btn btn-default btn-xs" id="lientype" title="Cancel" ><i class="fa fa-times"></i> Cancel</button>
232
                                    </td>
232
                                    </td>
233
                                    <td></td>
233
                                    <td></td>
234
                                [% ELSE %]
234
                                [% ELSE %]
Lines 242-249 Link Here
242
                                    <td class="rule-operation-action" data-operation="remove">[% IF rule.remove %]Remove[% ELSE %]Skip[% END %]</td>
242
                                    <td class="rule-operation-action" data-operation="remove">[% IF rule.remove %]Remove[% ELSE %]Skip[% END %]</td>
243
                                    <td class="rule-operation-action" data-operation="delete">[% IF rule.delete %]Delete[% ELSE %]Skip[% END %]</td>
243
                                    <td class="rule-operation-action" data-operation="delete">[% IF rule.delete %]Delete[% ELSE %]Skip[% END %]</td>
244
                                    <td class="actions">
244
                                    <td class="actions">
245
                                        <a href="?op=remove&id=[% rule.id | uri %]" title="Delete" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
245
                                        <a id="lientype" href="?op=remove&id=[% rule.id | uri %]" title="Delete" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
246
                                        <a href="?op=edit&id=[% rule.id | uri %]" title="Edit" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
246
                                        <a id="lientype" href="?op=edit&id=[% rule.id | uri %]" title="Edit" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
247
                                    </td>
247
                                    </td>
248
                                    <td>
248
                                    <td>
249
                                        [% IF rule.removemarked %]
249
                                        [% IF rule.removemarked %]
Lines 258-263 Link Here
258
                        </tbody>
258
                        </tbody>
259
                    </table>
259
                    </table>
260
                </form>
260
                </form>
261
                </fieldset>
261
262
262
                <form action="/cgi-bin/koha/admin/marc-overlay-rules.pl" method="post">
263
                <form action="/cgi-bin/koha/admin/marc-overlay-rules.pl" method="post">
263
                    <input type="hidden" name="op" value="redo-matching" />
264
                    <input type="hidden" name="op" value="redo-matching" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt (-16 / +18 lines)
Lines 119-131 Link Here
119
                <main>
119
                <main>
120
120
121
                    [% IF ( add_form ) %]
121
                    [% IF ( add_form ) %]
122
                        <h1>
122
                        <h2>
123
                            [% IF ( use_heading_flags_p ) %]
123
                            [% IF ( use_heading_flags_p ) %]
124
                                [% IF ( heading_edit_subfields_p ) %]Tag [% tagfield | html %] Subfield constraints[% END %]
124
                                [% IF ( heading_edit_subfields_p ) %]Tag [% tagfield | html %] Subfield constraints[% END %]
125
                            [% ELSE %]
125
                            [% ELSE %]
126
                                [% action | html %]
126
                                [% action | html %]
127
                            [% END %]
127
                            [% END %]
128
                        </h1>
128
                        </h2>
129
129
130
                        <form action="[% script_name | html %]" name="Aform" method="post">
130
                        <form action="[% script_name | html %]" name="Aform" method="post">
131
                            <input type="hidden" name="op" value="add_validate" />
131
                            <input type="hidden" name="op" value="add_validate" />
Lines 144-149 Link Here
144
                            [% END %][% END %]
144
                            [% END %][% END %]
145
145
146
                            <div id="subfieldtabs" class="toptabs numbered">
146
                            <div id="subfieldtabs" class="toptabs numbered">
147
                            <fieldset id="searchresults">
147
                                 <ul class="nav nav-tabs" role="tablist">
148
                                 <ul class="nav nav-tabs" role="tablist">
148
                                    [% FOREACH loo IN loop %]
149
                                    [% FOREACH loo IN loop %]
149
                                        <li id="tab_subfield_[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]" class="tab-item" role="presentation">
150
                                        <li id="tab_subfield_[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]" class="tab-item" role="presentation">
Lines 163-170 Link Here
163
                                    [% FOREACH loo IN loop %]
164
                                    [% FOREACH loo IN loop %]
164
                                        <div class="constraints tab-pane" role="tabpanel" id="sub[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]field">
165
                                        <div class="constraints tab-pane" role="tabpanel" id="sub[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]field">
165
                                            <div id="basic[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]" class="contraints">
166
                                            <div id="basic[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]" class="contraints">
166
                                                <fieldset class="rows">
167
                                                <fieldset>
167
                                                    <legend>Basic constraints</legend>
168
                                                    <h3>Basic constraints</h3>
168
                                                    <ol>
169
                                                    <ol>
169
                                                        [% IF ( subfieldcode == 0 || subfieldcode ) %]
170
                                                        [% IF ( subfieldcode == 0 || subfieldcode ) %]
170
                                                            <li>
171
                                                            <li>
Lines 236-243 Link Here
236
                                            </div> <!-- /#basic[%- PROCESS outputsubfield subfieldanchor = subfieldcode -%] -->
237
                                            </div> <!-- /#basic[%- PROCESS outputsubfield subfieldanchor = subfieldcode -%] -->
237
238
238
                                            <div id="advanced[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]" class="contraints">
239
                                            <div id="advanced[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]" class="contraints">
239
                                                <fieldset class="rows">
240
                                                <fieldset>
240
                                                    <legend>Advanced constraints</legend>
241
                                                    <h3>Advanced constraints</h3>
241
                                                    <ol>
242
                                                    <ol>
242
                                                        <li>
243
                                                        <li>
243
                                                            <label for="defaultvalue[% loo.row | html %]">Default value:</label>
244
                                                            <label for="defaultvalue[% loo.row | html %]">Default value:</label>
Lines 299-306 Link Here
299
                                            </div> <!-- /#advanced[%- PROCESS outputsubfield subfieldanchor = subfieldcode -%] -->
300
                                            </div> <!-- /#advanced[%- PROCESS outputsubfield subfieldanchor = subfieldcode -%] -->
300
301
301
                                            <div id="oth[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]" class="constraints">
302
                                            <div id="oth[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]" class="constraints">
302
                                                <fieldset class="rows">
303
                                                <fieldset>
303
                                                    <legend>Other options (choose one)</legend>
304
                                                    <h3>Other options (choose one)</h3>
304
                                                    <ol>
305
                                                    <ol>
305
                                                        <li>
306
                                                        <li>
306
                                                            <label for="authorised_value[% loo.row | html %]">Authorized value:</label>
307
                                                            <label for="authorised_value[% loo.row | html %]">Authorized value:</label>
Lines 345-361 Link Here
345
                                        </div><!-- /constraints -->
346
                                        </div><!-- /constraints -->
346
                                    [% END # /FOREACH loo %]
347
                                    [% END # /FOREACH loo %]
347
                                </div> <!-- /.tab-content -->
348
                                </div> <!-- /.tab-content -->
348
                            </div><!-- /subfieldtabs -->
349
349
350
                            <fieldset class="action">
350
                                <input type="submit" class="principal" value="Save changes" /> <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield  | uri %]&amp;frameworkcode=[% frameworkcode | uri %]" class="cancel">Cancel</a>
351
                                <input type="submit" value="Save changes" /> <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield  | uri %]&amp;frameworkcode=[% frameworkcode | uri %]" class="cancel">Cancel</a>
352
                            </fieldset>
351
                            </fieldset>
352
                            </div><!-- /subfieldtabs -->
353
                        </form>
353
                        </form>
354
                    [% END # /IF ( add_form ) %]
354
                    [% END # /IF ( add_form ) %]
355
355
356
                    [% IF ( delete_confirm ) %]
356
                    [% IF ( delete_confirm ) %]
357
                        <div class="dialog alert">
357
                        <div class="dialog alert">
358
                            <h1>Confirm deletion of subfield [% mss.tagsubfield | html %]?</h1>
358
                            <h3>Confirm deletion of subfield [% mss.tagsubfield | html %]?</h3>
359
                            <p>Subfield: [% mss.tagsubfield | html %]</p>
359
                            <p>Subfield: [% mss.tagsubfield | html %]</p>
360
                            <p>Description: [% mss.liblibrarian | html_entity %]</p>
360
                            <p>Description: [% mss.liblibrarian | html_entity %]</p>
361
361
Lines 377-387 Link Here
377
                    [% END # /IF ( delete_confirm ) %]
377
                    [% END # /IF ( delete_confirm ) %]
378
378
379
                    [% IF ( else ) %]
379
                    [% IF ( else ) %]
380
                        <h1>MARC subfield structure admin for [% tagfield | html %] [% IF ( frameworkcode ) %](framework [% frameworkcode | html %])[% ELSE %](default framework)[% END %]</h1>
380
                        <h2>MARC subfield structure admin for [% tagfield | html %] [% IF ( frameworkcode ) %](framework [% frameworkcode | html %])[% ELSE %](default framework)[% END %]</h2>
381
381
382
                        <p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit.</p>
382
                        <p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit.</p>
383
                        <p>The column 'Koha field' shows that the subfield is linked with a Koha field.</p>
383
                        <p>The column 'Koha field' shows that the subfield is linked with a Koha field.</p>
384
384
385
                        <div id="searchresults">
385
                        <table id="table_marcsubfieldstructure">
386
                        <table id="table_marcsubfieldstructure">
386
                            <thead>
387
                            <thead>
387
                                <tr>
388
                                <tr>
Lines 421-428 Link Here
421
                                            [% END %]
422
                                            [% END %]
422
                                        </td>
423
                                        </td>
423
                                        <td class="actions">
424
                                        <td class="actions">
424
                                            <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&amp;tagfield=[% loo.tagfield | uri %]&tagsubfield=[% loo.tagsubfield | uri %]&amp;frameworkcode=[% frameworkcode | uri %]#sub[% loo.tagsubfield | uri %]field" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
425
                                            <a id="lientype" href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&amp;tagfield=[% loo.tagfield | uri %]&tagsubfield=[% loo.tagsubfield | uri %]&amp;frameworkcode=[% frameworkcode | uri %]#sub[% loo.tagsubfield | uri %]field" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
425
                                            <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=delete_confirm&amp;tagfield=[% loo.tagfield | uri %]&amp;tagsubfield=[% loo.tagsubfield | uri %]&amp;frameworkcode=[% frameworkcode | uri %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
426
                                            <a id="lientype" href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=delete_confirm&amp;tagfield=[% loo.tagfield | uri %]&amp;tagsubfield=[% loo.tagsubfield | uri %]&amp;frameworkcode=[% frameworkcode | uri %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
426
                                        </td>
427
                                        </td>
427
                                    </tr>
428
                                    </tr>
428
                                [% END %]
429
                                [% END %]
Lines 433-442 Link Here
433
                            <fieldset class="action"><input type="hidden" name="op" value="add_form" />
434
                            <fieldset class="action"><input type="hidden" name="op" value="add_form" />
434
                                <input type="hidden" name="tagfield" value="[% edit_tagfield | html %]" />
435
                                <input type="hidden" name="tagfield" value="[% edit_tagfield | html %]" />
435
                                <input type="hidden" name="frameworkcode" value="[% edit_frameworkcode | html %]" />
436
                                <input type="hidden" name="frameworkcode" value="[% edit_frameworkcode | html %]" />
436
                                <input type="submit" value="Edit subfields" />
437
                                <input type="submit" class="principal" value="Edit subfields" />
437
                                <a class="cancel" href="marctagstructure.pl?searchfield=[% tagfield | uri %]&amp;frameworkcode=[% frameworkcode | html %]">Cancel</a>
438
                                <a class="cancel" href="marctagstructure.pl?searchfield=[% tagfield | uri %]&amp;frameworkcode=[% frameworkcode | html %]">Cancel</a>
438
                            </fieldset>
439
                            </fieldset>
439
                        </form>
440
                        </form>
441
                        </div>
440
442
441
                    [% END # /IF else %]
443
                    [% END # /IF else %]
442
444
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt (-4 / +5 lines)
Lines 128-140 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
128
    <form action="[% script_name | html %]" name="Aform" method="post" class="validated">
128
    <form action="[% script_name | html %]" name="Aform" method="post" class="validated">
129
129
130
      <fieldset class="rows">
130
      <fieldset class="rows">
131
            <legend>
131
            <h3>
132
                [% IF heading_add_tag_p %]
132
                [% IF heading_add_tag_p %]
133
                    Add tag
133
                    Add tag
134
                [% ELSE %]
134
                [% ELSE %]
135
                    Modify tag <input type="hidden" name="modif" value="1" />[% searchfield | html %]
135
                    Modify tag <input type="hidden" name="modif" value="1" />[% searchfield | html %]
136
                [% END %]
136
                [% END %]
137
            </legend>
137
            </h3>
138
            <input type="hidden" name="op" value="add_validate" />
138
            <input type="hidden" name="op" value="add_validate" />
139
            <input type="hidden" name="frameworkcode" value="[% framework.frameworkcode | html %]" />
139
            <input type="hidden" name="frameworkcode" value="[% framework.frameworkcode | html %]" />
140
        <ol>
140
        <ol>
Lines 184-191 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
184
            [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => authorised_value ) %]
184
            [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => authorised_value ) %]
185
        </select>
185
        </select>
186
        (if you select a value here, the indicators will be limited to the authorized value list)</li>
186
        (if you select a value here, the indicators will be limited to the authorized value list)</li>
187
</ol></fieldset> 
187
</ol>
188
    <fieldset class="action">
189
        <input type="submit" value="Save changes" class="principal"/>
188
        <input type="submit" value="Save changes" class="principal"/>
190
        <a class="cancel" href="[% script_name | url %]?frameworkcode=[% framework.frameworkcode | uri %]">Cancel</a>
189
        <a class="cancel" href="[% script_name | url %]?frameworkcode=[% framework.frameworkcode | uri %]">Cancel</a>
191
    </fieldset>
190
    </fieldset>
Lines 261-266 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
261
</fieldset>
260
</fieldset>
262
</form>
261
</form>
263
262
263
<div id="searchresults">
264
    <table id="table_marctagstructure">
264
    <table id="table_marctagstructure">
265
    <thead>
265
    <thead>
266
        <tr>
266
        <tr>
Lines 312-317 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
312
    [% END %]
312
    [% END %]
313
    </tbody>
313
    </tbody>
314
    </table>
314
    </table>
315
    </div>
315
[% END %]
316
[% END %]
316
317
317
            </main>
318
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt (-14 / +14 lines)
Lines 120-128 Link Here
120
120
121
                [% IF ( matching_rule_form ) %]
121
                [% IF ( matching_rule_form ) %]
122
                    [% IF ( edit_matching_rule ) %]
122
                    [% IF ( edit_matching_rule ) %]
123
                        <h1>Modify record matching rule</h1>
123
                        <h2>Modify record matching rule</h2>
124
                    [% ELSE %]
124
                    [% ELSE %]
125
                        <h1>Add record matching rule</h1>
125
                        <h2>Add record matching rule</h2>
126
                    [% END %]
126
                    [% END %]
127
                    <form action="[% script_name | html %]" name="Aform" method="post">
127
                    <form action="[% script_name | html %]" name="Aform" method="post">
128
                        <input type="hidden" name="op" value="[% confirm_op | html %]" />
128
                        <input type="hidden" name="op" value="[% confirm_op | html %]" />
Lines 170-179 Link Here
170
                                [% ELSE %]
170
                                [% ELSE %]
171
                                    <p id="addMatchPoint">
171
                                    <p id="addMatchPoint">
172
                                [% END %]
172
                                [% END %]
173
                                    <a href="#" class="button" onclick="InsertMatchpoint('mp_1', 'mp_template'); return false;">Add match point</a>
173
                                    <a href="#" class="button" onclick="InsertMatchpoint('mp_1', 'mp_template'); return false;" id="lientype">Add match point</a>
174
                                </p>
174
                                </p>
175
                            [% ELSE %]
175
                            [% ELSE %]
176
                                <p id="addMatchPoint" style="display:none;"><a href="#" class="button" onclick="InsertMatchpoint('mp_1', 'mp_template'); return false;">
176
                                <p id="addMatchPoint" style="display:none;"><a href="#" class="button" onclick="InsertMatchpoint('mp_1', 'mp_template'); return false;" id="lientype">
177
                                    Add match point</a>
177
                                    Add match point</a>
178
                                </p>
178
                                </p>
179
                            [% END %]
179
                            [% END %]
Lines 182-188 Link Here
182
                                [% FOREACH matchpoint IN matchpoints %]
182
                                [% FOREACH matchpoint IN matchpoints %]
183
                                    <div id="mp_[% matchpoint.mp_num | html %]" class="matchgroup">
183
                                    <div id="mp_[% matchpoint.mp_num | html %]" class="matchgroup">
184
                                        <fieldset>
184
                                        <fieldset>
185
                                            <h3>Match point [% matchpoint.mp_num | html %] | <a href="#" class="button" onclick="InsertMatchpoint('mp_[% matchpoint.mp_num | html %]', 'mp_template'); return false;">Add match point</a> | <a href="#" class="button" onclick="DeleteMatchpoint(this); return false;">Remove this match point</a></h3>
185
                                            <h3>Match point [% matchpoint.mp_num | html %] | <a href="#" id="lientype" class="button" onclick="InsertMatchpoint('mp_[% matchpoint.mp_num | html %]', 'mp_template'); return false;">Add match point</a> | <a href="#" id="lientype" class="button" onclick="DeleteMatchpoint(this); return false;">Remove this match point</a></h3>
186
                                            <ol>
186
                                            <ol>
187
                                                <li>
187
                                                <li>
188
                                                    <label for="mp_[% matchpoint.mp_num | html %]_search_index">Search index: </label>
188
                                                    <label for="mp_[% matchpoint.mp_num | html %]_search_index">Search index: </label>
Lines 233-239 Link Here
233
                            [% ELSE # IF ( edit_matching_rule ) %]
233
                            [% ELSE # IF ( edit_matching_rule ) %]
234
                                <div id="mp_1" class="matchgroup">
234
                                <div id="mp_1" class="matchgroup">
235
                                    <fieldset>
235
                                    <fieldset>
236
                                        <h3>Match point 1 | <a href="#" class="button" onclick="InsertMatchpoint('mp_1', 'mp_template'); return false;">Add match point</a> | <a href="#" class="button" onclick="DeleteMatchpoint(this); return false;">Remove this match point</a></h3>
236
                                        <h3>Match point 1 | <a href="#" class="button" onclick="InsertMatchpoint('mp_1', 'mp_template'); return false;" id="lientype">Add match point</a> | <a href="#" id="lientype" class="button" onclick="DeleteMatchpoint(this); return false;">Remove this match point</a></h3>
237
                                        <ol>
237
                                        <ol>
238
                                            <li>
238
                                            <li>
239
                                                <label for="mp_1_search_index">Search index: </label>
239
                                                <label for="mp_1_search_index">Search index: </label>
Lines 283-298 Link Here
283
                                [% ELSE %]
283
                                [% ELSE %]
284
                                    <p id="addMatchCheck">
284
                                    <p id="addMatchCheck">
285
                                [% END %]
285
                                [% END %]
286
                                <a href="#" class="button" onclick="InsertMatchcheck('mc_1', 'mc_template'); return false;">  Add match check</a></p>
286
                                <a id="lientype" href="#" class="button" onclick="InsertMatchcheck('mc_1', 'mc_template'); return false;">  Add match check</a></p>
287
                            [% ELSE %]
287
                            [% ELSE %]
288
                                <p id="addMatchCheck" style="display:none;"><a href="#" class="button" onclick="InsertMatchcheck('mc_1', 'mc_template'); return false;">  Add match check</a></p>
288
                                <p id="addMatchCheck" style="display:none;"><a id="lientype" href="#" class="button" onclick="InsertMatchcheck('mc_1', 'mc_template'); return false;">  Add match check</a></p>
289
                            [% END %]
289
                            [% END %]
290
290
291
                            [% IF ( edit_matching_rule ) %]
291
                            [% IF ( edit_matching_rule ) %]
292
                                [% FOREACH matchcheck IN matchchecks %]
292
                                [% FOREACH matchcheck IN matchchecks %]
293
                                    <div id="mc_[% matchcheck.mc_num | html %]" class="matchgroup">
293
                                    <div id="mc_[% matchcheck.mc_num | html %]" class="matchgroup">
294
                                        <fieldset>
294
                                        <fieldset>
295
                                            <h3>Match check [% matchcheck.mc_num | html %]<a href="#" class="button" onclick="InsertMatchcheck('mc_[% matchcheck.mc_num | html %]', 'mc_template'); return false;">  Add match check</a> | <a href="#" class="button" onclick="DeleteMatchcheck(this); return false;">Remove this match check</a></h3>
295
                                            <h3>Match check [% matchcheck.mc_num | html %]<a id="lientype" href="#" class="button" onclick="InsertMatchcheck('mc_[% matchcheck.mc_num | html %]', 'mc_template'); return false;">  Add match check</a> | <a id="lientype" href="#" class="button" onclick="DeleteMatchcheck(this); return false;">Remove this match check</a></h3>
296
                                            <input type="hidden" id="mc_[% matchcheck.mc_num | html %]_id" name="mc_[% matchcheck.mc_num | html %]_id" value="1" />
296
                                            <input type="hidden" id="mc_[% matchcheck.mc_num | html %]_id" name="mc_[% matchcheck.mc_num | html %]_id" value="1" />
297
                                            [% FOREACH src_component IN matchcheck.src_components %]
297
                                            [% FOREACH src_component IN matchcheck.src_components %]
298
                                                <fieldset id="mc_[% src_component.mc_num | html %]_src_c_[% src_component.comp_num | html %]">
298
                                                <fieldset id="mc_[% src_component.mc_num | html %]_src_c_[% src_component.comp_num | html %]">
Lines 362-368 Link Here
362
                            [% ELSE # IF ( edit_matching_rule ) %]
362
                            [% ELSE # IF ( edit_matching_rule ) %]
363
                                <div id="mc_1" class="matchgroup">
363
                                <div id="mc_1" class="matchgroup">
364
                                    <fieldset>
364
                                    <fieldset>
365
                                        <h3>Match check 1 | <a href="#" class="button" onclick="InsertMatchcheck('mc_1', 'mc_template'); return false;">Add match check</a> | <a href="#" class="button" onclick="DeleteMatchcheck(this); return false;">Remove this match check</a></h3>
365
                                        <h3>Match check 1 | <a id="lientype" href="#" class="button" onclick="InsertMatchcheck('mc_1', 'mc_template'); return false;">Add match check</a> | <a id="lientype" href="#" class="button" onclick="DeleteMatchcheck(this); return false;">Remove this match check</a></h3>
366
                                        <input type="hidden" id="mc_1_id" name="mc_1_id" value="1" />
366
                                        <input type="hidden" id="mc_1_id" name="mc_1_id" value="1" />
367
                                        <fieldset id="mc_1_src_c_1">
367
                                        <fieldset id="mc_1_src_c_1">
368
                                            <h3>Source (incoming) record check field</h3>
368
                                            <h3>Source (incoming) record check field</h3>
Lines 433-439 Link Here
433
433
434
                [% IF ( delete_matching_rule_form ) %]
434
                [% IF ( delete_matching_rule_form ) %]
435
                    <div class="dialog alert">
435
                    <div class="dialog alert">
436
                        <h1>Confirm deletion of record matching rule <span class="ex">'[% code | html %]' ([% description | html %])</span>?</h1>
436
                        <h2>Confirm deletion of record matching rule <span class="ex">'[% code | html %]' ([% description | html %])</span>?</h2>
437
                        <form action="[% script_name | html %]" name="Aform" method="post">
437
                        <form action="[% script_name | html %]" name="Aform" method="post">
438
                            <input type="hidden" name="op" value="[% confirm_op | html %]" />
438
                            <input type="hidden" name="op" value="[% confirm_op | html %]" />
439
                            <input type="hidden" name="matcher_id" value="[% matcher_id | html %]" />
439
                            <input type="hidden" name="matcher_id" value="[% matcher_id | html %]" />
Lines 452-458 Link Here
452
                        <a class="pat" id="newrule" href="[% script_name | url %]?op=add_matching_rule"><i class="fa fa-plus"></i> New record matching rule</a>
452
                        <a class="pat" id="newrule" href="[% script_name | url %]?op=add_matching_rule"><i class="fa fa-plus"></i> New record matching rule</a>
453
                    </div></div>
453
                    </div></div>
454
454
455
                    <h1>Record matching rules</h1>
455
                    <h2>Record matching rules</h2>
456
456
457
                    [% IF ( added_matching_rule ) %]
457
                    [% IF ( added_matching_rule ) %]
458
                        <div class="dialog message">Added record matching rule &quot;[% added_matching_rule | html %]&quot;</div>
458
                        <div class="dialog message">Added record matching rule &quot;[% added_matching_rule | html %]&quot;</div>
Lines 495-501 Link Here
495
                [% IF ( matching_rule_form ) %]
495
                [% IF ( matching_rule_form ) %]
496
                    <div id="mp_template" class="matchgroup" style="display:none;">
496
                    <div id="mp_template" class="matchgroup" style="display:none;">
497
                        <fieldset>
497
                        <fieldset>
498
                            <h3>Match point <span class="counter"></span> | <a href="#" class="button" onclick="DeleteMatchpoint(this); return false;">Remove this match point</a></h3>
498
                            <h3>Match point <span class="counter"></span> | <a id="lientype" href="#" class="button" onclick="DeleteMatchpoint(this); return false;">Remove this match point</a></h3>
499
                            <ol>
499
                            <ol>
500
                                <li>
500
                                <li>
501
                                    <label for="mp_num_search_index">Search index: </label>
501
                                    <label for="mp_num_search_index">Search index: </label>
Lines 537-543 Link Here
537
537
538
                    <div id="mc_template" class="matchgroup" style="display:none">
538
                    <div id="mc_template" class="matchgroup" style="display:none">
539
                        <fieldset>
539
                        <fieldset>
540
                            <h3>Match check <span class="counter"></span> | <a href="#" class="button" onclick="DeleteMatchcheck(this); return false;">Remove this match check</a></h3>
540
                            <h3>Match check <span class="counter"></span> | <a id="lientype" href="#" class="button" onclick="DeleteMatchcheck(this); return false;">Remove this match check</a></h3>
541
                            <input type="hidden" id="mc_num_id" name="mc_num_id" value="1" />
541
                            <input type="hidden" id="mc_num_id" name="mc_num_id" value="1" />
542
                            <fieldset id="mc_num_src_c_1">
542
                            <fieldset id="mc_num_src_c_1">
543
                                <h3>Source (incoming) record check field</h3>
543
                                <h3>Source (incoming) record check field</h3>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt (-6 / +8 lines)
Lines 69-78 Link Here
69
        [% IF ( op_new || op_mod ) %]
69
        [% IF ( op_new || op_mod ) %]
70
            <form method="post" action="/cgi-bin/koha/admin/oai_sets.pl" class="validated">
70
            <form method="post" action="/cgi-bin/koha/admin/oai_sets.pl" class="validated">
71
            [% IF ( op_new ) %]
71
            [% IF ( op_new ) %]
72
                <h1>Add a new OAI set</h1>
72
                <h2>Add a new OAI set</h2>
73
                <input type="hidden" name="op" value="savenew" />
73
                <input type="hidden" name="op" value="savenew" />
74
            [% ELSIF ( op_mod ) %]
74
            [% ELSIF ( op_mod ) %]
75
                <h1>Edit OAI set '[% spec | html %]'</h1>
75
                <h2>Edit OAI set '[% spec | html %]'</h2>
76
                    <input type="hidden" name="op" value="savemod" />
76
                    <input type="hidden" name="op" value="savemod" />
77
                    <input type="hidden" name="id" value="[% id | html %]" />
77
                    <input type="hidden" name="id" value="[% id | html %]" />
78
            [% END %]
78
            [% END %]
Lines 92-101 Link Here
92
                            <li>
92
                            <li>
93
                                <label>setDescription: </label>
93
                                <label>setDescription: </label>
94
                                <textarea style="vertical-align:middle" rows="2" cols="30" name="description">[% desc.description | html %]</textarea>
94
                                <textarea style="vertical-align:middle" rows="2" cols="30" name="description">[% desc.description | html %]</textarea>
95
                                <a class="remove_description" href="#"><i class="fa fa-fw fa-trash"></i> Remove</a>
95
                                <a class="remove_description" href="#" id="lientype"><i class="fa fa-fw fa-trash"></i> Remove</a>
96
                            </li>
96
                            </li>
97
                        [% END %]
97
                        [% END %]
98
                        <li id="adddescription"><span class="label">&nbsp;</span><a href="#" class="add_description"><i class="fa fa-fw fa-plus"></i> Add description</a></li>
98
                        <li id="adddescription"><span class="label">&nbsp;</span><a href="#" class="add_description" id="lientype"><i class="fa fa-fw fa-plus"></i> Add description</a></li>
99
99
100
                    </ol>
100
                    </ol>
101
                <fieldset class="action">
101
                <fieldset class="action">
Lines 110-118 Link Here
110
            <a class="pat" id="newoaiset" href="/cgi-bin/koha/admin/oai_sets.pl?op=new"><i class="fa fa-plus"></i> New set</a>
110
            <a class="pat" id="newoaiset" href="/cgi-bin/koha/admin/oai_sets.pl?op=new"><i class="fa fa-plus"></i> New set</a>
111
        </div></div>
111
        </div></div>
112
112
113
        <h1>OAI sets</h1>
113
        <h2>OAI sets</h2>
114
        [% IF sets_loop %]
114
        [% IF sets_loop %]
115
        <div id="searchresults">
115
        <div id="searchresults">
116
        <div>
116
            <table>
117
            <table>
117
                <thead>
118
                <thead>
118
                    <tr>
119
                    <tr>
Lines 140-146 Link Here
140
                            </td>
141
                            </td>
141
                            <td>
142
                            <td>
142
                              <div class="btn-group dropup">
143
                              <div class="btn-group dropup">
143
                                <a class="btn btn-default btn-xs dropdown-toggle" id="oaisetsactions[% set.id | html %]" role="button" data-toggle="dropdown" href="#">
144
                                <a class="btn btn-default btn-xs dropdown-toggle lientype" id="oaisetsactions[% set.id | html %]" role="button" data-toggle="dropdown" href="#">
144
                                  Actions <b class="caret"></b></a>
145
                                  Actions <b class="caret"></b></a>
145
                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="oaisetsactions[% set.id | html %]">
146
                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="oaisetsactions[% set.id | html %]">
146
                                  <li><a href="/cgi-bin/koha/admin/oai_sets.pl?op=mod&amp;id=[% set.id | uri %]" id="lientype"><i class="fa fa-fw fa-pencil"></i> Edit</a></li>
147
                                  <li><a href="/cgi-bin/koha/admin/oai_sets.pl?op=mod&amp;id=[% set.id | uri %]" id="lientype"><i class="fa fa-fw fa-pencil"></i> Edit</a></li>
Lines 154-159 Link Here
154
                </tbody>
155
                </tbody>
155
            </table>
156
            </table>
156
            </div>
157
            </div>
158
            </div>
157
        [% ELSE %]
159
        [% ELSE %]
158
            <div class="dialog message"><p>There are no sets defined.</p></div>
160
            <div class="dialog message"><p>There are no sets defined.</p></div>
159
        [% END %]
161
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt (-4 / +4 lines)
Lines 87-95 Patron attribute types &rsaquo; Administration &rsaquo; Koha Link Here
87
87
88
[% IF ( attribute_type_form ) %]
88
[% IF ( attribute_type_form ) %]
89
  [% IF ( edit_attribute_type ) %]
89
  [% IF ( edit_attribute_type ) %]
90
<h1>Modify patron attribute type</h1>
90
<h2>Modify patron attribute type</h2>
91
  [% ELSE %]
91
  [% ELSE %]
92
<h1>Add patron attribute type</h1>
92
<h2>Add patron attribute type</h2>
93
  [% END %]
93
  [% END %]
94
[% IF ( duplicate_code_error ) %]
94
[% IF ( duplicate_code_error ) %]
95
<div class="dialog message">Could not add patron attribute type &quot;[% duplicate_code_error | html %]&quot; 
95
<div class="dialog message">Could not add patron attribute type &quot;[% duplicate_code_error | html %]&quot; 
Lines 259-265 Patron attribute types &rsaquo; Administration &rsaquo; Koha Link Here
259
259
260
[% IF ( delete_attribute_type_form ) %]
260
[% IF ( delete_attribute_type_form ) %]
261
    <div class="dialog alert">
261
    <div class="dialog alert">
262
        <h1>Confirm deletion of patron attribute type <span class="ex">'[% code | html %]' ([% description | html %])</span>?</h1>
262
        <h2>Confirm deletion of patron attribute type <span class="ex">'[% code | html %]' ([% description | html %])</span>?</h2>
263
        <form action="[% script_name | html %]" name="Aform" method="post">
263
        <form action="[% script_name | html %]" name="Aform" method="post">
264
            <input type="hidden" name="op" value="[% confirm_op | html %]" />
264
            <input type="hidden" name="op" value="[% confirm_op | html %]" />
265
            <input type="hidden" name="code" value="[% code | html %]" />
265
            <input type="hidden" name="code" value="[% code | html %]" />
Lines 279-285 Patron attribute types &rsaquo; Administration &rsaquo; Koha Link Here
279
</div></div>
279
</div></div>
280
280
281
281
282
<h1>Patron attribute types</h1>
282
<h2>Patron attribute types</h2>
283
[% IF ( added_attribute_type ) %]
283
[% IF ( added_attribute_type ) %]
284
<div class="dialog message">Added patron attribute type &quot;[% added_attribute_type | html %]&quot;</div>
284
<div class="dialog message">Added patron attribute type &quot;[% added_attribute_type | html %]&quot;</div>
285
[% END %]
285
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/share_content.tt (-4 / +4 lines)
Lines 38-44 Link Here
38
<div class="main container-fluid">
38
<div class="main container-fluid">
39
    <div class="row">
39
    <div class="row">
40
        <div class="col-sm-10 col-sm-push-2">
40
        <div class="col-sm-10 col-sm-push-2">
41
            <div class="col-sm-6">
41
            <div class="col-sm-12">
42
                [% IF result.code != 201 && result.msg %]
42
                [% IF result.code != 201 && result.msg %]
43
                    <div class="dialog alert" role="alert">
43
                    <div class="dialog alert" role="alert">
44
                        [% result.msg | html %]
44
                        [% result.msg | html %]
Lines 110-116 Link Here
110
                            </ol>
110
                            </ol>
111
                            <fieldset class="action">
111
                            <fieldset class="action">
112
                                <input type="hidden" name="op" value="save" />
112
                                <input type="hidden" name="op" value="save" />
113
                                <input type="submit" value="Save" />
113
                                <input type="submit" class="principal" value="Save" />
114
                            </fieldset>
114
                            </fieldset>
115
                        </fieldset>
115
                        </fieldset>
116
                    </form>
116
                    </form>
Lines 134-140 Link Here
134
                                </ol>
134
                                </ol>
135
                                <fieldset class="action">
135
                                <fieldset class="action">
136
                                    <input type="hidden" name="op" value="reset" />
136
                                    <input type="hidden" name="op" value="reset" />
137
                                    <input type="submit" value="Reset your token" />
137
                                    <input type="submit" class="principal" value="Reset your token" />
138
                                </fieldset>
138
                                </fieldset>
139
                            </fieldset>
139
                            </fieldset>
140
                        </form>
140
                        </form>
Lines 154-160 Link Here
154
                                </ol>
154
                                </ol>
155
                                <fieldset class="action">
155
                                <fieldset class="action">
156
                                    <input type="hidden" name="op" value="send" />
156
                                    <input type="hidden" name="op" value="send" />
157
                                    <input type="submit" value="Send to Mana KB" />
157
                                    <input type="submit" class="principal" value="Send to Mana KB" />
158
                                </fieldset>
158
                                </fieldset>
159
                            </fieldset>
159
                            </fieldset>
160
                        </form>
160
                        </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/transfer_limits.tt (-3 / +3 lines)
Lines 76-87 Link Here
76
                </p>
76
                </p>
77
77
78
                <p class="help">Check the boxes for the libraries you allow your items to be transferred to.</p>
78
                <p class="help">Check the boxes for the libraries you allow your items to be transferred to.</p>
79
                <fieldset>
79
                <fieldset class="rows">
80
                    <a id="check-all" class="limit-action" href="#"><i class="fa fa-check"></i> Check all</a>
80
                    <a id="check-all" class="limit-action" href="#"><i class="fa fa-check"></i> Check all</a>
81
                    |
81
                    |
82
                    <a id="uncheck-all" class="limit-action" href="#"><i class="fa fa-remove"></i> Uncheck all</a>
82
                    <a id="uncheck-all" class="limit-action lientype" href="#"><i class="fa fa-remove"></i> Uncheck all</a>
83
                    |
83
                    |
84
                    <a href="/cgi-bin/koha/admin/branch_transfer_limits.pl">Switch to basic editor</a>
84
                    <a href="/cgi-bin/koha/admin/branch_transfer_limits.pl" id="lientype">Switch to basic editor</a>
85
                </fieldset>
85
                </fieldset>
86
86
87
                <table id="transfer_limits" class="table table-striped table-bordered table-hover table-condensed">
87
                <table id="transfer_limits" class="table table-striped table-bordered table-hover table-condensed">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt (-3 / +3 lines)
Lines 71-77 Link Here
71
[% END %]
71
[% END %]
72
72
73
    <form id="category_form" action="/cgi-bin/koha/admin/usage_statistics.pl" method="post">
73
    <form id="category_form" action="/cgi-bin/koha/admin/usage_statistics.pl" method="post">
74
        <h1>Modify the statistics you share with the Koha community</h1>
74
        <h2>Modify the statistics you share with the Koha community</h2>
75
        <div class="row">
75
        <div class="row">
76
            <div class="col-xs-12 col-sm-6">
76
            <div class="col-xs-12 col-sm-6">
77
                <fieldset class="rows">
77
                <fieldset class="rows">
Lines 212-218 Link Here
212
212
213
                        <li id="libraries_info">
213
                        <li id="libraries_info">
214
                            <fieldset class="rows">
214
                            <fieldset class="rows">
215
                            <legend>Libraries</legend>
215
                            <h3>Libraries</h3>
216
                            <ol>
216
                            <ol>
217
                                [% FOR l IN libraries %]
217
                                [% FOR l IN libraries %]
218
                                <li>
218
                                <li>
Lines 253-259 Link Here
253
253
254
        <fieldset class="action">
254
        <fieldset class="action">
255
            <input type="hidden" name="op" value="update" />
255
            <input type="hidden" name="op" value="update" />
256
            <input type="submit" value="Update your statistics usage" />
256
            <input type="submit" class="principal" value="Update your statistics usage" />
257
            <a class="cancel" href="/cgi-bin/koha/admin/usage_statistics.pl">Cancel</a>
257
            <a class="cancel" href="/cgi-bin/koha/admin/usage_statistics.pl">Cancel</a>
258
        </fieldset>
258
        </fieldset>
259
    </form>
259
    </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt (-1 / +1 lines)
Lines 241-247 Link Here
241
            <td>[% loo.attributes | html %]</td>
241
            <td>[% loo.attributes | html %]</td>
242
            <td>
242
            <td>
243
                <div class="btn-group dropup">
243
                <div class="btn-group dropup">
244
                    <a class="btn btn-default btn-xs dropdown-toggle" id="reportactions[% savedreport.id | html %]" role="button" data-toggle="dropdown" href="#">
244
                    <a class="btn btn-default btn-xs dropdown-toggle lientype" id="reportactions[% savedreport.id | html %]" role="button" data-toggle="dropdown" href="#">
245
                        Actions <b class="caret"></b>
245
                        Actions <b class="caret"></b>
246
                    </a>
246
                    </a>
247
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="reportactions[% savedreport.id | html %]">
247
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="reportactions[% savedreport.id | html %]">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities-home.tt (-1 / +1 lines)
Lines 43-49 Link Here
43
43
44
    [% INCLUDE 'authorities-toolbar.inc' %]
44
    [% INCLUDE 'authorities-toolbar.inc' %]
45
45
46
    <h1>Authorities</h1>
46
    <h2>Authorities</h2>
47
47
48
    <div id="merge_in_progress"></div>
48
    <div id="merge_in_progress"></div>
49
49
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt (+2 lines)
Lines 77-82 Link Here
77
</div>
77
</div>
78
78
79
<div id="authoritiestabs" class="toptabs numbered">
79
<div id="authoritiestabs" class="toptabs numbered">
80
<fieldset id="searchresults">
80
    <ul class="nav nav-tabs" role="tablist">
81
    <ul class="nav nav-tabs" role="tablist">
81
        [% FOREACH BIG_LOO IN BIG_LOOP %]
82
        [% FOREACH BIG_LOO IN BIG_LOOP %]
82
            <li role="presentation">
83
            <li role="presentation">
Lines 126-131 Link Here
126
    </div>
127
    </div>
127
[% END %]
128
[% END %]
128
</div> <!-- /.tab-content -->
129
</div> <!-- /.tab-content -->
130
</fieldset>
129
</div>
131
</div>
130
</div>
132
</div>
131
</div>
133
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt (-1 / +1 lines)
Lines 105-111 Link Here
105
    [% IF ( CAN_user_editauthorities ) %]
105
    [% IF ( CAN_user_editauthorities ) %]
106
      <td>
106
      <td>
107
      <div class="btn-group dropup">
107
      <div class="btn-group dropup">
108
        <a class="btn btn-default btn-xs dropdown-toggle" id="authactions[% resul.authid | html %]" role="button" data-toggle="dropdown" href="#">
108
        <a class="btn btn-default btn-xs dropdown-toggle lientype" id="authactions[% resul.authid | html %]" role="button" data-toggle="dropdown" href="#">
109
        Actions <b class="caret"></b></a>
109
        Actions <b class="caret"></b></a>
110
        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authactions[% resul.authid | html %]">
110
        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authactions[% resul.authid | html %]">
111
          <li><a href="/cgi-bin/koha/authorities/authorities.pl?authid=[% resul.authid | uri %]"><i class="fa fa-pencil"></i> Edit</a></li>
111
          <li><a href="/cgi-bin/koha/authorities/authorities.pl?authid=[% resul.authid | uri %]"><i class="fa fa-pencil"></i> Edit</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt (-3 / +3 lines)
Lines 58-76 Link Here
58
        <div class="col-sm-10 col-sm-push-2">
58
        <div class="col-sm-10 col-sm-push-2">
59
            <main>
59
            <main>
60
60
61
                <h1>
61
	[% INCLUDE 'cat-toolbar.inc' %]
62
                <h2>
62
                    [% IF ( unknownbiblionumber ) %]
63
                    [% IF ( unknownbiblionumber ) %]
63
                        Unknown record
64
                        Unknown record
64
                    [% ELSE %]
65
                    [% ELSE %]
65
                        ISBD details for [% INCLUDE 'biblio-title-head.inc' %]
66
                        ISBD details for [% INCLUDE 'biblio-title-head.inc' %]
66
                    [% END %]
67
                    [% END %]
67
                </h1>
68
                </h2>
68
69
69
[% IF ( unknownbiblionumber ) %]
70
[% IF ( unknownbiblionumber ) %]
70
    <div class="dialog message">The record you requested does not exist ([% biblionumber | html %]).</div>
71
    <div class="dialog message">The record you requested does not exist ([% biblionumber | html %]).</div>
71
[% ELSE %]
72
[% ELSE %]
72
73
73
	[% INCLUDE 'cat-toolbar.inc' %]
74
    [% IF ( ocoins ) %]
74
    [% IF ( ocoins ) %]
75
    <!-- COinS / OpenURL -->
75
    <!-- COinS / OpenURL -->
76
    <span class="Z3988" title="[% ocoins | html %]"></span>
76
    <span class="Z3988" title="[% ocoins | html %]"></span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt (-2 / +4 lines)
Lines 60-73 Link Here
60
            <main>
60
            <main>
61
61
62
[% IF ( unknownbiblionumber ) %]
62
[% IF ( unknownbiblionumber ) %]
63
    <h1>Unknown record</h1>
63
    <h2>Unknown record</h2>
64
  <div class="dialog message">The record you requested does not exist ([% biblionumber | html %]).</div>
64
  <div class="dialog message">The record you requested does not exist ([% biblionumber | html %]).</div>
65
[% ELSE %]
65
[% ELSE %]
66
66
67
[% INCLUDE 'cat-toolbar.inc' %]
67
[% INCLUDE 'cat-toolbar.inc' %]
68
68
69
[% UNLESS ( popup ) %]
69
[% UNLESS ( popup ) %]
70
    <h1>MARC record: [% biblionumber | html %]  ( [% bibliotitle | html %] )</h1>
70
    <h2>MARC record: [% biblionumber | html %]  ( [% bibliotitle | html %] )</h2>
71
[% END %]
71
[% END %]
72
72
73
    <p><strong>With framework : <select name="Frameworks" id="Frameworks">
73
    <p><strong>With framework : <select name="Frameworks" id="Frameworks">
Lines 125-130 Link Here
125
[% END %]
125
[% END %]
126
126
127
    <div id="bibliotabs" class="toptabs">
127
    <div id="bibliotabs" class="toptabs">
128
    <fieldset id="searchresults">
128
        <ul class="nav nav-tabs" role="tablist">
129
        <ul class="nav nav-tabs" role="tablist">
129
            [% IF ( tab0XX ) %]
130
            [% IF ( tab0XX ) %]
130
                <li role="presentation"><a href="#tab0XX" aria-controls="tab0XX" role="tab" data-toggle="tab">&#48;</a></li>
131
                <li role="presentation"><a href="#tab0XX" aria-controls="tab0XX" role="tab" data-toggle="tab">&#48;</a></li>
Lines 200-205 Link Here
200
                </div>
201
                </div>
201
            [% END %]
202
            [% END %]
202
        </div> <!-- /.tab-content -->
203
        </div> <!-- /.tab-content -->
204
        </fieldset>
203
    </div> <!-- /#bibliotabs -->
205
    </div> <!-- /#bibliotabs -->
204
206
205
            </main>
207
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +3 lines)
Lines 277-282 Link Here
277
</div>
277
</div>
278
278
279
<div id="bibliodetails" class="toptabs">
279
<div id="bibliodetails" class="toptabs">
280
<fieldset id="searchresults">
280
281
281
<ul class="nav nav-tabs" role="tablist">
282
<ul class="nav nav-tabs" role="tablist">
282
    [% IF (SeparateHoldings) %]
283
    [% IF (SeparateHoldings) %]
Lines 1012-1017 Note that permanent location is a code, and location may be an authval. Link Here
1012
[% END %]
1013
[% END %]
1013
1014
1014
</div><!-- /tab-content -->
1015
</div><!-- /tab-content -->
1016
</fieldset>
1015
</div><!-- /bibliodetails -->
1017
</div><!-- /bibliodetails -->
1016
1018
1017
<div id="export" style="margin-top: 1em;">
1019
<div id="export" style="margin-top: 1em;">
Lines 1024-1030 Note that permanent location is a code, and location may be an authval. Link Here
1024
        <option value="marcxml">MARCXML</option>
1026
        <option value="marcxml">MARCXML</option>
1025
        <option value="marc8">MARC (non-Unicode/MARC-8)</option>
1027
        <option value="marc8">MARC (non-Unicode/MARC-8)</option>
1026
        <option value="utf8">MARC (Unicode/UTF-8)</option>    </select>
1028
        <option value="utf8">MARC (Unicode/UTF-8)</option>    </select>
1027
        <input type="submit" name="save" value="Download record" /></td>
1029
        <input type="submit" class="principal" name="save" value="Download record" /></td>
1028
  </tr>
1030
  </tr>
1029
  <tr><td>
1031
  <tr><td>
1030
    <input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="[% biblionumber | html %]" />
1032
    <input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="[% biblionumber | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt (-1 / +1 lines)
Lines 47-53 Link Here
47
        <div class="col-sm-10 col-sm-push-2">
47
        <div class="col-sm-10 col-sm-push-2">
48
            <main>
48
            <main>
49
49
50
<h1>Checkout history for [% INCLUDE 'biblio-title.inc' %]</h1>
50
<h2>Checkout history for [% INCLUDE 'biblio-title.inc' %]</h2>
51
[% IF biblio.author %]<h3>by [% biblio.author | html %]</h3>[% END %]
51
[% IF biblio.author %]<h3>by [% biblio.author | html %]</h3>[% END %]
52
52
53
[% SET show_patron_column = Koha.Preference('intranetreadinghistory') AND CAN_user_circulate_circulate_remaining_permissions %]
53
[% SET show_patron_column = Koha.Preference('intranetreadinghistory') AND CAN_user_circulate_circulate_remaining_permissions %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt (-2 / +2 lines)
Lines 444-450 Link Here
444
              .append(exportButton);
444
              .append(exportButton);
445
445
446
            var results_heading = $('<div>').addClass('results-heading')
446
            var results_heading = $('<div>').addClass('results-heading')
447
                .append("<h1>" + _("Item search results") + "</h1>")
447
                .append("<h2>" + _("Item search results") + "</h2>")
448
                .append($('<p>').append(advSearchLink))
448
                .append($('<p>').append(advSearchLink))
449
                .append($('<p>').append(editSearchLink))
449
                .append($('<p>').append(editSearchLink))
450
                .append(exportLinks);
450
                .append(exportLinks);
Lines 594-600 Link Here
594
            // Add the "New field" link.
594
            // Add the "New field" link.
595
            var form_field = $('div.form-field-select-text').last()
595
            var form_field = $('div.form-field-select-text').last()
596
            var NEW_FIELD = _("New field");
596
            var NEW_FIELD = _("New field");
597
      var button_field_new = $('<a href="#" class="button-field-new" title="Add a new field"><i class="fa fa-plus"></i> ' + NEW_FIELD + '</a>');
597
      var button_field_new = $('<a href="#" class="button-field-new" id="lientype" title="Add a new field"><i class="fa fa-plus"></i> ' + NEW_FIELD + '</a>');
598
      button_field_new.click(function(e) {
598
      button_field_new.click(function(e) {
599
          e.preventDefault();
599
          e.preventDefault();
600
          addNewField( $(this) );
600
          addNewField( $(this) );
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt (-2 / +2 lines)
Lines 47-55 Link Here
47
        <div class="col-sm-10 col-sm-push-2">
47
        <div class="col-sm-10 col-sm-push-2">
48
            <main>
48
            <main>
49
49
50
            <h1>Item details for [% INCLUDE 'biblio-title-head.inc' %]</h1>
51
52
[% INCLUDE 'cat-toolbar.inc' %]
50
[% INCLUDE 'cat-toolbar.inc' %]
51
            <h2>Item details for [% INCLUDE 'biblio-title-head.inc' %]</h2>
52
53
53
54
<div id="catalogue_detail_biblio">
54
<div id="catalogue_detail_biblio">
55
55
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-16 / +16 lines)
Lines 52-58 Link Here
52
        <div class="col-sm-10 col-sm-push-2">
52
        <div class="col-sm-10 col-sm-push-2">
53
            <main>
53
            <main>
54
54
55
            <h1>Search results</h1>
55
            <h2>Search results</h2>
56
56
57
                [% IF ( outer_sup_results_loop ) %]
57
                [% IF ( outer_sup_results_loop ) %]
58
                    <div class="row">
58
                    <div class="row">
Lines 76-82 Link Here
76
                    <h3>
76
                    <h3>
77
                        [% total | html %] result(s) found [% IF ( query_desc ) %]for <span class="results_query_desc">'[% query_desc | html %]'</span>[% END %][% IF limit_desc  %]&nbsp;with limit(s): <span class="results_limit_desc">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName | html %] Catalog[% END %].
77
                        [% total | html %] result(s) found [% IF ( query_desc ) %]for <span class="results_query_desc">'[% query_desc | html %]'</span>[% END %][% IF limit_desc  %]&nbsp;with limit(s): <span class="results_limit_desc">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName | html %] Catalog[% END %].
78
                    </h3>
78
                    </h3>
79
                    <a href="/cgi-bin/koha/catalogue/search.pl?advsearch=1&edit_search=1&[% query_cgi | $raw %]&[% limit_cgi | $raw %]&sort_by=[% sort_by | $raw %]">Edit this search</a>
79
                    <a id="lientype" href="/cgi-bin/koha/catalogue/search.pl?advsearch=1&edit_search=1&[% query_cgi | $raw %]&[% limit_cgi | $raw %]&sort_by=[% sort_by | $raw %]">Edit this search</a>
80
80
81
                    <div class="searchheader" id="searchheader">
81
                    <div class="searchheader" id="searchheader">
82
                        <div id="selection_ops">
82
                        <div id="selection_ops">
Lines 130-140 Link Here
130
                                        <li role="separator" class="divider"></li>
130
                                        <li role="separator" class="divider"></li>
131
                                        [% IF add_to_some_private_shelves.count > 10 or add_to_some_public_shelves.count > 10 %]
131
                                        [% IF add_to_some_private_shelves.count > 10 or add_to_some_public_shelves.count > 10 %]
132
                                            <li>
132
                                            <li>
133
                                                <a href="#" class="addtolist morelists">More lists</a>
133
                                                <a  id="lientype" href="#" class="addtolist morelists">More lists</a>
134
                                            </li>
134
                                            </li>
135
                                        [% END %]
135
                                        [% END %]
136
                                        <li>
136
                                        <li>
137
                                            <a href="#" class="addtolist newlist">New list</a>
137
                                            <a  id="lientype" href="#" class="addtolist newlist">New list</a>
138
                                        </li>
138
                                        </li>
139
                                    </ul>
139
                                    </ul>
140
                                </div>
140
                                </div>
Lines 144-150 Link Here
144
                                [% IF ( holdfor or holdforclub ) %]
144
                                [% IF ( holdfor or holdforclub ) %]
145
                                    <div id="placeholdc" class="btn-group">
145
                                    <div id="placeholdc" class="btn-group">
146
                                        <button class="btn btn-default btn-xs placehold" id="lientype"><i class="fa fa-sticky-note-o"></i> Place hold</button>
146
                                        <button class="btn btn-default btn-xs placehold" id="lientype"><i class="fa fa-sticky-note-o"></i> Place hold</button>
147
                                        <button class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
147
                                        <button class="btn btn-default btn-xs dropdown-toggle" id="lientype" data-toggle="dropdown">
148
                                        <span class="caret"></span>
148
                                        <span class="caret"></span>
149
                                        </button>
149
                                        </button>
150
                                        <ul class="dropdown-menu">
150
                                        <ul class="dropdown-menu">
Lines 311-317 Link Here
311
                                                [% END %] Library default: [% Koha.Preference('numSearchResults') | html %]
311
                                                [% END %] Library default: [% Koha.Preference('numSearchResults') | html %]
312
                                            </a></li>
312
                                            </a></li>
313
                                        [% END %]
313
                                        [% END %]
314
                                        <li><a href="/cgi-bin/koha/catalogue/search.pl?count=20[% PROCESS sort_search_query %]">[% IF results_per_page == '20' %]<i class="fa fa-check"></i>[% END %] 20</a></li>
314
                                        <li><a results_batch_opshref="/cgi-bin/koha/catalogue/search.pl?count=20[% PROCESS sort_search_query %]">[% IF results_per_page == '20' %]<i class="fa fa-check"></i>[% END %] 20</a></li>
315
                                        <li><a href="/cgi-bin/koha/catalogue/search.pl?count=40[% PROCESS sort_search_query %]" id="resultsperpage-40">[% IF results_per_page == '40' %]<i class="fa fa-check"></i>[% END %] 40</a></li>
315
                                        <li><a href="/cgi-bin/koha/catalogue/search.pl?count=40[% PROCESS sort_search_query %]" id="resultsperpage-40">[% IF results_per_page == '40' %]<i class="fa fa-check"></i>[% END %] 40</a></li>
316
                                        <li><a href="/cgi-bin/koha/catalogue/search.pl?count=60[% PROCESS sort_search_query %]" id="resultsperpage-60">[% IF results_per_page == '60' %]<i class="fa fa-check"></i>[% END %] 60</a></li>
316
                                        <li><a href="/cgi-bin/koha/catalogue/search.pl?count=60[% PROCESS sort_search_query %]" id="resultsperpage-60">[% IF results_per_page == '60' %]<i class="fa fa-check"></i>[% END %] 60</a></li>
317
                                        <li><a href="/cgi-bin/koha/catalogue/search.pl?count=80[% PROCESS sort_search_query %]" id="resultsperpage-80">[% IF results_per_page == '80' %]<i class="fa fa-check"></i>[% END %] 80</a></li>
317
                                        <li><a href="/cgi-bin/koha/catalogue/search.pl?count=80[% PROCESS sort_search_query %]" id="resultsperpage-80">[% IF results_per_page == '80' %]<i class="fa fa-check"></i>[% END %] 80</a></li>
Lines 335-343 Link Here
335
                                No results match your search [% IF ( query_desc ) %]for <span style="font-weight: bold;">'[% query_desc | html %]'</span>[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s): <span style="font-weight: bold;">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName | html %] Catalog[% END %].
335
                                No results match your search [% IF ( query_desc ) %]for <span style="font-weight: bold;">'[% query_desc | html %]'</span>[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s): <span style="font-weight: bold;">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName | html %] Catalog[% END %].
336
                            </p>
336
                            </p>
337
                            [% IF CAN_user_acquisition_order_manage && searchtoorder_basketno && searchtoorder_vendorid %][%# Coming from the basket or vendor view %]
337
                            [% IF CAN_user_acquisition_order_manage && searchtoorder_basketno && searchtoorder_vendorid %][%# Coming from the basket or vendor view %]
338
                                <p><a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% searchtoorder_basketno | uri %]">View basket<a></p>
338
                                <p><a id="lientype" href="/cgi-bin/koha/acqui/basket.pl?basketno=[% searchtoorder_basketno | uri %]">View basket<a></p>
339
                            [% END %]
339
                            [% END %]
340
                            <a href="/cgi-bin/koha/catalogue/search.pl?advsearch=1&edit_search=1&[% query_cgi | $raw %]&[% limit_cgi | $raw %]&sort_by=[% sort_by | $raw %]">Edit this search</a>
340
                            <a id="lientype" href="/cgi-bin/koha/catalogue/search.pl?advsearch=1&edit_search=1&[% query_cgi | $raw %]&[% limit_cgi | $raw %]&sort_by=[% sort_by | $raw %]">Edit this search</a>
341
                        [% ELSE %]
341
                        [% ELSE %]
342
                            <p>You did not specify any search criteria.</p>
342
                            <p>You did not specify any search criteria.</p>
343
                        [% END %]
343
                        [% END %]
Lines 352-358 Link Here
352
                <!-- Search Results Table -->
352
                <!-- Search Results Table -->
353
                [% IF ( total ) %]
353
                [% IF ( total ) %]
354
                    [% IF ( scan ) %]
354
                    [% IF ( scan ) %]
355
                        <h1>Scan index:</h1>
355
                        <h2>Scan index:</h2>
356
                        <form action="/cgi-bin/koha/catalogue/search.pl" method="get">
356
                        <form action="/cgi-bin/koha/catalogue/search.pl" method="get">
357
                            <table>
357
                            <table>
358
                                <tr>
358
                                <tr>
Lines 539-570 Link Here
539
539
540
                                                    [% IF Koha.Preference('intranetbookbag') == 1 %]
540
                                                    [% IF Koha.Preference('intranetbookbag') == 1 %]
541
                                                        [% IF ( SEARCH_RESULT.incart ) %]
541
                                                        [% IF ( SEARCH_RESULT.incart ) %]
542
                                                            | <a class="addtocart" id="cart[% SEARCH_RESULT.biblionumber | html %]" href="#">In your cart</a> <a class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber | html %]" href="#">(remove)</a>
542
                                                            | <a id="lientype" class="addtocart" id="cart[% SEARCH_RESULT.biblionumber | html %]" href="#">In your cart</a> <a class="cartRemove lientype" id="cartR[% SEARCH_RESULT.biblionumber | html %]" href="#">(remove)</a>
543
                                                        [% ELSE %]
543
                                                        [% ELSE %]
544
                                                            | <a class="addtocart" id="cart[% SEARCH_RESULT.biblionumber | html %]" href="#">Add to cart</a> <a style="display:none;" class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber | html %]" href="#">(remove)</a>
544
                                                            | <a id="lientype" class="addtocart" id="cart[% SEARCH_RESULT.biblionumber | html %]" href="#">Add to cart</a> <a style="display:none;" class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber | html %]" href="#">(remove)</a>
545
                                                        [% END %]
545
                                                        [% END %]
546
                                                    [% END # / IF intranetbookbag %]
546
                                                    [% END # / IF intranetbookbag %]
547
547
548
                                                    [% IF Koha.Preference('ArticleRequests') %]
548
                                                    [% IF Koha.Preference('ArticleRequests') %]
549
                                                        | <a id="requst_article_[% SEARCH_RESULT.biblionumber | html %]" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %]">Request article</a>
549
                                                        | <a class="lientype" id="requst_article_[% SEARCH_RESULT.biblionumber | html %]" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %]">Request article</a>
550
                                                    [% END %]
550
                                                    [% END %]
551
551
552
                                                    [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
552
                                                    [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
553
                                                        | <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">Edit record</a>
553
                                                        | <a id="lientype" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">Edit record</a>
554
                                                    [% END %]
554
                                                    [% END %]
555
                                                    [% IF ( CAN_user_editcatalogue_edit_items ) %]
555
                                                    [% IF ( CAN_user_editcatalogue_edit_items ) %]
556
                                                        | <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">Edit items</a>
556
                                                        | <a id="lientype" href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">Edit items</a>
557
                                                    [% END %]
557
                                                    [% END %]
558
558
559
                                                    [% IF ( CAN_user_acquisition_order_manage ) %]
559
                                                    [% IF ( CAN_user_acquisition_order_manage ) %]
560
                                                        [% IF ( searchtoorder_basketno && searchtoorder_vendorid ) %]
560
                                                        [% IF ( searchtoorder_basketno && searchtoorder_vendorid ) %]
561
                                                            | <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% searchtoorder_vendorid | uri %]&amp;basketno=[% searchtoorder_basketno | uri %]&amp;biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">Add order</a>
561
                                                            | <a id="lientype" href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% searchtoorder_vendorid | uri %]&amp;basketno=[% searchtoorder_basketno | uri %]&amp;biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">Add order</a>
562
                                                        [% END %]
562
                                                        [% END %]
563
                                                    [% END %]
563
                                                    [% END %]
564
564
565
                                                    [% IF ( OPACBaseURL ) %]
565
                                                    [% IF ( OPACBaseURL ) %]
566
                                                        <span class="view-in-opac">
566
                                                        <span class="view-in-opac">
567
                                                            | <a href="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]" target="_blank">OPAC view</a>
567
                                                            | <a id="lientype" href="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]" target="_blank">OPAC view</a>
568
                                                        </span>
568
                                                        </span>
569
                                                    [% END %]
569
                                                    [% END %]
570
                                                </p> <!-- /.holds -->
570
                                                </p> <!-- /.holds -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt (-1 / +1 lines)
Lines 45-51 Link Here
45
        <div class="col-sm-10 col-sm-push-2">
45
        <div class="col-sm-10 col-sm-push-2">
46
            <main>
46
            <main>
47
47
48
                <h1>Club enrollments for <em>[% club.name | html %]</em></h1>
48
                <h2>Club enrollments for <em>[% club.name | html %]</em></h2>
49
49
50
                <table id="enrollments-table">
50
                <table id="enrollments-table">
51
                    <thead>
51
                    <thead>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt (-7 / +7 lines)
Lines 57-73 Link Here
57
                <input type="hidden" name="id" value="[% club.id | html %]" />
57
                <input type="hidden" name="id" value="[% club.id | html %]" />
58
                <input type="hidden" name="club_template_id" value="[% club_template.id | html %]" />
58
                <input type="hidden" name="club_template_id" value="[% club_template.id | html %]" />
59
59
60
                <fieldset class="rows">
60
                        <h2>
61
62
                    <legend>
63
                        <h1>
64
                            [% IF club %]
61
                            [% IF club %]
65
                                Modify club <em>[% club.name | html %]</em>
62
                                Modify club <em>[% club.name | html %]</em>
66
                            [% ELSE %]
63
                            [% ELSE %]
67
                                Create a new <em>[% club_template.name | html %]</em> club
64
                                Create a new <em>[% club_template.name | html %]</em> club
68
                            [% END %]
65
                            [% END %]
69
                        </h1>
66
                        </h2>
70
                    </legend>
67
68
                <fieldset class="rows">
69
70
71
71
72
                    <ol>
72
                    <ol>
73
                        <li>
73
                        <li>
Lines 145-151 Link Here
145
                </fieldset>
145
                </fieldset>
146
146
147
                <fieldset class="action">
147
                <fieldset class="action">
148
                    <input type="submit" value="Save" />
148
                    <input type="submit" class="principal" value="Save" />
149
                    <a href="clubs.pl" class="cancel">Cancel</a>
149
                    <a href="clubs.pl" class="cancel">Cancel</a>
150
                </fieldset>
150
                </fieldset>
151
            </form>
151
            </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt (-28 / +31 lines)
Lines 43-49 Link Here
43
        <div class="col-sm-10 col-sm-push-2">
43
        <div class="col-sm-10 col-sm-push-2">
44
            <main>
44
            <main>
45
45
46
                <h1>Patron clubs</h1>
46
                <div id="toolbar" class="btn-toolbar">
47
                    [% IF CAN_user_clubs_edit_templates %]
48
                    <div class="btn-group">
49
                            <a class="btn btn-default pat" href="templates-add-modify.pl"><i class="fa fa-plus"></i> New club template</a>
50
                    </div>
51
                    [% END %]
52
53
                    [% IF CAN_user_clubs_edit_clubs %]
54
                        <div class="btn-group">
55
                            [% IF club_templates.count %]
56
                                <button class="btn btn-default dropdown-toggle pat" data-toggle="dropdown"><i class="fa fa-plus"></i> New club <span class="caret"></span></button>
57
                            [% ELSE %]
58
                                <button disabled="disabled" class="btn btn-default dropdown-toggle pat" data-toggle="dropdown"><i class="fa fa-plus"></i> New club <span class="caret"></span></button>
59
                            [% END %]
60
                            <ul class="dropdown-menu">
61
                                [% FOREACH t IN club_templates %]
62
                                    <li><a href="/cgi-bin/koha/clubs/clubs-add-modify.pl?club_template_id=[% t.id | uri %]">[% t.name | html %]</a></li>
63
                                [% END %]
64
                            </ul>
65
                        </div>
66
                    [% END %]
67
                </div>
68
69
70
                <h2>Patron clubs</h2>
47
71
48
                [% IF club_template %]
72
                [% IF club_template %]
49
                    <div class="dialog message">
73
                    <div class="dialog message">
Lines 63-78 Link Here
63
                    </div>
87
                    </div>
64
                [% END %]
88
                [% END %]
65
89
90
            <fieldset id="rows">
66
                <h3>Club templates</h3>
91
                <h3>Club templates</h3>
67
92
68
                [% IF CAN_user_clubs_edit_templates %]
69
                    <div class="btn-toolbar">
70
                        <div class="btn-group">
71
                            <a class="btn btn-default" href="templates-add-modify.pl"><i class="fa fa-plus"></i> New club template</a>
72
                        </div>
73
                    </div>
74
                [% END %]
75
76
                [% IF club_templates.count %]
93
                [% IF club_templates.count %]
77
                    <table id="club-templates-table">
94
                    <table id="club-templates-table">
78
                        <thead>
95
                        <thead>
Lines 107-116 Link Here
107
                                    <td>[% Branches.GetName( t.branchcode ) | html %]</td>
124
                                    <td>[% Branches.GetName( t.branchcode ) | html %]</td>
108
                                    <td class="actions">
125
                                    <td class="actions">
109
                                        [% IF CAN_user_clubs_edit_templates %]
126
                                        [% IF CAN_user_clubs_edit_templates %]
110
                                            <a class="btn btn-xs btn-default" style="white-space:nowrap"  href="/cgi-bin/koha/clubs/templates-add-modify.pl?id=[% t.id | html %]">
127
                                            <a id="lientype" class="btn btn-xs btn-default" style="white-space:nowrap"  href="/cgi-bin/koha/clubs/templates-add-modify.pl?id=[% t.id | html %]">
111
                                                <i class="fa fa-pencil"></i> Edit
128
                                                <i class="fa fa-pencil"></i> Edit
112
                                            </a>
129
                                            </a>
113
                                            <a class="btn btn-xs btn-default delete_template" href="#" data-id="[% t.id | html %]" data-name="[% t.name | html %]">
130
                                            <a id="lientype" class="btn btn-xs btn-default delete_template" href="#" data-id="[% t.id | html %]" data-name="[% t.name | html %]">
114
                                                <i class="fa fa-trash"></i> Delete
131
                                                <i class="fa fa-trash"></i> Delete
115
                                            </a>
132
                                            </a>
116
                                        [% END %]
133
                                        [% END %]
Lines 122-147 Link Here
122
                [% ELSE %]
139
                [% ELSE %]
123
                    <div class="dialog message">No club templates defined.</div>
140
                    <div class="dialog message">No club templates defined.</div>
124
                [% END %]
141
                [% END %]
142
            </fieldset>
125
143
144
            <fieldset id="rows">
126
                <h3>Clubs</h3>
145
                <h3>Clubs</h3>
127
146
128
                [% IF CAN_user_clubs_edit_clubs %]
129
                    <div class="btn-toolbar">
130
                        <div class="btn-group">
131
                            [% IF club_templates.count %]
132
                                <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New club <span class="caret"></span></button>
133
                            [% ELSE %]
134
                                <button disabled="disabled" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New club <span class="caret"></span></button>
135
                            [% END %]
136
                            <ul class="dropdown-menu">
137
                                [% FOREACH t IN club_templates %]
138
                                    <li><a href="/cgi-bin/koha/clubs/clubs-add-modify.pl?club_template_id=[% t.id | uri %]">[% t.name | html %]</a></li>
139
                                [% END %]
140
                            </ul>
141
                        </div>
142
                    </div>
143
                [% END %]
144
145
                [% IF clubs.count %]
147
                [% IF clubs.count %]
146
                    [% INCLUDE 'clubs-table.inc' %]
148
                    [% INCLUDE 'clubs-table.inc' %]
147
                [% ELSE %]
149
                [% ELSE %]
Lines 151-156 Link Here
151
                        <div class="dialog message">No clubs defined. A club template must be defined before a club can be defined.</div>
153
                        <div class="dialog message">No clubs defined. A club template must be defined before a club can be defined.</div>
152
                    [% END %]
154
                    [% END %]
153
                [% END %]
155
                [% END %]
156
            </fieldset>
154
157
155
            </main>
158
            </main>
156
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
159
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt (-2 / +2 lines)
Lines 21-27 Link Here
21
                    <td>[% e.date_enrolled | $KohaDates %]</td>
21
                    <td>[% e.date_enrolled | $KohaDates %]</td>
22
                    [% IF CAN_user_clubs_enroll %]
22
                    [% IF CAN_user_clubs_enroll %]
23
                        <td>
23
                        <td>
24
                            <button class="btn btn-xs btn-default" onclick="cancelEnrollment( [% e.id | html %] )">
24
                            <button id="lientype" class="btn btn-xs btn-default" onclick="cancelEnrollment( [% e.id | html %] )">
25
                                <i class="fa fa-remove"></i> Cancel enrollment
25
                                <i class="fa fa-remove"></i> Cancel enrollment
26
                            </button>
26
                            </button>
27
                        </td>
27
                        </td>
Lines 52-58 Link Here
52
                    <td>[% c.description | html %]</td>
52
                    <td>[% c.description | html %]</td>
53
                    [% IF CAN_user_clubs_enroll %]
53
                    [% IF CAN_user_clubs_enroll %]
54
                        <td class="action">
54
                        <td class="action">
55
                            <button class="btn btn-xs btn-default" onclick="loadEnrollmentForm([% c.id | html %])">
55
                            <button class="btn btn-xs btn-default" id="lientype" onclick="loadEnrollmentForm([% c.id | html %])">
56
                                <i class="fa fa-plus"></i> Enroll
56
                                <i class="fa fa-plus"></i> Enroll
57
                            </button>
57
                            </button>
58
                        </td>
58
                        </td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-enroll.tt (-3 / +3 lines)
Lines 1-9 Link Here
1
[% USE AuthorisedValues %]
1
[% USE AuthorisedValues %]
2
[% SET AuthorisedValuesCategories = AuthorisedValues.GetCategories %]
2
[% SET AuthorisedValuesCategories = AuthorisedValues.GetCategories %]
3
3
4
<h1>
4
<h2>
5
    Enroll in <em>[% club.name | html %]</em>
5
    Enroll in <em>[% club.name | html %]</em>
6
</h1>
6
</h2>
7
7
8
<div class="container">
8
<div class="container">
9
    <form id="patron-enrollment-form">
9
    <form id="patron-enrollment-form">
Lines 28-34 Link Here
28
                [% END %]
28
                [% END %]
29
29
30
                <li>
30
                <li>
31
                    <a href="#" class="btn btn-sm btn-default" onclick="addEnrollment(); return false;">Finish enrollment</a>
31
                    <a href="#" class="btn btn-sm btn-default principal" onclick="addEnrollment(); return false;">Finish enrollment</a>
32
                    <a class="cancel" href="#" onclick="showClubs(); return false;">Cancel</a>
32
                    <a class="cancel" href="#" onclick="showClubs(); return false;">Cancel</a>
33
                </li>
33
                </li>
34
            </ol>
34
            </ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt (-9 / +9 lines)
Lines 60-72 Link Here
60
            <form method="post" class="validated">
60
            <form method="post" class="validated">
61
                <input type="hidden" name="id" value="[% club_template.id | html %]" />
61
                <input type="hidden" name="id" value="[% club_template.id | html %]" />
62
62
63
                <h1>
63
                <h2>
64
                    [% IF club_template %]
64
                    [% IF club_template %]
65
                        Modify club template <em>[% club_template.name | html %]</em>
65
                        Modify club template <em>[% club_template.name | html %]</em>
66
                    [% ELSE %]
66
                    [% ELSE %]
67
                        Create a new club template
67
                        Create a new club template
68
                    [% END %]
68
                    [% END %]
69
                </h1>
69
                </h2>
70
70
71
71
72
                <fieldset class="rows">
72
                <fieldset class="rows">
Lines 115-121 Link Here
115
                </fieldset>
115
                </fieldset>
116
116
117
                <fieldset class="rows">
117
                <fieldset class="rows">
118
                    <legend>Club fields:</legend>
118
                    <h3>Club fields</h3>
119
                    <p><span class="hint">These fields will be used in the creation of clubs based on this template</span></p>
119
                    <p><span class="hint">These fields will be used in the creation of clubs based on this template</span></p>
120
                    <div id="club-template-fields">
120
                    <div id="club-template-fields">
121
                        [% FOREACH f IN club_template.club_template_fields %]
121
                        [% FOREACH f IN club_template.club_template_fields %]
Lines 149-162 Link Here
149
                        [% END %]
149
                        [% END %]
150
                    </div>
150
                    </div>
151
                    <fieldset class="action">
151
                    <fieldset class="action">
152
                        <a href="#" class="add_club_field">
152
                         <a id="lientype" href="#" class="add_club_field">
153
                            <i class="fa fa-plus"></i> Add new field
153
                            <i class="fa fa-plus"></i> Add new field
154
                        </a>
154
                        </a>
155
                    </fieldset>
155
                    </fieldset>
156
                </fieldset>
156
                </fieldset>
157
157
158
                <fieldset class="rows">
158
                <fieldset class="rows">
159
                    <legend>Enrollment fields</legend>
159
                    <h3>Enrollment fields</h3>
160
                    <p><span class="hint">These fields will be used when enrolling a patron in a club based on this template</span></p>
160
                    <p><span class="hint">These fields will be used when enrolling a patron in a club based on this template</span></p>
161
                    <div id="club-template-enrollment-fields">
161
                    <div id="club-template-enrollment-fields">
162
                        [% FOREACH f IN club_template.club_template_enrollment_fields %]
162
                        [% FOREACH f IN club_template.club_template_enrollment_fields %]
Lines 194-200 Link Here
194
                        [% END %]
194
                        [% END %]
195
                    </div>
195
                    </div>
196
                    <fieldset class="action">
196
                    <fieldset class="action">
197
                        <a href="#" class="add_enrollment_field">
197
                        <a id="lientype" href="#" class="add_enrollment_field">
198
                            <i class="fa fa-plus"></i> Add new field
198
                            <i class="fa fa-plus"></i> Add new field
199
                        </a>
199
                        </a>
200
                    </fieldset>
200
                    </fieldset>
Lines 202-208 Link Here
202
202
203
                <fieldset class="action">
203
                <fieldset class="action">
204
                    <input type="hidden" name="id" value="[% club_template.id | html %]" />
204
                    <input type="hidden" name="id" value="[% club_template.id | html %]" />
205
                    <input type="submit" value="Save" />
205
                    <input type="submit" class="principal" value="Save" />
206
                    <a href="clubs.pl" class="cancel">Cancel</a>
206
                    <a href="clubs.pl" class="cancel">Cancel</a>
207
                </fieldset>
207
                </fieldset>
208
            </form>
208
            </form>
Lines 234-240 Link Here
234
            </select>
234
            </select>
235
        </li>
235
        </li>
236
    </ol>
236
    </ol>
237
    <fieldset class="action"><a href="#" class="delete_club_field"><i class="fa fa-trash"></i> Delete field</a></fieldset>
237
    <fieldset class="action"><a id="lientype" href="#" class="delete_club_field"><i class="fa fa-trash"></i> Delete field</a></fieldset>
238
    <hr/>
238
    <hr/>
239
</div>
239
</div>
240
240
Lines 261-267 Link Here
261
            </select>
261
            </select>
262
        </li>
262
        </li>
263
    </ol>
263
    </ol>
264
    <fieldset class="action"><a href="#" class="delete_enrollment_field"><i class="fa fa-trash"></i> Delete field</a></fieldset>
264
    <fieldset class="action"><a id="lientype" href="#" class="delete_enrollment_field"><i class="fa fa-trash"></i> Delete field</a></fieldset>
265
</div>
265
</div>
266
266
267
267
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/barcode-print.tt (-3 / +5 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]<title>Barcode image generator &rsaquo; Tools &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-open.inc' %]<title>Barcode image generator &rsaquo; Tools &rsaquo; Koha</title>
5
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
6
[% Asset.css("css/humanmsg.css") | $raw %]
9
[% Asset.css("css/humanmsg.css") | $raw %]
Lines 40-47 Link Here
40
</head>
43
</head>
41
44
42
<body id="labels_spinelabel-home" class="tools labels">
45
<body id="labels_spinelabel-home" class="tools labels">
43
[% INCLUDE 'header.inc' %]
46
[% INCLUDE 'header.inc' form=formulaire %]
44
[% INCLUDE 'cat-search.inc' %]
45
47
46
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
48
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
47
    <ol>
49
    <ol>
Lines 109-115 Link Here
109
                                    </li>
111
                                    </li>
110
                                </ol>
112
                                </ol>
111
                                <fieldset class="action">
113
                                <fieldset class="action">
112
                                    <input type="submit" value="Show barcode" />
114
                                    <input type="submit" class="principal" value="Show barcode" />
113
                                </fieldset>
115
                                </fieldset>
114
                            </div>
116
                            </div>
115
                            <div class="col-sm-6">
117
                            <div class="col-sm-6">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tt (-3 / +3 lines)
Lines 3-15 Link Here
3
<body id="labels_label-bib-search" class="tools labels">
3
<body id="labels_label-bib-search" class="tools labels">
4
<div id="main-compact">
4
<div id="main-compact">
5
5
6
<h1>Search</h1>
6
<h2>Search</h2>
7
7
8
<form name="f" method="post">
8
<form name="f" method="post">
9
	<input type="hidden" name="op" value="do_search" />
9
	<input type="hidden" name="op" value="do_search" />
10
	<input type="hidden" name="type" value="intranet" />
10
	<input type="hidden" name="type" value="intranet" />
11
	<div class="details">
11
	<div class="details">
12
		<h2>Search on</h2>
12
		<h3>Search on</h3>
13
		<p>
13
		<p>
14
			<label for="category">Name or ISSN: </label>
14
			<label for="category">Name or ISSN: </label>
15
			[% category | html %]
15
			[% category | html %]
Lines 25-31 Link Here
25
			<input type="hidden" id="index" name="index" value="[% index | html %]" />
25
			<input type="hidden" id="index" name="index" value="[% index | html %]" />
26
		</p>
26
		</p>
27
		<p>
27
		<p>
28
			<input type="submit" value="Start search" class="submit" />
28
			<input type="submit" value="Start search" class="submit principal" />
29
		</p>
29
		</p>
30
	</div>
30
	</div>
31
</form>
31
</form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt (-8 / +7 lines)
Lines 52-64 Link Here
52
                    [% INCLUDE 'labels-toolbar.inc' %]
52
                    [% INCLUDE 'labels-toolbar.inc' %]
53
53
54
                    [% IF ( profile_id ) %]
54
                    [% IF ( profile_id ) %]
55
                        <h1>Edit printer profile [% profile_id | html %]</h1>
55
                        <h2>Edit printer profile [% profile_id | html %]</h2>
56
                    [% ELSE %]
56
                    [% ELSE %]
57
                        <h1>New printer profile</h1>
57
                        <h2>New printer profile</h2>
58
                    [% END%]
58
                    [% END%]
59
59
60
                    <form name="input" action="/cgi-bin/koha/labels/label-edit-profile.pl" method="get">
60
                    <form name="input" action="/cgi-bin/koha/labels/label-edit-profile.pl" method="get">
61
                                    <fieldset class="rows"><legend>Profile settings</legend>
61
                                    <fieldset class="rows"><h3>Profile settings</h3>
62
                                        <ol>
62
                                        <ol>
63
                                            <li>
63
                                            <li>
64
                                                [% IF ( profile_id ) %]
64
                                                [% IF ( profile_id ) %]
Lines 111-117 Link Here
111
                                         </ol>
111
                                         </ol>
112
										</fieldset>
112
										</fieldset>
113
113
114
										<fieldset class="rows"><legend>Offset:</legend>
114
										<fieldset class="rows"><h3>Offset:</h3>
115
										<ol>
115
										<ol>
116
                                            <li>
116
                                            <li>
117
                                                <label for="offset_horz">Horizontal: </label><input type="text"  size="4" name="offset_horz" id="offset_horz" value="[% offset_horz | html %]" />
117
                                                <label for="offset_horz">Horizontal: </label><input type="text"  size="4" name="offset_horz" id="offset_horz" value="[% offset_horz | html %]" />
Lines 122-128 Link Here
122
                                         </ol>
122
                                         </ol>
123
										</fieldset>
123
										</fieldset>
124
124
125
										<fieldset class="rows"><legend>Creep:</legend>
125
										<fieldset class="rows"><h3>Creep:</h3>
126
										<ol>
126
										<ol>
127
                                            <li>
127
                                            <li>
128
                                                <label for="creep_horz">Horizontal: </label><input type="text"  size="4" name="creep_horz" id="creep_horz" value="[% creep_horz | html %]" />
128
                                                <label for="creep_horz">Horizontal: </label><input type="text"  size="4" name="creep_horz" id="creep_horz" value="[% creep_horz | html %]" />
Lines 131-139 Link Here
131
                                                <label for="creep_vert">Vertical: </label><input type="text" size="4" name="creep_vert" id="creep_vert" value="[% creep_vert | html %]" />
131
                                                <label for="creep_vert">Vertical: </label><input type="text" size="4" name="creep_vert" id="creep_vert" value="[% creep_vert | html %]" />
132
                                            </li>
132
                                            </li>
133
                                        </ol>
133
                                        </ol>
134
                                    </fieldset>
134
                                        
135
                                    <fieldset class="action">
135
                                        <input type="submit" value="Save" class="princip"/>
136
                                        <input type="submit" value="Save" />
137
                                        <a href="/cgi-bin/koha/labels/label-manage.pl?label_element=profile" class="cancel">Cancel</a>
136
                                        <a href="/cgi-bin/koha/labels/label-manage.pl?label_element=profile" class="cancel">Cancel</a>
138
                                        <input type="hidden" name="op" value="save" />
137
                                        <input type="hidden" name="op" value="save" />
139
                                        <input type="hidden" name="profile_id" value="[% profile_id | html %]" />
138
                                        <input type="hidden" name="profile_id" value="[% profile_id | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-range.tt (-1 / +1 lines)
Lines 40-46 Link Here
40
            <div class="col-sm-10 col-sm-push-2">
40
            <div class="col-sm-10 col-sm-push-2">
41
                <main>
41
                <main>
42
                    [% INCLUDE 'labels-toolbar.inc' %]
42
                    [% INCLUDE 'labels-toolbar.inc' %]
43
                    <h1>Print barcode range</h1>
43
                    <h2>Print barcode range</h2>
44
                    <form name="add_by_number" action="/cgi-bin/koha/labels/label-edit-batch.pl" method="post">
44
                    <form name="add_by_number" action="/cgi-bin/koha/labels/label-edit-batch.pl" method="post">
45
                        <input type="hidden" name="op" value="add" />
45
                        <input type="hidden" name="op" value="add" />
46
                        <fieldset class="rows">
46
                        <fieldset class="rows">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt (-4 / +4 lines)
Lines 50-58 Link Here
50
                    [% INCLUDE 'labels-toolbar.inc' %]
50
                    [% INCLUDE 'labels-toolbar.inc' %]
51
51
52
                    [% IF ( template_id ) %]
52
                    [% IF ( template_id ) %]
53
                        <h1>Edit label template [% template_id | html %]</h1>
53
                        <h2>Edit label template [% template_id | html %]</h2>
54
                    [% ELSE %]
54
                    [% ELSE %]
55
                        <h1>New label template</h1>
55
                        <h2>New label template</h2>
56
                    [% END %]
56
                    [% END %]
57
57
58
                    <form name="input" action="/cgi-bin/koha/labels/label-edit-template.pl" method="get">
58
                    <form name="input" action="/cgi-bin/koha/labels/label-edit-template.pl" method="get">
Lines 169-175 Link Here
169
                                        [% END %]
169
                                        [% END %]
170
                                        [% IF ( profile_list.size == 1 ) %]
170
                                        [% IF ( profile_list.size == 1 ) %]
171
                                        <br>
171
                                        <br>
172
                                        <a href="/cgi-bin/koha/labels/label-edit-profile.pl?op=new">Make a new printer profile.</a>
172
                                        <a href="/cgi-bin/koha/labels/label-edit-profile.pl?op=new" id="lientype">Make a new printer profile.</a>
173
                                        [% END %]
173
                                        [% END %]
174
                                    </li>
174
                                    </li>
175
                                </ol>
175
                                </ol>
Lines 177-183 Link Here
177
                        </div>
177
                        </div>
178
                    </div>
178
                    </div>
179
                        <fieldset class="action">
179
                        <fieldset class="action">
180
                            <input type="submit" class="submit" value="Save" /><a class="cancel" href="/cgi-bin/koha/labels/label-manage.pl?label_element=template">Cancel</a>
180
                            <input type="submit" class="submit principal" value="Save" /><a class="cancel" href="/cgi-bin/koha/labels/label-manage.pl?label_element=template">Cancel</a>
181
                            <input type="hidden" name="op" value="save" />
181
                            <input type="hidden" name="op" value="save" />
182
                            [% IF ( template_id ) %]
182
                            [% IF ( template_id ) %]
183
                            <input type="hidden" name="template_id" value="[% template_id | html %]" />
183
                            <input type="hidden" name="template_id" value="[% template_id | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt (-5 / +5 lines)
Lines 56-62 Link Here
56
                <main>
56
                <main>
57
57
58
                    [% INCLUDE 'labels-toolbar.inc' %]
58
                    [% INCLUDE 'labels-toolbar.inc' %]
59
                    <h1>Manage labels</h1>
59
                    <h2>Manage labels</h2>
60
60
61
                        [% IF ( error ) %]
61
                        [% IF ( error ) %]
62
                            <div class="dialog alert">
62
                            <div class="dialog alert">
Lines 68-80 Link Here
68
                            [% IF ( table_loop ) %]
68
                            [% IF ( table_loop ) %]
69
                            <form name="layouts" action="/cgi-bin/koha/label-manage.pl?label_element=[% label_element | html %]">
69
                            <form name="layouts" action="/cgi-bin/koha/label-manage.pl?label_element=[% label_element | html %]">
70
                            [% IF    ( label_element == 'layout' ) %]
70
                            [% IF    ( label_element == 'layout' ) %]
71
                            <h2>Currently available layouts</h2>
71
                            <h3>Currently available layouts</h3>
72
                            [% ELSIF ( label_element == 'template' ) %]
72
                            [% ELSIF ( label_element == 'template' ) %]
73
                            <h2>Currently available templates</h2>
73
                            <h3>Currently available templates</h3>
74
                            [% ELSIF ( label_element == 'profile' ) %]
74
                            [% ELSIF ( label_element == 'profile' ) %]
75
                            <h2>Currently available profiles</h2>
75
                            <h3>Currently available profiles</h3>
76
                            [% ELSIF ( label_element == 'batch' ) %]
76
                            [% ELSIF ( label_element == 'batch' ) %]
77
                            <h2>Currently available batches</h2>
77
                            <h3>Currently available batches</h3>
78
                            [% END %]
78
                            [% END %]
79
                            <table id="labels-table">
79
                            <table id="labels-table">
80
                                [% FOREACH table_loo IN table_loop %]
80
                                [% FOREACH table_loo IN table_loop %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt (-15 / +15 lines)
Lines 8-14 Link Here
8
8
9
<body id="labels_label-print" class="tools labels">
9
<body id="labels_label-print" class="tools labels">
10
    <div class="main container-fluid">
10
    <div class="main container-fluid">
11
        <h1>Label printing/exporting</h1>
11
        <h2>Label printing/exporting</h2>
12
        [% IF ( batches ) %]
12
        [% IF ( batches ) %]
13
            <form>
13
            <form>
14
                <h3>Click on the following links to download the exported batch(es).</h3>
14
                <h3>Click on the following links to download the exported batch(es).</h3>
Lines 21-52 Link Here
21
                        [% FOREACH batche IN batches %]
21
                        [% FOREACH batche IN batches %]
22
                        <fieldset>
22
                        <fieldset>
23
                            [% IF ( batche.label_ids ) %]
23
                            [% IF ( batche.label_ids ) %]
24
                                <legend>[% IF ( batche.label_count == 1 ) %][% batche.label_count | html %] single label[% ELSE %][% batche.label_count | html %] single labels[% END %]</legend>
24
                                <h3>[% IF ( batche.label_count == 1 ) %][% batche.label_count | html %] single label[% ELSE %][% batche.label_count | html %] single labels[% END %]</h3>
25
                                <a class="document pdf" href="/cgi-bin/koha/labels/label-create-pdf.pl?batch_id=0&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;start_label=[% batche.start_label | html %]&amp;from=[% batche.from | html %]&amp;to=[% batche.to | html %]&amp;barcode_length=[% batche.barcode_length| html %]">Download as PDF</a>
25
                                <a class="document pdf" href="/cgi-bin/koha/labels/label-create-pdf.pl?batch_id=0&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;start_label=[% batche.start_label | html %]&amp;from=[% batche.from | html %]&amp;to=[% batche.to | html %]&amp;barcode_length=[% batche.barcode_length| html %]">Download as PDF</a>
26
26
27
                                    <p><a class="document csv" href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %][% batche.label_ids | html %]">Download as CSV</a></p>
27
                                    <p><a id="lientype" class="document csv" href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %][% batche.label_ids | html %]">Download as CSV</a></p>
28
28
29
                                    <p><a class="document xml" href="/cgi-bin/koha/labels/label-create-xml.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %][% batche.label_ids | html %]">Download as XML</a></p>
29
                                    <p><a id="lientype" class="document xml" href="/cgi-bin/koha/labels/label-create-xml.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %][% batche.label_ids | html %]">Download as XML</a></p>
30
                            [% ELSIF ( batche.item_numbers ) %]
30
                            [% ELSIF ( batche.item_numbers ) %]
31
                            <legend>[% IF ( batche.label_count == 1 ) %][% batche.label_count | html %] single label[% ELSE %][% batche.label_count | html %] single labels[% END %]</legend>
31
                            <h3>[% IF ( batche.label_count == 1 ) %][% batche.label_count | html %] single label[% ELSE %][% batche.label_count | html %] single labels[% END %]</h3>
32
                                    <p><a class="document pdf" href="/cgi-bin/koha/labels/[% batche.create_script | html %]?template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;start_label=[% batche.start_label | html %][% batche.item_numbers | html %]">Download as PDF</a></p>
32
                                    <p><a id="lientype" class="document pdf" href="/cgi-bin/koha/labels/[% batche.create_script | html %]?template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;start_label=[% batche.start_label | html %][% batche.item_numbers | html %]">Download as PDF</a></p>
33
33
34
                                    <p><a class="document csv" href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %][% batche.item_numbers | html %]">Download as CSV</a></p>
34
                                    <p><a id="lientype" class="document csv" href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %][% batche.item_numbers | html %]">Download as CSV</a></p>
35
35
36
                                    <p><a class="document xml" href="/cgi-bin/koha/labels/label-create-xml.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %][% batche.item_numbers | html %]">Download as XML</a></p>
36
                                    <p><a id="lientype" class="document xml" href="/cgi-bin/koha/labels/label-create-xml.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %][% batche.item_numbers | html %]">Download as XML</a></p>
37
                            [% ELSIF ( batche.batch_id) %]
37
                            [% ELSIF ( batche.batch_id) %]
38
                            <legend>Label batch number [% batche.batch_id | html %]</legend>
38
                            <h3>Label batch number [% batche.batch_id | html %]</h3>
39
                                    <p><a class="document pdf" href="/cgi-bin/koha/labels/label-create-pdf.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;start_label=[% batche.start_label | html %]">Download as PDF</a>
39
                                    <p><a id="lientype" class="document pdf" href="/cgi-bin/koha/labels/label-create-pdf.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;start_label=[% batche.start_label | html %]">Download as PDF</a>
40
                                </p>
40
                                </p>
41
                                <p>
41
                                <p>
42
                                    <a class="document csv" href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]">Download as CSV</a>
42
                                    <a id="lientype" class="document csv" href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]">Download as CSV</a>
43
                                </p>
43
                                </p>
44
                                <p>
44
                                <p>
45
                                    <a class="document xml" href="/cgi-bin/koha/labels/label-create-xml.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]">Download as XML</a></p>
45
                                    <a id="lientype" class="document xml" href="/cgi-bin/koha/labels/label-create-xml.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]">Download as XML</a></p>
46
                            [% ELSIF (batche.from && batche.to) %]
46
                            [% ELSIF (batche.from && batche.to) %]
47
                            <legend>Barcodes from [% batche.from | html %] to [% batche.to | html %]</legend>
47
                            <h3>Barcodes from [% batche.from | html %] to [% batche.to | html %]</h3>
48
                            <p>
48
                            <p>
49
                                <a class="document pdf" href="/cgi-bin/koha/labels/label-create-pdf.pl?batch_id=0&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;start_label=[% batche.start_label | html %]&amp;from=[% batche.from | html %]&amp;to=[% batche.to | html %]&amp;barcode_length=[% batche.barcode_length | html %]">Download as PDF</a>
49
                                <a id="lientype" class="document pdf" href="/cgi-bin/koha/labels/label-create-pdf.pl?batch_id=0&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;start_label=[% batche.start_label | html %]&amp;from=[% batche.from | html %]&amp;to=[% batche.to | html %]&amp;barcode_length=[% batche.barcode_length | html %]">Download as PDF</a>
50
                            </p>
50
                            </p>
51
                            [% END %]
51
                            [% END %]
52
                        </fieldset>
52
                        </fieldset>
Lines 105-111 Link Here
105
                    </ol>
105
                    </ol>
106
                </fieldset>
106
                </fieldset>
107
                <fieldset class="action">
107
                <fieldset class="action">
108
                    <input type="submit" value="Export" />
108
                    <input type="submit" class="principal" value="Export" />
109
                    <a href="#" class="cancel gb-close">Cancel</a>
109
                    <a href="#" class="cancel gb-close">Cancel</a>
110
                </fieldset>
110
                </fieldset>
111
            </form>
111
            </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt (-3 / +3 lines)
Lines 29-35 Link Here
29
29
30
<body id="labels_result" class="tools labels">
30
<body id="labels_result" class="tools labels">
31
    <div class="main container-fluid">
31
    <div class="main container-fluid">
32
            <h1>Search results</h1>
32
            <h2>Search results</h2>
33
        <div class="results">
33
        <div class="results">
34
            [% PROCESS pagination %]
34
            [% PROCESS pagination %]
35
                [% IF ( results ) %]
35
                [% IF ( results ) %]
Lines 83-89 Link Here
83
                        <td><input type="checkbox" name="action" value="[% text_field.field_value | html %]"></td>
83
                        <td><input type="checkbox" name="action" value="[% text_field.field_value | html %]"></td>
84
                    [% ELSIF ( text_field.link_field ) %]
84
                    [% ELSIF ( text_field.link_field ) %]
85
                        <td>
85
                        <td>
86
                            <a class="btn btn-default btn-xs select_item" data-item-number="[% text_field.field_value | html %]" data-batch-id="[% batch_id | html %]" data-field-type="[% text_field.type | html %]"><i class="fa fa-plus"></i> Add</a>
86
                            <a id="lientype" class="btn btn-default btn-xs select_item" data-item-number="[% text_field.field_value | html %]" data-batch-id="[% batch_id | html %]" data-field-type="[% text_field.type | html %]"><i class="fa fa-plus"></i> Add</a>
87
                        </td>
87
                        </td>
88
                    [% ELSE %]
88
                    [% ELSE %]
89
                        <td>[% text_field.field_value | html %]</td>
89
                        <td>[% text_field.field_value | html %]</td>
Lines 99-105 Link Here
99
            </form>
99
            </form>
100
        </div>
100
        </div>
101
        [% PROCESS pagination %]
101
        [% PROCESS pagination %]
102
        <div id="closewindow"><a href="#" class="btn btn-default btn-default close">Close</a></div>
102
        <div id="closewindow"><a href="#" class="btn btn-default btn-default close cancel">Close</a></div>
103
    </div>
103
    </div>
104
104
105
[% MACRO jsinclude BLOCK %]
105
[% MACRO jsinclude BLOCK %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt (-4 / +4 lines)
Lines 7-17 Link Here
7
<body id="labels_search" class="tools labels">
7
<body id="labels_search" class="tools labels">
8
    <div class="main container-fluid">
8
    <div class="main container-fluid">
9
9
10
<h1>Search for items
10
<h2>Search for items
11
[% IF ( batch_id ) %]
11
[% IF ( batch_id ) %]
12
to add to Batch [% batch_id | html %]
12
to add to Batch [% batch_id | html %]
13
[% END %]
13
[% END %]
14
</h1>
14
</h2>
15
15
16
<form name="f" method="post" action="/cgi-bin/koha/labels/label-item-search.pl">
16
<form name="f" method="post" action="/cgi-bin/koha/labels/label-item-search.pl">
17
	<input type="hidden" name="op" value="do_search" />
17
	<input type="hidden" name="op" value="do_search" />
Lines 71-77 to add to Batch [% batch_id | html %] Link Here
71
</fieldset>
71
</fieldset>
72
72
73
[% IF ( sort_by_loop ) %]
73
[% IF ( sort_by_loop ) %]
74
<fieldset><legend>Sort by: </legend>
74
<fieldset><h3>Sort by: </h3>
75
    <p><select id="sort_by" name="sort_by">
75
    <p><select id="sort_by" name="sort_by">
76
        <option value="">Field-weighted, relevance ranked</option>
76
        <option value="">Field-weighted, relevance ranked</option>
77
        [% FOREACH sort_by_loo IN sort_by_loop %]
77
        [% FOREACH sort_by_loo IN sort_by_loop %]
Lines 101-107 to add to Batch [% batch_id | html %] Link Here
101
</ol>
101
</ol>
102
</fieldset>
102
</fieldset>
103
103
104
<fieldset class="action"><input type="submit" value="Search" class="submit" /> <a class="cancel close" href="#">Cancel</a></fieldset>
104
<fieldset class="action"><input type="submit" value="Search" class="submit principal" /> <a class="cancel close" href="#">Cancel</a></fieldset>
105
</form>
105
</form>
106
</div>
106
</div>
107
107
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt (-1 / +1 lines)
Lines 38-46 Link Here
38
        <div class="col-sm-10 col-sm-push-2">
38
        <div class="col-sm-10 col-sm-push-2">
39
            <main>
39
            <main>
40
40
41
<h1>Quick spine label creator</h1>
42
                <form action="/cgi-bin/koha/labels/spinelabel-print.pl" method="post" id="spinelabelprint">
41
                <form action="/cgi-bin/koha/labels/spinelabel-print.pl" method="post" id="spinelabelprint">
43
				<fieldset class="brief">
42
				<fieldset class="brief">
43
<h3>Quick spine label creator</h3>
44
				<ol>
44
				<ol>
45
					<li><label for="barcode">Barcode: </label>
45
					<li><label for="barcode">Barcode: </label>
46
                        <input type="text" name="barcode" id="barcode" class="focus" required="required" />
46
                        <input type="text" name="barcode" id="barcode" class="focus" required="required" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt (-130 / +391 lines)
Lines 9-25 Link Here
9
    [% INCLUDE 'patron-search-header.inc' %]
9
    [% INCLUDE 'patron-search-header.inc' %]
10
[% END %]
10
[% END %]
11
[% PROCESS 'patronfields.inc' %]
11
[% PROCESS 'patronfields.inc' %]
12
[% SET libraries = Branches.all %]
13
[% SET categories = Categories.all.unblessed %]
14
[% SET columns = ['cardnumber', 'name-address', 'dateofbirth', 'branch', 'category', 'dateexpiry', 'checkouts', 'account_balance', 'borrowernotes', 'action'] %]
15
[% PROCESS 'patron-search.inc' %]
16
[% INCLUDE 'doc-head-open.inc' %]
12
[% INCLUDE 'doc-head-open.inc' %]
17
<title>Patrons[% IF ( searching ) %] &rsaquo; Search results[% END %] &rsaquo; Koha</title>
13
<title>Patrons[% IF ( searching ) %] &rsaquo; Search results[% END %] &rsaquo; Koha</title>
18
[% INCLUDE 'doc-head-close.inc' %]
14
[% INCLUDE 'doc-head-close.inc' %]
19
</head>
15
</head>
20
16
21
<body id="pat_member">
17
<body id="pat_member">
22
[% INCLUDE 'header.inc' form= formulaire %]
18
[% INCLUDE 'header.inc' %]
23
19
24
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
25
    <ol>
21
    <ol>
Lines 43-56 Link Here
43
            </li>
39
            </li>
44
        [% END %]
40
        [% END %]
45
    </ol>
41
    </ol>
46
42
        <ol>
47
    <ol>
43
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
48
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
44
        </ol>
49
    </ol>
45
        <ol>
50
46
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
51
    <ol>
47
        </ol>
52
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
53
    </ol>
54
</nav>
48
</nav>
55
49
56
<div class="main container-fluid">
50
<div class="main container-fluid">
Lines 59-65 Link Here
59
            <main>
53
            <main>
60
54
61
          [% IF CAN_user_tools_manage_patron_lists %]
55
          [% IF CAN_user_tools_manage_patron_lists %]
62
            <div id="patron_list_dialog" class="dialog message">
56
            <div id="patron_list_dialog" class="dialog message lientype">
63
              Added <span class="patrons-length"></span> patrons to <a></a>.
57
              Added <span class="patrons-length"></span> patrons to <a></a>.
64
            </div>
58
            </div>
65
          [% END %]
59
          [% END %]
Lines 67-72 Link Here
67
          [% INCLUDE 'patron-toolbar.inc' %]
61
          [% INCLUDE 'patron-toolbar.inc' %]
68
          [% INCLUDE 'noadd-warnings.inc' %]
62
          [% INCLUDE 'noadd-warnings.inc' %]
69
63
64
          <div class="browse">
65
            Browse by last name:
66
            [% FOREACH letter IN alphabet.split(' ') %]
67
                <a href="#" class="filterByLetter">[% letter | html %]</a>
68
            [% END %]
69
          </div>
70
70
          [% IF CAN_user_borrowers_edit_borrowers && pending_borrower_modifications %]
71
          [% IF CAN_user_borrowers_edit_borrowers && pending_borrower_modifications %]
71
            <div class="pending-info" id="patron_updates_pending">
72
            <div class="pending-info" id="patron_updates_pending">
72
              <a href="/cgi-bin/koha/members/members-update.pl">Patrons requesting modifications</a>:
73
              <a href="/cgi-bin/koha/members/members-update.pl">Patrons requesting modifications</a>:
Lines 76-121 Link Here
76
77
77
          <div id="searchresults">
78
          <div id="searchresults">
78
            <h3>Patrons found for: <span id="searchpattern">[% IF searchmember %] for '[% searchmember | html %]'[% END %]</span></h3>
79
            <h3>Patrons found for: <span id="searchpattern">[% IF searchmember %] for '[% searchmember | html %]'[% END %]</span></h3>
79
80
81
            [% IF CAN_user_tools_manage_patron_lists || CAN_user_borrowers_edit_borrowers %]
80
            [% IF CAN_user_tools_manage_patron_lists || CAN_user_borrowers_edit_borrowers %]
82
              <div class="searchheader fh-fixedHeader" id="searchheader" style="display:none;">
81
              <div class="searchheader fh-fixedHeader" id="searchheader">
83
                  <div>
82
                  <div>
84
                      <a href="#" class="btn btn-link" id="select_all"><i class="fa fa-check"></i> Select all</a>
83
                      <a href="#" class="btn btn-link" id="select_all"><i class="fa fa-check"></i> Select all</a>
84
                      |
85
                      <a href="#" class="btn btn-link" id="clear_all"><i class="fa fa-remove"></i> Clear all</a>
85
                      <a href="#" class="btn btn-link" id="clear_all"><i class="fa fa-remove"></i> Clear all</a>
86
                    [% IF CAN_user_tools_manage_patron_lists %]
86
                    [% IF CAN_user_tools_manage_patron_lists %]
87
87
88
                    [% END %]
88
                    [% END %]
89
89
90
                    [% IF CAN_user_tools_manage_patron_lists %]
90
                    [% IF CAN_user_tools_manage_patron_lists %]
91
                        Add selected patrons to:
91
                        <div id="patronlist-dropdown" class="btn-group">
92
                        <select name="searchfieldstype" id="searchfieldstype_filter">
92
                            <button id="patronlist-menu" type="button" class="btn btn-sm btn-default dropdown-toggle patron-edits disabled" disabled="disabled" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
93
                            <option selected="selected" value=""> [New list] </option>
93
                                Add to patron list <span class="caret"></span>
94
                            [% IF patron_lists %]
94
                            </button>
95
                                [% FOREACH pl IN patron_lists %]
95
                            <ul class="dropdown-menu">
96
                                    <option>[% pl.name | html %]</option>
96
                                [% IF patron_lists %]
97
                                    [% FOREACH pl IN patron_lists %]
98
                                        <li><a href="#" class="patron-list-add" data-listid="[% pl.patron_list_id | html %]">[% pl.name | html %]</a></li>
99
                                    [% END %]
97
                                [% END %]
100
                                [% END %]
98
                            [% END %]
101
                                <li role="separator" class="divider"></li>
99
                        </select>
102
                                <li><a id="lientype" href="#" class="patron-list-add" data-listid="new">New list</a></li>
100
103
                            </ul>
101
                         <input type="text" name="new_list_name" id="mini_inp"/>
104
                        </div>
102
103
                        <button type="submit" id="add_to_patron_list_submit" class="btn btn-link">Save</button>
104
105
106
                    [% END %]
105
                    [% END %]
107
106
108
                    [% IF CAN_user_borrowers_edit_borrowers %]
107
                    [% IF CAN_user_borrowers_edit_borrowers %]
109
                          | <button id="merge-patrons" class="btn btn-sm btn-default disabled" disabled="disabled" type="submit"><i class="fa fa-compress" aria-hidden="true"></i> Merge selected patrons</button>
108
                          <button id="merge-patrons" class="btn btn-sm btn-default disabled" disabled="disabled" type="submit"><i class="fa fa-compress" aria-hidden="true"></i> Merge selected patrons</button>
110
                    [% END %]
109
                    [% END %]
111
                  </div>
110
                  </div>
112
                </div>
111
                </div>
113
            [% END %]
112
            [% END %]
114
113
115
            [% IF CAN_user_borrowers_edit_borrowers || CAN_user_tools_manage_patron_lists %]
114
            <table id="memberresultst">
116
                [% columns.unshift('checkbox') | html %]
115
              <thead>
117
            [% END %]
116
                <tr>
118
            [% PROCESS patron_search_table table_id => 'memberresultst' columns => columns %]
117
                [% IF CAN_user_borrowers_edit_borrowers || CAN_user_tools_manage_patron_lists %]
118
                  <th>&nbsp;</th>
119
                [% END %]
120
                  <th>Card</th>
121
                  <th>Name</th>
122
                  <th>Date of birth</th>
123
                  <th>Category</th>
124
                  <th>Library</th>
125
                  <th>Expires on</th>
126
                  <th>OD/Checkouts</th>
127
                  <th>Fines</th>
128
                  <th>Circ note</th>
129
                  <th>&nbsp;</th>
130
                </tr>
131
              </thead>
132
              <tbody></tbody>
133
            </table>
119
          </div>
134
          </div>
120
135
121
            </main>
136
            </main>
Lines 123-215 Link Here
123
138
124
        <div class="col-sm-2 col-sm-pull-10">
139
        <div class="col-sm-2 col-sm-pull-10">
125
            <aside>
140
            <aside>
126
                [% PROCESS patron_search_filters categories => categories, libraries => libraries, filters => ['search_field', 'search_type', 'category', 'branch'], search_filter => searchmember %]
141
            <div id="filters">
127
                <div id="filters">
142
                <form method="get" id="searchform">
128
                    <form method="get" id="searchform">
143
                  <input type="hidden" id="firstletter_filter" value="" />
129
                        <input type="hidden" id="firstletter_filter" value="" />
144
                  <fieldset class="brief">
130
                        <fieldset class="brief">
145
                    <h3>Search patrons</h3>
131
                            <h4>Search patrons</h4>
146
                    <ol>
132
147
                      <li>
133
                            <fieldset>
148
                        <p for="searchmember_filter">Search for:
134
                                <ol>
149
                        <input type="text" id="searchmember_filter" value="[% searchmember | html %]"/>
135
                                    <li>
150
                      </p></li>
136
                                        <p>Search:
151
                      <li>
137
                                        <input type="text" id="searchmember_filter" value="[% searchmember | html %]"/></p>
152
                        <p for="searchfieldstype_filter">Search field:
138
                                    </li>
153
                        <select name="searchfieldstype" id="searchfieldstype_filter">
139
                                    <li>
154
                            [% pref_fields = Koha.Preference('DefaultPatronSearchFields').split(',') %]
140
                                        <p>Search field:
155
                            [% default_fields = [ 'standard', 'surname', 'cardnumber', 'email', 'borrowernumber', 'userid', 'phone', 'address', 'dateofbirth', 'sort1', 'sort2' ] %]
141
                                        <select name="searchfieldstype" id="searchfieldstype_filter">
156
                            [% search_options = default_fields.merge(pref_fields).unique %]
142
                                            [% pref_fields = Koha.Preference('DefaultPatronSearchFields').split(',') %]
157
                            [% FOREACH s_o IN search_options %]
143
                                            [% default_fields = [ 'standard', 'surname', 'cardnumber', 'email', 'borrowernumber', 'userid', 'phone', 'address', 'dateofbirth', 'sort1', 'sort2' ] %]
158
                                [% display_name = PROCESS patron_fields name=s_o %]
144
                                            [% search_options = default_fields.merge(pref_fields).unique %]
159
                                [% NEXT IF !display_name %]
145
                                            [% FOREACH s_o IN search_options %]
160
                                [% IF searchfieldstype == s_o %]
146
                                                [% display_name = PROCESS patron_fields name=s_o %]
161
                                    <option selected="selected" value=[% s_o | html %]>[% display_name | $raw %]</option>
147
                                                [% NEXT IF !display_name %]
162
                                [% ELSE %]
148
                                                [% IF searchfieldstype == s_o %]
163
                                    <option value=[% s_o | html %]>[% display_name | $raw %]</option>
149
                                                    <option selected="selected" value=[% s_o | html %]>[% display_name | $raw %]</option>
164
                                [% END %]
150
                                                [% ELSE %]
165
                            [% END %]
151
                                                    <option value=[% s_o | html %]>[% display_name | $raw %]</option>
166
                        </select></p>
152
                                                [% END %]
167
                      </li>
153
                                            [% END %]
168
                      <li>
154
                                        </select></p>
169
                        <p for="searchtype_filter">Search type:
155
                                    </li>
170
                        <select name="searchtype" id="searchtype_filter">
156
                                    <li>
171
                          [% IF searchtype == "start_with" %]
157
                                        <p>Search type:
172
                            <option value='start_with' selected="selected">Starts with</option>
158
                                        <select name="searchtype" id="searchtype_filter">
173
                            <option value="contain">Contains</option>
159
                                        [% IF searchtype == "start_with" %]
174
                          [% ELSE %]
160
                                            <option value='start_with' selected="selected">Starts with</option>
175
                            <option value='start_with'>Starts with</option>
161
                                            <option value="contain">Contains</option>
176
                            <option value="contain" selected="selected">Contains</option>
162
                                        [% ELSE %]
177
                          [% END %]
163
                                            <option value='start_with'>Starts with</option>
178
                        </select></p>
164
                                            <option value="contain" selected="selected">Contains</option>
179
                      </li>
165
                                        [% END %]
180
                      <li>
166
                                        </select></p>
181
                        <p for="categorycode_filter">Patron category:
167
                                    </li>
182
                        [% SET categories = Categories.all() %]
168
                                    <li>
183
                        <select id="categorycode_filter">
169
                                        <p>Patron category:
184
                          <option value="">Any</option>
170
                                        [% SET categories = Categories.all() %]
185
                          [% FOREACH cat IN categories %]
171
                                        <select id="categorycode_filter">
186
                            [% IF cat.categorycode == categorycode_filter %]
172
                                        <option value="">Any</option>
187
                    <option selected="selected" value="[% cat.categorycode | html %]">[% cat.description | html %]</option>
173
                                        [% FOREACH cat IN categories %]
188
                            [% ELSE %]
174
                                            [% IF cat.categorycode == categorycode_filter %]
189
                    <option value="[% cat.categorycode | html %]">[% cat.description | html %]</option>
175
                                    <option selected="selected" value="[% cat.categorycode | html %]">[% cat.description | html %]</option>
190
176
                                            [% ELSE %]
191
                            [% END %]
177
                                    <option value="[% cat.categorycode | html %]">[% cat.description | html %]</option>
192
                          [% END %]
178
193
                        </select></p>
179
                                            [% END %]
194
                      </li>
180
                                        [% END %]
195
                      <li>
181
                                        </select></p>
196
                        <p for="branchcode_filter">Library:
182
                                    </li>
197
                        [% SET branches = Branches.all( selected => branchcode_filter, only_from_group => 1 ) %]
183
                                    <li>
198
                        <select id="branchcode_filter">
184
                                        <p>Library:
199
                          [% IF branches.size != 1 %]
185
                                        [% SET branches = Branches.all( selected => branchcode_filter, only_from_group => 1 ) %]
200
                            <option value="">Any</option>
186
                                        <select id="branchcode_filter">
201
                          [% END %]
187
                                        [% IF branches.size != 1 %]
202
                          [% PROCESS options_for_libraries libraries => branches %]
188
                                            <option value="">Any</option>
203
                        </select></p>
189
                                        [% END %]
204
                      </li>
190
                                        [% PROCESS options_for_libraries libraries => branches %]
205
                    </ol>
191
                                        </select></p>
206
                    <fieldset class="action">
192
                                    </li>
207
                      <input type="submit" class="principal" value="Search" />
193
                                </ol>
208
                      <a href="/cgi-bin/koha/members/members-home.pl" class="cancel">Clear</a>
194
                                <ol>
209
                    </fieldset>
195
                                    <button class="submit" id="principal" type="submit">Search</button>
210
                  </fieldset>
196
                                    <a class="cancel" id="cancel_set_library" href="[% referer or '/cgi-bin/koha/circ/circulation.pl' %]">Cancel</a>
211
                </form>
197
                                </ol>
198
                            </fieldset>
199
                        </fieldset>
200
                    </form>
201
                </div>
212
                </div>
202
            </aside>
213
            </aside>
203
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
214
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
204
    </div> <!-- /.row -->
215
    </div> <!-- /.row -->
205
216
217
    <!-- New Patron List Modal -->
218
    <div class="modal" id="new-patron-list" tabindex="-1" role="dialog" aria-labelledby="new-patron-listLabel">
219
        <div class="modal-dialog" role="document">
220
            <div class="modal-content">
221
                <div class="modal-header">
222
                    <button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
223
                    <h4 class="modal-title" id="new-patron-listLabel">Add patrons to a new patron list</h4>
224
                </div>
225
                <form id="new-patron-list_form">
226
                    <div class="modal-body">
227
                        <div class="form-group">
228
                            <label for="new_patron_list" class="required">Patron list name: </label>
229
                            <input class="form-control required" type="text" name="new_patron_list" id="new_patron_list" required="required" />
230
                            <input type="hidden" name="add_to_patron_list" id="add_to_patron_list" />
231
                            <span class="required">Required</span>
232
                        </div>
233
                    </div> <!-- /.modal-body -->
234
                    <div class="modal-footer">
235
                        <button type="submit" id="add_to_patron_list_submit" class="btn btn-default approve">Submit</button>
236
                        <button type="button" class="btn btn-default deny" data-dismiss="modal">Cancel</button>
237
                    </div> <!-- /.modal-footer -->
238
                </form> <!-- /#new-patron-list_form -->
239
            </div> <!-- /.modal-content -->
240
        </div> <!-- /.modal-dialog -->
241
    </div> <!-- /#new-patron-list -->
206
242
207
[% MACRO jsinclude BLOCK %]
243
[% MACRO jsinclude BLOCK %]
208
    [% INCLUDE 'datatables.inc' %]
244
    [% INCLUDE 'datatables.inc' %]
209
    [% INCLUDE 'columns_settings.inc' %]
245
    [% INCLUDE 'columns_settings.inc' %]
210
    [% INCLUDE 'str/members-menu.inc' %]
246
    [% INCLUDE 'str/members-menu.inc' %]
247
    [% Asset.js("lib/hc-sticky.js") | $raw %]
211
    [% Asset.js("js/members-menu.js") | $raw %]
248
    [% Asset.js("js/members-menu.js") | $raw %]
212
    <script>
249
    <script>
250
        var singleBranchMode = '[% singleBranchMode | html %]';
251
        var dtMemberResults;
252
        var search = 1;
253
        /* popstate event triggered by forward and back button. Need to refresh search */
254
        window.addEventListener('popstate', (event) => {
255
            getSearchByLocation( false );
256
        });
213
257
214
        $(document).ready(function() {
258
        $(document).ready(function() {
215
            $('#merge-patrons').prop('disabled', true);
259
            $('#merge-patrons').prop('disabled', true);
Lines 279-284 Link Here
279
                patronListAdd();
323
                patronListAdd();
280
            });
324
            });
281
325
326
            $(".filterByLetter").on("click",function(e){
327
                e.preventDefault();
328
                filterByFirstLetterSurname( $(this).text(), true );
329
            });
282
            $("#select_all").on("click",function(e){
330
            $("#select_all").on("click",function(e){
283
                e.preventDefault();
331
                e.preventDefault();
284
                $(".selection").prop("checked", true).change();
332
                $(".selection").prop("checked", true).change();
Lines 287-292 Link Here
287
                e.preventDefault();
335
                e.preventDefault();
288
                $(".selection").prop("checked", false).change();
336
                $(".selection").prop("checked", false).change();
289
            });
337
            });
338
            $("#clear_search").on("click",function(e){
339
                e.preventDefault();
340
                clearFilters(true);
341
            });
342
            $("#searchform").on("submit", filter);
290
343
291
            [% IF searchmember %]
344
            [% IF searchmember %]
292
                $("#searchmember_filter").val("[% searchmember | html %]");
345
                $("#searchmember_filter").val("[% searchmember | html %]");
Lines 304-312 Link Here
304
                $("#branchcode_filter").val("[% branchcode_filter | html %]");
357
                $("#branchcode_filter").val("[% branchcode_filter | html %]");
305
            [% END %]
358
            [% END %]
306
359
307
            $("#searchheader").hide();
360
            [% IF view != "show_results" %]
308
            $("#patron_search_form").on('submit', function(){$("#searchheader").show();});
361
                search = 0;
309
            $("#clear_search").on("click",function(e){$("#searchheader").hide();});
362
            [% ELSE %]
363
                $("#searchresults").show();
364
            [% END %]
365
366
            // Build the aLengthMenu
367
            var aLengthMenu = [
368
                [% PatronsPerPage | html %], 10, 20, 50, 100, -1
369
            ];
370
            jQuery.unique(aLengthMenu);
371
            aLengthMenu.sort(function( a, b ){
372
                // Put "All" at the end
373
                if ( a == -1 ) {
374
                    return 1;
375
                } else if ( b == -1 ) {
376
                    return -1;
377
                }
378
                return parseInt(a) < parseInt(b) ? -1 : 1;}
379
            );
380
            var aLengthMenuLabel = [];
381
            $(aLengthMenu).each(function(){
382
                if ( this == -1 ) {
383
                    // Label for -1 is "All"
384
                    aLengthMenuLabel.push(_("All"));
385
                } else {
386
                    aLengthMenuLabel.push(this);
387
                }
388
            });
389
390
            // Apply DataTables on the results table
391
            var columns_settings = [% TablesSettings.GetColumns( 'members', 'member', 'memberresultst', 'json' ) | $raw %];
392
            [% UNLESS CAN_user_borrowers_edit_borrowers OR CAN_user_tools_manage_patron_lists %]
393
                [%# Remove the first column if we do not display the checkbox %]
394
                columns_settings.splice(0, 1);
395
            [% END %]
396
            dtMemberResults = KohaTable("memberresultst", {
397
                'bServerSide': true,
398
                'sAjaxSource': "/cgi-bin/koha/svc/members/search",
399
                'fnServerData': function(sSource, aoData, fnCallback) {
400
                    if ( ! search ) {
401
                        return;
402
                    }
403
                    aoData.push({
404
                        'name': 'searchmember',
405
                        'value': $("#searchmember_filter").val()
406
                    },{
407
                        'name': 'firstletter',
408
                        'value': $("#firstletter_filter").val()
409
                    },{
410
                        'name': 'searchfieldstype',
411
                        'value': $("#searchfieldstype_filter").val()
412
                    },{
413
                        'name': 'searchtype',
414
                        'value': $("#searchtype_filter").val()
415
                    },{
416
                        'name': 'categorycode',
417
                        'value': $("#categorycode_filter").val()
418
                    },{
419
                        'name': 'branchcode',
420
                        'value': $("#branchcode_filter").val()
421
                    },{
422
                        'name': 'name_sorton',
423
                        'value': 'borrowers.surname borrowers.firstname'
424
                    },{
425
                        'name': 'cardnumber_sorton',
426
                        'value': 'borrowers.cardnumber',
427
                    },{
428
                        'name': 'dateofbirth_sorton',
429
                        'value': 'borrowers.dateofbirth',
430
                    },{
431
                        'name': 'dateexpiry_sorton',
432
                        'value': 'borrowers.dateexpiry',
433
                    },{
434
                        'name': 'category_sorton',
435
                        'value': 'categories.description',
436
                    },{
437
                        'name': 'branch_sorton',
438
                        'value': 'branches.branchname'
439
                    },{
440
                        'name': 'borrowernotes_sorton',
441
                        'value': 'borrowers.borrowernotes'
442
                    },{
443
                        'name': 'template_path',
444
                        'value': 'members/tables/members_results.tt',
445
                    });
446
                    $.ajax({
447
                        'dataType': 'json',
448
                        'type': 'POST',
449
                        'url': sSource,
450
                        'data': aoData,
451
                        'success': function(json){
452
                            // redirect if there is only 1 result.
453
                            if ( json.aaData.length == 1 ) {
454
                                var borrowernumber = json.aaData[0].borrowernumber;
455
                                /* Overwrite history state of firstletter search since only one result was returned; This prevents a loop upon clicking back */
456
                                history.replaceState( {}, null, window.location.href.split("?" )[0]);
457
                                [% IF circsearch == 1 %]
458
                                    [% SET redirect = "circ/circulation" %]
459
                                [% ELSE %]
460
                                    [% SET redirect = "members/moremember" %]
461
                                [% END %]
462
                                document.location.href="/cgi-bin/koha/[% redirect | $raw %].pl?borrowernumber="+borrowernumber;
463
                                return false;
464
                            }
465
                            fnCallback(json);
466
                        }
467
                    });
468
                },
469
                'aoColumns':[
470
                    [% IF CAN_user_borrowers_edit_borrowers || CAN_user_tools_manage_patron_lists %]
471
                      { 'mDataProp': 'dt_borrowernumber', 'bSortable': false },
472
                    [% END %]
473
                    { 'mDataProp': 'dt_cardnumber' },
474
                    { 'mDataProp': 'dt_name' },
475
                    { 'mDataProp': 'dt_dateofbirth' },
476
                    { 'mDataProp': 'dt_category' },
477
                    {
478
                        'mDataProp': function ( oObj ) {
479
                            if( !singleBranchMode &&  oObj.dt_branch == "[% Branches.GetLoggedInBranchname | html %]" ){
480
                                return "<span class=\"currentlibrary\">" + oObj.dt_branch + "</span>";
481
                            } else {
482
                                return oObj.dt_branch;
483
                            }
484
                        }
485
                    },
486
                    { 'mDataProp': 'dt_dateexpiry' },
487
                    { 'mDataProp': 'dt_od_checkouts', 'bSortable': false },
488
                    { 'mDataProp': 'dt_fines', 'bSortable': false },
489
                    { 'mDataProp': 'dt_borrowernotes' },
490
                    { 'mDataProp': 'dt_action', 'bSortable': false, 'sClass': 'actions' }
491
                ],
492
                'bFilter': false,
493
                'bAutoWidth': false,
494
                [% IF CAN_user_borrowers_edit_borrowers || CAN_user_tools_manage_patron_lists %]
495
                    'aaSorting': [[2, 'asc']],
496
                [% ELSE %]
497
                    'aaSorting': [[1, 'asc']],
498
                [% END %]
499
                "aLengthMenu": [aLengthMenu, aLengthMenuLabel],
500
                'sPaginationType': 'full_numbers',
501
                "iDisplayLength": [% PatronsPerPage | html %],
502
                "bProcessing": true,
503
                "initComplete": function(settings, json) {
504
                    Sticky = $("#searchheader");
505
                    Sticky.hcSticky({
506
                        stickTo: "#searchresults",
507
                        stickyClass: "floating"
508
                    });
509
                }
510
            }, columns_settings);
511
            update_searched();
512
            /* Initial page load doesn't trigger the popstate event, so we explicitly call this */
513
            getSearchByLocation( false );
514
310
        });
515
        });
311
516
312
        function patronListAdd(){
517
        function patronListAdd(){
Lines 341-346 Link Here
341
            return true;
546
            return true;
342
        }
547
        }
343
548
549
        function getSearchByLocation( setstate ){
550
            /* Check to see if the URL contains a search parameter */
551
            if( location.search != ""){
552
                var params = new URLSearchParams( location.search );
553
                var firstletter = params.get("firstletter");
554
                /* Check to see if search is a first letter param */
555
                if( firstletter ){
556
                    /* Trigger function to return search results by letter */
557
                    filterByFirstLetterSurname( firstletter, setstate );
558
                }
559
            }
560
        }
561
562
        // Update the string "Results found ..."
563
        function update_searched(){
564
            var searched = $("#searchfieldstype_filter").find("option:selected").text();
565
            if ( $("#searchmember_filter").val() ) {
566
                if ( $("#searchtype_filter").val() == 'start_with' ) {
567
                    searched += _(" starting with ");
568
                } else {
569
                    searched += _(" containing ");
570
                }
571
                searched += "'" + $("#searchmember_filter").val() + "'";
572
            }
573
            if ( $("#firstletter_filter").val() ) {
574
                searched += _(" begins with ") + "'" + $("#firstletter_filter").val() +"'";
575
            }
576
            if ( $("#categorycode_filter").val() ) {
577
                searched += _(" with category ") + "'" + $("#categorycode_filter").find("option:selected").text() + "'";
578
            }
579
            if ( $("#branchcode_filter").val() ) {
580
                searched += _(" in library ") + $("#branchcode_filter").find("option:selected").text();
581
            }
582
            $("#searchpattern").text(searched);
583
        }
584
585
        // Redraw the table
586
        function filter() {
587
            $("#firstletter_filter").val('');
588
            update_searched();
589
            search = 1;
590
            $("#searchresults").show();
591
            dtMemberResults.fnDraw();
592
            return false;
593
        }
594
344
        $('#memberresultst tbody').on('click','td',function(e){
595
        $('#memberresultst tbody').on('click','td',function(e){
345
            var $checkbox = $(this).find("input[type=checkbox]");
596
            var $checkbox = $(this).find("input[type=checkbox]");
346
            if (e.target.type != "checkbox") {
597
            if (e.target.type != "checkbox") {
Lines 349-372 Link Here
349
            }
600
            }
350
        });
601
        });
351
602
352
    </script>
603
        // User has clicked on the Clear button
604
        function clearFilters(redraw) {
605
            $("#searchform select").val('');
606
            $("#firstletter_filter").val('');
607
            $("#searchmember_filter").val('');
608
            if(redraw) {
609
                /* remove any search string added by firstletter search */
610
                history.pushState( {}, null, window.location.href.split("?" )[0]);
611
                update_searched();
612
                search = 0;
613
                $("#searchresults").hide();
614
                dtMemberResults.fnDraw();
615
            }
616
        }
353
617
354
    <script>
618
        // User has clicked on a letter
355
        // Apply DataTables on the results table
619
        function filterByFirstLetterSurname( letter, setstate ) {
356
        var table_settings = [% TablesSettings.GetColumns( 'members', 'member', 'memberresultst', 'json' ) | $raw %];
620
            clearFilters(false);
357
        [% UNLESS CAN_user_borrowers_edit_borrowers OR CAN_user_tools_manage_patron_lists %]
621
            $("#firstletter_filter").val(letter);
358
            [%# Remove the first column if we do not display the checkbox %]
622
            if( setstate ){
359
            table_settings['columns'].splice(0, 1);
623
                history.pushState( null, null, "?firstletter=" + letter );
360
        [% END %]
624
            }
625
            update_searched();
626
            search = 1;
627
            $("#searchresults").show();
628
            dtMemberResults.fnDraw();
629
        }
361
    </script>
630
    </script>
362
363
    [% IF circsearch == 1 %]
364
        [% SET redirect_url = '/cgi-bin/koha/circ/circulation.pl' %]
365
    [% ELSE %]
366
        [% SET redirect_url = '/cgi-bin/koha/members/moremember.pl' %]
367
    [% END %]
368
    [% PROCESS patron_search_js table_id => 'memberresultst', categories => categories, libraries => libraries, extended_attribute_types => attribute_type_codes, columns => columns,actions => ['edit', 'checkout'], redirect_if_one_result => 1, redirect_url => redirect_url, sticky_header => "searchheader", sticky_to => "searchresults", default_sort_column => 'name-address', display_search_description => 1 %]
369
370
[% END %]
631
[% END %]
371
632
372
[% INCLUDE 'intranet-bottom.inc' %]
633
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt (-1 / +1 lines)
Lines 6-12 Link Here
6
[% USE KohaDates %]
6
[% USE KohaDates %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'patron-search.inc' %]
9
    [% INCLUDE 'patron-search-header.inc' %]
10
[% END %]
10
[% END %]
11
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
12
<title>Update patron records &rsaquo; Patrons &rsaquo; Koha</title>
12
<title>Update patron records &rsaquo; Patrons &rsaquo; Koha</title>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-10 / +3 lines)
Lines 92-116 Link Here
92
                    [% END %]
92
                    [% END %]
93
93
94
                    <div>
94
                    <div>
95
95
                        
96
                        <h2>
97
                            [% UNLESS ( I ) %]
98
                                [% patron.title | html %] [% patron.firstname | html %]
99
                            [% END %]
100
                            [% patron.surname | html %] ([% patron.cardnumber | html %])
101
                        </h2>
102
103
                        <fieldset id="searchresults">
104
                            [% IF ( was_renewed ) %]
96
                            [% IF ( was_renewed ) %]
97
                            <fieldset id="searchresults">
105
                            <div class="dialog message">
98
                            <div class="dialog message">
106
                                Patron's account has been renewed until [% patron.dateexpiry | $KohaDates %]
99
                                Patron's account has been renewed until [% patron.dateexpiry | $KohaDates %]
107
                            </div>
100
                            </div>
101
                        </fieldset>
108
                            [% END %]
102
                            [% END %]
109
103
110
                            <div id="patron_messages" class="circmessage attention">
104
                            <div id="patron_messages" class="circmessage attention">
111
                                [% INCLUDE 'patron_messages.inc' %]
105
                                [% INCLUDE 'patron_messages.inc' %]
112
                            </div>
106
                            </div>
113
                        </fieldset>
114
107
115
                        <h1>
108
                        <h1>
116
                            [% UNLESS ( I ) %]
109
                            [% UNLESS ( I ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt (-11 / +13 lines)
Lines 53-59 Link Here
53
53
54
                    [% INCLUDE 'patroncards-toolbar.inc' %]
54
                    [% INCLUDE 'patroncards-toolbar.inc' %]
55
55
56
                    <h1>[% IF description %]Edit [% ELSIF batch_id %]Edit [% ELSE %]New [% END %]patron card batches</h1>
56
                    <h2>[% IF description %]Edit [% ELSIF batch_id %]Edit [% ELSE %]New [% END %]patron card batches</h2>
57
57
58
                [% IF ( duplicate_message ) %]
58
                [% IF ( duplicate_message ) %]
59
                    <div class="dialog message">
59
                    <div class="dialog message">
Lines 81-97 Link Here
81
                                </div>
81
                                </div>
82
                            </form>
82
                            </form>
83
                            <div id="batch-manage" class="action">
83
                            <div id="batch-manage" class="action">
84
                                <a id="additems" href="#"><i class="fa fa-plus"></i> Add patron(s)</a>[% IF ( table_loop ) %]
84
                                <a class="lientype" id="additems" href="#"><i class="fa fa-plus"></i> Add patron(s)</a>[% IF ( table_loop ) %]
85
                                <a id="savedesc" href="#" data-batch_id="[% batch_id | html %]"><i class="fa fa-save"></i> Save description</a>
85
                                <a class="lientype" id="savedesc" href="#" data-batch_id="[% batch_id | html %]"><i class="fa fa-save"></i> Save description</a>
86
                                <a id="removeitems" href="#"><i class="fa fa-trash"></i> Remove selected patrons</a>
86
                                <a class="lientype" id="removeitems" href="#"><i class="fa fa-trash"></i> Remove selected patrons</a>
87
                                <a ="deletebatch" href="#"><i class="fa fa-minus-square"></i> Delete batch</a>
87
                                <a class="lientype" ="deletebatch" href="#"><i class="fa fa-minus-square"></i> Delete batch</a>
88
                                <a id="deduplicate" href="#"><i class="fa fa-minus"></i> Remove duplicates</a>
88
                                <a class="lientype" id="deduplicate" href="#"><i class="fa fa-minus"></i> Remove duplicates</a>
89
                                <a id="exportitems" href="#"><i class="fa fa-share-square-o"></i> Export selected card(s)</a>
89
                                <a class="lientype" id="exportitems" href="#"><i class="fa fa-share-square-o"></i> Export selected card(s)</a>
90
                                <a id="exportbatch" href="#"><i class="fa fa-share-square-o"></i> Export card batch</a>[% END %]
90
                                <a class="lientype" id="exportbatch" href="#"><i class="fa fa-share-square-o"></i> Export card batch</a>[% END %]
91
                            </div>
91
                            </div>
92
                            [% IF ( table_loop ) %]
92
                            [% IF ( table_loop ) %]
93
                            <fieldset id="searchresults">
93
                            <form name="items">
94
                            <form name="items">
94
                                <h2>Patrons in batch number [% batch_id | html %]</h2>
95
                                <h3>Patrons in batch number [% batch_id | html %]</h3>
95
                                <table id="batcht">
96
                                <table id="batcht">
96
                                    [% FOREACH table_loo IN table_loop %]
97
                                    [% FOREACH table_loo IN table_loop %]
97
                                        [% IF ( table_loo.header_fields ) %]
98
                                        [% IF ( table_loo.header_fields ) %]
Lines 119-126 Link Here
119
                                                [% FOREACH text_field IN table_loo.text_fields %]
120
                                                [% FOREACH text_field IN table_loo.text_fields %]
120
                                                    [% IF ( text_field.select_field ) %]
121
                                                    [% IF ( text_field.select_field ) %]
121
                                                        <td>
122
                                                        <td>
122
                                                            <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/patroncards/edit-batch.pl?op=remove&amp;batch_id=[% batch_id | html %]&amp;label_id=[% text_field.field_value | html %]"><i class="fa fa-trash"></i> Delete</a>
123
                                                            <a id="lientype" class="btn btn-default btn-xs delete" href="/cgi-bin/koha/patroncards/edit-batch.pl?op=remove&amp;batch_id=[% batch_id | html %]&amp;label_id=[% text_field.field_value | html %]"><i class="fa fa-trash"></i> Delete</a>
123
                                                            <a class="btn btn-default btn-xs export" href="#" data-batch-id="[% batch_id | html %]" data-label-id="[% text_field.field_value | html %]"><i class="fa fa-share-square-o"></i> Export</a>
124
                                                            <a id="lientype" class="btn btn-default btn-xs export" href="#" data-batch-id="[% batch_id | html %]" data-label-id="[% text_field.field_value | html %]"><i class="fa fa-share-square-o"></i> Export</a>
124
                                                        </td>
125
                                                        </td>
125
                                                        <td><input type="checkbox" name="action" value="[% text_field.field_value | html %]" /></td>
126
                                                        <td><input type="checkbox" name="action" value="[% text_field.field_value | html %]" /></td>
126
                                                    [% ELSE %]
127
                                                    [% ELSE %]
Lines 133-138 Link Here
133
                                    </tbody>
134
                                    </tbody>
134
                                </table>
135
                                </table>
135
                            </form>
136
                            </form>
137
                            </fieldset>
136
                            [% ELSE %]
138
                            [% ELSE %]
137
                                <fieldset class="rows" style="border-bottom: 0px; border: 0px;">
139
                                <fieldset class="rows" style="border-bottom: 0px; border: 0px;">
138
                                <ol><li>
140
                                <ol><li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-layout.tt (-1 / +1 lines)
Lines 49-55 Link Here
49
49
50
                    [% INCLUDE 'patroncards-toolbar.inc' %]
50
                    [% INCLUDE 'patroncards-toolbar.inc' %]
51
51
52
                    <h1>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] patron card layout</h1>
52
                    <h2>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] patron card layout</h2>
53
53
54
                <!-- NOTE: The order of the elements on this form is crictical to correct processing. You've been warned...  -->
54
                <!-- NOTE: The order of the elements on this form is crictical to correct processing. You've been warned...  -->
55
                <form name="input" action="/cgi-bin/koha/patroncards/edit-layout.pl" method="get">
55
                <form name="input" action="/cgi-bin/koha/patroncards/edit-layout.pl" method="get">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-template.tt (-2 / +1 lines)
Lines 50-58 Link Here
50
                <main>
50
                <main>
51
51
52
                    [% INCLUDE 'patroncards-toolbar.inc' %]
52
                    [% INCLUDE 'patroncards-toolbar.inc' %]
53
                    <h1>[% IF (template_id) %]Edit[% ELSE %]Create[% END %] patron card template[% IF (template_id) %] ([% template_id | html %])[% END %]</h1>
53
                    <h2>[% IF (template_id) %]Edit[% ELSE %]Create[% END %] patron card template[% IF (template_id) %] ([% template_id | html %])[% END %]</h2>
54
                    <form name="input" action="/cgi-bin/koha/patroncards/edit-template.pl" method="get">
54
                    <form name="input" action="/cgi-bin/koha/patroncards/edit-template.pl" method="get">
55
                        <h2>[% IF (template_id) %]Edit[% ELSE %]Create[% END %] patron card template[% IF (template_id) %] ([% template_id | html %])[% END %]</h2>
56
                        <div class="row">
55
                        <div class="row">
57
                        <div class="col-sm-6">
56
                        <div class="col-sm-6">
58
                            <fieldset class="rows">
57
                            <fieldset class="rows">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/home.tt (-1 / +1 lines)
Lines 37-43 Link Here
37
37
38
                [% INCLUDE 'patroncards-toolbar.inc' %]
38
                [% INCLUDE 'patroncards-toolbar.inc' %]
39
39
40
                <h1>Patron card creator</h1>
40
                <h2>Patron card creator</h2>
41
41
42
            </main>
42
            </main>
43
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
43
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt (-16 / +17 lines)
Lines 40-54 Link Here
40
            <main>
40
            <main>
41
41
42
                [% INCLUDE 'patroncards-toolbar.inc' %]
42
                [% INCLUDE 'patroncards-toolbar.inc' %]
43
                <h1>Image manager</h1>
43
                <h2>Image manager</h2>
44
                [% INCLUDE 'patroncards-errors.inc' %]
44
                [% INCLUDE 'patroncards-errors.inc' %]
45
                <div class="row">
45
                <div class="row">
46
                    <div class="col-sm-6">
46
                    <div class="col-sm-6">
47
                        <h2>Upload additional images for patron cards</h2>
47
                    <fieldset class="rows">
48
                        <h3>Upload additional images for patron cards</h3>
48
                        <p>Manage additional images to use as logo, decoration or background on a patron card layout.</p>
49
                        <p>Manage additional images to use as logo, decoration or background on a patron card layout.</p>
49
                        <form name="upload_images" method="post" action="/cgi-bin/koha/patroncards/image-manage.pl" enctype="multipart/form-data">
50
                        <form name="upload_images" method="post" action="/cgi-bin/koha/patroncards/image-manage.pl" enctype="multipart/form-data">
50
                            <fieldset class="brief">
51
                            <div class="hint">Only PNG, GIF, JPEG, XPM formats are supported. Maximum image size is 2MB.</div>
51
                                <div class="hint">Only PNG, GIF, JPEG, XPM formats are supported. Maximum image size is 2MB.</div>
52
                                <ol>
52
                                <ol>
53
                                <li>
53
                                <li>
54
                                    <label for="uploadfile">Select the file to upload: </label>
54
                                    <label for="uploadfile">Select the file to upload: </label>
Lines 57-70 Link Here
57
                                </li>
57
                                </li>
58
                                <li>
58
                                <li>
59
                                    <label for="image_name">Image name: </label>
59
                                    <label for="image_name">Image name: </label>
60
61
                                    <input type="text" id="image_name" name="image_name" size="20" />
62
60
                                    <div class="hint">
63
                                    <div class="hint">
61
                                        This will be the name by which you will refer to this image in the patron card layout editor.
64
                                        This will be the name by which you will refer to this image in the patron card layout editor.
62
                                    </div>
65
                                    </div>
63
                                    <div class="hint">
66
                                    <div class="hint">
64
                                        To replace an image, delete it, upload a new file and give it the same image name.
67
                                        To replace an image, delete it, upload a new file and give it the same image name.
65
                                    </div>
68
                                    </div>
66
67
                                    <input type="text" id="image_name" name="image_name" size="20" />
68
                                </li>
69
                                </li>
69
                                </ol>
70
                                </ol>
70
                                <div class="action">
71
                                <div class="action">
Lines 78-92 Link Here
78
                                    <li>Image name: [% IMAGE_NAME | html %]</li></ul>
79
                                    <li>Image name: [% IMAGE_NAME | html %]</li></ul>
79
                                    </div>
80
                                    </div>
80
                                [% END %]
81
                                [% END %]
81
                            </fieldset>
82
83
                        </form>
82
                        </form>
83
                        </fieldset>
84
                    </div>
84
                    </div>
85
85
                    <div class="col-sm-6">
86
                    <div class="col-sm-6">
86
                    <h2>Delete images</h2>
87
                    <fieldset class="rows">
87
                        [% IF ( TABLE ) %]
88
                        <h3>Delete images</h3>
88
                        <form name="delete_images" method="post" action="/cgi-bin/koha/patroncards/image-manage.pl" enctype="multipart/form-data">
89
                            [% IF ( TABLE ) %]
89
                            <fieldset class="brief">
90
                            <form name="delete_images" method="post" action="/cgi-bin/koha/patroncards/image-manage.pl" enctype="multipart/form-data">
90
                                <div class="hint">
91
                                <div class="hint">
91
                                    Select one or more images to delete.
92
                                    Select one or more images to delete.
92
                                </div>
93
                                </div>
Lines 114-120 Link Here
114
                                    [% FOREACH text_field IN TABL.text_fields %]
115
                                    [% FOREACH text_field IN TABL.text_fields %]
115
                                    [% IF ( text_field.select_field ) %]
116
                                    [% IF ( text_field.select_field ) %]
116
                                        <td>
117
                                        <td>
117
                                            <a class="delete_image btn btn-default btn-xs" href="/cgi-bin/koha/patroncards/image-manage.pl?op=delete&image_id=[% text_field.field_value | html %]"><i class="fa fa-trash"></i> Delete</a>
118
                                            <a class="delete_image btn btn-default btn-xs" href="/cgi-bin/koha/patroncards/image-manage.pl?op=delete&image_id=[% text_field.field_value | html %]" id="lientype"><i class="fa fa-trash"></i> Delete</a>
118
                                        </td>
119
                                        </td>
119
                                        <td align="center"><input type="checkbox" name="action" value="[% text_field.field_value | html %]" /></td>
120
                                        <td align="center"><input type="checkbox" name="action" value="[% text_field.field_value | html %]" /></td>
120
                                    [% ELSIF ( text_field.field_value ) %]
121
                                    [% ELSIF ( text_field.field_value ) %]
Lines 129-145 Link Here
129
                                </table>
130
                                </table>
130
                                <div class="action">
131
                                <div class="action">
131
                                    <input type="hidden" name="op" value="delete" />
132
                                    <input type="hidden" name="op" value="delete" />
132
                                    <input class="btn btn-default btn-default" type="button" id="delete" value="Delete selected" />
133
                                    <input class="btn btn-default btn-default lientype" type="button" id="delete" value="Delete selected" />
133
                                </div>
134
                                </div>
134
                                [% IF ( DELETE_SUCCESSFULL ) %]
135
                                [% IF ( DELETE_SUCCESSFULL ) %]
135
                                <div id="dialog" class="dialog message">
136
                                <div id="dialog" class="dialog message">
136
                                    <h3>Image(s) successfully deleted</h3>
137
                                    <h3>Image(s) successfully deleted</h3>
137
                                </div>
138
                                </div>
138
                                [% END %]
139
                                [% END %]
139
                            </fieldset>
140
                        </form>
140
                        </form>
141
                            </fieldset>
141
                        [% ELSE %]
142
                        [% ELSE %]
142
                        <fieldset class="brief">
143
   
143
                            <div class="hint">
144
                            <div class="hint">
144
                                No images are currently available.
145
                                No images are currently available.
145
                            </div>
146
                            </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt (-8 / +8 lines)
Lines 66-78 Link Here
66
66
67
                    [% INCLUDE 'patroncards-toolbar.inc' %]
67
                    [% INCLUDE 'patroncards-toolbar.inc' %]
68
68
69
                    <h1>Patron card templates</h1>
69
                    <h2>Patron card templates</h2>
70
70
71
                    [% INCLUDE 'patroncards-errors.inc' %]
71
                    [% INCLUDE 'patroncards-errors.inc' %]
72
                        <div id="manage-patroncards-layouts">
72
                        <div id="manage-patroncards-layouts">
73
                            [% IF ( table_loop ) %]
73
                            [% IF ( table_loop ) %]
74
                            <form name="layouts" action="/cgi-bin/koha/manage.pl?card_element=[% card_element | html %]">
74
                            <form name="layouts" action="/cgi-bin/koha/manage.pl?card_element=[% card_element | html %]">
75
                            <h2>Currently available [% PROCESS translate_card_element element=card_element_title FILTER lower %]</h2>
75
                            <fieldset id="rows">
76
                            <h3>Currently available [% PROCESS translate_card_element element=card_element_title FILTER lower %]</h3>
76
                            <table>
77
                            <table>
77
                                [% FOREACH table_loo IN table_loop %]
78
                                [% FOREACH table_loo IN table_loop %]
78
                                [% IF ( table_loo.header_fields ) %]
79
                                [% IF ( table_loo.header_fields ) %]
Lines 102-108 Link Here
102
                                [% IF ( text_field.select_field ) %]
103
                                [% IF ( text_field.select_field ) %]
103
                                    <td>
104
                                    <td>
104
                                      <a id="lientype" class="btn btn-default btn-xs" href="/cgi-bin/koha/patroncards/edit-[% card_element | html %].pl?op=edit&element_id=[% text_field.field_value | html %]"><i class="fa fa-edit"></i> Edit</a>
105
                                      <a id="lientype" class="btn btn-default btn-xs" href="/cgi-bin/koha/patroncards/edit-[% card_element | html %].pl?op=edit&element_id=[% text_field.field_value | html %]"><i class="fa fa-edit"></i> Edit</a>
105
                                      [% IF ( print ) %]<a class="btn btn-default btn-xs export" data-batch-id="[% text_field.field_value |url %]" href="/cgi-bin/koha/patroncards/print.pl?batch_id=[% text_field.field_value |url %]"><i class="fa fa-share-square-o"></i> Export</a>[% END %]
106
                                      [% IF ( print ) %]<a id="lientype" class="btn btn-default btn-xs export" data-batch-id="[% text_field.field_value |url %]" href="/cgi-bin/koha/patroncards/print.pl?batch_id=[% text_field.field_value |url %]"><i class="fa fa-share-square-o"></i> Export</a>[% END %]
106
                                      <a id="lientype" class="btn btn-default btn-xs delete" href="/cgi-bin/koha/patroncards/manage.pl?op=delete&card_element=[% card_element | html %]&element_id=[% text_field.field_value | html %]"><i class="fa fa-trash"></i> Delete</a>
107
                                      <a id="lientype" class="btn btn-default btn-xs delete" href="/cgi-bin/koha/patroncards/manage.pl?op=delete&card_element=[% card_element | html %]&element_id=[% text_field.field_value | html %]"><i class="fa fa-trash"></i> Delete</a>
107
                                    </td>
108
                                    </td>
108
                                    [% IF ( print ) %]<td><input type="checkbox" name="action" value="[% text_field.field_value | html %]" /></td>[% END %]
109
                                    [% IF ( print ) %]<td><input type="checkbox" name="action" value="[% text_field.field_value | html %]" /></td>[% END %]
Lines 117-127 Link Here
117
                                [% END %]
118
                                [% END %]
118
                            </table>
119
                            </table>
119
                            <fieldset class="action">
120
                            <fieldset class="action">
120
                                [% IF ( print ) %]<input type="button" id="print" value="Export selected batches" />[% END %]
121
                                [% IF ( print ) %]<input type="button" id="print" class="principal" value="Export selected batches" />[% END %]
122
                            </fieldset>
121
                            </fieldset>
123
                            </fieldset>
122
                            [% IF patron_lists %]
124
                            [% IF patron_lists %]
123
                            <fieldset class="rows">
125
                            <fieldset class="rows">
124
                                <legend>Or use a patron list</legend>
126
                                <h3>Or use a patron list</h3>
125
                                <ol>
127
                                <ol>
126
                                    <li>
128
                                    <li>
127
                                        <label for="patron_list_id">Patron list: </label>
129
                                        <label for="patron_list_id">Patron list: </label>
Lines 133-141 Link Here
133
                                        </select>
135
                                        </select>
134
                                    </li>
136
                                    </li>
135
                                </ol>
137
                                </ol>
136
                            </fieldset>
138
                                <input type="button" id="printlist" class="principal" value="Export from patron list" />
137
                            <fieldset class="action">
138
                                <input type="button" id="printlist" value="Export from patron list" />
139
                            </fieldset>
139
                            </fieldset>
140
                            [% END %]
140
                            [% END %]
141
                            </form>
141
                            </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/print.tt (-22 / +21 lines)
Lines 7-59 Link Here
7
7
8
<body id="pcard_print" class="tools pcard">
8
<body id="pcard_print" class="tools pcard">
9
    <div class="container-fluid">
9
    <div class="container-fluid">
10
        <h1>Patron card printing/exporting</h1>
10
        <h2>Patron card printing/exporting</h2>
11
            [% IF ( batches ) %]
11
            [% IF ( batches ) %]
12
            <form>
12
            <form>
13
                <h3>Click on the following link(s) to download the exported batch(es).</h3>
14
                    <fieldset>
13
                    <fieldset>
15
                    [% FOREACH batche IN batches %]
14
                    [% FOREACH batche IN batches %]
16
                        [% IF ( batche.label_ids ) %]
15
                        [% IF ( batche.label_ids ) %]
17
                        <legend>[% batche.card_count | html %] Single patron cards</legend>
16
                        <h3>[% batche.card_count | html %] Single patron cards</h3>
18
                        <p>
17
                        <p>
19
                                <a class="document pdf" href="/cgi-bin/koha/patroncards/[% batche.create_script | html %]?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]]&amp;layout_back_id=[% batche.layout_back_id | html %]&amp;start_card=[% batche.start_card | html %][% batche.label_ids | html %]">label_single_[% batche.card_count | html %].pdf</a>
18
                                <a class="document pdf" href="/cgi-bin/koha/patroncards/[% batche.create_script | html %]?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]]&amp;layout_back_id=[% batche.layout_back_id | html %]&amp;start_card=[% batche.start_card | html %][% batche.label_ids | html %]">label_single_[% batche.card_count | html %].pdf</a>
20
                        </p>
19
                        </p>
21
                        [% ELSIF ( batche.borrower_numbers ) %]
20
                        [% ELSIF ( batche.borrower_numbers ) %]
22
                        <legend>[% batche.card_count | html %] Single patron cards</legend>
21
                        <h3>[% batche.card_count | html %] Single patron cards</h3>
23
                        <p>
22
                        <p>
24
                                <a class="document pdf" href="/cgi-bin/koha/patroncards/[% batche.create_script | html %]?template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;layout_back_id=[% batche.layout_back_id | html %]&amp;start_card=[% batche.start_card | html %][% batche.borrower_numbers | html %]">label_single_[% batche.card_count | html %].pdf</a>
23
                                <a class="document pdf" href="/cgi-bin/koha/patroncards/[% batche.create_script | html %]?template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;layout_back_id=[% batche.layout_back_id | html %]&amp;start_card=[% batche.start_card | html %][% batche.borrower_numbers | html %]">label_single_[% batche.card_count | html %].pdf</a>
25
                        </p>
24
                        </p>
26
                        [% ELSE %]
25
                        [% ELSE %]
27
                        <legend>Card batch number [% batche.batch_id | html %]</legend>
26
                        <h3>Card batch number [% batche.batch_id | html %]</h3>
28
                        <p>
27
                        <p>
29
                                <a class="document pdf" href="/cgi-bin/koha/patroncards/create-pdf.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;layout_back_id=[% batche.layout_back_id | html %]&amp;start_card=[% batche.start_card | html %]">label_batch_[% batche.batch_id | html %].pdf</a>
28
                                <a class="document pdf" href="/cgi-bin/koha/patroncards/create-pdf.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;layout_back_id=[% batche.layout_back_id | html %]&amp;start_card=[% batche.start_card | html %]">label_batch_[% batche.batch_id | html %].pdf</a>
30
                        </p>
29
                        </p>
31
                        [% END %]
30
                        [% END %]
32
                    [% END %]
31
                    [% END %]
33
                    </fieldset>
32
                <p>Click on the link(s) to download the exported batch(es).</p>
34
33
35
                <fieldset class="action">
34
                    <input type="button" class="gb-close principal" value="Done" />
36
                    <input type="button" class="gb-close" value="Done" />
37
                </fieldset>
35
                </fieldset>
38
            </form>
36
            </form>
39
            [% ELSIF ( patronlist_id && template_id && layout_id ) %]
37
            [% ELSIF ( patronlist_id && template_id && layout_id ) %]
40
                <div id="export_patron_list">
38
                <div id="export_patron_list">
41
                    <h3>Click on the link to download the patron cards from the patron list.</h3>
39
                <fieldset>
40
                    <h3>Click on the link to download the patron cards from the patron list</h3>
42
                    <p>
41
                    <p>
43
                        <a class="document pdf" href="/cgi-bin/koha/patroncards/create-pdf.pl?patronlist_id=[% patronlist_id | html %]&amp;template_id=[% template_id | html %]&amp;layout_id=[% layout_id | html %]&amp;layout_back_id=[% layout_back_id | html %]&amp;start_card=[% start_card | html %]">label_patronlist_[% patronlist_id | html %].pdf</a>
42
                        <a class="document pdf" href="/cgi-bin/koha/patroncards/create-pdf.pl?patronlist_id=[% patronlist_id | html %]&amp;template_id=[% template_id | html %]&amp;layout_id=[% layout_id | html %]&amp;layout_back_id=[% layout_back_id | html %]&amp;start_card=[% start_card | html %]">label_patronlist_[% patronlist_id | html %].pdf</a>
44
                    </p>
43
                    </p>
44
                </fieldset>
45
                </div>
45
                </div>
46
            [% ELSE %]
46
            [% ELSE %]
47
            <h3>
48
                    [% IF ( label_ids ) %]
49
                        [% IF ( card_count == 1 ) %]Exporting [% card_count | html %] patron card[% ELSE %]Exporting [% card_count | html %] patron cards[% END %]
50
                    [% ELSIF ( borrower_numbers ) %]
51
                        [% IF ( borrower_count == 1 ) %]Exporting [% borrower_count | html %] patron card[% ELSE %]Exporting [% borrower_count | html %] patron cards[% END %]
52
                    [% ELSIF ( patronlist_id ) %] Exporting from patron list
53
                    [% ELSE %]
54
                        [% IF ( multi_batch_count == 1 ) %][% multi_batch_count | html %] batch to export[% ELSE %][% multi_batch_count | html %] batches to export[% END %]
55
                    [% END %]
56
            </h3>
57
            <form id="exportingf" name="exporting" method="post" action="/cgi-bin/koha/patroncards/print.pl">
47
            <form id="exportingf" name="exporting" method="post" action="/cgi-bin/koha/patroncards/print.pl">
58
                <input type="hidden" name="op" value="export" />
48
                <input type="hidden" name="op" value="export" />
59
                <input type="hidden" name="referer" value="[% referer | html %]" />
49
                <input type="hidden" name="referer" value="[% referer | html %]" />
Lines 68-73 Link Here
68
                [% END %]
58
                [% END %]
69
                [% IF (patronlist_id) %] <input type="hidden" name="patronlist_id" value="[% patronlist_id | html %]" /> [% END %]
59
                [% IF (patronlist_id) %] <input type="hidden" name="patronlist_id" value="[% patronlist_id | html %]" /> [% END %]
70
                <fieldset class="rows">
60
                <fieldset class="rows">
61
            <h3>
62
                    [% IF ( label_ids ) %]
63
                        [% IF ( card_count == 1 ) %]Exporting [% card_count | html %] patron card[% ELSE %]Exporting [% card_count | html %] patron cards[% END %]
64
                    [% ELSIF ( borrower_numbers ) %]
65
                        [% IF ( borrower_count == 1 ) %]Exporting [% borrower_count | html %] patron card[% ELSE %]Exporting [% borrower_count | html %] patron cards[% END %]
66
                    [% ELSIF ( patronlist_id ) %] Exporting from patron list
67
                    [% ELSE %]
68
                        [% IF ( multi_batch_count == 1 ) %][% multi_batch_count | html %] batch to export[% ELSE %][% multi_batch_count | html %] batches to export[% END %]
69
                    [% END %]
70
            </h3>
71
                    <ol>
71
                    <ol>
72
                        <li>
72
                        <li>
73
                            <label style="width:9em" for="template_id">Select a template to be applied: </label>
73
                            <label style="width:9em" for="template_id">Select a template to be applied: </label>
Lines 101-109 Link Here
101
                            <input type="text" size="5" id="start_card" name="start_card" class="focus" title="Starting card number" value="1" />
101
                            <input type="text" size="5" id="start_card" name="start_card" class="focus" title="Starting card number" value="1" />
102
                        </li>
102
                        </li>
103
                    </ol>
103
                    </ol>
104
                </fieldset>
104
105
                <fieldset class="action">
105
                    <input type="submit" class="principal" value="Export" />
106
                    <input type="submit" value="Export" />
107
                    <a href="#" class="cancel gb-close">Cancel</a>
106
                    <a href="#" class="cancel gb-close">Cancel</a>
108
                </fieldset>
107
                </fieldset>
109
            </form>
108
            </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-disabled.tt (-1 / +1 lines)
Lines 36-42 Link Here
36
    <div class="container-fluid">
36
    <div class="container-fluid">
37
        <div class="row">
37
        <div class="row">
38
            <div class="col-sm-6 col-sm-offset-3 col-md-6 col-md-offset-3">
38
            <div class="col-sm-6 col-sm-offset-3 col-md-6 col-md-offset-3">
39
                <h1>Plugins disabled!</h1>
39
                <h2>Plugins disabled!</h2>
40
40
41
                <p>To enable Koha plugins, the flag enable_plugins must be set in the Koha configuration file</p>
41
                <p>To enable Koha plugins, the flag enable_plugins must be set in the Koha configuration file</p>
42
            </div>
42
            </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt (-2 / +2 lines)
Lines 41-47 Link Here
41
    <div class="row">
41
    <div class="row">
42
        <div class="col-sm-10 col-sm-push-2">
42
        <div class="col-sm-10 col-sm-push-2">
43
            <main>
43
            <main>
44
                    <h1>Plugins</h1>
44
                    <h2>Plugins</h2>
45
45
46
                <div class="details">
46
                <div class="details">
47
47
Lines 185-191 Link Here
185
                                    [% IF ( CAN_user_plugins_configure || CAN_user_plugins_manage || CAN_user_plugins_report || CAN_user_plugins_tool ) %]
185
                                    [% IF ( CAN_user_plugins_configure || CAN_user_plugins_manage || CAN_user_plugins_report || CAN_user_plugins_tool ) %]
186
                                        <td class="actions">
186
                                        <td class="actions">
187
                                            <div class="btn-group dropup">
187
                                            <div class="btn-group dropup">
188
                                                <a class="btn btn-default btn-xs dropdown-toggle" id="pluginactions[% plugin.class | html %]" role="button" data-toggle="dropdown" href="#">
188
                                                <a class="btn btn-default btn-xs dropdown-toggle lientype" id="pluginactions[% plugin.class | html %]" role="button" data-toggle="dropdown" href="#">
189
                                                   Actions <b class="caret"></b>
189
                                                   Actions <b class="caret"></b>
190
                                                </a>
190
                                                </a>
191
                                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="pluginactions[% plugin.class | html %]">
191
                                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="pluginactions[% plugin.class | html %]">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-upload.tt (-3 / +2 lines)
Lines 51-65 Link Here
51
                </div>
51
                </div>
52
                [% END %]
52
                [% END %]
53
                <form method="post" action="/cgi-bin/koha/plugins/plugins-upload.pl" enctype="multipart/form-data">
53
                <form method="post" action="/cgi-bin/koha/plugins/plugins-upload.pl" enctype="multipart/form-data">
54
                    <fieldset class="brief">
54
                    <fieldset class="rows">
55
                         <div class="hint"><strong>NOTE:</strong> Only KPZ file format is supported.</div>
55
                         <div class="hint"><strong>NOTE:</strong> Only KPZ file format is supported.</div>
56
                        <ol>
56
                        <ol>
57
                            <li>
57
                            <li>
58
                                <label for="uploadfile">Select the file to upload: </label><input type="file" id="uploadfile" name="uploadfile" />
58
                                <label for="uploadfile">Select the file to upload: </label><input type="file" id="uploadfile" name="uploadfile" />
59
                            </li>
59
                            </li>
60
                        </ol>
60
                        </ol>
61
                    </fieldset>
61
62
                    <fieldset class="action">
63
                        <input type="hidden" name="op" value="Upload" />
62
                        <input type="hidden" name="op" value="Upload" />
64
                        <input  class="principal" type="submit" value="Upload" class="submit" />
63
                        <input  class="principal" type="submit" value="Upload" class="submit" />
65
                    </fieldset>
64
                    </fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt (-4 / +1 lines)
Lines 50-59 Link Here
50
        <div class="col-sm-10 col-sm-push-2">
50
        <div class="col-sm-10 col-sm-push-2">
51
            <main>
51
            <main>
52
52
53
<h1>Acquisitions statistics </h1>
53
<h2>Acquisitions statistics </h2>
54
[% IF ( do_it ) %]
54
[% IF ( do_it ) %]
55
	[% FOREACH mainloo IN mainloop %]
55
	[% FOREACH mainloo IN mainloop %]
56
		<h2>Acquisitions statistics </h2>
57
        [% IF ( mainloo.loopfilter.size ) %]
56
        [% IF ( mainloo.loopfilter.size ) %]
58
            <p><strong>Filtered on:</strong></p>
57
            <p><strong>Filtered on:</strong></p>
59
            [% FOREACH loopfilte IN mainloo.loopfilter %]
58
            [% FOREACH loopfilte IN mainloo.loopfilter %]
Lines 328-336 Link Here
328
            </select>
327
            </select>
329
        </li>
328
        </li>
330
    </ol>
329
    </ol>
331
	</fieldset>
332
330
333
	<fieldset class="action">
334
	<input type="submit" class="principal" value="Submit" />
331
	<input type="submit" class="principal" value="Submit" />
335
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
332
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
336
	<input type="hidden" name="do_it" value="1" />
333
	<input type="hidden" name="do_it" value="1" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt (-1 / +1 lines)
Lines 54-61 Link Here
54
            <main>
54
            <main>
55
55
56
[% IF ( do_it ) %]
56
[% IF ( do_it ) %]
57
    <h2>Patrons with the most checkouts</h2>
57
	[% FOREACH mainloo IN mainloop %]
58
	[% FOREACH mainloo IN mainloop %]
58
        <h2>Patrons with the most checkouts</h2>
59
		[% IF ( mainloo.loopfilter ) %]
59
		[% IF ( mainloo.loopfilter ) %]
60
            [% IF mainloo.loopfilter.size %]
60
            [% IF mainloo.loopfilter.size %]
61
                <p>Filtered on:</p>
61
                <p>Filtered on:</p>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_out.tt (-1 / +1 lines)
Lines 40-47 Link Here
40
            <main>
40
            <main>
41
41
42
[% IF ( do_it ) %]
42
[% IF ( do_it ) %]
43
    <h2>Patrons with no checkouts</h2>
43
    [% FOREACH mainloo IN mainloop %]
44
    [% FOREACH mainloo IN mainloop %]
44
        <h2>Patrons with no checkouts</h2>
45
        [% IF ( mainloo.loopfilter ) %]
45
        [% IF ( mainloo.loopfilter ) %]
46
            <p>Filtered on:</p>
46
            <p>Filtered on:</p>
47
            [% FOREACH loopfilte IN mainloo.loopfilter %]
47
            [% FOREACH loopfilte IN mainloo.loopfilter %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt (-4 / +1 lines)
Lines 58-67 Link Here
58
        <div class="col-sm-10 col-sm-push-2">
58
        <div class="col-sm-10 col-sm-push-2">
59
            <main>
59
            <main>
60
60
61
<h1>Patrons statistics</h1>
61
<h2>Patrons statistics</h2>
62
[% IF ( do_it ) %]
62
[% IF ( do_it ) %]
63
	[% FOREACH mainloo IN mainloop %]
63
	[% FOREACH mainloo IN mainloop %]
64
		<h2>Patrons statistics</h2>
65
        [% IF ( mainloo.loopfilter.size>0 ) %]
64
        [% IF ( mainloo.loopfilter.size>0 ) %]
66
            <p>Filtered on:</p>
65
            <p>Filtered on:</p>
67
			[% FOREACH loopfilte IN mainloo.loopfilter %]
66
			[% FOREACH loopfilte IN mainloo.loopfilter %]
Lines 319-327 Link Here
319
            </select>
318
            </select>
320
        </li>
319
        </li>
321
    </ol>
320
    </ol>
322
	</fieldset>
323
321
324
	<fieldset class="action">
325
	<input type="submit" class="principal" value="Submit" />
322
	<input type="submit" class="principal" value="Submit" />
326
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
323
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
327
	<input type="hidden" name="do_it" value="1" />
324
	<input type="hidden" name="do_it" value="1" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt (-46 / +49 lines)
Lines 61-66 Link Here
61
            <main>
61
            <main>
62
62
63
    <h2>Cash register statistics</h2>
63
    <h2>Cash register statistics</h2>
64
65
[% IF ( do_it ) %]
66
    <div>&nbsp;</div>
67
    <table id="tbl_cash_register_stats">
68
        <thead>
69
        <tr>
70
            <th>Manager name</th>
71
            <th>Patron card number</th>
72
            <th>Patron name</th>
73
            <th>Transaction library</th>
74
            <th>Transaction date</th>
75
            <th>Updated</th>
76
            <th>Transaction type</th>
77
            <th>Notes</th>
78
            <th>Amount</th>
79
            <th>Bibliographic record title</th>
80
            <th>Barcode</th>
81
            <th>Item type</th>
82
        </tr>
83
        </thead>
84
        [% FOREACH loopresul IN loopresult %]
85
            <tr>
86
                <td>[% loopresul.mfirstname | html %] [% loopresul.msurname | html %]</td>
87
                <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopresul.borrowernumber | uri %]">[% loopresul.cardnumber | html %]</a></td>
88
                <td>[% loopresul.bfirstname | html %] [% loopresul.bsurname | html %]</td>
89
                <td>[% loopresul.branchname | html %]</td>
90
                <td>[% loopresul.date | $KohaDates %]</td>
91
                <td>[% loopresul.timestamp | $KohaDates with_hours = 1 %]</td>
92
                <td>[% loopresul.type_description | html %]</td>
93
                <td>[% loopresul.note | html %]</td>
94
                <td style="text-align:right;">[% loopresul.amount | $Price %]</td>
95
                <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopresul.biblionumber | uri %]">[% loopresul.title | html %]</a></td>
96
                <td>[% loopresul.barcode | html %]</td>
97
                <td>[% ItemTypes.GetDescription(loopresul.itype) | html %]</td>
98
            </tr>
99
        [% END %]
100
        <tfoot>
101
        <tr>
102
            [% IF transaction_type == "ACT" %]
103
            <th colspan="8" style="text-align:right;">TOTAL</th>
104
            <th style="text-align:right;">[% total  | $Price %]</th>
105
            <th colspan="3">&nbsp;</th>
106
            [% END %]
107
        </tr>
108
        </tfoot>
109
    </table>
110
111
    [% ELSE %]
112
    
64
    <form method="post" action="/cgi-bin/koha/reports/cash_register_stats.pl" id="frmCashRegister">
113
    <form method="post" action="/cgi-bin/koha/reports/cash_register_stats.pl" id="frmCashRegister">
65
        <fieldset class="rows">
114
        <fieldset class="rows">
66
            <h3>Cash register statistics [% beginDate | $KohaDates %] to [% endDate | $KohaDates %]</h3>
115
            <h3>Cash register statistics [% beginDate | $KohaDates %] to [% endDate | $KohaDates %]</h3>
Lines 161-212 Link Here
161
        </fieldset>
210
        </fieldset>
162
    </form>
211
    </form>
163
212
164
    [% IF ( do_it ) %]
165
    <div>&nbsp;</div>
166
    <table id="tbl_cash_register_stats">
167
        <thead>
168
        <tr>
169
            <th>Manager name</th>
170
            <th>Patron card number</th>
171
            <th>Patron name</th>
172
            <th>Transaction library</th>
173
            <th>Transaction date</th>
174
            <th>Updated</th>
175
            <th>Transaction type</th>
176
            <th>Notes</th>
177
            <th>Amount</th>
178
            <th>Bibliographic record title</th>
179
            <th>Barcode</th>
180
            <th>Item type</th>
181
        </tr>
182
        </thead>
183
        [% FOREACH loopresul IN loopresult %]
184
            <tr>
185
                <td>[% loopresul.mfirstname | html %] [% loopresul.msurname | html %]</td>
186
                <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopresul.borrowernumber | uri %]">[% loopresul.cardnumber | html %]</a></td>
187
                <td>[% loopresul.bfirstname | html %] [% loopresul.bsurname | html %]</td>
188
                <td>[% loopresul.branchname | html %]</td>
189
                <td>[% loopresul.date | $KohaDates %]</td>
190
                <td>[% loopresul.timestamp | $KohaDates with_hours = 1 %]</td>
191
                <td>[% loopresul.type_description | html %]</td>
192
                <td>[% loopresul.note | html %]</td>
193
                <td style="text-align:right;">[% loopresul.amount | $Price %]</td>
194
                <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopresul.biblionumber | uri %]">[% loopresul.title | html %]</a></td>
195
                <td>[% loopresul.barcode | html %]</td>
196
                <td>[% ItemTypes.GetDescription(loopresul.itype) | html %]</td>
197
            </tr>
198
        [% END %]
199
        <tfoot>
200
        <tr>
201
            [% IF transaction_type == "ACT" %]
202
            <th colspan="8" style="text-align:right;">TOTAL</th>
203
            <th style="text-align:right;">[% total  | $Price %]</th>
204
            <th colspan="3">&nbsp;</th>
205
            [% END %]
206
        </tr>
207
        </tfoot>
208
    </table>
209
210
    [% END %] [%# do_it %]
213
    [% END %] [%# do_it %]
211
214
212
            </main>
215
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt (-1 / +1 lines)
Lines 53-60 Link Here
53
53
54
[% IF ( do_it ) %]
54
[% IF ( do_it ) %]
55
55
56
    <h2>Top [% mainloo.limit | html %] Most-circulated items</h2>
56
	[% FOREACH mainloo IN mainloop %]
57
	[% FOREACH mainloo IN mainloop %]
57
        <h2>Top [% mainloo.limit | html %] Most-circulated items</h2>
58
		[% IF ( mainloo.loopfilter ) %]
58
		[% IF ( mainloo.loopfilter ) %]
59
            <p>Filtered on:</p>
59
            <p>Filtered on:</p>
60
			[% FOREACH loopfilte IN mainloo.loopfilter %]
60
			[% FOREACH loopfilte IN mainloo.loopfilter %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt (-5 / +1 lines)
Lines 51-60 Link Here
51
        <div class="col-sm-10 col-sm-push-2">
51
        <div class="col-sm-10 col-sm-push-2">
52
            <main>
52
            <main>
53
53
54
<h1>Catalog statistics</h1>
54
<h2>Catalog statistics</h2>
55
[% IF ( do_it ) %]
55
[% IF ( do_it ) %]
56
	[% FOREACH mainloo IN mainloop %]
56
	[% FOREACH mainloo IN mainloop %]
57
		<h2>Catalog statistics</h2>
58
		[% IF ( mainloo.loopfilter ) %]
57
		[% IF ( mainloo.loopfilter ) %]
59
            <p>Filtered on:</p>
58
            <p>Filtered on:</p>
60
			[% FOREACH loopfilte IN mainloo.loopfilter %]
59
			[% FOREACH loopfilte IN mainloo.loopfilter %]
Lines 325-333 Link Here
325
            </select>
324
            </select>
326
		</li>
325
		</li>
327
	</ol>
326
	</ol>
328
	</fieldset>
329
330
	<fieldset class="action">
331
	<input type="submit" class="principal" value="Submit" />
327
	<input type="submit" class="principal" value="Submit" />
332
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
328
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
333
	<input type="hidden" name="do_it" value="1" />
329
	<input type="hidden" name="do_it" value="1" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt (-17 / +11 lines)
Lines 166-172 Link Here
166
            [% END %]
166
            [% END %]
167
        </table>
167
        </table>
168
                [% ELSE %]
168
                [% ELSE %]
169
                <div class="dialog message">There are no saved definitions. <a id="newdictionary" href="/cgi-bin/koha/reports/dictionary.pl?phase=Add%20New%20Definition">Add a definition to the dictionary.</a></div>
169
                <div class="dialog message">There are no saved definitions. <a class="lientype" id="newdictionary" href="/cgi-bin/koha/reports/dictionary.pl?phase=Add%20New%20Definition">Add a definition to the dictionary.</a></div>
170
		[% END %]
170
		[% END %]
171
[% END %]
171
[% END %]
172
172
Lines 182-196 Link Here
182
<label for="definition_description">Definition description:</label>
182
<label for="definition_description">Definition description:</label>
183
<textarea name="definition_description" id="definition_description" rows="3" cols="20"></textarea>
183
<textarea name="definition_description" id="definition_description" rows="3" cols="20"></textarea>
184
</li>
184
</li>
185
</ol></fieldset>
185
</ol>
186
186
<input type="hidden" name="phase" value="New Term step 2" />
187
<fieldset class="action"><input type="hidden" name="phase" value="New Term step 2" />
188
<input name="submit" class="principal" value="Next" type="submit" /></fieldset>
187
<input name="submit" class="principal" value="Next" type="submit" /></fieldset>
189
</form>
188
</form>
190
[% END %]
189
[% END %]
191
190
192
[%- IF ( step_2 ) -%]
191
[%- IF ( step_2 ) -%]
193
<h3>Add new definition</h3>
192
<h2>Add new definition</h2>
194
<form action="/cgi-bin/koha/reports/dictionary.pl" method="post">
193
<form action="/cgi-bin/koha/reports/dictionary.pl" method="post">
195
  <fieldset class="rows">
194
  <fieldset class="rows">
196
    <h3>Step 2 of 5: Choose the area</h3>
195
    <h3>Step 2 of 5: Choose the area</h3>
Lines 206-218 Link Here
206
        </select>
205
        </select>
207
      </li>
206
      </li>
208
    </ol>
207
    </ol>
209
  </fieldset>
208
<input name="submit" class="principal" value="Next" type="submit" /></fieldset>
210
  <fieldset class="action"><input name="submit" class="principal" value="Next" type="submit" /></fieldset>
211
</form>
209
</form>
212
[%- END -%]
210
[%- END -%]
213
211
214
[% IF ( step_3 ) %]
212
[% IF ( step_3 ) %]
215
<h3>Add new definition</h3>
213
<h2>Add new definition</h2>
216
<form action="/cgi-bin/koha/reports/dictionary.pl" method="post">      
214
<form action="/cgi-bin/koha/reports/dictionary.pl" method="post">      
217
<fieldset class="rows">
215
<fieldset class="rows">
218
<h3>Step 3 of 5: Choose a column</h3>
216
<h3>Step 3 of 5: Choose a column</h3>
Lines 242-254 Link Here
242
</select>
240
</select>
243
241
244
<input type="hidden" name="phase" value="New Term step 4" />
242
<input type="hidden" name="phase" value="New Term step 4" />
245
</fieldset>
243
<input type="submit" class="principal" name="submit" value="Next" /></fieldset>
246
<fieldset class="action"><input type="submit" class="principal" name="submit" value="Next" /></fieldset>
247
</form>
244
</form>
248
[% END %]
245
[% END %]
249
246
250
[% IF ( step_4 ) %]
247
[% IF ( step_4 ) %]
251
<h3>Add new definition</h3>
248
<h2>Add new definition</h2>
252
<form action="/cgi-bin/koha/reports/dictionary.pl" method="post">
249
<form action="/cgi-bin/koha/reports/dictionary.pl" method="post">
253
<fieldset class="rows">
250
<fieldset class="rows">
254
<h3>Step 4 of 5: Specify a value</h3>
251
<h3>Step 4 of 5: Specify a value</h3>
Lines 290-297 Link Here
290
[% END %]
287
[% END %]
291
</ol>
288
</ol>
292
<input type="hidden" name="phase" value="New Term step 5" />
289
<input type="hidden" name="phase" value="New Term step 5" />
293
</fieldset>
290
294
<fieldset class="action">
295
<input type="submit" class="principal" name="submit" value="Next" />
291
<input type="submit" class="principal" name="submit" value="Next" />
296
</fieldset>
292
</fieldset>
297
</form>
293
</form>
Lines 304-310 Link Here
304
<input type="hidden" name="definition_description" value="[% definition_description | html %]" />
300
<input type="hidden" name="definition_description" value="[% definition_description | html %]" />
305
<input type="hidden" name="columnstring" value="[% columnstring | html %]" />
301
<input type="hidden" name="columnstring" value="[% columnstring | html %]" />
306
302
307
<h3>Add new definition</h3>
303
<h2>Add new definition</h2>
308
304
309
<fieldset class="rows">
305
<fieldset class="rows">
310
  <h3>Step 5 of 5: Confirm details</h3>
306
  <h3>Step 5 of 5: Confirm details</h3>
Lines 334-342 Link Here
334
      </table>
330
      </table>
335
    </li>
331
    </li>
336
  </ol>
332
  </ol>
337
</fieldset>
333
<input type="hidden" name="sql" value="[% query | html %]" />
338
339
<fieldset class="action"><input type="hidden" name="sql" value="[% query | html %]" />
340
<input type="hidden" name="phase" value="New Term step 6" />
334
<input type="hidden" name="phase" value="New Term step 6" />
341
<input type="submit" class="principal" name="submit" value="Save" />         </fieldset>
335
<input type="submit" class="principal" name="submit" value="Save" />         </fieldset>
342
336
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-27 / +27 lines)
Lines 167-173 Link Here
167
                <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
167
                <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
168
            </div>
168
            </div>
169
            <div class="modal-footer">
169
            <div class="modal-footer">
170
                <a href="#" class="btn btn-default" id="update_sql_button" role="button" data-toggle="modal">Update</a>
170
                <a href="#" class="btn btn-default lientype" id="update_sql_button" role="button" data-toggle="modal">Update</a>
171
                <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
171
                <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
172
            </div>
172
            </div>
173
        </div> <!-- /.modal-content -->
173
        </div> <!-- /.modal-content -->
Lines 182-188 Link Here
182
                [% INCLUDE "reports-toolbar.inc" %]
182
                [% INCLUDE "reports-toolbar.inc" %]
183
183
184
                [% IF ( start ) %]
184
                [% IF ( start ) %]
185
                    <h1>Guided reports</h1>
185
                    <h2>Guided reports</h2>
186
                    <p>Use the guided reports engine to create non standard reports. This feature aims to provide some middle ground between the built in canned reports and writing custom SQL reports.</p>
186
                    <p>Use the guided reports engine to create non standard reports. This feature aims to provide some middle ground between the built in canned reports and writing custom SQL reports.</p>
187
187
188
                    <h3>Build and run reports</h3>
188
                    <h3>Build and run reports</h3>
Lines 244-250 Link Here
244
                                    [% IF ( filters.keyword ) %]
244
                                    [% IF ( filters.keyword ) %]
245
                                        <span class="filter_keyword"><strong>Keyword:</strong> [% filters.keyword | html %]</span>
245
                                        <span class="filter_keyword"><strong>Keyword:</strong> [% filters.keyword | html %]</span>
246
                                    [% END %]
246
                                    [% END %]
247
                                    <a class="clear_filter" href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved&clear_filters=1"><i class="fa fa-remove"></i> Clear</a>
247
                                    <a class="clear_filter" id="lientype" href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved&clear_filters=1"><i class="fa fa-remove"></i> Clear</a>
248
                                </span>
248
                                </span>
249
                            </p>
249
                            </p>
250
                        [% END %]
250
                        [% END %]
Lines 381-396 Link Here
381
                                                        <td>
381
                                                        <td>
382
                                                            [% IF savedreport.seems_obsolete %]
382
                                                            [% IF savedreport.seems_obsolete %]
383
                                                                This report seems obsolete, it uses biblioitems.marcxml field.
383
                                                                This report seems obsolete, it uses biblioitems.marcxml field.
384
                                                                <a href="/cgi-bin/koha/svc/convert_report?report_id=[% savedreport.id | uri %]" data-report_id="[% savedreport.id | html %]" class="update_sql btn btn-default btn-xs" title="Update SQL"><i class="fa fa-eye"></i> Update SQL</a>
384
                                                                <a href="/cgi-bin/koha/svc/convert_report?report_id=[% savedreport.id | uri %]" data-report_id="[% savedreport.id | html %]" class="update_sql btn btn-default btn-xs" id="lientype" title="Update SQL"><i class="fa fa-eye"></i> Update SQL</a>
385
                                                            [% END %]
385
                                                            [% END %]
386
                                                        </td>
386
                                                        </td>
387
                                                        <td>
387
                                                        <td>
388
                                                            <div class="btn-group dropup">
388
                                                            <div class="btn-group dropup">
389
                                                                [%# There should be no space between these two buttons, it would render badly %]
389
                                                                [%# There should be no space between these two buttons, it would render badly %]
390
                                                                <a class="btn btn-default btn-xs" role="button"
390
                                                                <a class="btn btn-default btn-xs lientype" role="button"
391
                                                                href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id | html %]&amp;phase=Run%20this%20report"><i
391
                                                                href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id | html %]&amp;phase=Run%20this%20report"><i
392
                                                                class="fa fa-play"></i> Run</a><a
392
                                                                class="fa fa-play"></i> Run</a><a
393
                                                                class="btn btn-default btn-xs dropdown-toggle" id="reportactions[% savedreport.id | html %]" role="button" data-toggle="dropdown"
393
                                                                class="btn btn-default btn-xs dropdown-toggle lientype" id="reportactions[% savedreport.id | html %]" role="button" data-toggle="dropdown"
394
                                                                href="#"><b class="caret"></b></a>
394
                                                                href="#"><b class="caret"></b></a>
395
                                                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="reportactions[% savedreport.id | html %]">
395
                                                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="reportactions[% savedreport.id | html %]">
396
                                                                    <li><a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id | uri %]&amp;phase=Show%20SQL"><i class="fa fa-search"></i> View</a></li>
396
                                                                    <li><a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id | uri %]&amp;phase=Show%20SQL"><i class="fa fa-search"></i> View</a></li>
Lines 447-459 Link Here
447
                                        <input type="hidden" name="phase" value="Use saved" />
447
                                        <input type="hidden" name="phase" value="Use saved" />
448
                                        <input type="hidden" name="filter_set" value="1" />
448
                                        <input type="hidden" name="filter_set" value="1" />
449
                                        <input type="hidden" name="filter_keyword" value="" />
449
                                        <input type="hidden" name="filter_keyword" value="" />
450
                                        <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> Cancel filter</button>
450
                                        <button type="submit" class="deny cancel"><i class="fa fa-fw fa-remove"></i> Cancel filter</button>
451
                                    </form>
451
                                    </form>
452
                                [% END %]
452
                                [% END %]
453
                            [% ELSE %]
453
                            [% ELSE %]
454
                                <h4>There are no saved reports. </h4>
454
                                <h4>There are no saved reports. </h4>
455
                                [% IF ( CAN_user_reports_create_reports ) %]
455
                                [% IF ( CAN_user_reports_create_reports ) %]
456
                                    <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new">Build a new report?</a>
456
                                    <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new" id="lientype">Build a new report?</a>
457
                                [% END %]
457
                                [% END %]
458
                            [% END # IF (filter_set || filters.date || filters.author || filters.keyword) %]
458
                            [% END # IF (filter_set || filters.date || filters.author || filters.keyword) %]
459
                        </div> <!-- /.dialog.message -->
459
                        </div> <!-- /.dialog.message -->
Lines 563-569 Link Here
563
                            <div class="row">
563
                            <div class="row">
564
                                <div class="col-sm-6">
564
                                <div class="col-sm-6">
565
                                    <div style="float: left;">
565
                                    <div style="float: left;">
566
                                        <select id="availableColumns" name="oldcolumns2" multiple="multiple" size="25" style="min-width: 200px;height:300px;">
566
                                        <select id="availableColumns" name="oldcolumns2" multiple="multiple" size="25" style="min-width: 200px; width: 100%; overflow: auto; height:300px;">
567
                                            [% FOREACH column IN columns %]
567
                                            [% FOREACH column IN columns %]
568
                                                [% IF ( column.table ) %]
568
                                                [% IF ( column.table ) %]
569
                                                    [% IF ( loop.first ) %]
569
                                                    [% IF ( loop.first ) %]
Lines 934-941 Link Here
934
                    </div>
934
                    </div>
935
935
936
                    <div>
936
                    <div>
937
                        <a href="#" id="toggle_chart_settings_hid" class="toggle_chart_settings" style="display:none"><i class="fa fa-eye-slash"></i> Hide chart</a>
937
                        <a href="#" id="toggle_chart_settings_hid" class="toggle_chart_settings lientype" style="display:none"><i class="fa fa-eye-slash"></i> Hide chart</a>
938
                        <a href="#" id="toggle_chart_settings_vis" class="toggle_chart_settings" style="display:none"><i class="fa fa fa-eye"></i> Show chart</a>
938
                        <a href="#" id="toggle_chart_settings_vis" class="toggle_chart_settings lientype" style="display:none"><i class="fa fa fa-eye"></i> Show chart</a>
939
                    </div>
939
                    </div>
940
                    <div id="chart" class="clearfix"></div>
940
                    <div id="chart" class="clearfix"></div>
941
941
Lines 1039-1045 Link Here
1039
                                <div id="toolbar" class="btn-toolbar">
1039
                                <div id="toolbar" class="btn-toolbar">
1040
                                    [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %]
1040
                                    [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %]
1041
                                        <div class="btn-group">
1041
                                        <div class="btn-group">
1042
                                            <button class="btn btn-default btn-sm dropdown-toggle" type="button" id="batch_mod_menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
1042
                                            <button class="btn btn-default btn-sm dropdown-toggle pat" type="button" id="batch_mod_menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
1043
                                                Batch operations with [% IF unlimited_total >= limit %][% limit | html %][% ELSE %][% unlimited_total | html %][% END %] visible records
1043
                                                Batch operations with [% IF unlimited_total >= limit %][% limit | html %][% ELSE %][% unlimited_total | html %][% END %] visible records
1044
                                                <span class="caret"></span>
1044
                                                <span class="caret"></span>
1045
                                            </button>
1045
                                            </button>
Lines 1079-1085 Link Here
1079
1079
1080
                                    [% IF ( unlimited_total > 10 && limit <= 1000 ) %]
1080
                                    [% IF ( unlimited_total > 10 && limit <= 1000 ) %]
1081
                                        <div class="btn-group">
1081
                                        <div class="btn-group">
1082
                                            <button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
1082
                                            <button type="button" class="btn btn-default btn-sm dropdown-toggle pat" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
1083
                                                [% IF ( limit ) %]
1083
                                                [% IF ( limit ) %]
1084
                                                    Rows per page: <strong>[% limit | html %]</strong>
1084
                                                    Rows per page: <strong>[% limit | html %]</strong>
1085
                                                [% ELSE %]
1085
                                                [% ELSE %]
Lines 1105-1111 Link Here
1105
                                    [% END # /IF ( unlimited_total > 10 && limit <= 1000 ) %]
1105
                                    [% END # /IF ( unlimited_total > 10 && limit <= 1000 ) %]
1106
1106
1107
                                    [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %]
1107
                                    [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %]
1108
                                        <a href="#" class="btn btn-link" id="toggle_auto_links">
1108
                                        <a href="#" class="btn btn-link pat" id="toggle_auto_links">
1109
                                            <i class="fa fa-eye autolink" style="display:none"></i>
1109
                                            <i class="fa fa-eye autolink" style="display:none"></i>
1110
                                            <i class="fa fa-eye-slash autolink"></i>
1110
                                            <i class="fa fa-eye-slash autolink"></i>
1111
                                            <span class="autolink" style="display:none">Show data menus</span>
1111
                                            <span class="autolink" style="display:none">Show data menus</span>
Lines 1151-1159 Link Here
1151
                                                    <span class="data-plain">[% cells.cell | $raw %]</span>
1151
                                                    <span class="data-plain">[% cells.cell | $raw %]</span>
1152
                                                    <div id="itemnumber_autolink" class="btn-group dropup autolink"><a class="btn btn-link dropdown-toggle" role="button" data-toggle="dropdown" href="#">[% cells.cell | $raw %] <b class="caret"></b></a>
1152
                                                    <div id="itemnumber_autolink" class="btn-group dropup autolink"><a class="btn btn-link dropdown-toggle" role="button" data-toggle="dropdown" href="#">[% cells.cell | $raw %] <b class="caret"></b></a>
1153
                                                        <ul class="dropdown-menu pull-right" role="menu">
1153
                                                        <ul class="dropdown-menu pull-right" role="menu">
1154
                                                            <li><a target="_blank" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&itemnumber=[% cells.cell | $raw %]"><i class="fa fa-fw fa-pencil"></i> Edit record</a></li>
1154
                                                            <li><a id="lientype" target="_blank" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&itemnumber=[% cells.cell | $raw %]"><i class="fa fa-fw fa-pencil"></i> Edit record</a></li>
1155
                                                            <li role="separator" class="divider"></li>
1155
                                                            <li role="separator" class="divider"></li>
1156
                                                            <li><a target="_blank" href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% cells.cell | $raw %]"><i class="fa fa-fw fa-eye"></i> View record</a></li>
1156
                                                            <li><a id="lientype" target="_blank" href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% cells.cell | $raw %]"><i class="fa fa-fw fa-eye"></i> View record</a></li>
1157
                                                        </ul>
1157
                                                        </ul>
1158
                                                    </div>
1158
                                                    </div>
1159
                                                </td>
1159
                                                </td>
Lines 1162-1170 Link Here
1162
                                                    <span class="data-plain">[% cells.cell | $raw %]</span>
1162
                                                    <span class="data-plain">[% cells.cell | $raw %]</span>
1163
                                                    <div id="biblionumber_autolink" class="btn-group dropup autolink"><a class="btn btn-link dropdown-toggle" role="button" data-toggle="dropdown" href="#">[% cells.cell | $raw %] <b class="caret"></b></a>
1163
                                                    <div id="biblionumber_autolink" class="btn-group dropup autolink"><a class="btn btn-link dropdown-toggle" role="button" data-toggle="dropdown" href="#">[% cells.cell | $raw %] <b class="caret"></b></a>
1164
                                                        <ul class="dropdown-menu pull-right" role="menu">
1164
                                                        <ul class="dropdown-menu pull-right" role="menu">
1165
                                                            <li><a target="_blank" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% cells.cell | $raw %]"><i class="fa fa-pencil"></i> Edit record</a></li>
1165
                                                            <li><a id="lientype" target="_blank" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% cells.cell | $raw %]"><i class="fa fa-pencil"></i> Edit record</a></li>
1166
                                                            <li role="separator" class="divider"></li>
1166
                                                            <li role="separator" class="divider"></li>
1167
                                                            <li><a target="_blank" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% cells.cell | $raw %]"><i class="fa fa-eye"></i> View record</a></li>
1167
                                                            <li><a id="lientype" target="_blank" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% cells.cell | $raw %]"><i class="fa fa-eye"></i> View record</a></li>
1168
                                                        </ul>
1168
                                                        </ul>
1169
                                                    </div>
1169
                                                    </div>
1170
                                                </td>
1170
                                                </td>
Lines 1173-1183 Link Here
1173
                                                    <span class="data-plain">[% cells.cell | $raw %]</span>
1173
                                                    <span class="data-plain">[% cells.cell | $raw %]</span>
1174
                                                    <div id="borrowernumber_autolink" class="btn-group dropup autolink"><a class="btn btn-link dropdown-toggle" role="button" data-toggle="dropdown" href="#">[% cells.cell | $raw %] <b class="caret"></b></a>
1174
                                                    <div id="borrowernumber_autolink" class="btn-group dropup autolink"><a class="btn btn-link dropdown-toggle" role="button" data-toggle="dropdown" href="#">[% cells.cell | $raw %] <b class="caret"></b></a>
1175
                                                        <ul class="dropdown-menu pull-right" role="menu">
1175
                                                        <ul class="dropdown-menu pull-right" role="menu">
1176
                                                            <li><a target="_blank" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% cells.cell | $raw %]"><i class="fa fa-eye"></i> View patron</a></li>
1176
                                                            <li><a id="lientype" target="_blank" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% cells.cell | $raw %]"><i class="fa fa-eye"></i> View patron</a></li>
1177
                                                            <li role="separator" class="divider"></li>
1177
                                                            <li role="separator" class="divider"></li>
1178
                                                            <li><a target="_blank" href="/cgi-bin/koha/members/memberentry.pl?op=modify&borrowernumber=[% cells.cell | $raw %]"><i class="fa fa-pencil"></i> Edit patron</a></li>
1178
                                                            <li><a id="lientype" target="_blank" href="/cgi-bin/koha/members/memberentry.pl?op=modify&borrowernumber=[% cells.cell | $raw %]"><i class="fa fa-pencil"></i> Edit patron</a></li>
1179
                                                            <li role="separator" class="divider"></li>
1179
                                                            <li role="separator" class="divider"></li>
1180
                                                            <li><a target="_blank" href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% cells.cell | $raw %]"><i class="fa fa-barcode"></i> Check out</a></li>
1180
                                                            <li><a id="lientype" target="_blank" href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% cells.cell | $raw %]"><i class="fa fa-barcode"></i> Check out</a></li>
1181
                                                        </ul>
1181
                                                        </ul>
1182
                                                    </div>
1182
                                                    </div>
1183
                                                </td>
1183
                                                </td>
Lines 1186-1192 Link Here
1186
                                                    <span class="data-plain">[% cells.cell | $raw %]</span>
1186
                                                    <span class="data-plain">[% cells.cell | $raw %]</span>
1187
                                                    <div id="cardnumber_autolink" class="btn-group dropup autolink"><a class="btn btn-link dropdown-toggle" role="button" data-toggle="dropdown" href="#">[% cells.cell | $raw %] <b class="caret"></b></a>
1187
                                                    <div id="cardnumber_autolink" class="btn-group dropup autolink"><a class="btn btn-link dropdown-toggle" role="button" data-toggle="dropdown" href="#">[% cells.cell | $raw %] <b class="caret"></b></a>
1188
                                                        <ul class="dropdown-menu pull-right" role="menu">
1188
                                                        <ul class="dropdown-menu pull-right" role="menu">
1189
                                                            <li><a target="_blank" href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cells.cell | $raw %]"><i class="fa fa-barcode"></i> Check out</a></li>
1189
                                                            <li><a id="lientype" target="_blank" href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cells.cell | $raw %]"><i class="fa fa-barcode"></i> Check out</a></li>
1190
                                                        </ul>
1190
                                                        </ul>
1191
                                                    </div>
1191
                                                    </div>
1192
                                                </td>
1192
                                                </td>
Lines 1208-1214 Link Here
1208
                [% END #/IF ( execute ) %]
1208
                [% END #/IF ( execute ) %]
1209
1209
1210
                [% IF ( create ) %]
1210
                [% IF ( create ) %]
1211
                    <h1>Create from SQL</h1>
1211
                    <h2>Create from SQL</h2>
1212
                    <form action="/cgi-bin/koha/reports/guided_reports.pl" method="post" id="sql_report_form">
1212
                    <form action="/cgi-bin/koha/reports/guided_reports.pl" method="post" id="sql_report_form">
1213
                        <fieldset class="rows">
1213
                        <fieldset class="rows">
1214
                            <h3>Create report from SQL</h3>
1214
                            <h3>Create report from SQL</h3>
Lines 1294-1300 Link Here
1294
                [% END # /IF saved_results %]
1294
                [% END # /IF saved_results %]
1295
1295
1296
                [% IF ( showsql ) %]
1296
                [% IF ( showsql ) %]
1297
                <h1>Saved reports - SQL</h1>
1297
                <h2>Saved reports - SQL</h2>
1298
                    <fieldset class="rows">
1298
                    <fieldset class="rows">
1299
                        <h3>[% reportname | html %]</h3>
1299
                        <h3>[% reportname | html %]</h3>
1300
                        <ol>
1300
                        <ol>
Lines 1404-1410 Link Here
1404
                                [% ELSE %]
1404
                                [% ELSE %]
1405
                                [% END %]
1405
                                [% END %]
1406
                                <div id="onerror_actions">
1406
                                <div id="onerror_actions">
1407
                                    <a href="#" class="button goback">Return to previous page</a>
1407
                                    <a id="lientype" href="#" class="button goback">Return to previous page</a>
1408
                                </div>
1408
                                </div>
1409
                            [% END %]
1409
                            [% END %]
1410
                        </div>
1410
                        </div>
Lines 1445-1451 Link Here
1445
                                </ol>
1445
                                </ol>
1446
                            <fieldset class="action">
1446
                            <fieldset class="action">
1447
                                <input type="submit" class="principal" value="Apply filter" />
1447
                                <input type="submit" class="principal" value="Apply filter" />
1448
                                <a id="resetReportsFilter" href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved&clear_filters=1">Clear</a>
1448
                                <a id="resetReportsFilter" class="lientype" href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved&clear_filters=1">Clear</a>
1449
                            </fieldset>
1449
                            </fieldset>
1450
                            </fieldset> <!-- /.brief -->
1450
                            </fieldset> <!-- /.brief -->
1451
                        </form>
1451
                        </form>
Lines 1484-1490 Link Here
1484
                    </div> <!-- /.modal-body -->
1484
                    </div> <!-- /.modal-body -->
1485
                    <div class="modal-footer">
1485
                    <div class="modal-footer">
1486
                        <button type="submit" id="sendParam" class="btn btn-default approve">Insert parameter</button>
1486
                        <button type="submit" id="sendParam" class="btn btn-default approve">Insert parameter</button>
1487
                        <button type="button" class="btn btn-default deny" data-dismiss="modal">Cancel</button>
1487
                        <button type="button" class="btn btn-default deny cancel" data-dismiss="modal">Cancel</button>
1488
                    </div> <!-- /.modal-footer -->
1488
                    </div> <!-- /.modal-footer -->
1489
                </form> <!-- /#send_runtime_parameter -->
1489
                </form> <!-- /#send_runtime_parameter -->
1490
            </div> <!-- /.modal-content -->
1490
            </div> <!-- /.modal-content -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt (-2 / +1 lines)
Lines 51-60 Link Here
51
        <div class="col-sm-10 col-sm-push-2">
51
        <div class="col-sm-10 col-sm-push-2">
52
            <main>
52
            <main>
53
53
54
<h1>Average checkout period</h1>
54
<h2>Average checkout period</h2>
55
[% IF ( do_it ) %]
55
[% IF ( do_it ) %]
56
	[% FOREACH mainloo IN mainloop %]
56
	[% FOREACH mainloo IN mainloop %]
57
        <h2>Average checkout period</h2>
58
		[% IF ( mainloo.loopfilter ) %]
57
		[% IF ( mainloo.loopfilter ) %]
59
            <p>Filtered on:</p>
58
            <p>Filtered on:</p>
60
			[% FOREACH loopfilte IN mainloo.loopfilter %]
59
			[% FOREACH loopfilte IN mainloo.loopfilter %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt (-2 / +1 lines)
Lines 54-63 Link Here
54
        <div class="col-sm-10 col-sm-push-2">
54
        <div class="col-sm-10 col-sm-push-2">
55
            <main>
55
            <main>
56
56
57
<h1>Circulation statistics</h1>
57
<h2>Circulation statistics</h2>
58
[% IF ( do_it ) %]
58
[% IF ( do_it ) %]
59
    [% FOREACH mainloo IN mainloop %]
59
    [% FOREACH mainloo IN mainloop %]
60
        <h2>Circulation statistics</h2>
61
        [% IF ( mainloo.loopfilter ) %]
60
        [% IF ( mainloo.loopfilter ) %]
62
            <p>Filtered on:</p>
61
            <p>Filtered on:</p>
63
            <ul>
62
            <ul>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemtypes.tt (-1 / +1 lines)
Lines 58-65 Link Here
58
58
59
59
60
[% IF ( do_it ) %]
60
[% IF ( do_it ) %]
61
[% FOREACH mainloo IN mainloop %]
62
    <h2>Reports on item types [% IF branch %] held at [% Branches.GetName( branch ) | html %][% END %]</h2>
61
    <h2>Reports on item types [% IF branch %] held at [% Branches.GetName( branch ) | html %][% END %]</h2>
62
[% FOREACH mainloo IN mainloop %]
63
	<table id="itemtypest">
63
	<table id="itemtypest">
64
		<thead>
64
		<thead>
65
		<tr>
65
		<tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt (-1 / +1 lines)
Lines 40-46 Link Here
40
40
41
                    [% IF ( CAN_user_reports_execute_reports || CAN_user_reports_create_reports ) %]
41
                    [% IF ( CAN_user_reports_execute_reports || CAN_user_reports_create_reports ) %]
42
                        <form action="/cgi-bin/koha/reports/guided_reports.pl" method="get">
42
                        <form action="/cgi-bin/koha/reports/guided_reports.pl" method="get">
43
                            <fieldset class="brief">
43
                            <fieldset>
44
                                <h2>Guided reports</h2>
44
                                <h2>Guided reports</h2>
45
                                <input name="phase" value="Use saved" type="hidden">
45
                                <input name="phase" value="Use saved" type="hidden">
46
                                <input name="filter_set" value="1" type="hidden">
46
                                <input name="filter_set" value="1" type="hidden">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt (-2 / +1 lines)
Lines 55-64 Link Here
55
            <main>
55
            <main>
56
56
57
57
58
<h1>Holds statistics</h1>
58
<h2>Holds statistics</h2>
59
[% IF ( do_it ) %]
59
[% IF ( do_it ) %]
60
    [% IF ( mainloop ) %]
60
    [% IF ( mainloop ) %]
61
        <h2>Holds statistics</h2>
62
        [% IF ( loopfilter ) %]
61
        [% IF ( loopfilter ) %]
63
            <p>Filtered on:</p>
62
            <p>Filtered on:</p>
64
            <ul>
63
            <ul>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt (-2 / +2 lines)
Lines 87-93 Link Here
87
[% ELSE %]
87
[% ELSE %]
88
	<form method="post" action="/cgi-bin/koha/reports/serials_stats.pl">
88
	<form method="post" action="/cgi-bin/koha/reports/serials_stats.pl">
89
89
90
	<fieldset class="brief">
90
	<fieldset class="rows">
91
		<ol>
91
		<ol>
92
			<li>
92
			<li>
93
93
Lines 118-124 Link Here
118
	</fieldset>
118
	</fieldset>
119
119
120
120
121
	<fieldset class="brief">
121
	<fieldset class="rows">
122
	<h3>Output</h3>
122
	<h3>Output</h3>
123
    <ol>
123
    <ol>
124
        <li>
124
        <li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reviews/reviewswaiting.tt (-1 / +1 lines)
Lines 45-51 Link Here
45
        <div class="col-sm-10 col-sm-push-2">
45
        <div class="col-sm-10 col-sm-push-2">
46
            <main>
46
            <main>
47
47
48
<h1>Comments</h1>
48
<h2>Comments</h2>
49
49
50
<!-- The manual invoice and credit buttons -->
50
<!-- The manual invoice and credit buttons -->
51
<div class="statictabs">
51
<div class="statictabs">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt (-5 / +6 lines)
Lines 44-58 Link Here
44
    <div class="row">
44
    <div class="row">
45
        <div class="col-sm-10 col-sm-push-2">
45
        <div class="col-sm-10 col-sm-push-2">
46
            <main>
46
            <main>
47
                <h1>Add/remove items from collection</h1>
48
47
49
              [% IF ( ! colId ) %]
48
              [% IF ( ! colId ) %]
49
              <h1>Add/remove items from collection</h1>
50
                <div class="dialog message">
50
                <div class="dialog message">
51
                    <p>Invalid collection id</p>
51
                    <p>Invalid collection id</p>
52
                    <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
52
                    <p><a id="lientype" href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
53
                </div>
53
                </div>
54
              [% ELSE %]
54
              [% ELSE %]
55
              [% INCLUDE 'rotating-collections-toolbar.inc' %]
55
              [% INCLUDE 'rotating-collections-toolbar.inc' %]
56
              <h1>Add/remove items from collection</h1>
56
              <h2>Collection <em>[% colTitle | html %]</em></h2>
57
              <h2>Collection <em>[% colTitle | html %]</em></h2>
57
58
58
              [% IF ( previousActionAdd ) %]
59
              [% IF ( previousActionAdd ) %]
Lines 98-104 Link Here
98
              <div>
99
              <div>
99
                <form action="addItems.pl" method="post">
100
                <form action="addItems.pl" method="post">
100
                    <fieldset class="brief">
101
                    <fieldset class="brief">
101
                        <legend>Add or remove items</legend>
102
                        <h3>Add or remove items</h3>
102
                        <ol>
103
                        <ol>
103
                            <li>
104
                            <li>
104
                                <label for="barcode">Barcode: </label>
105
                                <label for="barcode">Barcode: </label>
Lines 113-119 Link Here
113
                        <p>
114
                        <p>
114
                            <input type="hidden" id="colId" name="colId" value="[% colId | html %]" />
115
                            <input type="hidden" id="colId" name="colId" value="[% colId | html %]" />
115
                            <input type="hidden" name="action" value="addItem" />
116
                            <input type="hidden" name="action" value="addItem" />
116
                            <input type="submit" value="Submit" />
117
                            <input type="submit" class="principal" value="Submit" />
117
                        </p>
118
                        </p>
118
                    </fieldset>
119
                    </fieldset>
119
120
Lines 136-142 Link Here
136
                        <td>[% INCLUDE 'biblio-title.inc' biblio=collectionItemsLoo link = 1 %]</td>
137
                        <td>[% INCLUDE 'biblio-title.inc' biblio=collectionItemsLoo link = 1 %]</td>
137
                        <td>[% collectionItemsLoo.itemcallnumber | html %]</td>
138
                        <td>[% collectionItemsLoo.itemcallnumber | html %]</td>
138
                        <td>[% collectionItemsLoo.barcode | html %]</td>
139
                        <td>[% collectionItemsLoo.barcode | html %]</td>
139
                        <td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% colId | uri %]&amp;barcode=[% collectionItemsLoo.barcode | uri %]&amp;removeItem=1&amp;action=addItem">Remove</a></td>
140
                        <td><a id="lientype" href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% colId | uri %]&amp;barcode=[% collectionItemsLoo.barcode | uri %]&amp;removeItem=1&amp;action=addItem">Remove</a></td>
140
                      </tr>
141
                      </tr>
141
                    [% END %]
142
                    [% END %]
142
                  </table>
143
                  </table>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/editCollections.tt (-6 / +5 lines)
Lines 63-69 Link Here
63
                [% IF ( createSuccess ) %]
63
                [% IF ( createSuccess ) %]
64
                    <div class="dialog message">
64
                    <div class="dialog message">
65
                        <p>Collection <em>[% createdTitle | html %]</em> added successfully</p>
65
                        <p>Collection <em>[% createdTitle | html %]</em> added successfully</p>
66
                        <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
66
                        <p><a id="lientype" href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
67
                    </div>
67
                    </div>
68
                [% ELSE %]
68
                [% ELSE %]
69
                  <div class="dialog alert">
69
                  <div class="dialog alert">
Lines 120-128 Link Here
120
120
121
                [% IF action == "new" || action == "edit" %]
121
                [% IF action == "new" || action == "edit" %]
122
                    [% IF ( previousActionEdit ) %]
122
                    [% IF ( previousActionEdit ) %]
123
                      <h1>Edit collection <em>[% editColTitle | html %]</em></h1>
123
                      <h2>Edit collection <em>[% editColTitle | html %]</em></h2>
124
                    [% ELSE %]
124
                    [% ELSE %]
125
                      <h1>Add new collection</h1>
125
                      <h2>Add new collection</h2>
126
                    [% END %]
126
                    [% END %]
127
127
128
                    <form action="editCollections.pl" method="post" class="validated">
128
                    <form action="editCollections.pl" method="post" class="validated">
Lines 154-162 Link Here
154
                                    [% END %]
154
                                    [% END %]
155
                                </li>
155
                                </li>
156
                            </ol>
156
                            </ol>
157
                        </fieldset>
157
158
                        <fieldset class="action">
158
                            <p><input type="submit" class="principal" value="Submit" /> <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl" class="cancel">Cancel</a></p>
159
                            <p><input type="submit" value="Submit" /> <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl" class="cancel">Cancel</a></p>
160
                        </fieldset>
159
                        </fieldset>
161
                    </form>
160
                    </form>
162
                [% END %]
161
                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt (-2 / +4 lines)
Lines 42-50 Link Here
42
42
43
                [% INCLUDE 'rotating-collections-toolbar.inc' %]
43
                [% INCLUDE 'rotating-collections-toolbar.inc' %]
44
44
45
                <h1>Rotating collections</h1>
45
                <h2>Rotating collections</h2>
46
                <div>
46
                <div>
47
                    [% IF ( collectionsLoop ) %]
47
                    [% IF ( collectionsLoop ) %]
48
                    <fieldset id="searchresults">
48
                        <table id="rotating-collections-table">
49
                        <table id="rotating-collections-table">
49
                            <thead>
50
                            <thead>
50
                                <tr>
51
                                <tr>
Lines 62-68 Link Here
62
                                    <td>[% Branches.GetName( collectionsLoo.colBranchcode ) | html %]</td>
63
                                    <td>[% Branches.GetName( collectionsLoo.colBranchcode ) | html %]</td>
63
                                    <td>
64
                                    <td>
64
                                    <div class="btn-group dropup">
65
                                    <div class="btn-group dropup">
65
                                        <a class="btn btn-default btn-xs" dropdown-toggle" id="collectionsactions[% collectionsLoo.colId | html %]" role="button" data-toggle="dropdown" href="#">
66
                                        <a class="btn btn-default btn-xs" id="lientype" dropdown-toggle" id="collectionsactions[% collectionsLoo.colId | html %]" role="button" data-toggle="dropdown" href="#">
66
                                        Actions <b class="caret"></b></a>
67
                                        Actions <b class="caret"></b></a>
67
                                        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="collectionsactions[% collectionsLoo.colId | html %]">
68
                                        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="collectionsactions[% collectionsLoo.colId | html %]">
68
                                            <li><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId | uri %]"><i class="fa fa-plus"></i> Add or remove items</a></li>
69
                                            <li><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId | uri %]"><i class="fa fa-plus"></i> Add or remove items</a></li>
Lines 76-81 Link Here
76
                            [% END %]
77
                            [% END %]
77
                            </tbody>
78
                            </tbody>
78
                        </table>
79
                        </table>
80
                        </fieldset>
79
                    [% ELSE %]
81
                    [% ELSE %]
80
                        <div class="dialog message">There are no collections currently defined.</div>
82
                        <div class="dialog message">There are no collections currently defined.</div>
81
                    [% END %]
83
                    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/transferCollection.tt (-6 / +5 lines)
Lines 45-51 Link Here
45
        <div class="col-sm-10 col-sm-push-2">
45
        <div class="col-sm-10 col-sm-push-2">
46
            <main>
46
            <main>
47
47
48
                <h1>Transfer collection <em>[% colTitle | html %]</em></h1>
48
                <h2>Transfer collection <em>[% colTitle | html %]</em></h2>
49
49
50
                [% IF ( messages ) %]
50
                [% IF ( messages ) %]
51
                    [% FOREACH message IN messages %]
51
                    [% FOREACH message IN messages %]
Lines 63-74 Link Here
63
                [% IF ( transferSuccess ) %]
63
                [% IF ( transferSuccess ) %]
64
                    <div class="dialog message">
64
                    <div class="dialog message">
65
                        <p>Collection transferred successfully</p>
65
                        <p>Collection transferred successfully</p>
66
                        <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
66
                        <p><a id="lientype" href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
67
                    </div>
67
                    </div>
68
                [% ELSIF ( transferFailure ) %]
68
                [% ELSIF ( transferFailure ) %]
69
                    <div class="dialog alert">
69
                    <div class="dialog alert">
70
                        <p>Failed to transfer collection</p>
70
                        <p>Failed to transfer collection</p>
71
                        <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
71
                        <p><a id="lientype" href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
72
                    </div>
72
                    </div>
73
                [% END %]
73
                [% END %]
74
74
Lines 86-94 Link Here
86
                                        </select>
86
                                        </select>
87
                                    </li>
87
                                    </li>
88
                                </ol>
88
                                </ol>
89
                            </fieldset>
89
90
                            <fieldset class="action">
90
                                <input type="submit" class="principal" value="Transfer collection"> <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl" class="cancel">Cancel</a>
91
                                <input type="submit" value="Transfer collection"> <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl" class="cancel">Cancel</a>
92
                            </fieldset>
91
                            </fieldset>
93
                        </form>
92
                        </form>
94
                    </div>
93
                    </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt (-161 / +138 lines)
Lines 8-14 Link Here
8
[% USE TablesSettings %]
8
[% USE TablesSettings %]
9
[% SET footerjs = 1 %]
9
[% SET footerjs = 1 %]
10
[% formulaire = BLOCK %]
10
[% formulaire = BLOCK %]
11
    [% INCLUDE 'circ-search.inc' %]
11
    [% INCLUDE 'cat-search.inc' %]
12
[% END %]
12
[% END %]
13
[% INCLUDE 'doc-head-open.inc' %]
13
[% INCLUDE 'doc-head-open.inc' %]
14
<title>
14
<title>
Lines 118-126 Link Here
118
                <div class="col-md-8 col-md-offset-2">
118
                <div class="col-md-8 col-md-offset-2">
119
119
120
                    <div id="toolbar" class="btn-toolbar">
120
                    <div id="toolbar" class="btn-toolbar">
121
                        <a class="btn btn-default" id="editsuggestion" href="suggestion.pl?op=edit&amp;suggestionid=[% suggestionid | html %]"><i class="fa fa-pencil"></i> Edit</a>
121
                    <div>
122
                        <a class="btn btn-default deletesuggestion" href="suggestion.pl?op=delete&amp;suggestionid=[% suggestionid | html %]"><i class="fa fa-trash"></i> Delete</a>
122
                        <a class="btn btn-default pat" id="editsuggestion" href="suggestion.pl?op=edit&amp;suggestionid=[% suggestionid | html %]"><i class="fa fa-pencil"></i> Edit</a>
123
                    </div>
123
                        <a class="btn btn-default deletesuggestion pat" href="suggestion.pl?op=delete&amp;suggestionid=[% suggestionid | html %]"><i class="fa fa-trash"></i> Delete</a>
124
                    </div></div>
124
125
125
                    <fieldset class="rows">
126
                    <fieldset class="rows">
126
                        <h3>Bibliographic information</h3>
127
                        <h3>Bibliographic information</h3>
Lines 203-224 Link Here
203
                                <span class="label">Status:</span>
204
                                <span class="label">Status:</span>
204
                                [% SET status_found = 0 %]
205
                                [% SET status_found = 0 %]
205
                                [% IF ( STATUS == 'ASKED' ) %]
206
                                [% IF ( STATUS == 'ASKED' ) %]
206
                                    <span>Pending</span>
207
                                    Pending
207
                                    [% SET status_found = 1 %]
208
                                    [% SET status_found = 1 %]
208
                                [% ELSIF ( STATUS == 'ACCEPTED' ) %]
209
                                [% ELSIF ( STATUS == 'ACCEPTED' ) %]
209
                                    <span>Accepted</span>
210
                                    Accepted
210
                                    [% SET status_found = 1 %]
211
                                    [% SET status_found = 1 %]
211
                                [% ELSIF ( STATUS == 'CHECKED' ) %]
212
                                [% ELSIF ( STATUS == 'CHECKED' ) %]
212
                                    <span>Checked</span>
213
                                    Checked
213
                                    [% SET status_found = 1 %]
214
                                    [% SET status_found = 1 %]
214
                                [% ELSIF ( STATUS == 'REJECTED' ) %]
215
                                [% ELSIF ( STATUS == 'REJECTED' ) %]
215
                                    <span>Rejected</span>
216
                                    Rejected
216
                                    [% SET status_found = 1 %]
217
                                    [% SET status_found = 1 %]
217
                                [% ELSIF ( STATUS == 'ORDERED' ) %]
218
                                [% ELSIF ( STATUS == 'ORDERED' ) %]
218
                                    <span>Ordered</span>
219
                                    Ordered
219
                                    [% SET status_found = 1 %]
220
                                    [% SET status_found = 1 %]
220
                                [% ELSIF ( STATUS == 'AVAILABLE' ) %]
221
                                [% ELSIF ( STATUS == 'AVAILABLE' ) %]
221
                                    <span>Available</span>
222
                                    Available
222
                                    [% SET status_found = 1 %]
223
                                    [% SET status_found = 1 %]
223
                                [% ELSE %]
224
                                [% ELSE %]
224
                                    [% FOREACH s IN SuggestionStatuses %]
225
                                    [% FOREACH s IN SuggestionStatuses %]
Lines 321-327 Link Here
321
                    </fieldset>
322
                    </fieldset>
322
323
323
                    <fieldset class="action">
324
                    <fieldset class="action">
324
                        <a href="suggestion.pl">&lt;&lt; Back to suggestions</a>
325
                        <a href="suggestion.pl" id="lientype">&lt;&lt; Back to suggestions</a>
325
                    </fieldset>
326
                    </fieldset>
326
327
327
                </div> <!-- /.col-md-8 col-md-offset-2 -->
328
                </div> <!-- /.col-md-8 col-md-offset-2 -->
Lines 343-353 Link Here
343
                <div class="dialog [% m.type | html %]">
344
                <div class="dialog [% m.type | html %]">
344
                    [% SWITCH m.code %]
345
                    [% SWITCH m.code %]
345
                    [% CASE 'biblio_exists' %]
346
                    [% CASE 'biblio_exists' %]
346
                        <span>A similar document already exists: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% m.id | uri %]">[% m.title | html %]</a>. Click on "Confirm your suggestion" to ignore this message.</span>
347
                        A similar document already exists: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% m.id | uri %]">[% m.title | html %]</a>. Click on "Confirm your suggestion" to ignore this message.
347
                    [%  CASE 'manager_not_enough_permissions' %]
348
                    [%  CASE 'manager_not_enough_permissions' %]
348
                        <span>The manager you selected does not have sufficient permissions.</span>
349
                        The manager you selected does not have sufficient permissions.
349
                    [% CASE %]
350
                    [% CASE %]
350
                        <span>[% m.code | html %]</span>
351
                        [% m.code | html %]
351
                    [% END %]
352
                    [% END %]
352
                </div> <!-- /.dialog -->
353
                </div> <!-- /.dialog -->
353
            [% END %]
354
            [% END %]
Lines 488-494 Link Here
488
                                    [% ELSE %]
489
                                    [% ELSE %]
489
                                        <input type="text" size="31" id="select-other_reason" name="other_reason" placeholder="please note your reason here..." />
490
                                        <input type="text" size="31" id="select-other_reason" name="other_reason" placeholder="please note your reason here..." />
490
                                    [% END %]
491
                                    [% END %]
491
                                    <a href="#back">Cancel</a>
492
                                    <a class="cancel" href="#back">Cancel</a>
492
                                </span>
493
                                </span>
493
                            </li>
494
                            </li>
494
                        [% END %]
495
                        [% END %]
Lines 517-523 Link Here
517
                                            [% END %]
518
                                            [% END %]
518
                                        </td>
519
                                        </td>
519
                                        <td>
520
                                        <td>
520
                                            <a href="#" id="edit_suggester" class="btn btn-default">Set to patron</a>
521
                                            <a href="#" id="edit_suggester" class="btn btn-default lientype">Set to patron</a>
521
                                        </td>
522
                                        </td>
522
                                    </tr>
523
                                    </tr>
523
                                    <tr>
524
                                    <tr>
Lines 567-575 Link Here
567
                                    | Previously was [% INCLUDE 'patron-title.inc' patron=managedby_patron hide_patron_infos_if_needed=1 %] [% Branches.GetName( managedby_patron.branchcode ) | html %] ([% managedby_patron.category.description | html %])
568
                                    | Previously was [% INCLUDE 'patron-title.inc' patron=managedby_patron hide_patron_infos_if_needed=1 %] [% Branches.GetName( managedby_patron.branchcode ) | html %] ([% managedby_patron.category.description | html %])
568
                                [% END %]
569
                                [% END %]
569
                                <br />
570
                                <br />
570
                                <a id="edit_manager" class="new_window" href="#"><i class="fa fa-search"></i> Select manager</a>
571
                                <a id="edit_manager" class="new_window lientype" href="#"><i class="fa fa-search"></i> Select manager</a>
571
                                [% IF managedby_patron.borrowernumber && logged_in_user.borrowernumber != managedby_patron.borrowernumber %]
572
                                [% IF managedby_patron.borrowernumber && logged_in_user.borrowernumber != managedby_patron.borrowernumber %]
572
                                    <a id="restore_previous_manager" href="#"><i class="fa fa-trash"></i> Keep existing manager</a>
573
                                    <a id="restore_previous_manager" class="lientype" href="#"><i class="fa fa-trash"></i> Keep existing manager</a>
573
                                [% END %]
574
                                [% END %]
574
                                <input type="hidden" name="managedby" id="managedby" value="[% logged_in_user.borrowernumber | html %]" />
575
                                <input type="hidden" name="managedby" id="managedby" value="[% logged_in_user.borrowernumber | html %]" />
575
576
Lines 646-652 Link Here
646
                    [% IF ( suggestionid ) %]
647
                    [% IF ( suggestionid ) %]
647
                        [% IF ( need_confirm ) %]
648
                        [% IF ( need_confirm ) %]
648
                            <input type="hidden" name="save_confirmed" value="1" />
649
                            <input type="hidden" name="save_confirmed" value="1" />
649
                            <input onclick="this.form.op.value = 'save'; this.form.submit();" type="submit" value="Confirm your suggestion" />
650
                            <input onclick="this.form.op.value = 'save'; this.form.submit();" type="submit" class="principal" value="Confirm your suggestion" />
650
                        [% ELSE %]
651
                        [% ELSE %]
651
                            <input type="submit" class="principal" value="Save" />
652
                            <input type="submit" class="principal" value="Save" />
652
                        [% END %]
653
                        [% END %]
Lines 654-660 Link Here
654
                    [% ELSE %]
655
                    [% ELSE %]
655
                        [% IF ( need_confirm ) %]
656
                        [% IF ( need_confirm ) %]
656
                            <input type="hidden" name="save_confirmed" value="1" />
657
                            <input type="hidden" name="save_confirmed" value="1" />
657
                            <input onclick="this.form.op.value = 'save'; this.form.submit();" type="submit" value="Confirm your suggestion" />
658
                            <input onclick="this.form.op.value = 'save'; this.form.submit();" class="principal" type="submit" value="Confirm your suggestion" />
658
                        [% ELSE %]
659
                        [% ELSE %]
659
                            <input type="submit" class="principal" value="Submit your suggestion" />
660
                            <input type="submit" class="principal" value="Submit your suggestion" />
660
                        [% END %]
661
                        [% END %]
Lines 666-675 Link Here
666
667
667
        [% IF op == 'else' %]
668
        [% IF op == 'else' %]
668
            <div id="toolbar" class="btn-toolbar">
669
            <div id="toolbar" class="btn-toolbar">
669
                <div>
670
            <div>
670
                    <a class="pat" id="newsuggestion" href="suggestion.pl?op=add&branchcode=[% branchcode | uri %]"><i class="fa fa-plus"></i> New purchase suggestion</a>
671
                <a class="btn btn-default pat" id="newsuggestion" href="suggestion.pl?op=add&branchcode=[% branchcode | uri %]"><i class="fa fa-plus"></i> New purchase suggestion</a>
671
                </div>
672
            </div></div>
672
            </div>
673
673
674
            <h2>Suggestions management</h2>
674
            <h2>Suggestions management</h2>
675
675
Lines 685-742 Link Here
685
                <div class="dialog [% m.type | html %]">
685
                <div class="dialog [% m.type | html %]">
686
                    [% SWITCH m.code %]
686
                    [% SWITCH m.code %]
687
                    [% CASE 'already_exists' %]
687
                    [% CASE 'already_exists' %]
688
                        <span>The suggestion has not been added. A suggestion with this title already exists (<a href='/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% m.id | html %]&op=show'>suggestion #[% m.id | html %]</a>)</span>
688
                        The suggestion has not been added. A suggestion with this title already exists (<a href='/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% m.id | html %]&op=show'>suggestion #[% m.id | html %]</a>)
689
                    [% CASE 'biblio_exists' %]
689
                    [% CASE 'biblio_exists' %]
690
                        <span>A similar document already exists: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% m.id | uri %]">[% m.title | html %]</a>. Click on "Confirm your suggestion" to ignore this message.</span>
690
                        A similar document already exists: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% m.id | uri %]">[% m.title | html %]</a>. Click on "Confirm your suggestion" to ignore this message.
691
                    [% CASE %]
691
                    [% CASE %]
692
                        <span>[% m.code | html %]</span>
692
                        [% m.code | html %]
693
                    [% END %]
693
                    [% END %]
694
                </div> <!-- /.dialog -->
694
                </div> <!-- /.dialog -->
695
            [% END # /FOR m %]
695
            [% END # /FOR m %]
696
696
697
            [% UNLESS ( notabs ) %]
697
            [% UNLESS ( notabs ) %]
698
                <div id="suggestiontabs" class="toptabs">
698
                <div id="suggestiontabs" class="toptabs">
699
                <fieldset id="searchresults">
699
                <div id="searchresults">
700
                    <ul class="ui-tabs-nav" role="tablist">
700
                    <ul class="ui-tabs-nav">
701
                        [% FOREACH suggestion IN suggestions %]
701
                        [% FOREACH suggestion IN suggestions %]
702
                            <li role="presentation">
702
                                <li>
703
                            <a href="#[% suggestion.suggestiontype | uri %]" aria-controls="[% suggestion.suggestiontype | uri %]" role="tab" data-toggle="tab">
703
                            <a href="#[% suggestion.suggestiontype | uri %]">
704
                            [% IF ( suggestion.suggestiontypelabel ) %]
704
                            [% IF ( suggestion.suggestiontypelabel ) %]
705
                                [% IF (suggestion.suggestiontypelabel == "Pending") %]<span>Pending</span>
705
                                [% IF (suggestion.suggestiontypelabel == "Pending") %]Pending
706
                                [% ELSIF (suggestion.suggestiontypelabel == "Accepted") %]<span>Accepted</span>
706
                                [% ELSIF (suggestion.suggestiontypelabel == "Accepted") %]Accepted
707
                                [% ELSIF (suggestion.suggestiontypelabel == "Checked") %]<span>Checked</span>
707
                                [% ELSIF (suggestion.suggestiontypelabel == "Checked") %]Checked
708
                                [% ELSIF (suggestion.suggestiontypelabel == "Rejected") %]<span>Rejected</span>
708
                                [% ELSIF (suggestion.suggestiontypelabel == "Rejected") %]Rejected
709
                                [% ELSIF (suggestion.suggestiontypelabel == "Available") %]<span>Available</span>
709
                                [% ELSIF (suggestion.suggestiontypelabel == "Available") %]Available
710
                                [% ELSIF (suggestion.suggestiontypelabel == "Ordered") %]<span>Ordered</span>
710
                                [% ELSIF (suggestion.suggestiontypelabel == "Ordered") %]Ordered
711
                                [% ELSIF (suggestion.suggestiontypelabel == "Unknown") %]<span>Status unknown</span>
711
                                [% ELSIF (suggestion.suggestiontypelabel == "Unknown") %]Status unknown
712
                                [% ELSIF (suggestion.suggestiontypelabel == "__ANY__") %]<span>Any</span>
712
                                [% ELSIF (suggestion.suggestiontypelabel == "__ANY__") %]Any
713
                                [% ELSE %][% suggestion.suggestiontypelabel | html %][% END %]
713
                                [% ELSE %][% suggestion.suggestiontypelabel | html %][% END %]
714
                            [% ELSE %]
714
                            [% ELSE %]
715
                                [% IF ( suggestion.suggestiontype ) %]
715
                                [% IF ( suggestion.suggestiontype ) %]
716
                                    [% AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestion.suggestiontype ) | html %]
716
                                    [% AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestion.suggestiontype ) | html %]
717
                                [% ELSE %]
717
                                [% ELSE %]
718
                                    <span>No name</span>
718
                                    No name
719
                                [% END %]
719
                                [% END %]
720
                            [% END %]
720
                            [% END %]
721
                            ([% suggestion.suggestions_loop.size | html %])
721
                            ([% suggestion.suggestions_loop.size | html %])</a></li>
722
                            </a>
722
723
                            </li>
724
                        [% END # /FOREACH suggestion %]
723
                        [% END # /FOREACH suggestion %]
725
                    </ul> <!-- /.ui-tabs-nav -->
724
                    </ul> <!-- /.ui-tabs-nav -->
726
                    <div class="tab-content">
727
            [% END # /UNLESS notabs %]
725
            [% END # /UNLESS notabs %]
728
726
729
                [% FOREACH suggestion IN suggestions %]
727
            [% FOREACH suggestion IN suggestions %]
730
                    <div id="[% suggestion.suggestiontype | html %]" role="tabpanel" class="tab-pane">
728
                <div id="[% suggestion.suggestiontype | html %]">
731
                        <form class="update_suggestions" name="f" method="post" action="/cgi-bin/koha/suggestion/suggestion.pl#[% suggestion.suggestiontype| uri %]">
729
                    <form class="update_suggestions" name="f" method="post" action="/cgi-bin/koha/suggestion/suggestion.pl#[% suggestion.suggestiontype| uri %]">
732
730
733
                        [% IF ( suggestion.suggestions_loop ) %]
731
                        [% IF ( suggestion.suggestions_loop ) %]
734
                            <p>
732
                            <p>
735
                                <a class="checkall" id="lientype" href="#">Check all</a> | <a class="uncheckall" id="lientype" href="#">Uncheck all</a>
733
                                <a class="checkall" href="#">Check all</a> | <a class="uncheckall" href="#">Uncheck all</a>
736
                            </p>
734
                            </p>
737
735
738
                                <table id="table_[% loop.count | html %]" class="sorted">
736
                            <table id="table_[% loop.count | html %]" class="sorted">
739
                                    <thead>
737
                                <thead>
738
                                    <tr>
739
                                        <th class="NoSort noExport">&nbsp;</th>
740
                                        <th class="anti-the">Suggestion</th>
741
                                        <th>Suggested by</th>
742
                                        <th>Suggested on</th>
743
                                        <th>Managed by</th>
744
                                        <th>Managed on</th>
745
                                        <th>Last modification by</th>
746
                                        <th>Last modification on</th>
747
                                        <th>Last updated</th>
748
                                        <th>Library</th>
749
                                        <th>Fund</th>
750
                                        <th>Status</th>
751
                                        <th class="NoSort noExport">&nbsp;</th>
752
                                    </tr>
753
                                </thead>
754
                                <tbody>
755
                                    [% FOREACH suggestions_loo IN suggestion.suggestions_loop %]
740
                                        <tr>
756
                                        <tr>
741
                                            <td>
757
                                            <td>
742
                                                <input type="checkbox" name="suggestionid" value="[% suggestions_loo.suggestionid | html %]" />
758
                                                <input type="checkbox" name="suggestionid" value="[% suggestions_loo.suggestionid | html %]" />
Lines 830-836 Link Here
830
                                            </td>
846
                                            </td>
831
                                            <td class="actions">
847
                                            <td class="actions">
832
                                                <div class="btn-group dropup">
848
                                                <div class="btn-group dropup">
833
                                                    <a class="btn btn-default btn-xs" role="button" id="lientype" href="suggestion.pl?suggestionid=[% suggestions_loo.suggestionid | html %]&amp;op=edit"><i class="fa fa-pencil"></i> Edit</a><a class="btn btn-default btn-xs dropdown-toggle"  id="lientype"  sid="more_actions_[% suggestions_loo.suggestionid | html %]" role="button" data-toggle="dropdown" href="#"><b class="caret"></b></a>
849
                                                    <a class="btn btn-default btn-xs" role="button" href="suggestion.pl?suggestionid=[% suggestions_loo.suggestionid | html %]&amp;op=edit" id="lientype"><i class="fa fa-pencil"></i> Edit</a><a class="btn btn-default btn-xs dropdown-toggle lientype" id="more_actions_[% suggestions_loo.suggestionid | html %]" role="button" data-toggle="dropdown" href="#"><b class="caret"></b></a>
834
                                                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="more_actions_[% suggestions_loo.suggestionid | html %]">
850
                                                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="more_actions_[% suggestions_loo.suggestionid | html %]">
835
                                                        <li><a class="deletesuggestion" href="suggestion.pl?op=delete&amp;suggestionid=[% suggestions_loo.suggestionid | html %]"><i class="fa fa-trash"></i> Delete</a></li>
851
                                                        <li><a class="deletesuggestion" href="suggestion.pl?op=delete&amp;suggestionid=[% suggestions_loo.suggestionid | html %]"><i class="fa fa-trash"></i> Delete</a></li>
836
                                                        [% UNLESS suggestions_loo.archived %]
852
                                                        [% UNLESS suggestions_loo.archived %]
Lines 867-942 Link Here
867
                                                    <option value="ACCEPTED">Accepted</option>
883
                                                    <option value="ACCEPTED">Accepted</option>
868
                                                [% END %]
884
                                                [% END %]
869
885
870
                                                    [% IF ( suggestions_loo.reason ) %]
886
                                                [% IF (statusselected_CHECKED ) %]
871
                                                        <br />([% suggestions_loo.reason | html %])
887
                                                    <option value="CHECKED" selected="selected">Checked</option>
872
                                                    [% END %]
888
                                                [% ELSE %]
873
                                                </td>
889
                                                    <option value="CHECKED">Checked</option>
874
                                                <td class="actions">
890
                                                [% END %]
875
                                                    <div class="btn-group dropup">
876
                                                        <a class="btn btn-default btn-xs" role="button" href="suggestion.pl?suggestionid=[% suggestions_loo.suggestionid | html %]&amp;op=edit"><i class="fa fa-pencil"></i> Edit</a><a class="btn btn-default btn-xs dropdown-toggle" id="more_actions_[% suggestions_loo.suggestionid | html %]" role="button" data-toggle="dropdown" href="#"><b class="caret"></b></a>
877
                                                        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="more_actions_[% suggestions_loo.suggestionid | html %]">
878
                                                            <li><a class="deletesuggestion" href="suggestion.pl?op=delete&amp;suggestionid=[% suggestions_loo.suggestionid | html %]"><i class="fa fa-trash"></i> Delete</a></li>
879
                                                            [% UNLESS suggestions_loo.archived %]
880
                                                                <li><a class="archivesuggestion" href="suggestion.pl?op=archive&amp;suggestionid=[% suggestions_loo.suggestionid | html %]"><i class="fa fa-archive"></i> Archive</a></li>
881
                                                            [% ELSE %]
882
                                                                <li><a class="unarchivesuggestion" href="suggestion.pl?op=unarchive&amp;suggestionid=[% suggestions_loo.suggestionid | html %]"><i class="fa fa-archive"></i> Unarchive</a></li>
883
                                                            [% END %]
884
                                                        </ul>
885
                                                    </div>
886
                                                </td>
887
                                            </tr>
888
                                        [% END # /FOREACH suggestions_loo %]
889
                                    </tbody>
890
                                </table> <!-- /#table_[% loop.count | html %] -->
891
892
                                <div class="row">
893
                                    <h2 style="padding-left:1em;">Change selected suggestions</h2>
894
                                    <div class="col-sm-4">
895
                                        <fieldset>
896
                                            <div id="select-reason[% loop.index | html %]">
897
                                                <label for="STATUSreason[% loop.index | html %]">Mark selected as: </label>
898
                                                <select name="STATUS" id="STATUSreason[% loop.index | html %]">
899
                                                    <option value=""> -- Choose a status --</option>
900
901
                                                    [% IF (statusselected_ASKED ) %]
902
                                                        <option value="ASKED" selected="selected">Pending</option>
903
                                                    [% ELSE %]
904
                                                        <option value="ASKED">Pending</option>
905
                                                    [% END %]
906
891
907
                                                    [% IF (statusselected_ACCEPTED ) %]
892
                                                [% IF ( statusselected_REJECTED ) %]
908
                                                        <option value="ACCEPTED" selected="selected">Accepted</option>
893
                                                    <option value="REJECTED" selected="selected">Rejected</option>
909
                                                    [% ELSE %]
894
                                                [% ELSE %]
910
                                                        <option value="ACCEPTED">Accepted</option>
895
                                                    <option value="REJECTED">Rejected</option>
911
                                                    [% END %]
896
                                                [% END %]
912
897
913
                                                    [% IF (statusselected_CHECKED ) %]
898
                                                [% IF ( statusselected_ORDERED ) %]
914
                                                        <option value="CHECKED" selected="selected">Checked</option>
899
                                                    <option value="ORDERED" selected="selected">Ordered</option>
915
                                                    [% ELSE %]
900
                                                [% ELSE %]
916
                                                        <option value="CHECKED">Checked</option>
901
                                                    <option value="ORDERED">Ordered</option>
917
                                                    [% END %]
902
                                                [% END %]
918
903
919
                                                    [% IF ( statusselected_REJECTED ) %]
904
                                                [% FOREACH s IN SuggestionStatuses %]
920
                                                        <option value="REJECTED" selected="selected">Rejected</option>
905
                                                    <option value="[% s.authorised_value | html %]">[% s.lib | html %]</option>
921
                                                    [% ELSE %]
906
                                                [% END %]
922
                                                        <option value="REJECTED">Rejected</option>
907
                                            </select>
923
                                                    [% END %]
924
908
925
                                                    [% IF ( statusselected_ORDERED ) %]
909
                                            <label for="choosereason[% loop.index | html %]">with this reason:</label>
926
                                                        <option value="ORDERED" selected="selected">Ordered</option>
910
                                            <select name="reason" id="choosereason[% loop.index | html %]">
927
                                                    [% ELSE %]
911
                                                <option value=""> -- Choose a reason -- </option>
928
                                                        <option value="ORDERED">Ordered</option>
912
                                                [% FOREACH reasonsloo IN suggestion.reasonsloop %]
929
                                                    [% END %]
913
                                                    <option value="[% reasonsloo.lib | html %]">[% reasonsloo.lib | html %]</option>
914
                                                [% END %]
915
                                                <option value="other">Others...</option>
916
                                            </select>
930
917
931
                                                    [% FOREACH s IN SuggestionStatuses %]
918
                                            <span class="other_reason">
932
                                                        <option value="[% s.authorised_value | html %]">[% s.lib | html %]</option>
919
                                                <input type="text" size="31" name="other_reason" placeholder="please note your reason here..." />
933
                                                    [% END %]
920
                                                <a href="#" class="cancel_note">Cancel</a>
934
                                                </select>
921
                                            </span>
922
                                        </div>
935
923
936
                                        <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
924
                                        <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
937
                                        <input type="hidden" name="filter_archived" value="[% filter_archived | html %]" />
925
                                        <input type="hidden" name="filter_archived" value="[% filter_archived | html %]" />
938
                                        <fieldset class="action">
926
                                        <fieldset class="action">
939
                                            <button type="submit" class="btn btn-default btn-xs" id="lientype" value="update_status">Submit</button>
927
                                            <button type="submit" class="btn btn-default btn-xs principal" value="update_status">Submit</button>
940
                                        </fieldset>
928
                                        </fieldset>
941
                                    </fieldset>
929
                                    </fieldset>
942
                                </div> <!-- /.col-sm-4 -->
930
                                </div> <!-- /.col-sm-4 -->
Lines 950-956 Link Here
950
                                        <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
938
                                        <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
951
                                        <input type="hidden" name="filter_archived" value="[% filter_archived | html %]" />
939
                                        <input type="hidden" name="filter_archived" value="[% filter_archived | html %]" />
952
                                        <fieldset class="action">
940
                                        <fieldset class="action">
953
                                            <button type="submit" class="btn btn-default btn-xs" id="lientype" value="update_itemtype">Submit</button>
941
                                            <button type="submit" class="btn btn-default btn-xs principal" value="update_itemtype">Submit</button>
954
                                        </fieldset>
942
                                        </fieldset>
955
                                    </fieldset>
943
                                    </fieldset>
956
                                </div> <!-- /.col-sm-4 -->
944
                                </div> <!-- /.col-sm-4 -->
Lines 958-970 Link Here
958
                                <div class="col-sm-2">
946
                                <div class="col-sm-2">
959
                                    <fieldset>
947
                                    <fieldset>
960
                                        <span class="label">Update manager</span><br/>
948
                                        <span class="label">Update manager</span><br/>
961
                                        <a id="set_manager_[% loop.count | html %]" data-tab="[% loop.count | html %]" class="set_manager" href="#"><i class="fa fa-search"></i> Select manager</a>
949
                                        <a id="set_manager_[% loop.count | html %]" data-tab="[% loop.count | html %]" class="set_manager lientype" href="#"><i class="fa fa-search"></i> Select manager</a>
962
                                        <span id="managedby_name[% loop.count | html %]"></span>
950
                                        <span id="managedby_name[% loop.count | html %]"></span>
963
                                        <input type="hidden" name="suggestion_managedby" id="managedby[% loop.count | html %]" value="[% logged_in_user.borrowernumber | html %]" />
951
                                        <input type="hidden" name="suggestion_managedby" id="managedby[% loop.count | html %]" value="[% logged_in_user.borrowernumber | html %]" />
964
                                        <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
952
                                        <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
965
                                        <input type="hidden" name="filter_archived" value="[% filter_archived | html %]" />
953
                                        <input type="hidden" name="filter_archived" value="[% filter_archived | html %]" />
966
                                        <fieldset class="action">
954
                                        <fieldset class="action">
967
                                            <button type="submit" class="btn btn-default btn-xs" id="lientype" value="update_manager">Submit</button>
955
                                            <button type="submit" class="btn btn-default btn-xs principal" value="update_manager">Submit</button>
968
                                        </fieldset>
956
                                        </fieldset>
969
                                    </fieldset>
957
                                    </fieldset>
970
                                </div> <!-- /.col-sm-2 -->
958
                                </div> <!-- /.col-sm-2 -->
Lines 975-1006 Link Here
975
                                        <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
963
                                        <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
976
                                        <input type="hidden" name="filter_archived" value="[% filter_archived | html %]" />
964
                                        <input type="hidden" name="filter_archived" value="[% filter_archived | html %]" />
977
                                        <fieldset class="action">
965
                                        <fieldset class="action">
978
                                            <button type="submit" class="btn btn-default btn-xs" id="lientype" value="delete">Delete</button>
966
                                            <button type="submit" class="btn btn-default btn-xs cancel" value="delete">Delete</button>
979
                                        </fieldset>
980
                                    </div> <!-- /.col-sm-2 -->
981
                                    <div class="col-sm-2">
982
                                        <fieldset>
983
                                            <span class="label">Archive selected</span>
984
                                            <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
985
                                            <input type="hidden" name="filter_archived" value="[% filter_archived | html %]" />
986
                                            <fieldset class="action">
987
                                                <button type="submit" class="btn btn-default btn-xs" value="archive">Archive</button>
988
                                            </fieldset>
989
                                        </fieldset>
967
                                        </fieldset>
990
                                    </div> <!-- /.col-sm-2 -->
968
                                    </fieldset>
991
                                </div> <!-- /.row -->
969
                                </div> <!-- /.col-sm-2 -->
970
                            </div> <!-- /.row -->
992
971
993
                            [% ELSE %]
972
                        [% ELSE %]
994
                                <strong>No results.</strong>
973
                            <strong>No results.</strong>
995
                            [% END # /IF ( suggestion.suggestions_loop ) %]
974
                        [% END # /IF ( suggestion.suggestions_loop ) %]
996
                        </form> <!-- /.update_suggestions -->
975
                    </form> <!-- /.update_suggestions -->
997
                    </div> <!-- /#[% suggestion.suggestiontype | html %] -->
976
                </div> <!-- /#[% suggestion.suggestiontype | html %] -->
998
                [% END # /FOREACH suggestion %]
977
            [% END # /FOREACH suggestion %]
999
            [% UNLESS ( notabs ) %]
978
            [% UNLESS ( notabs ) %]
1000
            </fieldset>
1001
                </div> <!-- /.notabs -->
979
                </div> <!-- /.notabs -->
1002
            [% END # /UNLESS notabs %]
980
            [% END # /UNLESS notabs %]
1003
        [% END # /IF op == 'else' %]
981
        [% END # /IF op == 'else' %]
982
        </div> 
1004
983
1005
        [% UNLESS op == 'save' %]
984
        [% UNLESS op == 'save' %]
1006
            [% UNLESS ( op == 'show' ) %]
985
            [% UNLESS ( op == 'show' ) %]
Lines 1008-1020 Link Here
1008
987
1009
                <div class="col-sm-2 col-sm-pull-10">
988
                <div class="col-sm-2 col-sm-pull-10">
1010
                    <aside>
989
                    <aside>
1011
                    <div id="filters">
1012
                        <form name="suggestionfilter" action="suggestion.pl" method="get">
990
                        <form name="suggestionfilter" action="suggestion.pl" method="get">
1013
                            <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
991
                            <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
1014
                            <fieldset class="brief">
992
                            <fieldset class="brief">
1015
                                <ol style="display:block;">
993
                                <ol style="display:block;">
1016
                                    <li>
994
                                    <li>
1017
                                        <p for="displayby">Organize by:
995
                                        <p for="displayby">Organize by: 
1018
                                        <select name="displayby" id="displayby" style="width:auto;">
996
                                        <select name="displayby" id="displayby" style="width:auto;">
1019
                                            [% IF ( displayby == "STATUS" ) %]
997
                                            [% IF ( displayby == "STATUS" ) %]
1020
                                                <option value="STATUS" selected="selected">Status</option>
998
                                                <option value="STATUS" selected="selected">Status</option>
Lines 1041-1048 Link Here
1041
                                            [% ELSE %]
1019
                                            [% ELSE %]
1042
                                                <option value="acceptedby">Accepted by</option>
1020
                                                <option value="acceptedby">Accepted by</option>
1043
                                            [% END %]
1021
                                            [% END %]
1044
                                        </select>
1022
                                        </select></p>
1045
                                        <input class="principal" type="submit" value="Go" /></p>
1023
                                        <input type="submit" class="principal" value="Go" />
1046
                                    </li>
1024
                                    </li>
1047
                                </ol>
1025
                                </ol>
1048
                            </fieldset> <!-- /.brief -->
1026
                            </fieldset> <!-- /.brief -->
Lines 1051-1057 Link Here
1051
1029
1052
                            <div id="limits">
1030
                            <div id="limits">
1053
                                <fieldset class="brief">
1031
                                <fieldset class="brief">
1054
                                    <h4 class="local_collapse"><a href="#">Bibliographic information <span class="caret"></span></a></h4>
1032
                                    <h4 class="local_collapse"><a href="#">Bibliographic information</a></h4>
1055
                                    <ol>
1033
                                    <ol>
1056
                                        <li>
1034
                                        <li>
1057
                                            <p for="title"> Title:
1035
                                            <p for="title"> Title:
Lines 1075-1087 Link Here
1075
                                        </li>
1053
                                        </li>
1076
                                        <li>
1054
                                        <li>
1077
                                            <p for="collectiontitle"> Collection title:
1055
                                            <p for="collectiontitle"> Collection title:
1078
                                            <input type="text" id="collectiontitle" name="collectiontitle" value="[% collectiontitle | html %]" /></li><li><input class="principal" type="submit" value="Go" />
1056
                                            <input type="text" id="collectiontitle" name="collectiontitle" value="[% collectiontitle | html %]" /></li><li><input type="submit" class="principal" value="Go" />
1079
                                        </p></li>
1057
                                        </p></li>
1080
                                    </ol>
1058
                                    </ol>
1081
                                </fieldset> <!-- /.brief -->
1059
                                </fieldset> <!-- /.brief -->
1082
1060
1083
                                <fieldset class="brief">
1061
                                <fieldset class="brief">
1084
                                    <h4 class="local_collapse"><a href="#">Suggestion information <span class="caret"></span></a></h4>
1062
                                    <h4 class="local_collapse"><a href="#">Suggestion information</a></h4>
1085
                                    <ol>
1063
                                    <ol>
1086
                                        <li>
1064
                                        <li>
1087
                                            <p for="archived" style="display: inline;">Include archived:
1065
                                            <p for="archived" style="display: inline;">Include archived:
Lines 1089-1096 Link Here
1089
                                                <input type="checkbox" id="archived" name="filter_archived" checked="checked" title="Include archived suggestions in the search" />
1067
                                                <input type="checkbox" id="archived" name="filter_archived" checked="checked" title="Include archived suggestions in the search" />
1090
                                            [% ELSE %]
1068
                                            [% ELSE %]
1091
                                                <input type="checkbox" id="archived" name="filter_archived" title="Include archived suggestions in the search" />
1069
                                                <input type="checkbox" id="archived" name="filter_archived" title="Include archived suggestions in the search" />
1092
                                            [% END %]</p>
1070
                                            [% END %]
1093
                                        </li>
1071
                                        </p></li>
1094
                                        <li>
1072
                                        <li>
1095
                                            <p for="STATUS[% loop.index | html %]"> Status:
1073
                                            <p for="STATUS[% loop.index | html %]"> Status:
1096
                                            <select name="STATUS" id="STATUS[% loop.index | html %]">
1074
                                            <select name="STATUS" id="STATUS[% loop.index | html %]">
Lines 1146-1153 Link Here
1146
                                                        <option value="[% suggestedby_loo.code | html %]">[% suggestedby_loo.desc | html %]</option>
1124
                                                        <option value="[% suggestedby_loo.code | html %]">[% suggestedby_loo.desc | html %]</option>
1147
                                                    [% END %]
1125
                                                    [% END %]
1148
                                                [% END %]
1126
                                                [% END %]
1149
                                            </select></p>
1127
                                            </select>
1150
                                        </li>
1128
                                        </p></li>
1151
                                        <li>
1129
                                        <li>
1152
                                            <p for="suggesteddate_from">Suggested date from:
1130
                                            <p for="suggesteddate_from">Suggested date from:
1153
                                            <input type="text" id="suggesteddate_from" size="10" name="suggesteddate_from" value="[% suggesteddate_from | html %]" data-date_to="suggesteddate_to" class="flatpickr" />
1131
                                            <input type="text" id="suggesteddate_from" size="10" name="suggesteddate_from" value="[% suggesteddate_from | html %]" data-date_to="suggesteddate_to" class="flatpickr" />
Lines 1188-1195 Link Here
1188
                                                        <option value="[% acceptedby_loo.code | html %]">[% acceptedby_loo.desc | html %]</option>
1166
                                                        <option value="[% acceptedby_loo.code | html %]">[% acceptedby_loo.desc | html %]</option>
1189
                                                    [% END %]
1167
                                                    [% END %]
1190
                                                [% END %]
1168
                                                [% END %]
1191
                                            </select>
1169
                                            </select></p>
1192
                                        </p></li>
1170
                                        </li>
1193
                                        <li>
1171
                                        <li>
1194
                                            <p for="accepteddate_from">Accepted date from:
1172
                                            <p for="accepteddate_from">Accepted date from:
1195
                                            <input type="text" id="accepteddate_from" size="10" name="accepteddate_from" value="[% accepteddate_from | html %]" data-date_to="accepteddate_to" class="flatpickr" />
1173
                                            <input type="text" id="accepteddate_from" size="10" name="accepteddate_from" value="[% accepteddate_from | html %]" data-date_to="accepteddate_to" class="flatpickr" />
Lines 1199-1212 Link Here
1199
                                            <input type="text" id="accepteddate_to" size="10" name="accepteddate_to" value="[% accepteddate_to | html %]" class="flatpickr" />
1177
                                            <input type="text" id="accepteddate_to" size="10" name="accepteddate_to" value="[% accepteddate_to | html %]" class="flatpickr" />
1200
                                        </p></li>
1178
                                        </p></li>
1201
                                        <li>
1179
                                        <li>
1202
                                            <input class="principal" type="submit" value="Go" />
1180
                                            <input type="submit" class="principal" value="Go" />
1203
                                        </li>
1181
                                        </li>
1204
                                    </ol>
1182
                                    </ol>
1205
                                </fieldset>
1183
                                </fieldset>
1206
1184
1207
                                <fieldset class="brief">
1185
                                <fieldset class="brief">
1208
                                    <h4 class="local_collapse">
1186
                                    <h4 class="local_collapse">
1209
                                        <a href="#">Acquisition information <span class="caret"></span></a>
1187
                                        <a href="#">Acquisition information</a>
1210
                                    </h4>
1188
                                    </h4>
1211
                                    <ol>
1189
                                    <ol>
1212
                                        <li>
1190
                                        <li>
Lines 1228-1234 Link Here
1228
                                            </select></p>
1206
                                            </select></p>
1229
                                        </li>
1207
                                        </li>
1230
                                        <li>
1208
                                        <li>
1231
                                            <input class="principal" type="submit" value="Go" />
1209
                                            <input type="submit" class="principal"  value="Go" />
1232
                                        </li>
1210
                                        </li>
1233
                                    </ol>
1211
                                    </ol>
1234
                                </fieldset>
1212
                                </fieldset>
Lines 1236-1242 Link Here
1236
                        </form> <!-- /suggestionsfilter -->
1214
                        </form> <!-- /suggestionsfilter -->
1237
1215
1238
                        [% INCLUDE 'acquisitions-menu.inc' %]
1216
                        [% INCLUDE 'acquisitions-menu.inc' %]
1239
                    </div>
1217
1240
                    </aside>
1218
                    </aside>
1241
                </div> <!-- /.col-sm-2.col-sm-pull-10 -->
1219
                </div> <!-- /.col-sm-2.col-sm-pull-10 -->
1242
            [% END # /UNLESS ( op == 'show' ) %]
1220
            [% END # /UNLESS ( op == 'show' ) %]
Lines 1252-1260 Link Here
1252
        var tab = '';
1230
        var tab = '';
1253
        function editManagerPopup(selected_tab) {
1231
        function editManagerPopup(selected_tab) {
1254
            tab = selected_tab;
1232
            tab = selected_tab;
1255
            window.open("/cgi-bin/koha/members/search.pl?columns=cardnumber,name,branch,category,action&selection_type=select&callback=select_manager&filter=suggestions_managers",
1233
            window.open("/cgi-bin/koha/suggestion/add_user_search.pl?selection_type=select&callback=select_manager&permissions=suggestions.suggestions_manage",
1256
                'PatronPopup',
1234
                'PatronPopup',
1257
                'width=1024,height=768,scrollbars=yes,toolbar=no,'
1235
                'width=740,height=450,location=yes,toolbar=no,'
1258
                + 'scrollbars=yes,resize=yes'
1236
                + 'scrollbars=yes,resize=yes'
1259
            );
1237
            );
1260
        }
1238
        }
Lines 1289-1297 Link Here
1289
        }
1267
        }
1290
1268
1291
        function editSuggesterPopup() {
1269
        function editSuggesterPopup() {
1292
            window.open("/cgi-bin/koha/members/search.pl?columns=cardnumber,name,branch,category,action&selection_type=select&callback=select_suggester",
1270
            window.open("/cgi-bin/koha/suggestion/add_user_search.pl?selection_type=select&callback=select_suggester",
1293
                'PatronPopup',
1271
                'PatronPopup',
1294
                'width=1024,height=768,scrollbars=yes,toolbar=no,'
1272
                'width=740,height=450,location=yes,toolbar=no,'
1295
                + 'scrollbars=yes,resize=yes'
1273
                + 'scrollbars=yes,resize=yes'
1296
            );
1274
            );
1297
        }
1275
        }
Lines 1337-1352 Link Here
1337
        [% INCLUDE 'columns_settings.inc' %]
1315
        [% INCLUDE 'columns_settings.inc' %]
1338
        <script>
1316
        <script>
1339
            $(document).ready(function() {
1317
            $(document).ready(function() {
1340
                if( $("#suggestiontabs .tab-pane.active").length < 1 ){
1318
                $('#suggestiontabs').tabs();
1341
                    $("#suggestiontabs a:first").tab("show");
1319
1342
                }
1320
                columns_settings = [% TablesSettings.GetColumns( 'acqui', 'suggestions', 'suggestions', 'json' ) | $raw %]
1343
                table_settings = [% TablesSettings.GetTableSettings( 'acqui', 'suggestions', 'suggestions', 'json' ) | $raw %]
1344
                [% FOREACH suggestion IN suggestions %]
1321
                [% FOREACH suggestion IN suggestions %]
1345
                    [% IF ( suggestion.suggestions_loop ) %]
1322
                    [% IF ( suggestion.suggestions_loop ) %]
1346
                        KohaTable("table_[% loop.count| html %]", {
1323
                        KohaTable("table_[% loop.count| html %]", {
1347
                            "sorting": [[ 3, "asc" ]],
1324
                            "sorting": [[ 3, "asc" ]],
1348
                            "autoWidth": false,
1325
                            "autoWidth": false,
1349
                        }, table_settings );
1326
                        }, columns_settings );
1350
                    [% END %]
1327
                    [% END %]
1351
                [% END %]
1328
                [% END %]
1352
1329
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt (-11 / +13 lines)
Lines 49-55 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
49
49
50
<div class="row">
50
<div class="row">
51
<div class="col-sm-8 col-sm-push-2">
51
<div class="col-sm-8 col-sm-push-2">
52
<h1>Tags</h1>
52
<h2>Tags</h2>
53
<form method="post" action="/cgi-bin/koha/tags/review.pl">
53
<form method="post" action="/cgi-bin/koha/tags/review.pl">
54
  <h4>Displaying 
54
  <h4>Displaying 
55
	[% IF ( filter_approved_all ) %]all[% END %]
55
	[% IF ( filter_approved_all ) %]all[% END %]
Lines 199-205 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
199
   <div class="description">Enter a word or phrase to check against approved/rejected lists: </div>
199
   <div class="description">Enter a word or phrase to check against approved/rejected lists: </div>
200
   <form method="post" action="/cgi-bin/koha/tags/review.pl">
200
   <form method="post" action="/cgi-bin/koha/tags/review.pl">
201
   <input type="text" size="14" name="test" id="test" />
201
   <input type="text" size="14" name="test" id="test" />
202
   <fieldset class="action"><button type="submit" value="Test" class="approval_btn btn btn-default btn-sm" id="test_button" name="op-test"><i class="fa fa-check-square-o" aria-hidden="true"></i> Test</button></fieldset>
202
   <fieldset class="action"><button type="submit" value="Test" class="approval_btn btn btn-default btn-sm principal" id="test_button" name="op-test"><i class="fa fa-check-square-o" aria-hidden="true"></i> Test</button></fieldset>
203
   <div id="verdict">
203
   <div id="verdict">
204
	[% IF ( test_term ) %]
204
	[% IF ( test_term ) %]
205
	[% IF ( verdict_ok ) %]
205
	[% IF ( verdict_ok ) %]
Lines 217-229 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
217
</div>
217
</div>
218
<div class="col-sm-2 col-sm-pull-10">
218
<div class="col-sm-2 col-sm-pull-10">
219
    <aside>
219
    <aside>
220
    <div id="filters">
220
<form method="post" action="/cgi-bin/koha/tags/review.pl">
221
<form method="post" action="/cgi-bin/koha/tags/review.pl">
221
<fieldset class="brief">
222
<fieldset class="brief">
222
  <h4>Filters</h4>
223
  <h4>Filters</h4>
223
	<ol>
224
	<ol>
224
	    <li><label for="tag">Term:</label> <input type="text" name="tag" id="tag" value="[% filter_tag | html %]" />
225
	    <li><p for="tag">Term:<input type="text" name="tag" id="tag" value="[% filter_tag | html %]" /></p> 
225
	    </li>
226
	    </li>
226
	    <li><label for="approved">Status:</label>
227
	    <li><p for="approved">Status:
227
            <select name="approved" id="approved">
228
            <select name="approved" id="approved">
228
            [% IF ( filter_approved_all ) %]<option selected="selected" value="all">all</option>
229
            [% IF ( filter_approved_all ) %]<option selected="selected" value="all">all</option>
229
            [% ELSE %]<option value="all">all</option>[% END %]
230
            [% ELSE %]<option value="all">all</option>[% END %]
Lines 233-255 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
233
            [% ELSE %]<option value="0">pending</option>[% END %]
234
            [% ELSE %]<option value="0">pending</option>[% END %]
234
            [% IF ( filter_approved_rej ) %]<option selected="selected" value="-1">rejected</option>
235
            [% IF ( filter_approved_rej ) %]<option selected="selected" value="-1">rejected</option>
235
            [% ELSE %]<option value="-1">rejected</option>[% END %]
236
            [% ELSE %]<option value="-1">rejected</option>[% END %]
236
			</select>
237
			</select></p>
237
	    </li>
238
	    </li>
238
	    <li><label for="approver">Reviewer:</label> <input type="text" name="approver" id="approver" value="[% filter_approver | html %]" />
239
	    <li><p for="approver">Reviewer: <input type="text" name="approver" id="approver" value="[% filter_approver | html %]" /></p>
239
	    </li>
240
	    </li>
240
	    <li>
241
	    <li>
241
			<label for="from">Date: from </label>
242
			<p for="from">Date: from 
242
            <input type="text" size="10" id="from" name="from" value="[% filter_date_approved_from | html %]" class="flatpickr" data-date_to="to" />
243
            <input type="text" size="10" id="from" name="from" value="[% filter_date_approved_from | html %]" class="flatpickr" data-date_to="to" />
243
			<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
244
			<div class="hint">[% INCLUDE 'date-format.inc' %]</div></p>
244
245
245
			<label for="to">...to </label>
246
			<p for="to">...to 
246
            <input type="text" size="10" id="to" name="to" value="[% filter_date_approved_to | html %]" class="flatpickr" />
247
            <input type="text" size="10" id="to" name="to" value="[% filter_date_approved_to | html %]" class="flatpickr" />
247
			<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
248
			<div class="hint">[% INCLUDE 'date-format.inc' %]</div></p>
248
	    </li>
249
	    </li>
249
  </ol>
250
  </ol>
250
 <fieldset class="action"><button type="submit" class="btn btn-default btn-sm"><i class="fa fa-filter" aria-hidden="true"></i> Apply filter(s)</button></fieldset>
251
 <fieldset class="action"><button type="submit" class="btn btn-default btn-sm principal"><i class="fa fa-filter" aria-hidden="true"></i> Apply filter(s)</button></fieldset>
251
</fieldset>
252
</fieldset>
252
</form>
253
</form>
254
</div>
253
</aside>
255
</aside>
254
</div>
256
</div>
255
</div>
257
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt (-2 / +4 lines)
Lines 251-256 Link Here
251
251
252
        [% IF languages.size %]
252
        [% IF languages.size %]
253
            <div id="tabs" class="toptabs">
253
            <div id="tabs" class="toptabs">
254
            <fieldset id="searchresults">
254
                <ul class="nav nav-tabs" role="tablist">
255
                <ul class="nav nav-tabs" role="tablist">
255
                    [% FOR language IN languages %]
256
                    [% FOR language IN languages %]
256
                        [% IF language.lang == 'default' %]
257
                        [% IF language.lang == 'default' %]
Lines 263-269 Link Here
263
                <div class="tab-content">
264
                <div class="tab-content">
264
                    [% FOR language IN languages %]
265
                    [% FOR language IN languages %]
265
                        <div id="lang_[% language.lang | uri %]" class="lang clearfix tab-pane" data-lang="[% language.description | html %]">
266
                        <div id="lang_[% language.lang | uri %]" class="lang clearfix tab-pane" data-lang="[% language.description | html %]">
266
                            <fieldset class="rows">
267
                            <fieldset>
267
                                <ol>
268
                                <ol>
268
                                    <li>
269
                                    <li>
269
                                        <label for="title_[% language.lang | html %]">Title: </label>
270
                                        <label for="title_[% language.lang | html %]">Title: </label>
Lines 279-284 Link Here
279
                        </div>
280
                        </div>
280
                    [% END %]
281
                    [% END %]
281
                </div> <!-- /.tab-content -->
282
                </div> <!-- /.tab-content -->
283
            </fieldset>
282
            </div>
284
            </div>
283
        [% ELSE %]
285
        [% ELSE %]
284
            <div id="lang_default">
286
            <div id="lang_default">
Lines 383-389 Link Here
383
                                        [% c.content | $raw %]
385
                                        [% c.content | $raw %]
384
                                    </div>
386
                                    </div>
385
                                    <div class="modal-footer">
387
                                    <div class="modal-footer">
386
                                        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
388
                                        <button type="button" class="btn btn-secondary cancel" data-dismiss="modal">Close</button>
387
                                    </div>
389
                                    </div>
388
                                </div>
390
                                </div>
389
                            </div>
391
                            </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt (-12 / +10 lines)
Lines 53-73 Link Here
53
53
54
        [% IF ( op == 'edit_form' ) %]
54
        [% IF ( op == 'edit_form' ) %]
55
          <form method="post" id="rules_form" action="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl">
55
          <form method="post" id="rules_form" action="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl">
56
            <h2>Rules for automatic item modifications by age</h2>
57
            <div id="toolbar" class="btn-toolbar">
56
            <div id="toolbar" class="btn-toolbar">
58
                <div class="btn-group">
57
                <div class="btn-group">
59
                    <button class="pat add_rule"><i class="fa fa-plus"></i> Add rule</button>
58
                    <button class="pat add_rule"><i class="fa fa-plus"></i> Add rule</button>
60
                </div>
59
                </div>
61
                <div class="btn-group">
60
                <div class="btn-group">
62
                    <button type="submit" id="save_rules" class="pat"><i class="fa fa-save"></i> Save</button>
61
                    <button type="submit" id="save_rules" class="principal"><i class="fa fa-save"></i> Save</button>
63
                </div>
62
                </div>
64
                <div class="btn-group">
63
                <div class="btn-group">
65
                    <a class="pat" href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl"><i class="fa fa-remove"></i> Cancel</a>
64
                    <a class="cancel" href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl"><i class="fa fa-remove"></i> Cancel</a>
66
                </div>
65
                </div>
67
            </div>
66
            </div>
68
            <h2>Rules for automatic item modifications by age</h2>
67
            <h2>Rules for automatic item modifications by age</h2>
69
        [% ELSE %]
68
        [% ELSE %]
70
            <h2>Automatic item modifications by age</h2>
71
            [% IF ( rules ) %]
69
            [% IF ( rules ) %]
72
                <div id="toolbar" class="btn-toolbar">
70
                <div id="toolbar" class="btn-toolbar">
73
                <div class="btn-group">
71
                <div class="btn-group">
Lines 134-141 Link Here
134
                          </select>
132
                          </select>
135
                          =
133
                          =
136
                          <input type="text" value="[% condition.value | html %]" name="condition_value_[% id | html %]" />
134
                          <input type="text" value="[% condition.value | html %]" name="condition_value_[% id | html %]" />
137
                          <a class="add_block" href="#"><i class="fa fa-plus"></i> Add a condition</a>
135
                          <a class="add_block" href="#" id="lientype"><i class="fa fa-plus"></i> Add a condition</a>
138
                          <a class="remove_block" href="#"><i class="fa fa-trash"></i> Remove condition</a>
136
                          <a class="remove_block" href="#" id="lientype"><i class="fa fa-trash"></i> Remove condition</a>
139
                        </div>
137
                        </div>
140
                      [% END %]
138
                      [% END %]
141
                    </div>
139
                    </div>
Lines 155-162 Link Here
155
                          </select>
153
                          </select>
156
                          =
154
                          =
157
                          <input type="text" value="[% substitution.value | html %]" name="substitution_value_[% id | html %]" />
155
                          <input type="text" value="[% substitution.value | html %]" name="substitution_value_[% id | html %]" />
158
                          <a class="add_block" href="#"><i class="fa fa-plus"></i> Add a substitution</a>
156
                          <a class="add_block" href="#" id="lientype"><i class="fa fa-plus"></i> Add a substitution</a>
159
                          <a class="remove_block" href="#"><i class="fa fa-trash"></i> Remove substitution</a>
157
                          <a class="remove_block" href="#" id="lientype"><i class="fa fa-trash"></i> Remove substitution</a>
160
                          <span class="required">A field name is required</span>
158
                          <span class="required">A field name is required</span>
161
                        </div>
159
                        </div>
162
                      [% END %]
160
                      [% END %]
Lines 200-207 Link Here
200
                </select>
198
                </select>
201
                =
199
                =
202
                <input type="text" value="" name="condition_value" />
200
                <input type="text" value="" name="condition_value" />
203
                <a class="add_block" href="#"><i class="fa fa-plus"></i> Add a condition</a>
201
                <a class="add_block" href="#" id="lientype"><i class="fa fa-plus"></i> Add a condition</a>
204
                <a class="remove_block" href="#"><i class="fa fa-trash"></i> Remove condition</a>
202
                <a class="remove_block" href="#" id="lientype"><i class="fa fa-trash"></i> Remove condition</a>
205
              </div>
203
              </div>
206
            </div>
204
            </div>
207
            <div class="blocks">
205
            <div class="blocks">
Lines 215-222 Link Here
215
                </select>
213
                </select>
216
                =
214
                =
217
                <input type="text" value="" name="substitution_value" />
215
                <input type="text" value="" name="substitution_value" />
218
                <a class="add_block" href="#"><i class="fa fa-plus"></i> Add a substitution</a>
216
                <a class="add_block" href="#" id="lientype"><i class="fa fa-plus"></i> Add a substitution</a>
219
                <a class="remove_block" href="#"><i class="fa fa-trash"></i> Remove substitution</a>
217
                <a class="remove_block" href="#" id="lientype"><i class="fa fa-trash"></i> Remove substitution</a>
220
                <span class="required">A field name is required</span>
218
                <span class="required">A field name is required</span>
221
              </div>
219
              </div>
222
            </div>
220
            </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt (-16 / +17 lines)
Lines 40-64 Link Here
40
40
41
    <div class="main container-fluid">
41
    <div class="main container-fluid">
42
42
43
        <h1>Batch item modification</h1>
43
        <h2>Batch item modification</h2>
44
        [% IF op == 'enqueued' %]
44
        [% IF op == 'enqueued' %]
45
            <div class="dialog message">
45
            <div class="dialog message">
46
              <p>The job has been enqueued! It will be processed as soon as possible.</p>
46
              <p>The job has been enqueued! It will be processed as soon as possible.</p>
47
              <p><a href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=[% job_id | uri %]" title="View detail of the enqueued job">View detail of the enqueued job</a>
47
              <p><a id="lientype" href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=[% job_id | uri %]" title="View detail of the enqueued job">View detail of the enqueued job</a>
48
              | <a href="/cgi-bin/koha/tools/batchMod.pl" title="New batch item modification">New batch item modification</a></p>
48
              | <a id="lientype" href="/cgi-bin/koha/tools/batchMod.pl" title="New batch item modification">New batch item modification</a></p>
49
            </div>
49
            </div>
50
50
51
            <fieldset class="action">
51
            <fieldset class="action">
52
                [% IF src == 'CATALOGUING' # from catalogue/detail.pl > Edit items in a batch%]
52
                [% IF src == 'CATALOGUING' # from catalogue/detail.pl > Edit items in a batch%]
53
                    [% IF searchid %]
53
                    [% IF searchid %]
54
                        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]&searchid=[% searchid | uri %]">Return to the record</a>
54
                        <a id="lientype" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]&searchid=[% searchid | uri %]">Return to the record</a>
55
                    [% ELSE %]
55
                    [% ELSE %]
56
                        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]">Return to the record</a>
56
                        <a id="lientype" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]">Return to the record</a>
57
                    [% END %]
57
                    [% END %]
58
                [% ELSIF src %]
58
                [% ELSIF src %]
59
                    <a href="[% src | url %]">Return to where you were</a>
59
                    <a id="lientype" href="[% src | url %]">Return to where you were</a>
60
                [% ELSE %]
60
                [% ELSE %]
61
                    <a href="/cgi-bin/koha/tools/batchMod.pl">Return to batch item modification</a>
61
                    <a id="lientype" href="/cgi-bin/koha/tools/batchMod.pl">Return to batch item modification</a>
62
                [% END %]
62
                [% END %]
63
            </fieldset>
63
            </fieldset>
64
        [% END %]
64
        [% END %]
Lines 179-193 Link Here
179
179
180
                [% UNLESS (too_many_items_process) %]
180
                [% UNLESS (too_many_items_process) %]
181
                    <div id="cataloguing_additem_newitem">
181
                    <div id="cataloguing_additem_newitem">
182
                        <h2>Edit items</h2>
182
                        
183
                        <div class="hint">Checking the box right next to the subfield label will disable the entry and delete the subfield on all selected items. Leave fields blank to make no change.</div>
184
                        <fieldset class="rows">
183
                        <fieldset class="rows">
184
                        <h3>Edit items</h3>
185
                        <div class="hint">Checking the box right next to the subfield label will disable the entry and delete the subfield on all selected items. Leave fields blank to make no change.</div>
185
                            [%# no_plugin from batchMod-edit, jQuery is included at the end of the template and cataloguing plugins are not working in this situation %]
186
                            [%# no_plugin from batchMod-edit, jQuery is included at the end of the template and cataloguing plugins are not working in this situation %]
186
                            [% PROCESS subfields_for_item subfields => subfields, add_regex => 1, add_delete_checkbox => 1, no_plugin => 1 %]
187
                            [% PROCESS subfields_for_item subfields => subfields, add_regex => 1, add_delete_checkbox => 1, no_plugin => 1 %]
187
                        </fieldset>
188
                        </fieldset>
188
189
189
                        <fieldset class="rows">
190
                        <fieldset class="rows">
190
                            <legend>Other attributes</legend>
191
                            <h3>Other attributes</h3>
191
                            <ol>
192
                            <ol>
192
                                <li>
193
                                <li>
193
                                    <div class="subfield_line">
194
                                    <div class="subfield_line">
Lines 203-227 Link Here
203
                        </fieldset>
204
                        </fieldset>
204
205
205
                        <fieldset class="action">
206
                        <fieldset class="action">
206
                            <input type="submit" id="mainformsubmit" value="Save" />
207
                            <input type="submit" class="principal" id="mainformsubmit" value="Save" />
207
                            <a href="/cgi-bin/koha/tools/batchMod.pl" class="cancel">Cancel</a>
208
                            <a href="/cgi-bin/koha/tools/batchMod.pl" class="cancel">Cancel</a>
208
                        </fieldset>
209
                        </fieldset>
209
                    </div> <!-- /#cataloguing_additem_newitem -->
210
                    </div> <!-- /#cataloguing_additem_newitem -->
210
                [% ELSE %]
211
                [% ELSE %]
211
                    <p><a href="/cgi-bin/koha/tools/batchMod.pl">Return to batch item modification</a></p>
212
                    <p><a id="lientype" href="/cgi-bin/koha/tools/batchMod.pl">Return to batch item modification</a></p>
212
                [% END # /UNLESS too_many_items_process %]
213
                [% END # /UNLESS too_many_items_process %]
213
            [% ELSE # IF show %]
214
            [% ELSE # IF show %]
214
                <fieldset class="action">
215
                <fieldset class="action">
215
                    [% IF src == 'CATALOGUING' # from catalogue/detail.pl > Edit items in a batch%]
216
                    [% IF src == 'CATALOGUING' # from catalogue/detail.pl > Edit items in a batch%]
216
                        [% IF searchid %]
217
                        [% IF searchid %]
217
                            <a class="btn btn-default" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]&searchid=[% searchid | uri %]"><i class="fa fa-check-square-o"></i> Return to the record</a>
218
                            <a id="lientype" class="btn btn-default" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]&searchid=[% searchid | uri %]"><i class="fa fa-check-square-o"></i> Return to the record</a>
218
                        [% ELSE %]
219
                        [% ELSE %]
219
                            <a class="btn btn-default" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]"><i class="fa fa-check-square-o"></i> Return to the record</a>
220
                            <a id="lientype" class="btn btn-default" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]"><i class="fa fa-check-square-o"></i> Return to the record</a>
220
                        [% END %]
221
                        [% END %]
221
                    [% ELSIF src %]
222
                    [% ELSIF src %]
222
                        <a class="btn btn-default" href="[% src | url %]"><i class="fa fa-check-square-o"></i> Return to where you were</a>
223
                        <a  id="lientype"class="btn btn-default" href="[% src | url %]"><i class="fa fa-check-square-o"></i> Return to where you were</a>
223
                    [% ELSE %]
224
                    [% ELSE %]
224
                        <a class="btn btn-default" href="/cgi-bin/koha/tools/batchMod.pl"><i class="fa fa-check-square-o"></i> Return to batch item modification</a>
225
                        <a id="lientype" class="btn btn-default" href="/cgi-bin/koha/tools/batchMod.pl"><i class="fa fa-check-square-o"></i> Return to batch item modification</a>
225
                    [% END %]
226
                    [% END %]
226
                </fieldset> <!-- /.action -->
227
                </fieldset> <!-- /.action -->
227
            [% END %]
228
            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt (-10 / +10 lines)
Lines 82-88 Link Here
82
          </li>
82
          </li>
83
          [% IF lists.count %]
83
          [% IF lists.count %]
84
            <li id="show_list_option" role="presentation">
84
            <li id="show_list_option" role="presentation">
85
                <a href="#shelves_tab" aria-controls="shelves_tab" role="tab" data-toggle="tab">Select a list of records</a>
85
                <a  href="#shelves_tab" aria-controls="shelves_tab" role="tab" data-toggle="tab">Select a list of records</a>
86
            </li>
86
            </li>
87
          [% END %]
87
          [% END %]
88
          <li role="presentation">
88
          <li role="presentation">
Lines 92-98 Link Here
92
92
93
    <div class="tab-content">
93
    <div class="tab-content">
94
        <div id="uploadfile_tab" role="tabpanel" class="tab-pane active">
94
        <div id="uploadfile_tab" role="tabpanel" class="tab-pane active">
95
          <fieldset class="rows">
95
          <fieldset>
96
            <h3>Use a file</h3>
96
            <h3>Use a file</h3>
97
            <ol>
97
            <ol>
98
              <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li>
98
              <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li>
Lines 103-109 Link Here
103
103
104
        [% IF lists.count %]
104
        [% IF lists.count %]
105
            <div id="shelves_tab" role="tabpanel" class="tab-pane">
105
            <div id="shelves_tab" role="tabpanel" class="tab-pane">
106
              <fieldset class="rows">
106
              <fieldset>
107
                <h3>Or select a list of records</h3>
107
                <h3>Or select a list of records</h3>
108
                <ol>
108
                <ol>
109
                  <li>
109
                  <li>
Lines 122-128 Link Here
122
        [% END %]
122
        [% END %]
123
123
124
        <div id="enterlist_tab" role="tabpanel" class="tab-pane">
124
        <div id="enterlist_tab" role="tabpanel" class="tab-pane">
125
          <fieldset class="rows">
125
          <fieldset>
126
            <h3>Or enter a list of record numbers</h3>
126
            <h3>Or enter a list of record numbers</h3>
127
            <ol>
127
            <ol>
128
              <li>
128
              <li>
Lines 149-157 Link Here
149
        <div id="toolbar">
149
        <div id="toolbar">
150
          <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a>
150
          <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a>
151
          | <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a>
151
          | <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a>
152
          | <a id="selectwithoutitems" href="#">Select without items</a>
152
          | <a class="lientype" id="selectwithoutitems" href="#">Select without items</a>
153
          | <a id="selectnotreserved" href="#">Select without holds</a>
153
          | <a class="lientype" id="selectnotreserved" href="#">Select without holds</a>
154
          | <a id="selectwithoutsubscriptions" href="#">Select without subscriptions</a>
154
          | <a class="lientype" id="selectwithoutsubscriptions" href="#">Select without subscriptions</a>
155
        </div>
155
        </div>
156
        <form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post" id="selectrecords">
156
        <form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post" id="selectrecords">
157
          <table id="biblios" class="records">
157
          <table id="biblios" class="records">
Lines 185-191 Link Here
185
        <div id="toolbar">
185
        <div id="toolbar">
186
          <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a>
186
          <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a>
187
          | <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a>
187
          | <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a>
188
          | <a id="clearlinkedtobiblio" href="#">Clear used authorities</a>
188
          | <a class="lientype" id="clearlinkedtobiblio" href="#">Clear used authorities</a>
189
        </div>
189
        </div>
190
        <form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post" id="selectauths">
190
        <form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post" id="selectauths">
191
          <table id="authorities" class="records">
191
          <table id="authorities" class="records">
Lines 223-230 Link Here
223
  [% ELSIF op == 'enqueued' %]
223
  [% ELSIF op == 'enqueued' %]
224
    <div class="dialog message">
224
    <div class="dialog message">
225
      <p>The job has been enqueued! It will be processed as soon as possible.</p>
225
      <p>The job has been enqueued! It will be processed as soon as possible.</p>
226
      <p><a href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=[% job_id | uri %]" title="View detail of the enqueued job">View detail of the enqueued job</a>
226
      <p><a id="lientype" href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=[% job_id | uri %]" title="View detail of the enqueued job">View detail of the enqueued job</a>
227
      | <a href="/cgi-bin/koha/tools/batch_delete_records.pl" title="New batch record deletion">New batch record deletion</a></p>
227
      | <a id="lientype" href="/cgi-bin/koha/tools/batch_delete_records.pl" title="New batch record deletion">New batch record deletion</a></p>
228
    </div>
228
    </div>
229
  [% ELSE %]
229
  [% ELSE %]
230
    No action defined for the template.
230
    No action defined for the template.
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt (-55 / +35 lines)
Lines 12-18 Link Here
12
</head>
12
</head>
13
13
14
<body id="tools_batch_record_modification" class="tools">
14
<body id="tools_batch_record_modification" class="tools">
15
    [% INCLUDE 'header.inc' form=formulaire %]
15
    [% INCLUDE 'header.inc'  form=formulaire %]
16
16
17
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
        <ol>
18
        <ol>
Lines 83-141 Link Here
83
                            <br><br>
83
                            <br><br>
84
84
85
                            <div id="batch_mod_form" class="toptabs" style="clear:both">
85
                            <div id="batch_mod_form" class="toptabs" style="clear:both">
86
                                <fieldset id="searchresults">
86
                            <fieldset id="searchresults">
87
                                <ul class="nav nav-tabs" role="tablist">
87
                                <ul>
88
                                    <li role="presentation" class="active">
88
                                    <li><a href="#uploadfile_tab">Upload a file</a></li>
89
                                        <a href="#uploadfile_tab" aria-controls="uploadfile_tab" role="tab" data-toggle="tab">Upload a file</a>
89
                                        [% IF lists.count %]<li id="show_list_option"><a href="#shelves_tab">Select a list of records</a></li>[% END %]
90
                                    </li>
90
                                    <li><a href="#enterlist_tab">Enter a list of record numbers</a></li>
91
                                    [% IF lists.count %]
92
                                        <li id="show_list_option">
93
                                            <a href="#shelves_tab" aria-controls="shelves_tab" role="tab" data-toggle="tab">Select a list of records</a>
94
                                        </li>
95
                                    [% END %]
96
                                    <li role="presentation">
97
                                        <a href="#enterlist_tab" aria-controls="enterlist_tab" role="tab" data-toggle="tab">Enter a list of record numbers</a>
98
                                    </li>
99
                                </ul>
91
                                </ul>
100
92
101
                                <div class="tab-content">
93
                                <div id="uploadfile_tab">
102
                                    <div id="uploadfile_tab" role="tabpanel" class="tab-pane active">
94
                                    <fieldset class="rows">
103
                                        <fieldset class="rows">
95
                                        <h3>Use a file</h3>
104
                                            <ol>
96
                                        <ol>
105
                                                <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li>
97
                                            <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li>
106
                                            </ol>
98
                                        </ol>
107
                                        </fieldset>
99
                                    </fieldset>
108
                                        &nbsp;
100
                                    &nbsp;
109
                                    </div>
101
                                </div>
110
111
                                    [% IF lists.count %]
112
                                        <div id="shelves_tab" role="tabpanel" class="tab-pane">
113
                                            <fieldset class="rows">
114
                                                <ol>
115
                                                    <li>
116
                                                        <label for="shelf_number">List: </label>
117
                                                        <select name="shelf_number" id="shelf_number">
118
                                                            <option value="">Select a list</option>
119
                                                            [% FOREACH list IN lists %]
120
                                                            <option value="[% list.shelfnumber | html %]">[% list.shelfname | html %]</option>
121
                                                            [% END %]
122
                                                            </option>
123
                                                        </select>
124
                                                    </li>
125
                                                </ol>
126
                                            </fieldset>
127
                                            &nbsp;
128
                                        </div>
129
                                    [% END %]
130
102
131
                                    <div id="enterlist_tab" role="tabpanel" class="tab-pane">
103
                                [% IF lists.count %]
104
                                    <div id="shelves_tab">
132
                                        <fieldset class="rows">
105
                                        <fieldset class="rows">
133
                                            <h3>Or select a list of records</h3>
106
                                            <h3>Or select a list of records</h3>
134
                                            <ol>
107
                                            <ol>
135
                                                <li>
108
                                                <li>
136
                                                    <label for="recordnumber_list">Record numbers: </label>
109
                                                    <label for="shelf_number">Use records from the following list: </label>
137
                                                    <textarea rows="10" cols="30" id="recordnumber_list" name="recordnumber_list"></textarea>
110
                                                    <select name="shelf_number" id="shelf_number">
138
                                                    <div class="hint">Enter a list of biblionumbers or authority IDs, one per line.</div>
111
                                                        <option value="">Select a list</option>
112
                                                        [% FOREACH list IN lists %]
113
                                                        <option value="[% list.shelfnumber | html %]">[% list.shelfname | html %]</option>
114
                                                        [% END %]
115
                                                        </option>
116
                                                    </select>
139
                                                </li>
117
                                                </li>
140
                                            </ol>
118
                                            </ol>
141
                                        </fieldset>
119
                                        </fieldset>
Lines 162-168 Link Here
162
                                <h3>Use MARC modification template:</h3>
140
                                <h3>Use MARC modification template:</h3>
163
                                <ol>
141
                                <ol>
164
                                    <li>
142
                                    <li>
165
                                        <label for="marc_modification_template_id" class="required">Template: </label>
143
                                        <label for="marc_modification_template_id" class="required">Modify record using the following template: </label>
166
                                        <select name="marc_modification_template_id" id="marc_modification_template_id" required="required">
144
                                        <select name="marc_modification_template_id" id="marc_modification_template_id" required="required">
167
                                            <option value="">Select a template</option>
145
                                            <option value="">Select a template</option>
168
                                            [% FOREACH mmt IN MarcModificationTemplatesLoop %]
146
                                            [% FOREACH mmt IN MarcModificationTemplatesLoop %]
Lines 174-180 Link Here
174
                            </fieldset>
152
                            </fieldset>
175
                            <fieldset class="action">
153
                            <fieldset class="action">
176
                                <input type="hidden" name="op" value="list" />
154
                                <input type="hidden" name="op" value="list" />
177
                                <input class="principal" type="submit" value="Continue" class="button" />
155
                                <input type="submit" class="principal" value="Continue" class="button" />
178
                                <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
156
                                <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
179
                            </fieldset>
157
                            </fieldset>
180
                        </form> <!-- /#record_ids_selection -->
158
                        </form> <!-- /#record_ids_selection -->
Lines 229-235 Link Here
229
                                                    <td>[% biblio.biblionumber | html %]</td>
207
                                                    <td>[% biblio.biblionumber | html %]</td>
230
                                                    <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber | uri %]">[% biblio.title | html %]</a></td>
208
                                                    <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber | uri %]">[% biblio.title | html %]</a></td>
231
                                                    <td class="actions">
209
                                                    <td class="actions">
232
                                                        <a href="/cgi-bin/koha/svc/records/preview?record_type=biblio&record_id=[% biblio.biblionumber | uri %]&mmtid=[% mmtid | uri %]&overlay_context=batchmod" class="previewMARC btn btn-default btn-xs" data-record_type="biblio" data-record_id="[% biblio.biblionumber | html %]" data-mmtid="[% mmtid | html %]" id="lientype" title="Preview MARC"><i class="fa fa-eye"></i> Show MARC</a>
210
                                                        <a href="/cgi-bin/koha/svc/records/preview?record_type=biblio&record_id=[% biblio.biblionumber | uri %]&mmtid=[% mmtid | uri %]&overlay_context=batchmod" class="previewMARC btn btn-default btn-xs" data-record_type="biblio" data-record_id="[% biblio.biblionumber | html %]" data-mmtid="[% mmtid | html %]" title="Preview MARC"><i class="fa fa-eye"></i> Show MARC</a>
233
                                                    </td>
211
                                                    </td>
234
                                                </tr>
212
                                                </tr>
235
                                            [% END %]
213
                                            [% END %]
Lines 245-251 Link Here
245
                                        <thead>
223
                                        <thead>
246
                                            <tr>
224
                                            <tr>
247
                                                <th></th>
225
                                                <th></th>
248
                                                <th>AuthID</th>
226
                                                <th>Authid</th>
249
                                                <th>Summary</th>
227
                                                <th>Summary</th>
250
                                                <th>&nbsp;</th>
228
                                                <th>&nbsp;</th>
251
                                            </tr>
229
                                            </tr>
Lines 266-277 Link Here
266
                                <fieldset class="action">
244
                                <fieldset class="action">
267
                                    <input type="hidden" name="op" value="modify" />
245
                                    <input type="hidden" name="op" value="modify" />
268
                                    <input type="hidden" name="recordtype" value="[% recordtype | html %]" />
246
                                    <input type="hidden" name="recordtype" value="[% recordtype | html %]" />
269
                                    <input type="submit" class="principal" id="mainformsubmit" value="Modify selected records" class="button" />
247
                                    <input type="submit" id="mainformsubmit" value="Modify selected records" class="button principal" />
270
                                </fieldset>
248
                                </fieldset>
271
                            </form> <!-- /#process -->
249
                            </form> <!-- /#process -->
272
                        [% ELSE %]
250
                        [% ELSE %]
273
                            <div class="dialog message">
251
                            <div class="dialog message">
274
                                No records were modified. [% IF recordtype != 'biblio' %]<a href="/cgi-bin/koha/tools/batch_record_modification.pl" title="New batch record modification">New batch record modification</a>[% END %]
252
                                No records were modified. [% IF recordtype != 'biblio' %]<a id="lientype" href="/cgi-bin/koha/tools/batch_record_modification.pl" title="New batch record modification">New batch record modification</a>[% END %]
275
                            </div>
253
                            </div>
276
                        [% END %]
254
                        [% END %]
277
                    [% ELSIF view == 'errors' %]
255
                    [% ELSIF view == 'errors' %]
Lines 285-292 Link Here
285
                     [% ELSIF view == 'enqueued' %]
263
                     [% ELSIF view == 'enqueued' %]
286
                        <div class="dialog message">
264
                        <div class="dialog message">
287
                            <p>The job has been enqueued! It will be processed as soon as possible.</p>
265
                            <p>The job has been enqueued! It will be processed as soon as possible.</p>
288
                            <p><a href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=[% job_id | uri %]" title="View detail of the enqueued job">View detail of the enqueued job</a>
266
                            <p><a id="lientype" href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=[% job_id | uri %]" title="View detail of the enqueued job">View detail of the enqueued job</a>
289
                            | <a href="/cgi-bin/koha/tools/batch_record_modification.pl" title="New batch record modification">New batch record modification</a></p>
267
                            | <a id="lientype" href="/cgi-bin/koha/tools/batch_record_modification.pl" title="New batch record modification">New batch record modification</a></p>
290
                        </div>
268
                        </div>
291
                    [% ELSE %]
269
                    [% ELSE %]
292
                        <div class="dialog alert">
270
                        <div class="dialog alert">
Lines 310-315 Link Here
310
    <script>
288
    <script>
311
        $(document).ready(function() {
289
        $(document).ready(function() {
312
290
291
            $("#batch_mod_form").tabs();
292
313
            $("input[type='radio']").click(function() {
293
            $("input[type='radio']").click(function() {
314
                if ($(this).attr('id') == 'authority_type') {
294
                if ($(this).attr('id') == 'authority_type') {
315
                    $("#show_list_option").hide();
295
                    $("#show_list_option").hide();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt (-104 / +31 lines)
Lines 32-43 Link Here
32
            </a>
32
            </a>
33
        </li>
33
        </li>
34
    </ol>
34
    </ol>
35
        <ol>
36
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
37
        </ol>
38
        <ol>
39
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
40
        </ol>
41
</nav>
35
</nav>
42
36
43
<div class="main container-fluid">
37
<div class="main container-fluid">
Lines 45-63 Link Here
45
        <div class="col-sm-10 col-sm-push-2">
39
        <div class="col-sm-10 col-sm-push-2">
46
            <main>
40
            <main>
47
41
48
                <h1>Export data</h1>
49
50
[% FOR m IN messages %]
42
[% FOR m IN messages %]
51
    <div class="dialog [% m.type | html %]">
43
    <div class="dialog [% m.type | html %]">
52
        [% SWITCH m.code %]
44
        [% SWITCH m.code %]
53
        [% CASE 'invalid_mimetype' %]<span>The file used does not have a valid format. Only csv and txt are allowed.</span>
45
        [% CASE 'invalid_mimetype' %]The file used does not have a valid format. Only csv and txt are allowed.
54
        [% CASE %][% m.code | html %]
46
        [% CASE %][% m.code | html %]
55
        [% END %]
47
        [% END %]
56
    </div>
48
    </div>
57
[% END %]
49
[% END %]
58
50
59
<div id="exporttype" class="toptabs">
51
<div id="exporttype" class="toptabs">
60
<fieldset id="searchresults">
61
<ul>
52
<ul>
62
<li><a href="#bibs">Export bibliographic records</a></li>
53
<li><a href="#bibs">Export bibliographic records</a></li>
63
<li><a href="#auths">Export authority records</a></li>
54
<li><a href="#auths">Export authority records</a></li>
Lines 95-102 Link Here
95
                [% END %]
86
                [% END %]
96
            </select>
87
            </select>
97
        </li>
88
        </li>
98
        <li role="presentation">
89
        
99
            <a href="#auths" aria-controls="auths" role="tab" data-toggle="tab">Export authority records</a>
90
        <li>
91
            <label>With items owned by the following libraries: </label>
92
            [% INCLUDE 'branch-selector.inc' branches = libraries %]
100
        </li>
93
        </li>
101
    </ol>
94
    </ol>
102
95
Lines 107-124 Link Here
107
                <label for="startcn">From item call number: </label>
100
                <label for="startcn">From item call number: </label>
108
                <input id="startcn" type="text" name="start_callnumber" size="15" />
101
                <input id="startcn" type="text" name="start_callnumber" size="15" />
109
            </li>
102
            </li>
110
        [% END %]
103
            <li>
111
        [% IF ( allow_conf_export ) %]
104
                <label for="endcn">To item call number: </label>
112
            <li role="presentation">
105
                <input id="endcn" type="text" name="end_callnumber" size="15" />
113
                <a href="#conf" aria-controls="conf" role="tab" data-toggle="tab">Export configuration</a>
114
            </li>
106
            </li>
115
        [% END %]
107
        </ol>
116
    </ul>
108
    </fieldset>
117
    <div class="tab-content">
118
        <div id="bibs" role="tabpanel" class="tab-pane active">
119
        <p>
120
            <strong>Note : The items are exported by this tool unless specified.</strong>
121
        </p>
122
109
123
    <fieldset class="rows">
110
    <fieldset class="rows">
124
        <h3>Accession date (inclusive)</h3>
111
        <h3>Accession date (inclusive)</h3>
Lines 191-197 Link Here
191
    <input type="hidden" name="op" value="export" />
178
    <input type="hidden" name="op" value="export" />
192
    <input type="hidden" name="record_type" value="bibs" />
179
    <input type="hidden" name="record_type" value="bibs" />
193
180
194
    <fieldset class="action"><input type="submit"  class="principal" value="Export bibliographic records" class="button" /></fieldset>
181
    <fieldset class="action"><input type="submit" value="Export bibliographic records" class="button" id="principal" /></fieldset>
195
</form>
182
</form>
196
</div>
183
</div>
197
184
Lines 250-270 Link Here
250
        </li></ol>
237
        </li></ol>
251
    </fieldset>
238
    </fieldset>
252
    <input type="hidden" name="op" value="export" />
239
    <input type="hidden" name="op" value="export" />
253
    <inpexporttyut type="hidden" name="record_type" value="auths" />
240
    <input type="hidden" name="record_type" value="auths" />
254
241
255
            <fieldset class="rows">
242
    <fieldset class="action"><input type="submit" value="Export authority records" class="button" id="principal" /></fieldset>
256
                <legend>Accession date (inclusive)</legend>
243
</form>
257
                <ol>
244
</div>
258
                    <li>
259
                            <label for="from">Start date:</label>
260
                            <input type="text" size="10" id="from" name="start_accession" value="[% from | html %]" class="flatpickr" data-date_to="to" />
261
                    </li>
262
                    <li>
263
                        <label for="to">End date:</label>
264
                        <input size="10" id="to" name="end_accession" value="[% end_accession | html %]" type="text" class="flatpickr" />
265
                    </li>
266
                </ol>
267
            </fieldset>
268
245
269
[% IF ( allow_db_export ) %]
246
[% IF ( allow_db_export ) %]
270
<div id="db">
247
<div id="db">
Lines 283-352 Link Here
283
    [% END %]
260
    [% END %]
284
    </fieldset>
261
    </fieldset>
285
262
286
            <fieldset class="action"><input type="submit" value="Export bibliographic records" class="button" /></fieldset>
263
    [% IF ( dbfiles && (dbfiles.size > 0) ) %]
287
        </form>
264
        <input type="hidden" name="op" value="export" />
288
        </div>
265
        <input type="hidden" name="record_type" value="db" />
289
266
        <fieldset class="action"><input type="submit" value="Download database" class="button" id="principal" /></fieldset>
290
        <div id="auths" role="tabpanel" class="tab-pane">
267
    [% END %]
291
        <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/export.pl">
268
</form>
292
            <fieldset class="rows">
269
</div>
293
            <legend> Select records to export </legend>
270
[% END %]
294
                <ol><li>
295
                    <label for="start">From authid: </label>
296
                    <input id="start" type="text" name="starting_authid" size="6" />
297
                </li>
298
                <li>
299
                    <label for="end">To authid: </label>
300
                    <input id="end" type="text" name="ending_authid" size="6" />
301
                </li>
302
                <li>
303
                    <label for="authtype">Authority type: </label>
304
                    <select name="authtype" id="authtype">
305
                        <option value="">-- All --</option>
306
                        [% FOREACH authority_type IN authority_types %]
307
                            <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
308
                        [% END %]
309
                    </select>
310
                </li>
311
                </ol>
312
            </fieldset>
313
            <fieldset class="rows">
314
            <legend>
315
                Use a file
316
            </legend>
317
                <ol>
318
                <li>File containing a list of authids with one authid per line. This list works as a filter: it is compatible with other parameters. (File types accepted: .csv and .txt)</li>
319
                <li><label for="id_list_file">File:</label> <input type="file" id="id_list_file" name="id_list_file" /></li>
320
                </ol>
321
            </fieldset>
322
            <fieldset class="rows">
323
            <legend>Options</legend>
324
                <ol>
325
                <li>
326
                    <label for="export_remove_fields">Don't export fields:</label>
327
                    <input id="export_remove_fields" type="text" name="export_remove_fields" />
328
                    separate by a blank. (e.g., 100a 200 606)
329
                </li></ol>
330
            </fieldset>
331
            <fieldset class="rows">
332
            <legend>Output format</legend>
333
                <ol><li>
334
                    <label for="output_format">File format: </label>
335
                    <select id="output_format_auth" name="output_format">
336
                        <option value="marc">MARC</option>
337
                        <option value="xml">XML</option>
338
                    </select>
339
                </li>
340
                <li>
341
                <label for="filename_auth">File name:</label><input id="filename_auth" type="text" name="filename_auth" value="koha.mrc" />
342
                </li></ol>
343
            </fieldset>
344
            <input type="hidden" name="op" value="export" />
345
            <input type="hidden" name="record_type" value="auths" />
346
347
            <fieldset class="action"><input type="submit" value="Export authority records" class="button" /></fieldset>
348
        </form>
349
        </div>
350
271
351
[% IF ( allow_conf_export ) %]
272
[% IF ( allow_conf_export ) %]
352
<div id="conf">
273
<div id="conf">
Lines 359-374 Link Here
359
        [% FOREACH conffile IN conffiles %]
280
        [% FOREACH conffile IN conffiles %]
360
            <li><input type="radio" name="filename" value="[% conffile | html %]">[% conffile | html %]</input></li>
281
            <li><input type="radio" name="filename" value="[% conffile | html %]">[% conffile | html %]</input></li>
361
        [% END %]
282
        [% END %]
283
        </ul>
284
    [% ELSE %]
285
        <p>Unfortunately, no backups are available.</p>
286
    [% END %]
287
    </fieldset>
362
288
363
    [% IF ( conffiles && (conffiles.size > 0) ) %]
289
    [% IF ( conffiles && (conffiles.size > 0) ) %]
364
        <input type="hidden" name="op" value="export" />
290
        <input type="hidden" name="op" value="export" />
365
        <input type="hidden" name="record_type" value="conf" />
291
        <input type="hidden" name="record_type" value="conf" />
366
        <fieldset class="action"><input type="submit" value="Download configuration" class="button" /></fieldset>
292
        <fieldset class="action"><input type="submit" value="Download configuration" class="button" id="principal" /></fieldset>
367
    [% END %]
293
    [% END %]
368
</form>
294
</form>
369
</div>
295
</div>
370
[% END %]
296
[% END %]
371
</fieldset>
297
372
</div>
298
</div>
373
299
374
            </main>
300
            </main>
Lines 386-391 Link Here
386
    [% INCLUDE 'calendar.inc' %]
312
    [% INCLUDE 'calendar.inc' %]
387
    <script>
313
    <script>
388
        $(document).ready(function() {
314
        $(document).ready(function() {
315
            $('#exporttype').tabs();
389
316
390
            $("li.csv_profiles").hide();
317
            $("li.csv_profiles").hide();
391
318
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt (-1 / +1 lines)
Lines 351-357 Link Here
351
        [% END %]
351
        [% END %]
352
352
353
        <fieldset class="rows">
353
        <fieldset class="rows">
354
            <legend>Welcome email</legend>
354
            <h3>Welcome email</h3>
355
            <ul>
355
            <ul>
356
                <li>
356
                <li>
357
                    <input class="welcome_new" type="checkbox" id="welcome_new" name="welcome_new"/>
357
                    <input class="welcome_new" type="checkbox" id="welcome_new" name="welcome_new"/>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt (-11 / +13 lines)
Lines 134-141 Link Here
134
                    </div>
134
                    </div>
135
                </div>
135
                </div>
136
                <div class="modal-footer">
136
                <div class="modal-footer">
137
                    <!-- TODO <a href="#" class="btn btn-default" id="preview_template_button" role="button" data-toggle="modal">Convert using the Template Toolkit syntax</a>-->
137
                    <!-- TODO <a href="#" class="btn btn-default principal" id="preview_template_button" role="button" data-toggle="modal">Convert using the Template Toolkit syntax</a>-->
138
                    <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
138
                    <button class="btn btn-default cancel" data-dismiss="modal" aria-hidden="true">Close</button>
139
                </div>
139
                </div>
140
            </div> <!-- /.modal-content -->
140
            </div> <!-- /.modal-content -->
141
        </div> <!-- /.modal-dialog -->
141
        </div> <!-- /.modal-dialog -->
Lines 290-308 Link Here
290
                [% END # /IF no_op_set %]
290
                [% END # /IF no_op_set %]
291
291
292
                [% IF add_form or copy_form %]
292
                [% IF add_form or copy_form %]
293
                    <h1>[% IF ( modify ) %]Modify notice[% ELSE %]Add notice[% END %]</h1>
293
                    <h2>[% IF ( modify ) %]Modify notice[% ELSE %]Add notice[% END %]</h2>
294
294
295
                    <div id="toolbar" class="btn-toolbar">
295
                    <div id="toolbar" class="btn-toolbar">
296
                        <div class="btn-group">
296
                        <div class="btn-group">
297
                            <button class="btn btn-default" id="submit_form"><i class="fa fa-save"></i> Save</button>
297
                            <button class="btn btn-default principal" id="submit_form"><i class="fa fa-save"></i> Save</button>
298
                            <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
298
                            <button class="btn btn-default dropdown-toggle pat" data-toggle="dropdown">
299
                            <span class="caret"></span>
299
                            <span class="caret"></span>
300
                            </button>
300
                            </button>
301
                            <ul class="dropdown-menu">
301
                            <ul class="dropdown-menu">
302
                                <li><a id="saveandcontinue" href="#">Save and continue editing</a></li>
302
                                <li><a id="saveandcontinue" href="#">Save and continue editing</a></li>
303
                            </ul>
303
                            </ul>
304
                        </div>
304
                        </div>
305
                        <a class="btn btn-default cancel" href="/cgi-bin/koha/tools/letter.pl"><i class="fa fa-remove"></i> Cancel</a>
305
                        <div>
306
                              <a class="btn btn-default cancel" href="/cgi-bin/koha/tools/letter.pl"><i class="fa fa-remove"></i> Cancel</a>
307
                        </div>
306
                    </div> <!-- /#toolbar -->
308
                    </div> <!-- /#toolbar -->
307
309
308
                    <form id="add_notice" name="Aform" method="post" enctype="multipart/form-data" class="validate">
310
                    <form id="add_notice" name="Aform" method="post" enctype="multipart/form-data" class="validate">
Lines 455-461 Link Here
455
                            <!-- Nav tabs -->
457
                            <!-- Nav tabs -->
456
                            <ul class="nav nav-tabs" role="tablist">
458
                            <ul class="nav nav-tabs" role="tablist">
457
                                <li role="presentation">
459
                                <li role="presentation">
458
                                    <a href="#lang_default" aria-controls="lang_default" role="tab" data-toggle="tab">Default</a>
460
                                    <a id="lientype" href="#lang_default" aria-controls="lang_default" role="tab" data-toggle="tab">Default</a>
459
                                </li>
461
                                </li>
460
                                [% FOR language IN languages %]
462
                                [% FOR language IN languages %]
461
                                    [% FOR sublanguage IN language.sublanguages_loop %]
463
                                    [% FOR sublanguage IN language.sublanguages_loop %]
Lines 502-511 Link Here
502
                                    <div id="[% letter.message_transport_type | html %]_[% lang | html %]" class="panel-collapse collapse" role="tabpanel" aria-labelledby="[% letter.message_transport_type | html %]_[% lang | html %]Heading">
504
                                    <div id="[% letter.message_transport_type | html %]_[% lang | html %]" class="panel-collapse collapse" role="tabpanel" aria-labelledby="[% letter.message_transport_type | html %]_[% lang | html %]Heading">
503
                                        <div class="panel-body">
505
                                        <div class="panel-body">
504
                                            [% IF letter.message_transport_type == "sms" and not Koha.Preference("SMSSendDriver") %]
506
                                            [% IF letter.message_transport_type == "sms" and not Koha.Preference("SMSSendDriver") %]
505
                                                <fieldset class="rows mtt" disabled="disabled">
507
                                                <fieldset class="rows mtt" style="box-shadow:none" disabled="disabled">
506
                                                    <div class="dialog message">You should enable the SMSSendDriver preference to use the SMS templates.</div>
508
                                                    <div class="dialog message">You should enable the SMSSendDriver preference to use the SMS templates.</div>
507
                                            [% ELSE %]
509
                                            [% ELSE %]
508
                                                <fieldset class="rows mtt">
510
                                                <fieldset class="rows mtt" style="box-shadow:none">
509
                                            [% END %]
511
                                            [% END %]
510
                                                <ol>
512
                                                <ol>
511
                                                    [% IF ( letter.updated_on ) %]
513
                                                    [% IF ( letter.updated_on ) %]
Lines 542-548 Link Here
542
                                                                    </select>
544
                                                                    </select>
543
                                                                </td>
545
                                                                </td>
544
                                                                <td class="actions">
546
                                                                <td class="actions">
545
                                                                    <button type="button" data-containerid="[% letter.message_transport_type | html %]_[% lang | html %]" class="btn btn-default btn-sm insert">Insert <i class="fa fa-long-arrow-right"></i></button>
547
                                                                    <button id="lientype" type="button" data-containerid="[% letter.message_transport_type | html %]_[% lang | html %]" class="btn btn-default btn-sm insert">Insert <i class="fa fa-long-arrow-right"></i></button>
546
                                                                </td>
548
                                                                </td>
547
                                                                <td>
549
                                                                <td>
548
                                                                    <textarea name="content" data-lang="[% lang | html %]" class="content_[% letter.message_transport_type | html %]" id="content_[% letter.message_transport_type | html %]_[% lang | html %]" cols="80" rows="15">[% letter.content | html %]</textarea>
550
                                                                    <textarea name="content" data-lang="[% lang | html %]" class="content_[% letter.message_transport_type | html %]" id="content_[% letter.message_transport_type | html %]_[% lang | html %]" cols="80" rows="15">[% letter.content | html %]</textarea>
Lines 586-592 Link Here
586
588
587
                [% IF ( delete_confirm ) %]
589
                [% IF ( delete_confirm ) %]
588
                    <div class="dialog alert">
590
                    <div class="dialog alert">
589
                        <h1>Delete notice?</h1>
591
                        <h2>Delete notice?</h2>
590
                        <table>
592
                        <table>
591
                            <thead>
593
                            <thead>
592
                            <tr>
594
                            <tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt (-10 / +10 lines)
Lines 76-82 Link Here
76
                                [% IF ( label_batch_msg == "error" ) %]
76
                                [% IF ( label_batch_msg == "error" ) %]
77
                                    Error attempting to create label batch. Please ask your system administrator to check the log for more details.
77
                                    Error attempting to create label batch. Please ask your system administrator to check the log for more details.
78
                                [% ELSE %]
78
                                [% ELSE %]
79
                                    Label <a href="/cgi-bin/koha/labels/label-edit-batch.pl?op=edit&element_id=[% label_batch_msg | uri %]" >batch #[% label_batch_msg | html %]</a> created.
79
                                    Label <a  id="lientype" href="/cgi-bin/koha/labels/label-edit-batch.pl?op=edit&element_id=[% label_batch_msg | uri %]" >batch #[% label_batch_msg | html %]</a> created.
80
                                [% END %]
80
                                [% END %]
81
                            </strong></p>
81
                            </strong></p>
82
                        </div>
82
                        </div>
Lines 94-100 Link Here
94
                        [% UNLESS ( batch_info ) %]
94
                        [% UNLESS ( batch_info ) %]
95
                            <div class="dialog message">
95
                            <div class="dialog message">
96
                                <p>No records have been staged.</p>
96
                                <p>No records have been staged.</p>
97
                                <p><a href="/cgi-bin/koha/tools/stage-marc-import.pl">Stage MARC records for import</a>.</p>
97
                                <p><a  id="lientype" href="/cgi-bin/koha/tools/stage-marc-import.pl">Stage MARC records for import</a>.</p>
98
                            </div>
98
                            </div>
99
                        [% END %]
99
                        [% END %]
100
                    [% END %]
100
                    [% END %]
Lines 170-176 Link Here
170
                                                [% END %]
170
                                                [% END %]
171
                                            [% END %]
171
                                            [% END %]
172
                                        </select>
172
                                        </select>
173
                                        <span class="change-status">Changed. <a href="#" class="reset" id="reset_new_matcher_id">Reset</a></span>
173
                                        <span class="change-status">Changed. <a  id="lientype" href="#" class="reset" id="reset_new_matcher_id">Reset</a></span>
174
                                    [% ELSE %]
174
                                    [% ELSE %]
175
                                        <span class="label">Matching rule applied</span>
175
                                        <span class="label">Matching rule applied</span>
176
                                        [% IF ( current_matcher_id ) %]
176
                                        [% IF ( current_matcher_id ) %]
Lines 183-189 Link Here
183
                                <li>
183
                                <li>
184
                                    [% IF ( can_commit ) %]
184
                                    [% IF ( can_commit ) %]
185
                                        <label for="overlay_action">Action if matching record found:</label>
185
                                        <label for="overlay_action">Action if matching record found:</label>
186
                                        [% INCLUDE 'tools-overlay-action.inc' %] <span class="change-status">Changed. <a href="#" class="reset" id="reset_overlay_action">Reset</a></span>
186
                                        [% INCLUDE 'tools-overlay-action.inc' %] <span class="change-status">Changed. <a  id="lientype" href="#" class="reset" id="reset_overlay_action">Reset</a></span>
187
                                    [% ELSE %]
187
                                    [% ELSE %]
188
                                        <span class="label">Action if matching record found:</span>
188
                                        <span class="label">Action if matching record found:</span>
189
                                        [% IF ( overlay_action == 'replace' ) %]
189
                                        [% IF ( overlay_action == 'replace' ) %]
Lines 200-206 Link Here
200
                                <li>
200
                                <li>
201
                                    [% IF ( can_commit ) %]
201
                                    [% IF ( can_commit ) %]
202
                                        <label for="nomatch_action">Action if no match found:</label>
202
                                        <label for="nomatch_action">Action if no match found:</label>
203
                                        [% INCLUDE 'tools-nomatch-action.inc' %] <span class="change-status">Changed. <a href="#" class="reset" id="reset_nomatch_action">Reset</a></span>
203
                                        [% INCLUDE 'tools-nomatch-action.inc' %] <span class="change-status">Changed. <a  id="lientype" href="#" class="reset" id="reset_nomatch_action">Reset</a></span>
204
                                    [% ELSE %]
204
                                    [% ELSE %]
205
                                        <span class="label">Action if no match found:</span>
205
                                        <span class="label">Action if no match found:</span>
206
                                        [% IF ( nomatch_action == 'create_new' ) %]
206
                                        [% IF ( nomatch_action == 'create_new' ) %]
Lines 216-222 Link Here
216
                                    <li>
216
                                    <li>
217
                                        [% IF ( can_commit ) %]
217
                                        [% IF ( can_commit ) %]
218
                                            <label for="item_action">Item processing:</label>
218
                                            <label for="item_action">Item processing:</label>
219
                                            [% INCLUDE 'tools-item-action.inc' %] <span class="change-status">Changed. <a href="#" class="reset" id="reset_item_action">Reset</a></span>
219
                                            [% INCLUDE 'tools-item-action.inc' %] <span class="change-status">Changed. <a  id="lientype" href="#" class="reset" id="reset_item_action">Reset</a></span>
220
                                        [% ELSE %]
220
                                        [% ELSE %]
221
                                            <span class="label">Item processing:</span>
221
                                            <span class="label">Item processing:</span>
222
                                            [% IF ( item_action == 'always_add' ) %]
222
                                            [% IF ( item_action == 'always_add' ) %]
Lines 396-402 Link Here
396
                                    <td>[% batch_lis.num_records | html %]</td>
396
                                    <td>[% batch_lis.num_records | html %]</td>
397
                                    <td>[% batch_lis.num_items | html %]
397
                                    <td>[% batch_lis.num_items | html %]
398
                                        [% IF ( batch_lis.num_items && batch_lis.import_status == 'imported' ) %]
398
                                        [% IF ( batch_lis.num_items && batch_lis.import_status == 'imported' ) %]
399
                                            (<a href="[% batch_lis.script_name | url %]?import_batch_id=[% batch_lis.import_batch_id | uri %]&amp;op=create_labels">Create label batch</a>)
399
                                            (<a  id="lientype" href="[% batch_lis.script_name | url %]?import_batch_id=[% batch_lis.import_batch_id | uri %]&amp;op=create_labels">Create label batch</a>)
400
                                        [% END %]
400
                                        [% END %]
401
                                    </td>
401
                                    </td>
402
                                    <td class="actions">
402
                                    <td class="actions">
Lines 410-416 Link Here
410
                                            <form method="post" action="/cgi-bin/koha/tools/manage-marc-import.pl" name="delete_batch_[% batch_lis.import_batch_id | html %]" id="delete_batch_[% batch_lis.import_batch_id | html %]" class="batch_form batch_delete">
410
                                            <form method="post" action="/cgi-bin/koha/tools/manage-marc-import.pl" name="delete_batch_[% batch_lis.import_batch_id | html %]" id="delete_batch_[% batch_lis.import_batch_id | html %]" class="batch_form batch_delete">
411
                                                <input type="hidden" name="import_batch_id" value="[% batch_lis.import_batch_id | html %]" />
411
                                                <input type="hidden" name="import_batch_id" value="[% batch_lis.import_batch_id | html %]" />
412
                                                <input type="hidden" name="op" value="delete-batch" />
412
                                                <input type="hidden" name="op" value="delete-batch" />
413
                                                <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</button>
413
                                                <button  id="lientype" type="submit" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</button>
414
                                            </form>
414
                                            </form>
415
                                        [% END %]
415
                                        [% END %]
416
                                    </td>
416
                                    </td>
Lines 449-455 Link Here
449
                                        <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
449
                                        <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
450
                                    </div>
450
                                    </div>
451
                                    <div class="modal-footer">
451
                                    <div class="modal-footer">
452
                                        <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
452
                                        <button class="btn btn-default cancel" data-dismiss="modal" aria-hidden="true">Close</button>
453
                                    </div>
453
                                    </div>
454
                                </div>
454
                                </div>
455
                            </div>
455
                            </div>
Lines 611-617 Link Here
611
                                '<a class="btn btn-default btn-xs" target="_blank" href="' + record_details_url
611
                                '<a class="btn btn-default btn-xs" target="_blank" href="' + record_details_url
612
                                + aData['matched'] + '"><i class="fa fa-eye"></i> ' + _("View") + '</a> '
612
                                + aData['matched'] + '"><i class="fa fa-eye"></i> ' + _("View") + '</a> '
613
                                [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
613
                                [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
614
                                    + '<a class="btn btn-default btn-xs" target="_blank" href="' + record_edit_url
614
                                    + '<a  id="lientype" class="btn btn-default btn-xs" target="_blank" href="' + record_edit_url
615
                                    + aData['matched'] + '"><i class="fa fa-pencil"></i> ' + _("Edit") + '</a>'
615
                                    + aData['matched'] + '"><i class="fa fa-pencil"></i> ' + _("Edit") + '</a>'
616
                                [% END %]
616
                                [% END %]
617
                            );
617
                            );
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt (-14 / +16 lines)
Lines 43-52 Link Here
43
            <main>
43
            <main>
44
44
45
                [% IF ( op == 'show_form' ) %]
45
                [% IF ( op == 'show_form' ) %]
46
                <h1>Batch patron modification</h1>
46
                <h2>Batch patron modification</h2>
47
                <form id="patron_batchmod_form" method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/modborrowers.pl">
47
                <form id="patron_batchmod_form" method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/modborrowers.pl">
48
                    <input type="hidden" name="op" value="show" />
48
                    <input type="hidden" name="op" value="show" />
49
                    <div id="batch_patron_options" class="toptabs">
49
                    <div id="batch_patron_options" class="toptabs">
50
                        <fieldset>
50
                        <ul class="nav nav-tabs" role="tablist">
51
                        <ul class="nav nav-tabs" role="tablist">
51
                            <li role="presentation" class="active">
52
                            <li role="presentation" class="active">
52
                                <a href="#usecardnumber" aria-controls="usecardnumber" role="tab" data-toggle="tab">By card number</a>
53
                                <a href="#usecardnumber" aria-controls="usecardnumber" role="tab" data-toggle="tab">By card number</a>
Lines 62-69 Link Here
62
                        </ul>
63
                        </ul>
63
                        <div class="tab-content">
64
                        <div class="tab-content">
64
                            <div id="usecardnumber" role="tabpanel" class="tab-pane active">
65
                            <div id="usecardnumber" role="tabpanel" class="tab-pane active">
65
                                <fieldset class="rows">
66
                                <fieldset>
66
                                    <legend>Use a file of card numbers</legend>
67
                                    <h3>Use a file of card numbers</h3>
67
                                    <ol>
68
                                    <ol>
68
                                        <li>
69
                                        <li>
69
                                            <label for="cardnumberuploadfile">File: </label> <input type="file"
70
                                            <label for="cardnumberuploadfile">File: </label> <input type="file"
Lines 72-79 Link Here
72
                                        </li>
73
                                        </li>
73
                                    </ol>
74
                                    </ol>
74
                                </fieldset>
75
                                </fieldset>
75
                                <fieldset class="rows">
76
                                <fieldset>
76
                                    <legend>Or list card numbers one by one</legend>
77
                                    <h3>Or list card numbers one by one</h3>
77
                                    <ol>
78
                                    <ol>
78
                                        <li>
79
                                        <li>
79
                                            <label for="cardnumberlist">Card number list (one card number per line):
80
                                            <label for="cardnumberlist">Card number list (one card number per line):
Lines 83-95 Link Here
83
                                        </li>
84
                                        </li>
84
                                    </ol>
85
                                    </ol>
85
86
86
                                    <input type="submit" value="Continue" class="button principal" />
87
                                    <input type="submit" value="Continue" class="button" id="principal" />
87
                                    <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
88
                                    <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
88
                                </fieldset>
89
                                </fieldset>
89
                            </div>
90
                            </div>
90
                            <div id="useborrowernumber" role="tabpanel" class="tab-pane">
91
                            <div id="useborrowernumber" role="tabpanel" class="tab-pane">
91
                                <fieldset class="rows">
92
                                <fieldset>
92
                                    <legend>Use a file of borrowernumbers</legend>
93
                                    <h3>Use a file of borrowernumbers</h3>
93
                                    <ol>
94
                                    <ol>
94
                                        <li>
95
                                        <li>
95
                                            <label for="borrowernumberuploadfile">File: </label> <input type="file"
96
                                            <label for="borrowernumberuploadfile">File: </label> <input type="file"
Lines 98-105 Link Here
98
                                        </li>
99
                                        </li>
99
                                    </ol>
100
                                    </ol>
100
                                </fieldset>
101
                                </fieldset>
101
                                <fieldset class="rows">
102
                                <fieldset>
102
                                    <legend>List borrowernumbers one by one</legend>
103
                                    <h3>List borrowernumbers one by one</h3>
103
                                    <ol>
104
                                    <ol>
104
                                        <li>
105
                                        <li>
105
                                            <label for="borrowernumberlist">Borrowernumber list (one number per line):
106
                                            <label for="borrowernumberlist">Borrowernumber list (one number per line):
Lines 110-123 Link Here
110
                                    </ol>
111
                                    </ol>
111
                                </fieldset>
112
                                </fieldset>
112
                                <fieldset class="action">
113
                                <fieldset class="action">
113
                                    <input type="submit" value="Continue" class="button" />
114
                                    <input type="submit" value="Continue" class="button principal" />
114
                                    <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
115
                                    <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
115
                                </fieldset>
116
                                </fieldset>
116
                            </div>
117
                            </div>
117
                            [% IF patron_lists %]
118
                            [% IF patron_lists %]
118
                                <div id="uselist" role="tabpanel" class="tab-pane">
119
                                <div id="uselist" role="tabpanel" class="tab-pane">
119
                                    <fieldset class="rows">
120
                                    <fieldset>
120
                                        <legend>Use a patron list</legend>
121
                                        <h3>Use a patron list</h3>
121
                                        <ol>
122
                                        <ol>
122
                                            <li>
123
                                            <li>
123
                                                <label for="patron_list_id">Patron list: </label>
124
                                                <label for="patron_list_id">Patron list: </label>
Lines 131-142 Link Here
131
                                        </ol>
132
                                        </ol>
132
                                    </fieldset>
133
                                    </fieldset>
133
                                    <fieldset class="action">
134
                                    <fieldset class="action">
134
                                        <input type="submit" value="Continue" class="button" />
135
                                        <input type="submit" value="Continue" class="button principal" />
135
                                        <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
136
                                        <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
136
                                    </fieldset>
137
                                    </fieldset>
137
                                </div>
138
                                </div>
138
                            [% END %]
139
                            [% END %]
139
                        </div> <!-- /.tab-content -->
140
                        </div> <!-- /.tab-content -->
141
                        </fieldset>
140
                    </div><!-- /#batch_patron_options -->
142
                    </div><!-- /#batch_patron_options -->
141
                </form>
143
                </form>
142
                [% END %]
144
                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt (-7 / +6 lines)
Lines 56-71 Link Here
56
            [% IF ( ERRORS ) %]
56
            [% IF ( ERRORS ) %]
57
				[% IF ( TCOUNTS ) %]
57
				[% IF ( TCOUNTS ) %]
58
					<div class="dialog alert">
58
					<div class="dialog alert">
59
                    <h1>Patron image(s) uploaded with some errors</h1>
59
                    <h2>Patron image(s) uploaded with some errors</h2>
60
                    </div>
60
                    </div>
61
				[% ELSE %]
61
				[% ELSE %]
62
					<div class="dialog alert">
62
					<div class="dialog alert">
63
                    <h1>Patron image failed to upload</h1>
63
                    <h2>Patron image failed to upload</h2>
64
                    </div>
64
                    </div>
65
				[% END %]
65
				[% END %]
66
            [% ELSE %]
66
            [% ELSE %]
67
                <div class="dialog message">
67
                <div class="dialog message">
68
                <h1>Patron image(s) successfully uploaded</h1>
68
                <h2>Patron image(s) successfully uploaded</h2>
69
                </div>
69
                </div>
70
            [% END %]
70
            [% END %]
71
	        <ul class="data">
71
	        <ul class="data">
Lines 117-123 Link Here
117
                    <li><a id="doneupload" href="/cgi-bin/koha/tools/tools-home.pl">Return to tools</a></li>
117
                    <li><a id="doneupload" href="/cgi-bin/koha/tools/tools-home.pl">Return to tools</a></li>
118
                [% END %]</ul>
118
                [% END %]</ul>
119
[% ELSE %]
119
[% ELSE %]
120
                <h1>Upload patron images</h1>
120
                <h2>Upload patron images</h2>
121
                [% IF ( ERRORS ) %]
121
                [% IF ( ERRORS ) %]
122
                <div class="dialog alert">
122
                <div class="dialog alert">
123
                    [% FOREACH ERROR IN ERRORS %]
123
                    [% FOREACH ERROR IN ERRORS %]
Lines 157-167 Link Here
157
                                <span class="required">Required</span>
157
                                <span class="required">Required</span>
158
                            </li>
158
                            </li>
159
                        </ol>
159
                        </ol>
160
	            </fieldset>
160
161
                    <fieldset class="action">
162
                        <input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />
161
                        <input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />
163
                        <input type="hidden" name="op" value="Upload" />
162
                        <input type="hidden" name="op" value="Upload" />
164
                        <input type="submit" value="Upload" class="submit" />
163
                        <input type="submit" value="Upload" class="principal" />
165
						<a href="/cgi-bin/koha/tools/tools-home.pl" class="cancel">Cancel</a>
164
						<a href="/cgi-bin/koha/tools/tools-home.pl" class="cancel">Cancel</a>
166
                    </fieldset>
165
                    </fieldset>
167
                </form>
166
                </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt (-2 / +1 lines)
Lines 86-93 Link Here
86
                    <span class="required">Required</span>
86
                    <span class="required">Required</span>
87
                </li>
87
                </li>
88
            </ol>
88
            </ol>
89
        </fieldset>
89
90
        <fieldset class="action">
91
            <input type="hidden" name="id" value="[% quote.id | html %]" />
90
            <input type="hidden" name="id" value="[% quote.id | html %]" />
92
            <input class="principal" type="submit" value="Submit" />
91
            <input class="principal" type="submit" value="Submit" />
93
            <a class="cancel" href="/cgi-bin/koha/tools/quotes.pl">Cancel</a>
92
            <a class="cancel" href="/cgi-bin/koha/tools/quotes.pl">Cancel</a>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt (-2 lines)
Lines 65-71 Link Here
65
65
66
<h2>Stage MARC records for import</h2>
66
<h2>Stage MARC records for import</h2>
67
[% IF ( uploadmarc ) %]
67
[% IF ( uploadmarc ) %]
68
<h1>MARC staging results</h1>
69
<ul>
68
<ul>
70
    [% SWITCH (record_type) %]
69
    [% SWITCH (record_type) %]
71
    [% CASE 'biblio' %]
70
    [% CASE 'biblio' %]
Lines 99-105 Link Here
99
</p>
98
</p>
100
[% END %]
99
[% END %]
101
[% ELSE %]
100
[% ELSE %]
102
<h1>Stage MARC records for import</h1>
103
<ul>
101
<ul>
104
    <li>Select a MARC file to stage in the import reservoir.  It will be parsed, and each valid record staged for later import into the catalog.</li>
102
    <li>Select a MARC file to stage in the import reservoir.  It will be parsed, and each valid record staged for later import into the catalog.</li>
105
    <li>You can enter a name for this import. It may be useful, when creating a record, to remember where the suggested MARC data comes from!</li>
103
    <li>You can enter a name for this import. It may be useful, when creating a record, to remember where the suggested MARC data comes from!</li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt (-4 / +4 lines)
Lines 141-147 Link Here
141
                    <h2>Upload local cover image</h2>
141
                    <h2>Upload local cover image</h2>
142
                [% ELSIF biblio %]
142
                [% ELSIF biblio %]
143
                    <h2>
143
                    <h2>
144
                        Upload local cover image for <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]"><em>[% INCLUDE 'biblio-title.inc' %]</em></a>
144
                        Upload local cover image for <a id="lientype" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]"><em>[% INCLUDE 'biblio-title.inc' %]</em></a>
145
                        [% IF ( itemnumber ) %],  Item number: [% itemnumber | html %][% END %]
145
                        [% IF ( itemnumber ) %],  Item number: [% itemnumber | html %][% END %]
146
                    </h2>
146
                    </h2>
147
                [% ELSIF itemnumber %]
147
                [% ELSIF itemnumber %]
Lines 171-177 Link Here
171
                        <h3>[% total | html %] images found</h3>
171
                        <h3>[% total | html %] images found</h3>
172
                        <ul>
172
                        <ul>
173
                            [% FOREACH result IN results %]
173
                            [% FOREACH result IN results %]
174
                                <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% result.biblionumber | uri %]">[% result.title | html %]</a></li>
174
                                <li><a  id="lientype" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% result.biblionumber | uri %]">[% result.title | html %]</a></li>
175
                            [% END %]
175
                            [% END %]
176
                        </ul>
176
                        </ul>
177
                        <hr />
177
                        <hr />
Lines 201-207 Link Here
201
                                </div>
201
                                </div>
202
202
203
                                <div id="filedrag">
203
                                <div id="filedrag">
204
                                    <a id="click_to_select" href="#">Drop files here or click to select a file</a>
204
                                    <a id="click_to_select" class="lientype" href="#">Drop files here or click to select a file</a>
205
                                    <div id="messages"></div>
205
                                    <div id="messages"></div>
206
                                </div>
206
                                </div>
207
207
Lines 292-298 Link Here
292
                                                    <img id="thumbnail_[% img.imagenumber | html %]" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% img.imagenumber | html %]&amp;thumbnail=1" alt="Thumbnail" />
292
                                                    <img id="thumbnail_[% img.imagenumber | html %]" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% img.imagenumber | html %]&amp;thumbnail=1" alt="Thumbnail" />
293
                                                [% END %]
293
                                                [% END %]
294
                                            </a>
294
                                            </a>
295
                                            <a href="#" class="remove" data-coverimg="[% img.imagenumber | html %]"><i class="fa fa-trash"></i> Delete image</a>
295
                                            <a href="#"  id="lientype" class="remove" data-coverimg="[% img.imagenumber | html %]"><i class="fa fa-trash"></i> Delete image</a>
296
                                        </li>
296
                                        </li>
297
                                    [% END # /IF img %]
297
                                    [% END # /IF img %]
298
                                [% END # /FOREACH img %]
298
                                [% END # /FOREACH img %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt (-7 / +7 lines)
Lines 87-93 Link Here
87
                <div class="hint">
87
                <div class="hint">
88
                    Note: No upload categories are defined.
88
                    Note: No upload categories are defined.
89
                    [% IF ( CAN_user_parameters_manage_auth_values ) -%]
89
                    [% IF ( CAN_user_parameters_manage_auth_values ) -%]
90
                        Add values to the <a href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=UPLOAD">UPLOAD authorized value category</a> otherwise all uploads will be marked as temporary.
90
                        Add values to the <a  id="lientype" href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=UPLOAD">UPLOAD authorized value category</a> otherwise all uploads will be marked as temporary.
91
                    [% ELSE -%]
91
                    [% ELSE -%]
92
                        An administrator must add values to the UPLOAD authorized value category otherwise all uploads will be marked as temporary.
92
                        An administrator must add values to the UPLOAD authorized value category otherwise all uploads will be marked as temporary.
93
                    [% END %]
93
                    [% END %]
Lines 158-165 Link Here
158
        <h3>Search uploads by name or hashvalue</h3>
158
        <h3>Search uploads by name or hashvalue</h3>
159
        <ol>
159
        <ol>
160
        <li>
160
        <li>
161
            <label for="term">Search term: </label>
161
            <p for="term">Search term: 
162
            <input type="text" id="term" name="term" value=""/>
162
            <input type="text" id="term" name="term" value=""/></p>
163
        </li>
163
        </li>
164
        </ol>
164
        </ol>
165
        <fieldset class="action">
165
        <fieldset class="action">
Lines 180-186 Link Here
180
180
181
[% BLOCK closer %]
181
[% BLOCK closer %]
182
    [% IF plugin %]
182
    [% IF plugin %]
183
        <div id="closewindow"><a class="btn btn-default btn-default close" href="#">Close</a></div>
183
        <div id="closewindow"><a class="btn btn-default btn-default close cancel" href="#">Close</a></div>
184
    [% END %]
184
    [% END %]
185
[% END %]
185
[% END %]
186
186
Lines 197-207 Link Here
197
[% BLOCK newsearch %]
197
[% BLOCK newsearch %]
198
    <form id="newsearch">
198
    <form id="newsearch">
199
        <fieldset class="action">
199
        <fieldset class="action">
200
            <button id="new_search">New search</button>
200
            <button id="new_search" class="cancel">New search</button>
201
        </fieldset>
201
        </fieldset>
202
    </form>
202
    </form>
203
    [% IF plugin %]
203
    [% IF plugin %]
204
        <div id="closewindow"><a class="btn btn-default btn-default close" href="#">Close</a></div>
204
        <div id="closewindow"><a class="btn btn-default btn-default close cancel" href="#">Close</a></div>
205
    [% END %]
205
    [% END %]
206
[% END %]
206
[% END %]
207
207
Lines 301-307 Link Here
301
    [% PROCESS closer %]
301
    [% PROCESS closer %]
302
[% ELSIF mode == 'report' %]
302
[% ELSIF mode == 'report' %]
303
    <div id="toolbar" class="btn-toolbar">
303
    <div id="toolbar" class="btn-toolbar">
304
        <a href="/cgi-bin/koha/tools/upload.pl" class="btn btn-default">Upload file</a>
304
        <a href="/cgi-bin/koha/tools/upload.pl" class="btn btn-default principal">Upload file</a>
305
    </div>
305
    </div>
306
    [% IF uploads %]
306
    [% IF uploads %]
307
        <h3>Your request gave the following results:</h3>
307
        <h3>Your request gave the following results:</h3>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt (-2 / +1 lines)
Lines 109-115 Link Here
109
<!-- SAVE -->
109
<!-- SAVE -->
110
            <fieldset class="action">
110
            <fieldset class="action">
111
            <input type="hidden" name="sortfield" value="title" />
111
            <input type="hidden" name="sortfield" value="title" />
112
            <input type="submit" value="Save" class="submit" /> <a class="close cancel" href="#">Cancel</a>
112
            <input type="submit" value="Save" class="principal" /> <a class="close cancel" href="#">Cancel</a>
113
            </fieldset>
113
            </fieldset>
114
        </form>
114
        </form>
115
<!-- /SAVE -->
115
<!-- /SAVE -->
116
- 

Return to bug 30952