Commit 1eb61da92889c35db09d732f041b3f063e41c4e5
- Diff rendering mode:
- inline
- side by side
alipi/stylesheet.css
(5 / 1)
  | |||
1 | /* jquery dialog to have high z-index*/ | ||
2 | .ui-dialog { | ||
3 | z-index: 1000; | ||
4 | } | ||
1 | 5 | @media screen and (min-width:1000px) { | |
2 | 6 | ||
3 | 7 | #renarrated_overlay { position:fixed; left:0.5%; width:99%; text-align:center; font-weight:normal; z-index:2147483645; display:block; } | |
… | … | ||
46 | 46 | #close-element { position:absolute; top:-5px; left:-2px; width:10px; font-size:17px; font-weight:400; font-style:italic; text-align:justify; } | |
47 | 47 | #cant-edit { width: 450px; margin:15px; font-size:17px; font-weight:400; font-style:italic; text-align:justify; display:none; } | |
48 | 48 | ||
49 | #editoroverlay { min-width:90%; text-align:justify; display: none; } | ||
49 | #editoroverlay { min-width:90%; text-align:justify; display: none; min-height: 300px; } | ||
50 | 50 | #editoroverlay a { color:#1C94C4; } | |
51 | 51 | ||
52 | 52 | #adv-reference { position: absolute; top:15%; left:2%; min-width:48%; max-width:48%; border:solid 3px; padding:10px; font-size:16px; |
alipi/ui.js
(5 / 5)
  | |||
647 | 647 | close: function() { | |
648 | 648 | console.log('close'); | |
649 | 649 | } | |
650 | }); | ||
650 | }).css('minHeight', 300); | ||
651 | 651 | }, | |
652 | 652 | ||
653 | 653 | publish: function() { | |
… | … | ||
667 | 667 | '<label id="tar-lab3" class="alipi" >Language of re-narration: </label> '+ | |
668 | 668 | '<input id="lang-select" class="alipi" placeholder="Type language name"/>'+ | |
669 | 669 | '<img id="lang-img" src="http://dev.a11y.in/wsgi/images/db_loading.gif"/> '+ | |
670 | '<label id="tar-lab4" class="alipi" >Select a style of re-narration: </label> '+ | ||
670 | '<label id="tar-lab4" class="alipi" for="style-select">Select a style of re-narration: </label> '+ | ||
671 | 671 | '<select id="style-select" class="alipi" > '+ | |
672 | 672 | '<option>Translation</option><option>Technical</option><option>Fun</option><option>Simplification</option> '+ | |
673 | 673 | '<option>Correction</option><option>Evolution</option><option>Other</option></select>'+ | |
674 | '<div id="free-form"><label id="tar-lab8" class="alipi">Comments:</label><textarea id="tar-comment"></textarea></div>'+ | ||
674 | '<div id="free-form"><label id="tar-lab8" for="tar-comment" class="alipi">Comments:</label><textarea id="tar-comment"></textarea></div>'+ | ||
675 | 675 | '<div id="blogset" > We are having issues with posting to a personal Google blog. Please use demo.swtr.us to publish.</div> '+ | |
676 | '<p id="tar-p" ><input id="our-check" class="alipi" type="radio"name="blog" /> '+ | ||
676 | '<p id="tar-p" ><input id="our-check" class="alipi" type="radio"name="blog" checked="checked" /> '+ | ||
677 | 677 | '<label id="tar-lab6" class="alipi" > demo.swtr.us </label><input id="your-check" class="alipi" type="radio" name="blog" /> '+ | |
678 | 678 | '<label id="tar-lab7" class="alipi">Personal Blog</label></p></div>'; | |
679 | 679 | ||
… | … | ||
1029 | 1029 | pageEditor.cleanUp(pageEditor.event.target); | |
1030 | 1030 | $("#editoroverlay" ).remove(); | |
1031 | 1031 | } | |
1032 | }); | ||
1032 | }).css('minHeight', 300); | ||
1033 | 1033 | ||
1034 | 1034 | $($($('<label>').insertAfter($('.ui-dialog-buttonset').children()[0])).html('Magnify or Demagnify')); // Element added externally with css | |
1035 | 1035 | $($('.ui-dialog-buttonset').children()[1]).attr('id','mag-demag'); |