openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit d40d13e005dcb947c112289d9968f773e544c8c9
parent 5a2772ec440b76564de79d670437f73b02c49ae2
Author: Jan Dankert <devnull@localhost>
Date:   Sat, 25 Nov 2017 01:19:00 +0100

Nichts mit document.write() ausgeben, da sonst der Browser das Rendering neu starten muss.

Diffstat:
themes/default/css/openrat-workbench.css | 10++++++++--
themes/default/css/openrat-workbench.less | 9++++++++-
themes/default/css/openrat-workbench.min.css | 4++--
themes/default/layout/index.php | 12+-----------
4 files changed, 19 insertions(+), 16 deletions(-)

diff --git a/themes/default/css/openrat-workbench.css b/themes/default/css/openrat-workbench.css @@ -174,4 +174,10 @@ div#workbench div.panel div.arrow-right { div#workbench div.panel li.action.dirty { font-weight: bold; } -/*# sourceMappingURL=data:application/json,%7B%22version%22%3A3%2C%22sources%22%3A%5B%22openrat-workbench.less%22%5D%2C%22names%22%3A%5B%5D%2C%22mappings%22%3A%22%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3BAA0BA%3BAAAM%3BAAAM%3BAAAK%3BAAAM%3BAAAQ%3BAAAQ%3BAAAI%3BAAAI%3BAAAI%3BAAAI%3BAAAI%3BAAAI%3BAAAG%3BAAAY%3BAAAK%3BAAAG%3BAAAM%3BAAAS%3BAAAS%3BAAAM%3BAAAK%3BAAAK%3BAAAI%3BAAAK%3BAAAG%3BAAAI%3BAAAI%3BAAAI%3BAAAI%3BAAAI%3BAAAI%3BAAAU%3BAAAM%3BAAAO%3BAAAQ%3BAAAO%3BAAAS%3BAAAO%3BAAAO%3BAAAO%3BAAAI%3BAAAI%3BCAAI%3BCAAS%3BCAAU%3BCAAS%3BCAAoB%3BCAAmB%3BCAAe%3BCAAoB%3B%3BAACxV%3BCAAM%3B%3BAACN%3BCAAO%3BCAAyB%3B%3BAAChC%3BAAAS%3BAAAI%3BCAAI%3BCAAgB%3B%3BAACjC%3BAAAO%3BAAAI%3BCAAI%3B%3BAACf%2CUAAU%3BAAAS%2CUAAU%3BAAAQ%2CCAAC%3BAAAS%2CCAAC%3BCAAQ%2CSAAQ%2CEAAR%3B%3BAACxD%3BAAAY%3BCAAG%2CQAAO%2CGAAG%2CEAAV%3B%3BAACf%2CCAAE%3BCAAK%3B%3BAAIP%2CGAAG%2CUAAW%2CIAAG%2CMAAM%3BCAEtB%3BCACA%3BCACA%3BCAEA%3BCAEA%2C4BAAA%3B%3BAAMD%2CGAAG%3BCAEF%3B%3BCAGA%3BCACA%3BCACA%3BCACA%3BCACA%3BCAEA%3BCAEA%2C4BAAA%3B%3BAAMD%2CGAAG%2CUAAU%2COAAU%2CMAAG%3BCAEzB%3B%3BAAED%2CGAAG%2CUAAU%2COAAU%2CMAAG%3BCAEzB%3B%3B%3BAAID%2CGAAG%2CQAAQ%3BCAEV%3B%3BAAED%2CGAAG%2CQAAQ%3BCAEV%3B%3BAAED%2CGAAG%2CQAAQ%3BCAEV%3B%3BAAED%2CGAAG%2CQAAQ%3BCAEV%3B%3B%3BAAID%2CGAAG%2CUAAa%2CMAAG%2CQAAQ%3BCAE1B%3B%3B%3BAAMD%2CGAAG%2CUAAW%2CIAAG%2CMAAO%2CIAAG%3BCAE1B%3BCACA%3BCACA%3BCACA%3BCACA%2CmCAAA%3BCACA%2CsBAAA%3BCACA%2CkCAAA%3BCACA%2CoCAAA%3BCACA%3BCACA%3B%3B%3BAAGD%2CGAAG%2CUAAW%2CIAAG%2CMAAO%2CIAAG%3BCAE1B%3BCACA%3BCACA%3BCACA%3BCACA%2CiCAAA%3BCACA%2CuBAAA%3BCACA%2CoCAAA%3BCACA%2CmCAAA%3BCACA%3BCACA%3B%3BAAID%2CGAAG%2CUAAW%2CIAAG%2CMAAO%2CGAAE%2COAAO%3BCAEhC%22%7D */- \ No newline at end of file +.visible-for-nojs { + display: none; +} +html.nojs .noscript { + display: block; +} +/*# sourceMappingURL=data:application/json,%7B%22version%22%3A3%2C%22sources%22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CAEV%3B%3BAAED%2CGAAG%2CQAAQ%3BCAEV%3B%3BAAED%2CGAAG%2CQAAQ%3BCAEV%3B%3BAAED%2CGAAG%2CQAAQ%3BCAEV%3B%3B%3BAAID%2CGAAG%2CUAAa%2CMAAG%2CQAAQ%3BCAE1B%3B%3B%3BAAMD%2CGAAG%2CUAAW%2CIAAG%2CMAAO%2CIAAG%3BCAE1B%3BCACA%3BCACA%3BCACA%3BCACA%2CmCAAA%3BCACA%2CsBAAA%3BCACA%2CkCAAA%3BCACA%2CoCAAA%3BCACA%3BCACA%3B%3B%3BAAGD%2CGAAG%2CUAAW%2CIAAG%2CMAAO%2CIAAG%3BCAE1B%3BCACA%3BCACA%3BCACA%3BCACA%2CiCAAA%3BCACA%2CuBAAA%3BCACA%2CoCAAA%3BCACA%2CmCAAA%3BCACA%3BCACA%3B%3BAAID%2CGAAG%2CUAAW%2CIAAG%2CMAAO%2CGAAE%2COAAO%3BCAEhC%3B%3BAAID%3BCAEC%3B%3BAAED%2CIAAI%2CKAAM%3BCAET%22%7D */+ \ No newline at end of file diff --git a/themes/default/css/openrat-workbench.less b/themes/default/css/openrat-workbench.less @@ -138,5 +138,12 @@ div#workbench div.panel li.action.dirty font-weight: bold; } - +.visible-for-nojs +{ + display: none; +} +html.nojs .noscript +{ + display: block; +} diff --git a/themes/default/css/openrat-workbench.min.css b/themes/default/css/openrat-workbench.min.css @@ -1 +1 @@ -html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,code,del,dfn,em,img,q,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin: 0;padding: 0;border: 0;font-weight: inherit;font-style: inherit;font-size: 100%;font-family: inherit;vertical-align: baseline}body{line-height: 1.5}table{border-collapse: separate;border-spacing: 0}caption,th,td{text-align: left;font-weight: normal}table,td,th{vertical-align: top}blockquote:before,blockquote:after,q:before,q:after{content: ""}blockquote,q{quotes: "" ""}a img{border: none}div#workbench div.panel.modal{position: relative;xtop: 0;xleft: 0;z-index: 101;border: 1px solid !important}div#dialog{overflow: auto;position: absolute;top: 5%;left: 10%;width: 80%;height: 80%;z-index: 104;border: 1px solid !important}div.container.axle-x > div.divider{width: 5px}div.container.axle-y > div.divider{height: 5px}div.divider.to-left{cursor: w-resize}div.divider.to-right{cursor: e-resize}div.divider.to-top{cursor: n-resize}div.divider.to-bottom{cursor: s-resize}div.container > div.divider.ui-draggable-dragging{z-index: 150}div#workbench div.panel div.arrow-down{width: 0;height: 0;margin: 6px;padding: 0px;border-right: 6px solid transparent;border-top: 6px solid;border-left: 6px solid transparent;border-bottom: 4px solid transparent;margin-top: 10px;font-size: 0}div#workbench div.panel div.arrow-right{width: 0;height: 0;margin: 6px;padding: 0;border-top: 6px solid transparent;border-left: 6px solid;border-bottom: 6px solid transparent;border-right: 4px solid transparent;margin-left: 10px;font-size: 0}div#workbench div.panel li.action.dirty{font-weight: bold}- \ No newline at end of file +html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,code,del,dfn,em,img,q,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin: 0;padding: 0;border: 0;font-weight: inherit;font-style: inherit;font-size: 100%;font-family: inherit;vertical-align: baseline}body{line-height: 1.5}table{border-collapse: separate;border-spacing: 0}caption,th,td{text-align: left;font-weight: normal}table,td,th{vertical-align: top}blockquote:before,blockquote:after,q:before,q:after{content: ""}blockquote,q{quotes: "" ""}a img{border: none}div#workbench div.panel.modal{position: relative;xtop: 0;xleft: 0;z-index: 101;border: 1px solid !important}div#dialog{overflow: auto;position: absolute;top: 5%;left: 10%;width: 80%;height: 80%;z-index: 104;border: 1px solid !important}div.container.axle-x > div.divider{width: 5px}div.container.axle-y > div.divider{height: 5px}div.divider.to-left{cursor: w-resize}div.divider.to-right{cursor: e-resize}div.divider.to-top{cursor: n-resize}div.divider.to-bottom{cursor: s-resize}div.container > div.divider.ui-draggable-dragging{z-index: 150}div#workbench div.panel div.arrow-down{width: 0;height: 0;margin: 6px;padding: 0px;border-right: 6px solid transparent;border-top: 6px solid;border-left: 6px solid transparent;border-bottom: 4px solid transparent;margin-top: 10px;font-size: 0}div#workbench div.panel div.arrow-right{width: 0;height: 0;margin: 6px;padding: 0;border-top: 6px solid transparent;border-left: 6px solid;border-bottom: 6px solid transparent;border-right: 4px solid transparent;margin-left: 10px;font-size: 0}div#workbench div.panel li.action.dirty{font-weight: bold}.visible-for-nojs{display: none}html.nojs .noscript{display: block}+ \ No newline at end of file diff --git a/themes/default/layout/index.php b/themes/default/layout/index.php @@ -101,17 +101,7 @@ var REQ_PARAM_TARGET = '<?php echo REQ_PARAM_TARGET ?>'; </div> -<script type="text/javascript"> -<!-- -document.writeln("<div class=\"invisible\">"); -// --> -</script> -<noscript><em>Javascript is required to view this site</em></noscript> -<script type="text/javascript"> -<!-- -document.writeln("</div>"); -// --> -</script> +<div class="noscript"><em>Javascript is required to view this site</em></div> <form class="invisible" target="temp" action=""> <input type="text" id="uname" name="l1" /><input id="upassword" type="password" name="l2" /><input type="submit" />