@@ -68,6 +68,9 @@ <h3 class="whiteText candidateTitle">
68
68
< li class ="nav-item ">
69
69
< a class ="tab-nav tabStyle " id ="documentTypePatternsTab " data-toggle ="tab " href ="#Document-Type-Patterns "> Document Type Patterns</ a >
70
70
</ li >
71
+ < li class ="nav-item ">
72
+ < a class ="tab-nav tabStyle " id ="divisionPatternsTab " data-toggle ="tab " href ="#Division-Patterns "> Division By URL Patterns</ a >
73
+ </ li >
71
74
</ ul >
72
75
73
76
<!-- Tab panes -->
@@ -81,8 +84,9 @@ <h3 class="whiteText candidateTitle">
81
84
< th scope ="col " class ="text-center col-1 "> < div class ="header-title "> Scraped Title</ div > </ th >
82
85
< th scope ="col " class ="text-center col-1 "> < div class ="header-title "> New Title</ div > </ th >
83
86
< th scope ="col " class ="text-center col-1 "> < div class ="header-title "> Document Type</ div > </ th >
87
+ < th scope ="col " class ="text-center col-1 "> < div class ="header-title "> Division By URL</ div > </ th >
84
88
< th scope ="col " class ="text-center col-1 "> < div class ="header-title "> ID</ div > </ th >
85
- < th > </ th >
89
+ < th > </ th >
86
90
< th > </ th >
87
91
< th > </ th >
88
92
< th > </ th >
@@ -107,6 +111,14 @@ <h3 class="whiteText candidateTitle">
107
111
< option value ="4 "> Software and Tools</ option >
108
112
< option value ="5 "> Missions and Instruments</ option >
109
113
</ select > </ td >
114
+ < td > < select class ="dropdown-5 select-dropdown selectStyling "> < option value =""> SELECT</ option >
115
+ < option value ="0 "> None</ option >
116
+ < option value ="1 "> Astrophysics</ option >
117
+ < option value ="2 "> Biological and Physical Sciences</ option >
118
+ < option value ="3 "> Earth Science</ option >
119
+ < option value ="4 "> Heliophysics</ option >
120
+ < option value ="5 "> Planetary Science</ option >
121
+ </ select > </ td >
110
122
< td > </ td >
111
123
< td > </ td >
112
124
< td > </ td >
@@ -260,6 +272,39 @@ <h3 class="whiteText candidateTitle">
260
272
</ thead >
261
273
</ table >
262
274
</ div >
275
+ < div class ="tab-pane fade " id ="Division-Patterns ">
276
+ < table class ="table " id ="division_patterns_table " style ="width:100% ">
277
+ < thead class ="tableHeader ">
278
+ < tr >
279
+ < th scope ="col " class ="text-center col-1 "> < strong > Match Pattern</ strong > </ th >
280
+ < th scope ="col " class ="text-center col-1 "> < strong > Match Pattern Type</ strong > </ th >
281
+ < th scope ="col " class ="text-center col-1 "> < strong > Division</ strong > </ th >
282
+ < th scope ="col " class ="text-center col-1 "> < strong > Affected URLs</ strong > </ th >
283
+ < th scope ="col " class ="text-center col-1 "> < strong > Actions</ strong > </ th >
284
+ < th scope ="col " class ="text-center col-1 "> < strong > ID</ strong > </ th >
285
+ </ tr >
286
+ < tr >
287
+ < td > < input type ="text " class ="table_filter_row_input textBoxStyling " id ="candidateDivisionMatchPatternFilter " placeholder ="Match Pattern " /> </ td >
288
+ < td > < select id ="division-patterns-dropdown-1 " class ="select-dropdown selectStyling ">
289
+ < option value =""> SELECT</ option >
290
+ < option value ="Individual URL Pattern "> Individual URL Pattern</ option >
291
+ < option value ="Multi-URL Pattern "> Multi-URL Pattern</ option >
292
+ </ select > </ td >
293
+ < td > < select id ="division-patterns-dropdown-2 " class ="select-dropdown selectStyling ">
294
+ < option value =""> SELECT</ option >
295
+ < option value ="1 "> Astrophysics</ option >
296
+ < option value ="2 "> Biological and Physical Sciences</ option >
297
+ < option value ="3 "> Earth Science</ option >
298
+ < option value ="4 "> Heliophysics</ option >
299
+ < option value ="5 "> Planetary Science</ option >
300
+ </ select > </ td >
301
+ < td > </ td >
302
+ < td > </ td >
303
+ < td > </ td >
304
+ </ tr >
305
+ </ thead >
306
+ </ table >
307
+ </ div >
263
308
264
309
</ div >
265
310
</ div >
@@ -273,6 +318,7 @@ <h3 class="whiteText candidateTitle">
273
318
< li data-action ="include-pattern " class ="list-group-item "> Create Include Pattern</ li >
274
319
< li data-action ="title-pattern " class ="list-group-item "> Create Title Pattern</ li >
275
320
< li data-action ="document-type-pattern " class ="list-group-item "> Create Document Type Pattern</ li >
321
+ < li data-action ="division-pattern " class ="list-group-item "> Create Division Pattern</ li >
276
322
</ ul >
277
323
< div class ="modal fade " id ="excludePatternModal " data-backdrop ="static " data-keyboard ="false " tabindex ="-1 "
278
324
aria-labelledby ="excludePatternModalLabel " aria-hidden ="true ">
@@ -396,13 +442,58 @@ <h5 class="modal-title" id="documentTypePatternModalLabel">Document Type Pattern
396
442
< div class ="button-wrapper ">
397
443
< button type ="button " class ="btn btn-secondary modal-button-1 " data-dismiss ="modal "> Close</ button >
398
444
< button type ="submit " class ="document-type-submit btn btn-primary modal-button-2 "> Submit</ button >
399
- </ div >
445
+ </ div >
446
+ </ div >
447
+ </ form >
448
+ </ div >
449
+ </ div >
450
+ </ div >
451
+ < div class ="modal fade " id ="divisionPatternModal " data-backdrop ="static " data-keyboard ="false " tabindex ="-1 "
452
+ aria-labelledby ="divisionPatternModalLabel " aria-hidden ="true ">
453
+ < div class ="modal-dialog ">
454
+ < div class ="modal-content ">
455
+ < div class ="modal-header ">
456
+ < h5 class ="modal-title " id ="divisionPatternModalLabel "> Division Pattern Form</ h5 >
457
+ < button type ="button " class ="close modal-close " data-dismiss ="modal " aria-label ="Close ">
458
+ < span aria-hidden ="true "> ×</ span >
459
+ </ button >
460
+ </ div >
461
+ < form id ="division_pattern_form ">
462
+ < div class ="modal-body ">
463
+ < div class ="form-group ">
464
+ < label for ="division_match_pattern_input " class ="form-label "> Match Pattern < div class ="asterik "> *</ div > </ label >
465
+ < input type ="text " class ="form-control " id ="division_match_pattern_input " required name ="match_pattern ">
466
+ </ div >
467
+ < div class ="form-group ">
468
+ < div class ="input-group ">
469
+ < input type ="hidden " name ="division_pattern " class ="form-control "
470
+ aria-label ="Division " id ="division_input_field ">
471
+ < div class ="input-group-append division-dropdown-input ">
472
+ < button class ="btn btn-secondary btn-block dropdown-toggle division-dropdown " type ="button "
473
+ data-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false "> Select Division</ button >
474
+ < div class ="division-form dropdown-menu ">
475
+ < a class ="dropdown-item division_form_select " value ="1 "> Astrophysics</ a >
476
+ < a class ="dropdown-item division_form_select " value ="2 "> Biological and Physical Sciences</ a >
477
+ < a class ="dropdown-item division_form_select " value ="3 "> Earth Science</ a >
478
+ < a class ="dropdown-item division_form_select " value ="4 "> Heliophysics</ a >
479
+ < a class ="dropdown-item division_form_select " value ="5 "> Planetary Science</ a >
480
+ </ div >
481
+ </ div >
482
+ </ div >
483
+ </ div >
484
+ </ div >
485
+ < div class ="modal-footer ">
486
+ < div class ="button-wrapper ">
487
+ < button type ="button " class ="btn btn-secondary modal-button-1 " data-dismiss ="modal "> Close</ button >
488
+ < button type ="submit " class ="btn btn-primary modal-button-2 "> Submit</ button >
489
+ </ div >
400
490
</ div >
401
491
</ form >
402
492
</ div >
403
493
</ div >
404
494
</ div >
405
495
496
+
406
497
< div id ="hideShowColumnsModal " class ="modal pr-4 pl-4 pt-4 customizeColumnContainer ">
407
498
< div class ="modalDialog ">
408
499
< div class ="modalContent ">
@@ -438,8 +529,8 @@ <h5 class="modal-title">Are you sure?</h5>
438
529
< div class ="modal-footer ">
439
530
< form id ="deletePatternModalForm ">
440
531
< div class ="button-wrapper ">
441
- < button type ="submit " class ="btn btn-secondary modal-button-1 " id ="dontDeletePattern "> No</ button >
442
- < button type ="submit " class ="btn btn-primary modal-button-2 " data-dismiss ="modal " id ="deletePattern "> Yes</ button >
532
+ < button type ="submit " class ="btn btn-secondary modal-button-1 " id ="dontDeletePattern "> No</ button >
533
+ < button type ="submit " class ="btn btn-primary modal-button-2 " data-dismiss ="modal " id ="deletePattern "> Yes</ button >
443
534
</ div >
444
535
</ form >
445
536
</ div >
@@ -463,8 +554,8 @@ <h5 class="modal-title">Are you sure?</h5>
463
554
< div class ="modal-footer ">
464
555
< form id ="workflowStatusChangeModalForm ">
465
556
< div class ="button-wrapper ">
466
- < button type ="submit " class ="btn btn-secondary modal-button-1 " id ="cancelworkflowStatusChange "> No</ button >
467
- < button type ="submit " class ="btn btn-primary modal-button-2 " data-dismiss ="modal " id ="changeWorkflowStatus "> Yes</ button >
557
+ < button type ="submit " class ="btn btn-secondary modal-button-1 " id ="cancelworkflowStatusChange "> No</ button >
558
+ < button type ="submit " class ="btn btn-primary modal-button-2 " data-dismiss ="modal " id ="changeWorkflowStatus "> Yes</ button >
468
559
</ div >
469
560
</ form >
470
561
</ div >
0 commit comments