26
26
< br >
27
27
< img src ="assets/cc-logo_white.png " style ="width: 20%; margin-left: 5% ">
28
28
</ header >
29
- < div class ="container site-container " id ="chooser-app ">
30
- < br >
31
- < h1 class ="title is-1 "> CC License Chooser</ h1 >
32
- < div align ="center ">
29
+ < div class ="site-container " id ="chooser-app ">
30
+ < h1 class ="site-title "> CC License Chooser</ h1 >
31
+ < div align ="center " class ="onmobile-hide " style ="margin-bottom: .8% ">
33
32
< b > Tip:</ b > You can click any < img class ="modal-icon " src ="assets/info-icon.svg " title ="Except this one ;) ">
34
33
icons you see to get more information!
35
- </ div > < br >
34
+ </ div >
36
35
< div class ="container " id ="license-chooser ">
37
- < p align ="center ">
36
+ < p align ="center " class =" onmobile-hide " >
38
37
Have a work you want to license with the Creative Commons plaform, < br >
39
38
but not sure which one is right for you? Use our license chooser!
40
39
</ p >
41
40
< p align ="center " style ="display: none; ">
42
41
Confused? Check out the "< b > Need Help?</ b > " section just below!
43
- </ p > < br >
42
+ </ p >
44
43
< div class ="columns ">
45
44
<!--
46
45
<div class="column" id="chooser-controls-radio">
@@ -126,12 +125,14 @@ <h4 class="title is-4">
126
125
</ span >
127
126
< div class ="control " style ="margin-left: 9%; padding-top: 1%; ">
128
127
< div class ="columns is-gapless ">
129
- < div class ="field column is-one-fifth ">
130
- < label for ="allow-adaptations-switch "> No</ label >
131
- < input id ="allow-adaptations-switch " type ="checkbox "
132
- name ="allow-adaptations-switch " class ="switch is-thin "
133
- checked ="checked " onchange ="switch_callback(this) ">
134
- < label for ="allow-adaptations-switch "> Yes</ label >
128
+ < div class ="column is-one-fifth ">
129
+ < div class ="field choosercontrol-switch ">
130
+ < label for ="allow-adaptations-switch "> No</ label >
131
+ < input id ="allow-adaptations-switch " type ="checkbox "
132
+ name ="allow-adaptations-switch " class ="switch is-thin "
133
+ checked ="checked " onchange ="switch_callback(this) ">
134
+ < label for ="allow-adaptations-switch "> Yes</ label >
135
+ </ div >
135
136
</ div >
136
137
< div class ="field column is-pulled-left " style ="display: inline; ">
137
138
< p class ="control is-pulled-left ">
@@ -185,7 +186,7 @@ <h4 class="title is-4">
185
186
< label for ="allow-commercial-switch "> Yes</ label >
186
187
</ div >
187
188
</ div >
188
- </ div > < br > < br >
189
+ </ div >
189
190
</ div > <!--
190
191
<div class="column" id="chooser-controls-images">
191
192
<p align="center">Changes to the options below will affect the license choice to the right.</p> <br><br>
@@ -234,27 +235,31 @@ <h4 class="title is-4">
234
235
</div>
235
236
</div> <br><br>
236
237
</div>-->
237
- < div class ="column " align ="center ">
238
- < h3 class ="title is-3 "> Your License!</ h3 > < br > < br >
238
+ < div class ="column selected-license " align ="center ">
239
+ < h3 class ="title is-3 "> Your License!</ h3 >
239
240
< a v-bind:href ="chooser.selected_license_link " align ="center "> {{chooser.selected_license}}</ a > < br >
240
- < p > {{chooser.selected_license_short}}</ p > < br >
241
- < span id ="license-chooser-icons ">
241
+ < p > {{chooser.selected_license_short}}</ p >
242
+ < div id ="license-chooser-icons " class =" selected-license -icons ">
242
243
< img src ="assets/cc.svg " class ="chooser-license-icon " id ="cc-logo-icon ">
243
244
< img src ="assets/license-icons/cc-by_icon.svg " class ="chooser-license-icon " id ="attribution-icon ">
244
245
< img src ="assets/license-icons/cc-nc_icon.svg " class ="chooser-license-icon " id ="commercial-icon ">
245
246
< img v-bind:src ="'assets/license-icons/' + chooser.icons.nd_sa_src " class ="chooser-license-icon " id ="adaptations-icon ">
246
- </ span >
247
+ </ div >
247
248
</ div >
248
249
</ div >
249
250
</ div >
250
251
< hr >
251
252
< div class ="container " id ="education-content ">
252
- < h1 class ="title is-1 "> Confused? Need Help?</ h1 >
253
+ < h1 class ="title site-title "> Confused? Need Help?</ h1 >
253
254
< p align ="center "> You can click the buttons below to get answers to the questions on them!</ p >
254
255
< br >
255
256
< div class ="columns " id ="questions-buttons ">
256
257
< div class ="column is-one-half ">
257
- < a class ="button is-light is-large is-fullwidth " onclick ="spawn_modal('q1') "> What Are Creative Commons Licenses?</ a > < br >
258
+ < a class ="button is-light is-large is-fullwidth " onclick ="spawn_modal('q1') ">
259
+ < p class ="button-text ">
260
+ What Are Creative Commons Licenses?
261
+ </ p >
262
+ </ a > < br >
258
263
< div id ="modal-q1 " class ="modal ">
259
264
< div class ="modal-background " onclick ="destroy_modal('q1') "> </ div >
260
265
< div class ="modal-card ">
@@ -281,7 +286,11 @@ <h1 class="title is-1">Confused? Need Help?</h1>
281
286
</ section >
282
287
</ div >
283
288
</ div >
284
- < a class ="button is-light is-large is-fullwidth " onclick ="spawn_modal('q3') "> How do the Licenses Work?</ a > < br >
289
+ < a class ="button is-light is-large is-fullwidth " onclick ="spawn_modal('q3') ">
290
+ < p class ="button-text ">
291
+ How do the Licenses Work?
292
+ </ p >
293
+ </ a > < br >
285
294
< div id ="modal-q3 " class ="modal ">
286
295
< div class ="modal-background " onclick ="destroy_modal('q3') "> </ div >
287
296
< div class ="modal-card ">
@@ -335,7 +344,11 @@ <h1 class="title is-1">Confused? Need Help?</h1>
335
344
</ section >
336
345
</ div >
337
346
</ div >
338
- < a class ="button is-light is-large is-fullwidth " onclick ="spawn_modal('q5') "> Want Public Domain Instead?</ a >
347
+ < a class ="button is-light is-large is-fullwidth " onclick ="spawn_modal('q5') ">
348
+ < p class ="button-text ">
349
+ Want Public Domain Instead?
350
+ </ p >
351
+ </ a >
339
352
< div id ="modal-q5 " class ="modal ">
340
353
< div class ="modal-background " onclick ="destroy_modal('q5') "> </ div >
341
354
< div class ="modal-card ">
@@ -361,7 +374,11 @@ <h1 class="title is-1">Confused? Need Help?</h1>
361
374
</ div >
362
375
</ div >
363
376
< div class ="column is-one-half ">
364
- < a class ="button is-light is-large is-fullwidth " onclick ="spawn_modal('q2') "> Considerations Before Licensing</ a > < br >
377
+ < a class ="button is-light is-large is-fullwidth " onclick ="spawn_modal('q2') ">
378
+ < p class ="button-text ">
379
+ Considerations Before Licensing
380
+ </ p >
381
+ </ a > < br >
365
382
< div id ="modal-q2 " class ="modal ">
366
383
< div class ="modal-background " onclick ="destroy_modal('q2') "> </ div >
367
384
< div class ="modal-card ">
@@ -393,7 +410,11 @@ <h1 class="title is-1">Confused? Need Help?</h1>
393
410
</ section >
394
411
</ div >
395
412
</ div >
396
- < a class ="button is-light is-large is-fullwidth " onclick ="spawn_modal('q4') "> How do I Formally License my Work?</ a > < br >
413
+ < a class ="button is-light is-large is-fullwidth " onclick ="spawn_modal('q4') ">
414
+ < p class ="button-text ">
415
+ How do I Formally License my Work?
416
+ </ p >
417
+ </ a > < br >
397
418
< div id ="modal-q4 " class ="modal ">
398
419
< div class ="modal-background " onclick ="destroy_modal('q4') "> </ div >
399
420
< div class ="modal-card ">
@@ -441,7 +462,11 @@ <h1 class="title is-1">Confused? Need Help?</h1>
441
462
</ section >
442
463
</ div >
443
464
</ div >
444
- < a class ="button is-light is-large is-fullwidth " onclick ="spawn_modal('q6') "> The Six CC Licenses</ a >
465
+ < a class ="button is-light is-large is-fullwidth " onclick ="spawn_modal('q6') ">
466
+ < p class ="button-text ">
467
+ The Six CC Licenses
468
+ </ p >
469
+ </ a >
445
470
< div id ="modal-q6 " class ="modal ">
446
471
< div class ="modal-background " onclick ="destroy_modal('q6') "> </ div >
447
472
< div class ="modal-card ">
@@ -513,50 +538,63 @@ <h1 class="title is-1">Confused? Need Help?</h1>
513
538
</ div >
514
539
< div class ="column is-one-third ">
515
540
< div class ="edu-icons-section ">
516
- < img src ="assets/license-icons/cc-by_icon.svg ">
517
- Attribution (BY) < br >
518
- < p > You must attribute the work in the manner specified by the author or licensor.</ p > < br >
541
+ < div class ="edu-icons-section-heading ">
542
+ < img src ="assets/license-icons/cc-by_icon.svg ">
543
+ Attribution (BY)
544
+ </ div >
545
+ < p > You must attribute the work in the manner specified by the author or licensor.</ p >
519
546
</ div >
520
547
< div class ="edu-icons-section ">
521
- < img src ="assets/license-icons/cc-nd_icon.svg ">
522
- NoDerivatives (ND)
548
+ < div class ="edu-icons-section-heading ">
549
+ < img src ="assets/license-icons/cc-nd_icon.svg ">
550
+ NoDerivatives (ND)
551
+ </ div >
523
552
< p >
524
553
You may not create derivatives of the licensed work.
525
554
</ p >
526
555
< p hidden >
527
556
The licensor permits others to copy, distribute and transmit only unaltered copies of the work --
528
- not derivative works based on it.</ p > < br >
557
+ not derivative works based on it.</ p >
529
558
</ div >
530
559
</ div >
531
560
< div class ="column is-one-third ">
532
561
< div class ="edu-icons-section ">
533
- < img src ="assets/license-icons/cc-sa_icon.svg ">
534
- ShareAlike (SA)
562
+ < div class ="edu-icons-section-heading ">
563
+ < img src ="assets/license-icons/cc-sa_icon.svg ">
564
+ ShareAlike (SA)
565
+ </ div >
535
566
< p >
536
567
You may create and distribute derivative works, but only under the same or a compatible license.
537
568
</ p >
538
569
< p hidden >
539
570
The licensor permits others to distribute derivative works, only under the same
540
- license or one compatible with the one that governs the licensor's work.</ p > < br >
571
+ license or one compatible with the one that governs the licensor's work.</ p >
541
572
</ div >
542
573
< div class ="edu-icons-section ">
543
- < img src ="assets/license-icons/cc-nc_icon.svg ">
544
- NonCommercial (NC)
574
+ < div class ="edu-icons-section-heading ">
575
+ < img src ="assets/license-icons/cc-nc_icon.svg ">
576
+ NonCommercial (NC)
577
+ </ div >
545
578
< p >
546
579
The licensor permits others to copy, distribute and transmit the work. In return,
547
580
licensees may not use the work for commercial purposes -- unless they get the
548
- licensor's permission.</ p > < br >
581
+ licensor's permission.</ p >
549
582
</ div >
550
583
</ div >
551
584
</ div >
552
585
</ div >
553
586
< hr >
587
+ < button class ="collapsible " id ="html-generator-dropdown ">
588
+ < p >
589
+ Have a Web Page? Embed your License Info!
590
+ </ p >
591
+ </ button >
592
+ <!--
554
593
<div class="" id="html-generator-dropdown" style="border-width: 2px; border-style: solid; padding: 1.5%;">
555
594
<h1 class="title is-1">This is the dropdown click area</h1>
556
- </ div > < br >
557
- < div class ="" id ="html-generator ">
595
+ </div> <br>-->
596
+ < div class ="content " id ="html-generator ">
558
597
< div id ="html-generator-generated ">
559
- < h1 class ="title is-2 "> Have a web page? Embed your license info!</ h1 >
560
598
< span id ="html-generator-generated-richtext-container ">
561
599
[Work] by [Author] is licenced under < a > CC BY NC 4.0</ a >
562
600
< span id ="html-generator-richtext-container-icons " class ="generated-icons ">
@@ -662,6 +700,7 @@ <h1 class="title is-2">Have a web page? Embed your license info!</h1>
662
700
</div>-->
663
701
</ div >
664
702
< script src ="https://cdn.jsdelivr.net/npm/vue@2.6.10/dist/vue.js "> </ script >
703
+ < script src ="../node_modules/@creativebulma/bulma-collapsible/dist/js/bulma-collapsible.min.js "> </ script >
665
704
< script type ="text/javascript " src ="index.js "> </ script >
666
705
< script type ="text/javascript " src ="scripts/page-controls.js "> </ script >
667
706
< script type ="text/javascript " src ="scripts/HTML-generator.js "> </ script >
0 commit comments