# HG changeset patch # User Aleksej Bobylev # Date 1429882693 -10800 # Node ID c23efdafb18d8f475240ae0fe980dc84f32201eb # Parent 7ca14d55e7054141595c251c1e8c8fe04ff4ea9d Add CSS for prism.js; tiny edits. diff -r 7ca14d55e705 -r c23efdafb18d README.devel --- a/README.devel Fri Apr 24 16:00:14 2015 +0300 +++ b/README.devel Fri Apr 24 16:38:13 2015 +0300 @@ -61,7 +61,7 @@ when you have one network at home, other - at work, and another - at your friends home. Really, you shouldn't to re-enter all these passwords again. -We can read a lot of useful information in the wpa_cupplicant.conf file +We can read a lot of useful information in the wpa_supplicant.conf file (/etc/wpa/wpa_supplicant.conf): # psk: WPA preshared key; 256-bit pre-shared key @@ -150,7 +150,9 @@ ]; -Here we need to escape ('"&<>) symbols as described above. +Here we need to escape ('"&<>) symbols but in the slightly another manner: +\ → \\ +" → \" So, what do you think about this very special password? :=D diff -r 7ca14d55e705 -r c23efdafb18d network.cgi --- a/network.cgi Fri Apr 24 16:00:14 2015 +0300 +++ b/network.cgi Fri Apr 24 16:38:13 2015 +0300 @@ -359,13 +359,6 @@ ENC_SIMPLE="$(_ 'None')"; ENC_ICON='seclo' # low fi - # - #if echo $SCAN | grep -q 'Mode:Managed'; then - # AP="&ap=$(echo $SCAN | sed 's/.*Address: \([^ ]*\).*/\1/')" - #else - # AP='' - #fi - # Connected or not connected... if ifconfig $WIFI_INTERFACE | fgrep -q inet && \ iwconfig $WIFI_INTERFACE | fgrep -q "ESSID:\"$ESSID\""; then diff -r 7ca14d55e705 -r c23efdafb18d styles/default/prism.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/styles/default/prism.css Fri Apr 24 16:38:13 2015 +0300 @@ -0,0 +1,130 @@ +/* http://prismjs.com/download.html?themes=prism&languages=clike+bash+ini */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + * + * Changed for SliTaz TazPanel + */ + +code[class*="language-"], +pre[class*="language-"] { + color: black; + text-shadow: 0 1px white; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + +pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} + +pre[class*="language-"]::selection, pre[class*="language-"] ::selection, +code[class*="language-"]::selection, code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} + +@media print { + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} + +/* Code blocks */ +pre[class*="language-"] { + overflow: auto; +} + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} + +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: .1em; + border-radius: .3em; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} + +.token.punctuation { + color: #999; +} + +.namespace { + opacity: .7; +} + +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} + +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} + +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #a67f59; + background: hsla(0, 0%, 100%, .5); +} + +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} + +.token.function { + color: #DD4A68; +} + +.token.regex, +.token.important, +.token.variable { + color: #e90; +} + +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} + +.token.entity { + cursor: help; +} +