tazpanel diff test.cgi @ rev 514

index.cgi: add package list in report
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 02 19:05:06 2015 +0200 (2015-08-02)
parents b0146d791379
children aaf630cf6a8b
line diff
     1.1 --- a/test.cgi	Tue Apr 07 00:27:17 2015 +0300
     1.2 +++ b/test.cgi	Sun Aug 02 19:05:06 2015 +0200
     1.3 @@ -10,9 +10,9 @@
     1.4  get_config
     1.5  header
     1.6  
     1.7 -TITLE='TazPanel - Test'
     1.8 +TITLE='Test'
     1.9  
    1.10 -xhtml_header
    1.11 +xhtml_header 'Show icons and styles'
    1.12  
    1.13  cat <<EOT
    1.14  
    1.15 @@ -51,6 +51,10 @@
    1.16  --><button data-icon="unlock"     >Unlock     </button><button data-icon="upgrade" >Upgrade </button><!--
    1.17  --><button data-icon="user"       >User       </button><button data-icon="view"    >View    </button><!--
    1.18  --><button data-icon="web"        >Web        </button><button data-icon="wifi"    >Wi-Fi   </button><!--
    1.19 +--><button data-icon="toggle"     >Toggle     </button><button data-icon="chlock"  >ChLock  </button><!--
    1.20 +--><button data-icon="calendar"   >Calendar   </button><button data-icon="modem"   >Modem   </button><!--
    1.21 +--><button data-icon="vpn"        >VPN        </button><button data-icon="display" >Display </button><!--
    1.22 +--><button data-icon="cpu"        >CPU        </button><button data-icon="display" >Display </button><!--
    1.23  -->
    1.24  </section>
    1.25  
    1.26 @@ -96,6 +100,48 @@
    1.27  </p>
    1.28  </section>
    1.29  
    1.30 +
    1.31 +<section>
    1.32 +	<header><span data-img="sechi"></span>Status icons</header>
    1.33 +	<div>
    1.34 +<span data-icon="lvl0">lvl0</span> <span data-icon="lvl1">lvl1</span> <span data-icon="lvl2">lvl2</span>
    1.35 +<span data-icon="lvl3">lvl3</span> <span data-icon="lvl4">lvl4, lvl5</span>
    1.36 +<span data-icon="online">online</span> <span data-icon="offline">offline</span>
    1.37 +<span data-icon="sechi">sechi</span> <span data-icon="secmi">secmi</span> <span data-icon="seclo">seclo</span>
    1.38 +<span data-icon="pkg">pkg</span> <span data-icon="pkgi">pkgi</span> <span data-icon="pkgib">pkgib</span>
    1.39 +	</div>
    1.40 +	<div>
    1.41 +<span data-icon="msg">msg</span> <span data-icon="msgerr">msgerr</span>
    1.42 +<span data-icon="msgwarn">msgwarn</span> <span data-icon="msgup">msgup</span>
    1.43 +<span data-icon="msgtip">msgtip</span>
    1.44 +	</div>
    1.45 +</section>
    1.46 +
    1.47 +
    1.48 +<section>
    1.49 +	<header><span data-img="&#xf20a;"></span>Font components</header>
    1.50 +	<div>
    1.51 +<span data-icon="&#xf200;">#f200</span> <span data-icon="&#xf201;">#f201</span>
    1.52 +<span data-icon="&#xf202;">#f202</span> <span data-icon="&#xf203;">#f203</span>
    1.53 +<span data-icon="&#xf204;">#f204</span> <span data-icon="&#xf205;">#f205</span>
    1.54 +<span data-icon="&#xf206;">#f206</span> <span data-icon="&#xf207;">#f207</span>
    1.55 +<span data-icon="&#xf208;">#f208</span> <span data-icon="&#xf209;">#f209</span>
    1.56 +<span data-icon="&#xf20a;">#f20a</span> <span data-icon="&#xf20b;">#f20b</span>
    1.57 +<span data-icon="&#xf20c;">#f20c</span> <span data-icon="&#xf20d;">#f20d</span>
    1.58 +	</div>
    1.59 +</section>
    1.60 +
    1.61 +
    1.62 +<section>
    1.63 +	<header>Message boxes</header>
    1.64 +	$(msg msg  "Lorem ipsum dolor sit amet, consectetur adipiscing elit.")
    1.65 +	$(msg tip  "Fusce volutpat est a euismod malesuada.")
    1.66 +	$(msg warn "Aenean elementum augue et nisl sollicitudin, ut pellentesque leo rutrum.")
    1.67 +	$(msg err  "Etiam nisi elit, fringilla sit amet consectetur quis, efficitur eu ligula.")
    1.68 +	$(msg up   "Sed pharetra ex ligula, nec commodo erat suscipit eu.")
    1.69 +</section>
    1.70 +
    1.71 +
    1.72  <section>
    1.73  	<header><span data-img="check"></span>User input elements</header>
    1.74  	<div><form>
    1.75 @@ -147,7 +193,6 @@
    1.76  	</table>
    1.77  	</form></div>
    1.78  </section>
    1.79 -
    1.80  EOT
    1.81  xhtml_footer
    1.82  exit 0