File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -300,6 +300,23 @@ <h1>Choose a License for Your Work</h1>
300300 < input type ="text " id ="work-creation-year " name ="work-creation-year " value ="1999 " />
301301 </ div >
302302
303+ < div id ="tool-rec-details ">
304+
305+ < hr />
306+
307+ < div >
308+ < label for ="tool-title "> Title of recommended tool (read only)</ label >
309+ < input type ="text " id ="tool-title " name ="tool-title " value ="recommended tool title " readonly ="true " />
310+ </ div >
311+
312+ < div >
313+ < label for ="tool-url "> URL of recommended tool (read only)</ label >
314+ < input type ="text " id ="tool-url " name ="tool-url " value ="https://creativecommons.org/licenses/by/4.0/ " readonly ="true " />
315+ </ div >
316+
317+ </ div >
318+
319+
303320 </ fieldset >
304321 </ li >
305322
Original file line number Diff line number Diff line change @@ -407,6 +407,7 @@ function setDefaults(applyDefaults) {
407407
408408 document . querySelector ( '#tool-recommendation' ) . classList . add ( 'disable' ) ;
409409 document . querySelector ( '#mark-your-work' ) . classList . add ( 'disable' ) ;
410+ document . querySelector ( '#tool-rec-details' ) . classList . add ( 'hide' ) ;
410411}
411412
412413// stepper logic here for what parts of form are
Original file line number Diff line number Diff line change @@ -82,6 +82,10 @@ ol li:has(.disable) {
8282 display : none;
8383}
8484
85+ .hide {
86+ display : none;
87+ }
88+
8589.tool header {
8690 display : flex;
8791 flex-wrap : wrap;
@@ -120,6 +124,10 @@ ol li:has(.disable) {
120124 margin-left : .5em ;
121125}
122126
127+ .tool-rec-details input {
128+ color : lightgray;
129+ }
130+
123131
124132/* debug styles */
125133.help {
You can’t perform that action at this time.
0 commit comments