tazpanel rev 464
Add CSS for prism.js; tiny edits.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 24 16:38:13 2015 +0300 (2015-04-24) |
parents | 7ca14d55e705 |
children | 40ba6da12fce |
files | README.devel network.cgi styles/default/prism.css |
line diff
1.1 --- a/README.devel Fri Apr 24 16:00:14 2015 +0300 1.2 +++ b/README.devel Fri Apr 24 16:38:13 2015 +0300 1.3 @@ -61,7 +61,7 @@ 1.4 when you have one network at home, other - at work, and another - at your 1.5 friends home. Really, you shouldn't to re-enter all these passwords again. 1.6 1.7 -We can read a lot of useful information in the wpa_cupplicant.conf file 1.8 +We can read a lot of useful information in the wpa_supplicant.conf file 1.9 (/etc/wpa/wpa_supplicant.conf): 1.10 1.11 # psk: WPA preshared key; 256-bit pre-shared key 1.12 @@ -150,7 +150,9 @@ 1.13 ]; 1.14 </script> 1.15 1.16 -Here we need to escape ('"&<>) symbols as described above. 1.17 +Here we need to escape ('"&<>) symbols but in the slightly another manner: 1.18 +\ → \\ 1.19 +" → \" 1.20 1.21 1.22 So, what do you think about this very special password? :=D
2.1 --- a/network.cgi Fri Apr 24 16:00:14 2015 +0300 2.2 +++ b/network.cgi Fri Apr 24 16:38:13 2015 +0300 2.3 @@ -359,13 +359,6 @@ 2.4 ENC_SIMPLE="$(_ 'None')"; ENC_ICON='seclo' # low 2.5 fi 2.6 2.7 - # 2.8 - #if echo $SCAN | grep -q 'Mode:Managed'; then 2.9 - # AP="&ap=$(echo $SCAN | sed 's/.*Address: \([^ ]*\).*/\1/')" 2.10 - #else 2.11 - # AP='' 2.12 - #fi 2.13 - 2.14 # Connected or not connected... 2.15 if ifconfig $WIFI_INTERFACE | fgrep -q inet && \ 2.16 iwconfig $WIFI_INTERFACE | fgrep -q "ESSID:\"$ESSID\""; then
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/styles/default/prism.css Fri Apr 24 16:38:13 2015 +0300 3.3 @@ -0,0 +1,130 @@ 3.4 +/* http://prismjs.com/download.html?themes=prism&languages=clike+bash+ini */ 3.5 +/** 3.6 + * prism.js default theme for JavaScript, CSS and HTML 3.7 + * Based on dabblet (http://dabblet.com) 3.8 + * @author Lea Verou 3.9 + * 3.10 + * Changed for SliTaz TazPanel 3.11 + */ 3.12 + 3.13 +code[class*="language-"], 3.14 +pre[class*="language-"] { 3.15 + color: black; 3.16 + text-shadow: 0 1px white; 3.17 + 3.18 + -moz-tab-size: 4; 3.19 + -o-tab-size: 4; 3.20 + tab-size: 4; 3.21 + 3.22 + -webkit-hyphens: none; 3.23 + -moz-hyphens: none; 3.24 + -ms-hyphens: none; 3.25 + hyphens: none; 3.26 +} 3.27 + 3.28 +pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, 3.29 +code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection { 3.30 + text-shadow: none; 3.31 + background: #b3d4fc; 3.32 +} 3.33 + 3.34 +pre[class*="language-"]::selection, pre[class*="language-"] ::selection, 3.35 +code[class*="language-"]::selection, code[class*="language-"] ::selection { 3.36 + text-shadow: none; 3.37 + background: #b3d4fc; 3.38 +} 3.39 + 3.40 +@media print { 3.41 + code[class*="language-"], 3.42 + pre[class*="language-"] { 3.43 + text-shadow: none; 3.44 + } 3.45 +} 3.46 + 3.47 +/* Code blocks */ 3.48 +pre[class*="language-"] { 3.49 + overflow: auto; 3.50 +} 3.51 + 3.52 +:not(pre) > code[class*="language-"], 3.53 +pre[class*="language-"] { 3.54 + background: #f5f2f0; 3.55 +} 3.56 + 3.57 +/* Inline code */ 3.58 +:not(pre) > code[class*="language-"] { 3.59 + padding: .1em; 3.60 + border-radius: .3em; 3.61 +} 3.62 + 3.63 +.token.comment, 3.64 +.token.prolog, 3.65 +.token.doctype, 3.66 +.token.cdata { 3.67 + color: slategray; 3.68 +} 3.69 + 3.70 +.token.punctuation { 3.71 + color: #999; 3.72 +} 3.73 + 3.74 +.namespace { 3.75 + opacity: .7; 3.76 +} 3.77 + 3.78 +.token.property, 3.79 +.token.tag, 3.80 +.token.boolean, 3.81 +.token.number, 3.82 +.token.constant, 3.83 +.token.symbol, 3.84 +.token.deleted { 3.85 + color: #905; 3.86 +} 3.87 + 3.88 +.token.selector, 3.89 +.token.attr-name, 3.90 +.token.string, 3.91 +.token.char, 3.92 +.token.builtin, 3.93 +.token.inserted { 3.94 + color: #690; 3.95 +} 3.96 + 3.97 +.token.operator, 3.98 +.token.entity, 3.99 +.token.url, 3.100 +.language-css .token.string, 3.101 +.style .token.string { 3.102 + color: #a67f59; 3.103 + background: hsla(0, 0%, 100%, .5); 3.104 +} 3.105 + 3.106 +.token.atrule, 3.107 +.token.attr-value, 3.108 +.token.keyword { 3.109 + color: #07a; 3.110 +} 3.111 + 3.112 +.token.function { 3.113 + color: #DD4A68; 3.114 +} 3.115 + 3.116 +.token.regex, 3.117 +.token.important, 3.118 +.token.variable { 3.119 + color: #e90; 3.120 +} 3.121 + 3.122 +.token.important, 3.123 +.token.bold { 3.124 + font-weight: bold; 3.125 +} 3.126 +.token.italic { 3.127 + font-style: italic; 3.128 +} 3.129 + 3.130 +.token.entity { 3.131 + cursor: help; 3.132 +} 3.133 +