Adding sincro directory for clean-up - refs #6029
@ -0,0 +1,15 @@ |
||||
Infinite Family Network Connectivity Web Test |
||||
|
||||
Installation |
||||
============= |
||||
|
||||
1. Put all files of the directory with this README on a web server |
||||
2. Edit config.js with the desired settings |
||||
3. Make sure the web server accepts HTTP POST on index.html. |
||||
If the web server does not allow HTTP POST, the test will yield an error message immediately when running a test. |
||||
A sample .htaccess file can be found in the same directory as the HTML file which can be used to allow HTTP POST |
||||
on an Apache server with PHP installed. |
||||
|
||||
Happy testing! |
||||
|
||||
|
||||
@ -0,0 +1,46 @@ |
||||
<div id="centrado"> |
||||
<div id="mainContentFrame"> |
||||
<!--img id="logo"/--> |
||||
<div class="border"> |
||||
<div> |
||||
<h3 class="titulo" id="title"></h3> |
||||
<span id="subtitle"></span> |
||||
</div> |
||||
|
||||
<div id="statusContainer"> |
||||
<div id="resultMessage"> |
||||
<h4 class="result-title"></h4> |
||||
<div class="result-message"></div> |
||||
</div> |
||||
|
||||
<div id="testInProgress"> |
||||
<img src="loading.gif" width="16" height="16" align="absmiddle"/> <span id="testInProgressLabel"></span> |
||||
</div> |
||||
</div> |
||||
|
||||
<div id="progressPanel"> |
||||
<div id="progressbar"></div> |
||||
</div> |
||||
|
||||
<div id="buttonPanel"> |
||||
<form> |
||||
<input type="button" id="startTestButton" class="btn"/> |
||||
</form> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<div class="resultado_datos" id="technicalDetails"> |
||||
Celeridad de descarga:<br /> |
||||
Efectivo: <span id="currentdlspeed"></span><br /> |
||||
Mínimo requerido: <span id="requireddlspeed" class="required"></span> |
||||
<br/> |
||||
Celeridad de subida:<br /> |
||||
Efectivo : <span id="currentulspeed"></span><br /> |
||||
Mínimo requerido: <span id="requiredulspeed" class="required"></span> |
||||
<br/> |
||||
Tiempo de respuesta:<br /> |
||||
Efectivo: <span id="currenttime"></span><br /> |
||||
Máximo requerido: <span id="requiredtime" class="required"></span> |
||||
<br/> |
||||
</div> |
||||
</div> |
||||
@ -0,0 +1,22 @@ |
||||
var Settings = { |
||||
Logo : "header-logo.png", // URL to logo image
|
||||
MinimumDlSpeed : 100, // Required download speed in kbit/s
|
||||
MinimumUlSpeed : 100, // Required upload speed in kbit/s
|
||||
MaximumTime : 300, // Required response time (milliseconds)
|
||||
RequestCount : 20, // Number of requests to perform
|
||||
Debug : true // true, if detailed output of the test run needs to be shown, otherwise false
|
||||
}; |
||||
var Strings = { |
||||
StartTest : "Iniciar prueba", |
||||
TestInProgress : "La prueba se está ejecutando, espere por favor...", |
||||
Title : "Prueba de conexión de datos", |
||||
SubTitle : "Esta página le permite probar la velocidad de su conexión local hacia el servidor central del Ministerio.", |
||||
TestFailed : { |
||||
Title : "Lo sentimos, su conexión es algo lenta y podría no ser suficiente para los objetivos de esta aplicación.", |
||||
Message : "(Si esto fue su primera prueba, intente correrla nuevamente en un par de horas)" |
||||
}, |
||||
TestPassed : { |
||||
Title : "Felicidades, su conexión cumple con los requerimientos establecidos.", |
||||
Message : "" |
||||
} |
||||
}; |
||||
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 307 B |
|
After Width: | Height: | Size: 75 KiB |
|
After Width: | Height: | Size: 214 B |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 214 B |
|
After Width: | Height: | Size: 211 B |
|
After Width: | Height: | Size: 229 B |
|
After Width: | Height: | Size: 242 B |
|
After Width: | Height: | Size: 207 B |
|
After Width: | Height: | Size: 222 B |
@ -0,0 +1,118 @@ |
||||
/*Imoport las hojas de estilos separadas*/ |
||||
@import "ui.core.css"; |
||||
@import "ui.theme.css"; |
||||
@import "ui.allplugins.css"; |
||||
/*Estilo para Vista de Sincronización*/ |
||||
.form-column{ |
||||
width: 400px; |
||||
float: left; |
||||
} |
||||
.anim-column{ |
||||
width: 300px; |
||||
float: right; |
||||
padding-right: 400px; |
||||
} |
||||
.titulo{ |
||||
font-family: Arial; |
||||
font-size: 30px; |
||||
color:#0174DF; |
||||
} |
||||
body,html,form, table, input, div, select |
||||
{ |
||||
font-size:8pt; |
||||
font-family:verdana, arial, helvetica, sans-serif; |
||||
} |
||||
H3 |
||||
{ |
||||
font-family: Times New Roman; |
||||
font-size: large; |
||||
} |
||||
H4 |
||||
{ |
||||
font-family: Times New Roman; |
||||
font-size: 12pt; |
||||
} |
||||
THEAD |
||||
{ |
||||
background-color: #D7E1F5; |
||||
} |
||||
#resultMessage h4 |
||||
{ |
||||
font-family: Arial, Helvetica, Sans Serif; |
||||
font-size: 12pt; |
||||
font-weight: bold; |
||||
padding: 0px; |
||||
} |
||||
.resultado_datos{ |
||||
font-weight: bold; |
||||
font-size: 12px; |
||||
} |
||||
.resultado_datos span{ |
||||
color: #FF0080; |
||||
font-weight:normal; |
||||
} |
||||
.resultado_datos span.required{ |
||||
color: #888888; |
||||
} |
||||
#progressbar |
||||
{ |
||||
margin-bottom: 10px; |
||||
/*margin-bottom: 30px; |
||||
margin-top: 30px;*/ |
||||
} |
||||
#pagesincro{ |
||||
background: url("images/bg_fondo.png") no-repeat #81DAF5 600px 200px; |
||||
width: 1130px; |
||||
height: 800px; |
||||
padding: 20px; |
||||
} |
||||
#centrado{ |
||||
width: 350px; |
||||
margin: auto; |
||||
/*top: 20%; |
||||
left: 20%; |
||||
margin-top: -480px; /*Restamos la mitad de alto |
||||
margin-left: -550px; /*Restamos la mitad de ancho*/ |
||||
} |
||||
#testInProgress |
||||
{ |
||||
display: none; |
||||
margin-top: 30px; |
||||
} |
||||
#buttonPanel |
||||
{ |
||||
margin: auto; |
||||
/*width: 350px;*/ |
||||
text-align: center; |
||||
} |
||||
#resultMessage |
||||
{ |
||||
display: none; |
||||
margin-left: auto; |
||||
margin-right: auto; |
||||
} |
||||
#statusContainer |
||||
{ |
||||
margin-top: 10px; |
||||
margin-bottom: 10px; |
||||
min-height: 50px; |
||||
position: relative; |
||||
} |
||||
#technicalDetails |
||||
{ |
||||
display: none; |
||||
margin: auto; |
||||
width: 360px; |
||||
padding: 20px; |
||||
background-color: #F2F5A9; |
||||
} |
||||
#mainContentFrame |
||||
{ |
||||
width: 350px; |
||||
margin-left: auto; |
||||
margin-right: auto |
||||
} |
||||
#mainContentFrame .border |
||||
{ |
||||
/* padding: 20px*/ |
||||
} |
||||
@ -0,0 +1,118 @@ |
||||
/*Imoport las hojas de estilos separadas*/ |
||||
@import "ui.core.css"; |
||||
@import "ui.theme.css"; |
||||
@import "ui.allplugins.css"; |
||||
/*Estilo para Vista de Sincronización*/ |
||||
.form-column{ |
||||
width: 400px; |
||||
float: left; |
||||
} |
||||
.anim-column{ |
||||
width: 300px; |
||||
float: right; |
||||
padding-right: 400px; |
||||
} |
||||
.titulo{ |
||||
font-family: Arial; |
||||
font-size: 30px; |
||||
color:#0174DF; |
||||
} |
||||
body,html,form, table, input, div, select |
||||
{ |
||||
font-size:8pt; |
||||
font-family:verdana, arial, helvetica, sans-serif; |
||||
} |
||||
H3 |
||||
{ |
||||
font-family: Times New Roman; |
||||
font-size: large; |
||||
} |
||||
H4 |
||||
{ |
||||
font-family: Times New Roman; |
||||
font-size: 12pt; |
||||
} |
||||
THEAD |
||||
{ |
||||
background-color: #D7E1F5; |
||||
} |
||||
#resultMessage h4 |
||||
{ |
||||
font-family: Arial, Helvetica, Sans Serif; |
||||
font-size: 12pt; |
||||
font-weight: bold; |
||||
padding: 0px; |
||||
} |
||||
.resultado_datos{ |
||||
font-weight: bold; |
||||
font-size: 12px; |
||||
} |
||||
.resultado_datos span{ |
||||
color: #FF0080; |
||||
font-weight:normal; |
||||
} |
||||
.resultado_datos span.required{ |
||||
color: #888888; |
||||
} |
||||
#progressbar |
||||
{ |
||||
margin-bottom: 10px; |
||||
/*margin-bottom: 30px; |
||||
margin-top: 30px;*/ |
||||
} |
||||
#pagesincro{ |
||||
background: url("images/bg_fondo.png") no-repeat #81DAF5 600px 100px; |
||||
width: 1130px; |
||||
height: 600px; |
||||
padding: 20px; |
||||
} |
||||
#centrado{ |
||||
width: 350px; |
||||
margin: auto; |
||||
/*top: 20%; |
||||
left: 20%; |
||||
margin-top: -480px; /*Restamos la mitad de alto |
||||
margin-left: -550px; /*Restamos la mitad de ancho*/ |
||||
} |
||||
#testInProgress |
||||
{ |
||||
display: none; |
||||
margin-top: 30px; |
||||
} |
||||
#buttonPanel |
||||
{ |
||||
margin: auto; |
||||
/*width: 350px;*/ |
||||
text-align: center; |
||||
} |
||||
#resultMessage |
||||
{ |
||||
display: none; |
||||
margin-left: auto; |
||||
margin-right: auto; |
||||
} |
||||
#statusContainer |
||||
{ |
||||
margin-top: 10px; |
||||
margin-bottom: 10px; |
||||
min-height: 50px; |
||||
position: relative; |
||||
} |
||||
#technicalDetails |
||||
{ |
||||
display: none; |
||||
margin: auto; |
||||
width: 360px; |
||||
padding: 20px; |
||||
background-color: #F2F5A9; |
||||
} |
||||
#mainContentFrame |
||||
{ |
||||
width: 350px; |
||||
margin-left: auto; |
||||
margin-right: auto |
||||
} |
||||
#mainContentFrame .border |
||||
{ |
||||
/* padding: 20px*/ |
||||
} |
||||
@ -0,0 +1,9 @@ |
||||
/* Accordion |
||||
----------------------------------*/ |
||||
.ui-accordion-group {margin-bottom: 1px;} |
||||
.ui-accordion-header { cursor: pointer; position: relative; } |
||||
.ui-accordion-selected .ui-accordion-header { border-bottom: 0; } |
||||
.ui-accordion .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } |
||||
.ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em 2.2em; } |
||||
.ui-accordion-content-wrap { border-top: 0; margin-top: -1px; position: relative; top: 1px; } |
||||
.ui-accordion-content { padding: 1em 2.2em; } |
||||
@ -0,0 +1,7 @@ |
||||
@import url("ui.accordion.css"); |
||||
@import url("ui.datepicker.css"); |
||||
@import url("ui.dialog.css"); |
||||
@import url("ui.progressbar.css"); |
||||
@import url("ui.resizable.css"); |
||||
@import url("ui.slider.css"); |
||||
@import url("ui.tabs.css"); |
||||
@ -0,0 +1,37 @@ |
||||
/* |
||||
* jQuery UI CSS Framework |
||||
* Copyright (c) 2009 AUTHORS.txt (http://ui.jquery.com/about) |
||||
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. |
||||
*/ |
||||
|
||||
/* Layout helpers |
||||
----------------------------------*/ |
||||
.ui-helper-hidden { display: none; } |
||||
.ui-helper-hidden-accessible { position: absolute; left: -99999999px; } |
||||
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } |
||||
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } |
||||
.ui-helper-clearfix { display: inline-block; } |
||||
/* required comment for clearfix to work in Opera \*/ |
||||
* html .ui-helper-clearfix { height:1%; } |
||||
.ui-helper-clearfix { display:block; } |
||||
/* end clearfix */ |
||||
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } |
||||
|
||||
|
||||
/* Interaction Cues |
||||
----------------------------------*/ |
||||
.ui-state-disabled { cursor: default !important; } |
||||
|
||||
|
||||
/* Icons |
||||
----------------------------------*/ |
||||
|
||||
/* states and images */ |
||||
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } |
||||
|
||||
|
||||
/* Misc visuals |
||||
----------------------------------*/ |
||||
|
||||
/* Overlays */ |
||||
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } |
||||
@ -0,0 +1,60 @@ |
||||
/* Datepicker |
||||
----------------------------------*/ |
||||
.ui-datepicker { width: 17em; padding: .2em .2em 0; } |
||||
.ui-datepicker-header { position:relative; padding:.2em 0; } |
||||
.ui-datepicker-prev, .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } |
||||
.ui-datepicker-prev-hover, .ui-datepicker-next-hover { top: 1px; } |
||||
.ui-datepicker-prev { left:2px; } |
||||
.ui-datepicker-next { right:2px; } |
||||
.ui-datepicker-prev-hover { left:1px; } |
||||
.ui-datepicker-next-hover { right:1px; } |
||||
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } |
||||
.ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } |
||||
.ui-datepicker-title select { float:left; font-size:1em; margin:1px 0; } |
||||
.ui-datepicker select.ui-datepicker-month-year {width: 100%;} |
||||
.ui-datepicker select.ui-datepicker-month, |
||||
.ui-datepicker select.ui-datepicker-year { width: 49%;} |
||||
.ui-datepicker-title select.ui-datepicker-year { float: right; } |
||||
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } |
||||
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; } |
||||
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } |
||||
.ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } |
||||
.ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } |
||||
.ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } |
||||
|
||||
/* with multiple calendars */ |
||||
.ui-datepicker.ui-datepicker-multi { width:auto; } |
||||
.ui-datepicker-multi .ui-datepicker-group { float:left; } |
||||
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } |
||||
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } |
||||
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } |
||||
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } |
||||
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } |
||||
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } |
||||
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } |
||||
|
||||
/* RTL support */ |
||||
.ui-datepicker-rtl { direction: rtl; } |
||||
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } |
||||
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } |
||||
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } |
||||
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } |
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } |
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } |
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } |
||||
.ui-datepicker-rtl .ui-datepicker-group { float:right; } |
||||
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } |
||||
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } |
||||
|
||||
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ |
||||
.ui-datepicker-cover { |
||||
display: none; /*sorry for IE5*/ |
||||
display/**/: block; /*sorry for IE5*/ |
||||
position: absolute; /*must have*/ |
||||
z-index: -1; /*must have*/ |
||||
filter: mask(); /*must have*/ |
||||
top: -4px; /*must have*/ |
||||
left: -4px; /*must have*/ |
||||
width: 200px; /*must have*/ |
||||
height: 200px; /*must have*/ |
||||
} |
||||
@ -0,0 +1,13 @@ |
||||
/* Dialog |
||||
----------------------------------*/ |
||||
.ui-dialog { position: relative; padding: .2em; width: 300px; } |
||||
.ui-dialog-titlebar { padding: .5em .3em .3em 1em; position: relative; } |
||||
.ui-dialog-title { float: left; margin: .1em 0 .2em; } |
||||
.ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } |
||||
.ui-dialog-titlebar-close span { display: block; margin: 1px; } |
||||
.ui-dialog-titlebar-close:hover, .ui-dialog-titlebar-close:focus { padding: 0; } |
||||
.ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; } |
||||
.ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } |
||||
.ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; } |
||||
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } |
||||
.ui-draggable .ui-dialog-titlebar { cursor: move; } |
||||
@ -0,0 +1,4 @@ |
||||
/* Progressbar |
||||
----------------------------------*/ |
||||
.ui-progressbar { height:2em; text-align: left; } |
||||
.ui-progressbar-value {margin: -1px; height:100%; } |
||||
@ -0,0 +1,13 @@ |
||||
/* Resizable |
||||
----------------------------------*/ |
||||
.ui-resizable { position: relative;} |
||||
.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;} |
||||
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } |
||||
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0px; } |
||||
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0px; } |
||||
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0px; height: 100%; } |
||||
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0px; height: 100%; } |
||||
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } |
||||
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } |
||||
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } |
||||
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;} |
||||
@ -0,0 +1,13 @@ |
||||
/* Slider |
||||
----------------------------------*/ |
||||
.ui-slider { position: relative; text-align: left; } |
||||
.ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } |
||||
.ui-slider-range { position: absolute; z-index: 1; font-size: 1%; display: block; border: 0; } |
||||
|
||||
.ui-slider-horizontal { height: .8em; } |
||||
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } |
||||
.ui-slider-horizontal .ui-slider-range { position: relative; top: 0; height: 100%; } |
||||
|
||||
.ui-slider-vertical { width: .8em; height: 100%; } |
||||
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } |
||||
.ui-slider-vertical .ui-slider-range { left: 0; height: auto; width: 100%; } |
||||
@ -0,0 +1,9 @@ |
||||
/* Tabs |
||||
----------------------------------*/ |
||||
.ui-tabs {padding: .2em;} |
||||
.ui-tabs-nav { padding: .2em .2em 0 .2em; position: relative; } |
||||
.ui-tabs-nav li { float: left; border-bottom: 0 !important; margin: 0 .2em -1px 0; padding: 0; } |
||||
.ui-tabs-nav li a { display:block; text-decoration: none; padding: .5em 1em; } |
||||
.ui-tabs-nav li.ui-tabs-selected { padding-bottom: .1em; border-bottom: 0; } |
||||
.ui-tabs-panel { padding: 1em 1.4em; display: block; border: 0; background: none; } |
||||
.ui-tabs-hide { display: none !important; } |
||||
@ -0,0 +1,239 @@ |
||||
/* |
||||
* jQuery UI CSS Framework |
||||
* Copyright (c) 2009 AUTHORS.txt (http://ui.jquery.com/about) |
||||
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. |
||||
* To view and modify this theme, visit http://themeroller.com/{themeurl} |
||||
*/ |
||||
|
||||
|
||||
/* Component containers |
||||
----------------------------------*/ |
||||
.ui-widget { font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; font-size: 1.1em/*{fsDefault}*/; } |
||||
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; font-size: 1em; } |
||||
.ui-widget-header { |
||||
background: url("images/barra.png") repeat-x scroll 0 50% #CCCCCC; |
||||
/*border: 1px solid #ccc;*/ |
||||
color: #222222; |
||||
font-weight: bold; |
||||
-moz-border-radius: 45px; |
||||
-webkit-border-radius: 45px; |
||||
} |
||||
#progressPanel{ |
||||
-moz-border-radius: 45px; |
||||
-webkit-border-radius: 45px; |
||||
} |
||||
.ui-widget-header a { color: #222222/*{fcHeader}*/; } |
||||
.ui-widget-content a { color: #222222/*{fcContent}*/; } |
||||
|
||||
/* Interaction states |
||||
----------------------------------*/ |
||||
.ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #d3d3d3/*{borderColorDefault}*/; background: #e6e6e6/*{bgColorDefault}*/ url(images/e6e6e6_40x100_textures_02_glass_75.png)/*{bgImgUrlDefault}*/ 0/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #555555/*{fcDefault}*/; outline: none; } |
||||
.ui-state-default a { color: #555555/*{fcDefault}*/; text-decoration: none; outline: none; } |
||||
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #999999/*{borderColorHover}*/; background: #dadada/*{bgColorHover}*/ url(images/dadada_40x100_textures_02_glass_75.png)/*{bgImgUrlHover}*/ 0/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcHover}*/; outline: none; } |
||||
.ui-state-hover a { color: #212121/*{fcHover}*/; text-decoration: none; outline: none; } |
||||
.ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #aaaaaa/*{borderColorActive}*/; background: #ffffff/*{bgColorActive}*/ url(images/ffffff_40x100_textures_02_glass_65.png)/*{bgImgUrlActive}*/ 0/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcActive}*/; outline: none; } |
||||
.ui-state-active a { color: #212121/*{fcActive}*/; outline: none; text-decoration: none; } |
||||
|
||||
/* Interaction Cues |
||||
----------------------------------*/ |
||||
.ui-state-highlight, .ui-widget-content .ui-state-highlight {border: 1px solid #fcefa1/*{borderColorHighlight}*/; background: #fbf9ee/*{bgColorHighlight}*/ url(images/fbf9ee_40x100_textures_02_glass_55.png)/*{bgImgUrlHighlight}*/ 0/*{bgHighlightXPos}*/ 50%/*{bgHighlightYPos}*/ repeat-x/*{bgHighlightRepeat}*/; color: #363636/*{fcHighlight}*/; } |
||||
.ui-state-error, .ui-widget-content .ui-state-error {border: 1px solid #cd0a0a/*{borderColorError}*/; background: #fef1ec/*{bgColorError}*/ url(images/fef1ec_40x100_textures_05_inset_soft_95.png)/*{bgImgUrlError}*/ 0/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/; color: #cd0a0a/*{fcError}*/; } |
||||
.ui-state-error-text, .ui-widget-content .ui-state-error-text { color: #cd0a0a/*{fcError}*/; } |
||||
.ui-state-disabled, .ui-widget-content .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } |
||||
.ui-priority-primary, .ui-widget-content .ui-priority-primary { font-weight: bold; } |
||||
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } |
||||
|
||||
/* Icons |
||||
----------------------------------*/ |
||||
|
||||
/* states and images */ |
||||
.ui-icon { width: 16px; height: 16px; background-image: url(images/222222_256x240_icons_icons.png)/*{iconsContent}*/; } |
||||
.ui-widget-content .ui-icon {background-image: url(images/222222_256x240_icons_icons.png)/*{iconsContent}*/; } |
||||
.ui-widget-header .ui-icon {background-image: url(images/222222_256x240_icons_icons.png)/*{iconsHeader}*/; } |
||||
.ui-state-default .ui-icon { background-image: url(images/888888_256x240_icons_icons.png)/*{iconsDefault}*/; } |
||||
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/454545_256x240_icons_icons.png)/*{iconsHover}*/; } |
||||
.ui-state-active .ui-icon {background-image: url(images/454545_256x240_icons_icons.png)/*{iconsActive}*/; } |
||||
.ui-state-highlight .ui-icon {background-image: url(images/2e83ff_256x240_icons_icons.png)/*{iconsHighlight}*/; } |
||||
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/cd0a0a_256x240_icons_icons.png)/*{iconsError}*/; } |
||||
|
||||
/* positioning */ |
||||
.ui-icon-carat-1-n { background-position: 0 0; } |
||||
.ui-icon-carat-1-ne { background-position: -16px 0; } |
||||
.ui-icon-carat-1-e { background-position: -32px 0; } |
||||
.ui-icon-carat-1-se { background-position: -48px 0; } |
||||
.ui-icon-carat-1-s { background-position: -64px 0; } |
||||
.ui-icon-carat-1-sw { background-position: -80px 0; } |
||||
.ui-icon-carat-1-w { background-position: -96px 0; } |
||||
.ui-icon-carat-1-nw { background-position: -112px 0; } |
||||
.ui-icon-carat-2-n-s { background-position: -128px 0; } |
||||
.ui-icon-carat-2-e-w { background-position: -144px 0; } |
||||
.ui-icon-triangle-1-n { background-position: 0 -16px; } |
||||
.ui-icon-triangle-1-ne { background-position: -16px -16px; } |
||||
.ui-icon-triangle-1-e { background-position: -32px -16px; } |
||||
.ui-icon-triangle-1-se { background-position: -48px -16px; } |
||||
.ui-icon-triangle-1-s { background-position: -64px -16px; } |
||||
.ui-icon-triangle-1-sw { background-position: -80px -16px; } |
||||
.ui-icon-triangle-1-w { background-position: -96px -16px; } |
||||
.ui-icon-triangle-1-nw { background-position: -112px -16px; } |
||||
.ui-icon-triangle-2-n-s { background-position: -128px -16px; } |
||||
.ui-icon-triangle-2-e-w { background-position: -144px -16px; } |
||||
.ui-icon-arrow-1-n { background-position: 0 -32px; } |
||||
.ui-icon-arrow-1-ne { background-position: -16px -32px; } |
||||
.ui-icon-arrow-1-e { background-position: -32px -32px; } |
||||
.ui-icon-arrow-1-se { background-position: -48px -32px; } |
||||
.ui-icon-arrow-1-s { background-position: -64px -32px; } |
||||
.ui-icon-arrow-1-sw { background-position: -80px -32px; } |
||||
.ui-icon-arrow-1-w { background-position: -96px -32px; } |
||||
.ui-icon-arrow-1-nw { background-position: -112px -32px; } |
||||
.ui-icon-arrow-2-n-s { background-position: -128px -32px; } |
||||
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } |
||||
.ui-icon-arrow-2-e-w { background-position: -160px -32px; } |
||||
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } |
||||
.ui-icon-arrowstop-1-n { background-position: -192px -32px; } |
||||
.ui-icon-arrowstop-1-e { background-position: -208px -32px; } |
||||
.ui-icon-arrowstop-1-s { background-position: -224px -32px; } |
||||
.ui-icon-arrowstop-1-w { background-position: -240px -32px; } |
||||
.ui-icon-arrowthick-1-n { background-position: 0 -48px; } |
||||
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } |
||||
.ui-icon-arrowthick-1-e { background-position: -32px -48px; } |
||||
.ui-icon-arrowthick-1-se { background-position: -48px -48px; } |
||||
.ui-icon-arrowthick-1-s { background-position: -64px -48px; } |
||||
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } |
||||
.ui-icon-arrowthick-1-w { background-position: -96px -48px; } |
||||
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } |
||||
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } |
||||
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } |
||||
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } |
||||
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } |
||||
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } |
||||
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } |
||||
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } |
||||
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } |
||||
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } |
||||
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } |
||||
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } |
||||
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } |
||||
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } |
||||
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } |
||||
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } |
||||
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } |
||||
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } |
||||
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } |
||||
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } |
||||
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } |
||||
.ui-icon-arrow-4 { background-position: 0 -80px; } |
||||
.ui-icon-arrow-4-diag { background-position: -16px -80px; } |
||||
.ui-icon-extlink { background-position: -32px -80px; } |
||||
.ui-icon-newwin { background-position: -48px -80px; } |
||||
.ui-icon-refresh { background-position: -64px -80px; } |
||||
.ui-icon-shuffle { background-position: -80px -80px; } |
||||
.ui-icon-transfer-e-w { background-position: -96px -80px; } |
||||
.ui-icon-transferthick-e-w { background-position: -112px -80px; } |
||||
.ui-icon-folder-collapsed { background-position: 0 -96px; } |
||||
.ui-icon-folder-open { background-position: -16px -96px; } |
||||
.ui-icon-document { background-position: -32px -96px; } |
||||
.ui-icon-document-b { background-position: -48px -96px; } |
||||
.ui-icon-note { background-position: -64px -96px; } |
||||
.ui-icon-mail-closed { background-position: -80px -96px; } |
||||
.ui-icon-mail-open { background-position: -96px -96px; } |
||||
.ui-icon-suitcase { background-position: -112px -96px; } |
||||
.ui-icon-comment { background-position: -128px -96px; } |
||||
.ui-icon-person { background-position: -144px -96px; } |
||||
.ui-icon-print { background-position: -160px -96px; } |
||||
.ui-icon-trash { background-position: -176px -96px; } |
||||
.ui-icon-locked { background-position: -192px -96px; } |
||||
.ui-icon-unlocked { background-position: -208px -96px; } |
||||
.ui-icon-bookmark { background-position: -224px -96px; } |
||||
.ui-icon-tag { background-position: -240px -96px; } |
||||
.ui-icon-home { background-position: 0 -112px; } |
||||
.ui-icon-flag { background-position: -16px -112px; } |
||||
.ui-icon-calendar { background-position: -32px -112px; } |
||||
.ui-icon-cart { background-position: -48px -112px; } |
||||
.ui-icon-pencil { background-position: -64px -112px; } |
||||
.ui-icon-clock { background-position: -80px -112px; } |
||||
.ui-icon-disk { background-position: -96px -112px; } |
||||
.ui-icon-calculator { background-position: -112px -112px; } |
||||
.ui-icon-zoomin { background-position: -128px -112px; } |
||||
.ui-icon-zoomout { background-position: -144px -112px; } |
||||
.ui-icon-search { background-position: -160px -112px; } |
||||
.ui-icon-wrench { background-position: -176px -112px; } |
||||
.ui-icon-gear { background-position: -192px -112px; } |
||||
.ui-icon-heart { background-position: -208px -112px; } |
||||
.ui-icon-star { background-position: -224px -112px; } |
||||
.ui-icon-link { background-position: -240px -112px; } |
||||
.ui-icon-cancel { background-position: 0 -128px; } |
||||
.ui-icon-plus { background-position: -16px -128px; } |
||||
.ui-icon-plusthick { background-position: -32px -128px; } |
||||
.ui-icon-minus { background-position: -48px -128px; } |
||||
.ui-icon-minusthick { background-position: -64px -128px; } |
||||
.ui-icon-close { background-position: -80px -128px; } |
||||
.ui-icon-closethick { background-position: -96px -128px; } |
||||
.ui-icon-key { background-position: -112px -128px; } |
||||
.ui-icon-lightbulb { background-position: -128px -128px; } |
||||
.ui-icon-scissors { background-position: -144px -128px; } |
||||
.ui-icon-clipboard { background-position: -160px -128px; } |
||||
.ui-icon-copy { background-position: -176px -128px; } |
||||
.ui-icon-contact { background-position: -192px -128px; } |
||||
.ui-icon-image { background-position: -208px -128px; } |
||||
.ui-icon-video { background-position: -224px -128px; } |
||||
.ui-icon-alert { background-position: 0 -144px; } |
||||
.ui-icon-info { background-position: -16px -144px; } |
||||
.ui-icon-notice { background-position: -32px -144px; } |
||||
.ui-icon-help { background-position: -48px -144px; } |
||||
.ui-icon-check { background-position: -64px -144px; } |
||||
.ui-icon-bullet { background-position: -80px -144px; } |
||||
.ui-icon-radio-off { background-position: -96px -144px; } |
||||
.ui-icon-radio-on { background-position: -112px -144px; } |
||||
.ui-icon-pin-w { background-position: -128px -144px; } |
||||
.ui-icon-pin-s { background-position: -144px -144px; } |
||||
.ui-icon-play { background-position: 0 -160px; } |
||||
.ui-icon-pause { background-position: -16px -160px; } |
||||
.ui-icon-seek-next { background-position: -32px -160px; } |
||||
.ui-icon-seek-prev { background-position: -48px -160px; } |
||||
.ui-icon-seek-end { background-position: -64px -160px; } |
||||
.ui-icon-seek-first { background-position: -80px -160px; } |
||||
.ui-icon-stop { background-position: -96px -160px; } |
||||
.ui-icon-eject { background-position: -112px -160px; } |
||||
.ui-icon-volume-off { background-position: -128px -160px; } |
||||
.ui-icon-volume-on { background-position: -144px -160px; } |
||||
.ui-icon-power { background-position: 0 -176px; } |
||||
.ui-icon-signal-diag { background-position: -16px -176px; } |
||||
.ui-icon-signal { background-position: -32px -176px; } |
||||
.ui-icon-battery-0 { background-position: -48px -176px; } |
||||
.ui-icon-battery-1 { background-position: -64px -176px; } |
||||
.ui-icon-battery-2 { background-position: -80px -176px; } |
||||
.ui-icon-battery-3 { background-position: -96px -176px; } |
||||
.ui-icon-circle-plus { background-position: 0 -192px; } |
||||
.ui-icon-circle-minus { background-position: -16px -192px; } |
||||
.ui-icon-circle-close { background-position: -32px -192px; } |
||||
.ui-icon-circle-triangle-e { background-position: -48px -192px; } |
||||
.ui-icon-circle-triangle-s { background-position: -64px -192px; } |
||||
.ui-icon-circle-triangle-w { background-position: -80px -192px; } |
||||
.ui-icon-circle-triangle-n { background-position: -96px -192px; } |
||||
.ui-icon-circle-arrow-e { background-position: -112px -192px; } |
||||
.ui-icon-circle-arrow-s { background-position: -128px -192px; } |
||||
.ui-icon-circle-arrow-w { background-position: -144px -192px; } |
||||
.ui-icon-circle-arrow-n { background-position: -160px -192px; } |
||||
.ui-icon-circle-zoomin { background-position: -176px -192px; } |
||||
.ui-icon-circle-zoomout { background-position: -192px -192px; } |
||||
.ui-icon-circle-check { background-position: -208px -192px; } |
||||
.ui-icon-circlesmall-plus { background-position: 0 -208px; } |
||||
.ui-icon-circlesmall-minus { background-position: -16px -208px; } |
||||
.ui-icon-circlesmall-close { background-position: -32px -208px; } |
||||
.ui-icon-squaresmall-plus { background-position: -48px -208px; } |
||||
.ui-icon-squaresmall-minus { background-position: -64px -208px; } |
||||
.ui-icon-squaresmall-close { background-position: -80px -208px; } |
||||
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } |
||||
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } |
||||
.ui-icon-grip-solid-vertical { background-position: -32px -224px; } |
||||
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } |
||||
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } |
||||
.ui-icon-grip-diagonal-se { background-position: -80px -224px; } |
||||
|
||||
|
||||
/* Misc visuals |
||||
----------------------------------*/ |
||||
|
||||
/* Overlays */ |
||||
.ui-widget-overlay { background: #aaaaaa/*{bgColorOverlay}*/ none/*{bgImgUrlOverlay}*/ 0/*{bgOverlayXPos}*/ 0/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/; opacity: .3;filter:Alpha(Opacity=30)/*{opacityOverlay}*/; } |
||||
.ui-widget-shadow { margin: -4px/*{offsetTopShadow}*/ 0 0 -4px/*{offsetLeftShadow}*/; padding: 4px/*{thicknessShadow}*/; background: #aaaaaa/*{bgColorShadow}*/ none/*{bgImgUrlShadow}*/ 0/*{bgShadowXPos}*/ 0/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/; opacity: .35;filter:Alpha(Opacity=35)/*{opacityShadow}*/; -moz-border-radius: 4px/*{cornerRadiusShadow}*/; -webkit-border-radius: 4px/*{cornerRadiusShadow}*/; } |
||||
@ -0,0 +1,240 @@ |
||||
/* |
||||
* jQuery UI CSS Framework |
||||
* Copyright (c) 2009 AUTHORS.txt (http://ui.jquery.com/about) |
||||
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. |
||||
* To view and modify this theme, visit http://themeroller.com/{themeurl} |
||||
*/ |
||||
|
||||
|
||||
/* Component containers |
||||
----------------------------------*/ |
||||
.ui-widget { font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; font-size: 1.1em/*{fsDefault}*/; } |
||||
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; font-size: 1em; } |
||||
.ui-widget-header { |
||||
background: url("images/barra.png") repeat-x scroll 0 50% #CCCCCC; |
||||
/*border: 1px solid #ccc;*/ |
||||
color: #222222; |
||||
font-weight: bold; |
||||
-moz-border-radius: 45px; |
||||
-webkit-border-radius: 45px; |
||||
} |
||||
#progressPanel{ |
||||
-moz-border-radius: 45px; |
||||
-webkit-border-radius: 45px; |
||||
} |
||||
.ui-widget-header a { color: #222222/*{fcHeader}*/; } |
||||
.ui-widget-content { background: #ffffff/*{bgColorContent}*/ url(images/ffffff_40x100_textures_02_glass_75.png)/*{bgImgUrlContent}*/ 0/*{bgContentXPos}*/ 0/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/; color: #222222/*{fcContent}*/; } |
||||
.ui-widget-content a { color: #222222/*{fcContent}*/; } |
||||
|
||||
/* Interaction states |
||||
----------------------------------*/ |
||||
.ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #d3d3d3/*{borderColorDefault}*/; background: #e6e6e6/*{bgColorDefault}*/ url(images/e6e6e6_40x100_textures_02_glass_75.png)/*{bgImgUrlDefault}*/ 0/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #555555/*{fcDefault}*/; outline: none; } |
||||
.ui-state-default a { color: #555555/*{fcDefault}*/; text-decoration: none; outline: none; } |
||||
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #999999/*{borderColorHover}*/; background: #dadada/*{bgColorHover}*/ url(images/dadada_40x100_textures_02_glass_75.png)/*{bgImgUrlHover}*/ 0/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcHover}*/; outline: none; } |
||||
.ui-state-hover a { color: #212121/*{fcHover}*/; text-decoration: none; outline: none; } |
||||
.ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #aaaaaa/*{borderColorActive}*/; background: #ffffff/*{bgColorActive}*/ url(images/ffffff_40x100_textures_02_glass_65.png)/*{bgImgUrlActive}*/ 0/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcActive}*/; outline: none; } |
||||
.ui-state-active a { color: #212121/*{fcActive}*/; outline: none; text-decoration: none; } |
||||
|
||||
/* Interaction Cues |
||||
----------------------------------*/ |
||||
.ui-state-highlight, .ui-widget-content .ui-state-highlight {border: 1px solid #fcefa1/*{borderColorHighlight}*/; background: #fbf9ee/*{bgColorHighlight}*/ url(images/fbf9ee_40x100_textures_02_glass_55.png)/*{bgImgUrlHighlight}*/ 0/*{bgHighlightXPos}*/ 50%/*{bgHighlightYPos}*/ repeat-x/*{bgHighlightRepeat}*/; color: #363636/*{fcHighlight}*/; } |
||||
.ui-state-error, .ui-widget-content .ui-state-error {border: 1px solid #cd0a0a/*{borderColorError}*/; background: #fef1ec/*{bgColorError}*/ url(images/fef1ec_40x100_textures_05_inset_soft_95.png)/*{bgImgUrlError}*/ 0/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/; color: #cd0a0a/*{fcError}*/; } |
||||
.ui-state-error-text, .ui-widget-content .ui-state-error-text { color: #cd0a0a/*{fcError}*/; } |
||||
.ui-state-disabled, .ui-widget-content .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } |
||||
.ui-priority-primary, .ui-widget-content .ui-priority-primary { font-weight: bold; } |
||||
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } |
||||
|
||||
/* Icons |
||||
----------------------------------*/ |
||||
|
||||
/* states and images */ |
||||
.ui-icon { width: 16px; height: 16px; background-image: url(images/222222_256x240_icons_icons.png)/*{iconsContent}*/; } |
||||
.ui-widget-content .ui-icon {background-image: url(images/222222_256x240_icons_icons.png)/*{iconsContent}*/; } |
||||
.ui-widget-header .ui-icon {background-image: url(images/222222_256x240_icons_icons.png)/*{iconsHeader}*/; } |
||||
.ui-state-default .ui-icon { background-image: url(images/888888_256x240_icons_icons.png)/*{iconsDefault}*/; } |
||||
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/454545_256x240_icons_icons.png)/*{iconsHover}*/; } |
||||
.ui-state-active .ui-icon {background-image: url(images/454545_256x240_icons_icons.png)/*{iconsActive}*/; } |
||||
.ui-state-highlight .ui-icon {background-image: url(images/2e83ff_256x240_icons_icons.png)/*{iconsHighlight}*/; } |
||||
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/cd0a0a_256x240_icons_icons.png)/*{iconsError}*/; } |
||||
|
||||
/* positioning */ |
||||
.ui-icon-carat-1-n { background-position: 0 0; } |
||||
.ui-icon-carat-1-ne { background-position: -16px 0; } |
||||
.ui-icon-carat-1-e { background-position: -32px 0; } |
||||
.ui-icon-carat-1-se { background-position: -48px 0; } |
||||
.ui-icon-carat-1-s { background-position: -64px 0; } |
||||
.ui-icon-carat-1-sw { background-position: -80px 0; } |
||||
.ui-icon-carat-1-w { background-position: -96px 0; } |
||||
.ui-icon-carat-1-nw { background-position: -112px 0; } |
||||
.ui-icon-carat-2-n-s { background-position: -128px 0; } |
||||
.ui-icon-carat-2-e-w { background-position: -144px 0; } |
||||
.ui-icon-triangle-1-n { background-position: 0 -16px; } |
||||
.ui-icon-triangle-1-ne { background-position: -16px -16px; } |
||||
.ui-icon-triangle-1-e { background-position: -32px -16px; } |
||||
.ui-icon-triangle-1-se { background-position: -48px -16px; } |
||||
.ui-icon-triangle-1-s { background-position: -64px -16px; } |
||||
.ui-icon-triangle-1-sw { background-position: -80px -16px; } |
||||
.ui-icon-triangle-1-w { background-position: -96px -16px; } |
||||
.ui-icon-triangle-1-nw { background-position: -112px -16px; } |
||||
.ui-icon-triangle-2-n-s { background-position: -128px -16px; } |
||||
.ui-icon-triangle-2-e-w { background-position: -144px -16px; } |
||||
.ui-icon-arrow-1-n { background-position: 0 -32px; } |
||||
.ui-icon-arrow-1-ne { background-position: -16px -32px; } |
||||
.ui-icon-arrow-1-e { background-position: -32px -32px; } |
||||
.ui-icon-arrow-1-se { background-position: -48px -32px; } |
||||
.ui-icon-arrow-1-s { background-position: -64px -32px; } |
||||
.ui-icon-arrow-1-sw { background-position: -80px -32px; } |
||||
.ui-icon-arrow-1-w { background-position: -96px -32px; } |
||||
.ui-icon-arrow-1-nw { background-position: -112px -32px; } |
||||
.ui-icon-arrow-2-n-s { background-position: -128px -32px; } |
||||
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } |
||||
.ui-icon-arrow-2-e-w { background-position: -160px -32px; } |
||||
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } |
||||
.ui-icon-arrowstop-1-n { background-position: -192px -32px; } |
||||
.ui-icon-arrowstop-1-e { background-position: -208px -32px; } |
||||
.ui-icon-arrowstop-1-s { background-position: -224px -32px; } |
||||
.ui-icon-arrowstop-1-w { background-position: -240px -32px; } |
||||
.ui-icon-arrowthick-1-n { background-position: 0 -48px; } |
||||
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } |
||||
.ui-icon-arrowthick-1-e { background-position: -32px -48px; } |
||||
.ui-icon-arrowthick-1-se { background-position: -48px -48px; } |
||||
.ui-icon-arrowthick-1-s { background-position: -64px -48px; } |
||||
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } |
||||
.ui-icon-arrowthick-1-w { background-position: -96px -48px; } |
||||
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } |
||||
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } |
||||
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } |
||||
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } |
||||
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } |
||||
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } |
||||
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } |
||||
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } |
||||
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } |
||||
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } |
||||
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } |
||||
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } |
||||
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } |
||||
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } |
||||
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } |
||||
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } |
||||
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } |
||||
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } |
||||
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } |
||||
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } |
||||
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } |
||||
.ui-icon-arrow-4 { background-position: 0 -80px; } |
||||
.ui-icon-arrow-4-diag { background-position: -16px -80px; } |
||||
.ui-icon-extlink { background-position: -32px -80px; } |
||||
.ui-icon-newwin { background-position: -48px -80px; } |
||||
.ui-icon-refresh { background-position: -64px -80px; } |
||||
.ui-icon-shuffle { background-position: -80px -80px; } |
||||
.ui-icon-transfer-e-w { background-position: -96px -80px; } |
||||
.ui-icon-transferthick-e-w { background-position: -112px -80px; } |
||||
.ui-icon-folder-collapsed { background-position: 0 -96px; } |
||||
.ui-icon-folder-open { background-position: -16px -96px; } |
||||
.ui-icon-document { background-position: -32px -96px; } |
||||
.ui-icon-document-b { background-position: -48px -96px; } |
||||
.ui-icon-note { background-position: -64px -96px; } |
||||
.ui-icon-mail-closed { background-position: -80px -96px; } |
||||
.ui-icon-mail-open { background-position: -96px -96px; } |
||||
.ui-icon-suitcase { background-position: -112px -96px; } |
||||
.ui-icon-comment { background-position: -128px -96px; } |
||||
.ui-icon-person { background-position: -144px -96px; } |
||||
.ui-icon-print { background-position: -160px -96px; } |
||||
.ui-icon-trash { background-position: -176px -96px; } |
||||
.ui-icon-locked { background-position: -192px -96px; } |
||||
.ui-icon-unlocked { background-position: -208px -96px; } |
||||
.ui-icon-bookmark { background-position: -224px -96px; } |
||||
.ui-icon-tag { background-position: -240px -96px; } |
||||
.ui-icon-home { background-position: 0 -112px; } |
||||
.ui-icon-flag { background-position: -16px -112px; } |
||||
.ui-icon-calendar { background-position: -32px -112px; } |
||||
.ui-icon-cart { background-position: -48px -112px; } |
||||
.ui-icon-pencil { background-position: -64px -112px; } |
||||
.ui-icon-clock { background-position: -80px -112px; } |
||||
.ui-icon-disk { background-position: -96px -112px; } |
||||
.ui-icon-calculator { background-position: -112px -112px; } |
||||
.ui-icon-zoomin { background-position: -128px -112px; } |
||||
.ui-icon-zoomout { background-position: -144px -112px; } |
||||
.ui-icon-search { background-position: -160px -112px; } |
||||
.ui-icon-wrench { background-position: -176px -112px; } |
||||
.ui-icon-gear { background-position: -192px -112px; } |
||||
.ui-icon-heart { background-position: -208px -112px; } |
||||
.ui-icon-star { background-position: -224px -112px; } |
||||
.ui-icon-link { background-position: -240px -112px; } |
||||
.ui-icon-cancel { background-position: 0 -128px; } |
||||
.ui-icon-plus { background-position: -16px -128px; } |
||||
.ui-icon-plusthick { background-position: -32px -128px; } |
||||
.ui-icon-minus { background-position: -48px -128px; } |
||||
.ui-icon-minusthick { background-position: -64px -128px; } |
||||
.ui-icon-close { background-position: -80px -128px; } |
||||
.ui-icon-closethick { background-position: -96px -128px; } |
||||
.ui-icon-key { background-position: -112px -128px; } |
||||
.ui-icon-lightbulb { background-position: -128px -128px; } |
||||
.ui-icon-scissors { background-position: -144px -128px; } |
||||
.ui-icon-clipboard { background-position: -160px -128px; } |
||||
.ui-icon-copy { background-position: -176px -128px; } |
||||
.ui-icon-contact { background-position: -192px -128px; } |
||||
.ui-icon-image { background-position: -208px -128px; } |
||||
.ui-icon-video { background-position: -224px -128px; } |
||||
.ui-icon-alert { background-position: 0 -144px; } |
||||
.ui-icon-info { background-position: -16px -144px; } |
||||
.ui-icon-notice { background-position: -32px -144px; } |
||||
.ui-icon-help { background-position: -48px -144px; } |
||||
.ui-icon-check { background-position: -64px -144px; } |
||||
.ui-icon-bullet { background-position: -80px -144px; } |
||||
.ui-icon-radio-off { background-position: -96px -144px; } |
||||
.ui-icon-radio-on { background-position: -112px -144px; } |
||||
.ui-icon-pin-w { background-position: -128px -144px; } |
||||
.ui-icon-pin-s { background-position: -144px -144px; } |
||||
.ui-icon-play { background-position: 0 -160px; } |
||||
.ui-icon-pause { background-position: -16px -160px; } |
||||
.ui-icon-seek-next { background-position: -32px -160px; } |
||||
.ui-icon-seek-prev { background-position: -48px -160px; } |
||||
.ui-icon-seek-end { background-position: -64px -160px; } |
||||
.ui-icon-seek-first { background-position: -80px -160px; } |
||||
.ui-icon-stop { background-position: -96px -160px; } |
||||
.ui-icon-eject { background-position: -112px -160px; } |
||||
.ui-icon-volume-off { background-position: -128px -160px; } |
||||
.ui-icon-volume-on { background-position: -144px -160px; } |
||||
.ui-icon-power { background-position: 0 -176px; } |
||||
.ui-icon-signal-diag { background-position: -16px -176px; } |
||||
.ui-icon-signal { background-position: -32px -176px; } |
||||
.ui-icon-battery-0 { background-position: -48px -176px; } |
||||
.ui-icon-battery-1 { background-position: -64px -176px; } |
||||
.ui-icon-battery-2 { background-position: -80px -176px; } |
||||
.ui-icon-battery-3 { background-position: -96px -176px; } |
||||
.ui-icon-circle-plus { background-position: 0 -192px; } |
||||
.ui-icon-circle-minus { background-position: -16px -192px; } |
||||
.ui-icon-circle-close { background-position: -32px -192px; } |
||||
.ui-icon-circle-triangle-e { background-position: -48px -192px; } |
||||
.ui-icon-circle-triangle-s { background-position: -64px -192px; } |
||||
.ui-icon-circle-triangle-w { background-position: -80px -192px; } |
||||
.ui-icon-circle-triangle-n { background-position: -96px -192px; } |
||||
.ui-icon-circle-arrow-e { background-position: -112px -192px; } |
||||
.ui-icon-circle-arrow-s { background-position: -128px -192px; } |
||||
.ui-icon-circle-arrow-w { background-position: -144px -192px; } |
||||
.ui-icon-circle-arrow-n { background-position: -160px -192px; } |
||||
.ui-icon-circle-zoomin { background-position: -176px -192px; } |
||||
.ui-icon-circle-zoomout { background-position: -192px -192px; } |
||||
.ui-icon-circle-check { background-position: -208px -192px; } |
||||
.ui-icon-circlesmall-plus { background-position: 0 -208px; } |
||||
.ui-icon-circlesmall-minus { background-position: -16px -208px; } |
||||
.ui-icon-circlesmall-close { background-position: -32px -208px; } |
||||
.ui-icon-squaresmall-plus { background-position: -48px -208px; } |
||||
.ui-icon-squaresmall-minus { background-position: -64px -208px; } |
||||
.ui-icon-squaresmall-close { background-position: -80px -208px; } |
||||
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } |
||||
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } |
||||
.ui-icon-grip-solid-vertical { background-position: -32px -224px; } |
||||
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } |
||||
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } |
||||
.ui-icon-grip-diagonal-se { background-position: -80px -224px; } |
||||
|
||||
|
||||
/* Misc visuals |
||||
----------------------------------*/ |
||||
|
||||
/* Overlays */ |
||||
.ui-widget-overlay { background: #aaaaaa/*{bgColorOverlay}*/ none/*{bgImgUrlOverlay}*/ 0/*{bgOverlayXPos}*/ 0/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/; opacity: .3;filter:Alpha(Opacity=30)/*{opacityOverlay}*/; } |
||||
.ui-widget-shadow { margin: -4px/*{offsetTopShadow}*/ 0 0 -4px/*{offsetLeftShadow}*/; padding: 4px/*{thicknessShadow}*/; background: #aaaaaa/*{bgColorShadow}*/ none/*{bgImgUrlShadow}*/ 0/*{bgShadowXPos}*/ 0/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/; opacity: .35;filter:Alpha(Opacity=35)/*{opacityShadow}*/; -moz-border-radius: 4px/*{cornerRadiusShadow}*/; -webkit-border-radius: 4px/*{cornerRadiusShadow}*/; } |
||||
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 20 KiB |
@ -0,0 +1,3 @@ |
||||
# We need to allow POST on .html files since we are uploading data using HTTP POST |
||||
# If HTTP POST is disallowed, the test will not functioning properly. |
||||
AddType application/x-httpd-php .php .htm .html |
||||
@ -0,0 +1,4 @@ |
||||
<?php |
||||
require '../main/inc/global.inc.php'; |
||||
$csv = 'list.csv'; //a list of institutions as Name;IP;latitude:longitude\n |
||||
|
||||
@ -0,0 +1,628 @@ |
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
||||
<html xmlns="http://www.w3.org/1999/xhtml"> |
||||
<head> |
||||
<link rel="stylesheet" href="themes/base/ui.all.css"/> |
||||
<script type="text/javascript" src="jquery-1.3.1.min.js"></script> |
||||
<script type="text/javascript" src="jquery.query-2.0.1.js"></script> |
||||
<script type="text/javascript" src="ui.core.min.js"></script> |
||||
<script type="text/javascript" src="ui.progressbar.min.js"></script> |
||||
<script type="text/javascript" src="config.js"></script> |
||||
<script type="text/javascript"> |
||||
<!-- |
||||
var start_time = 0; |
||||
|
||||
function Timer() |
||||
{ |
||||
this.startTime = 0; |
||||
this.endTime = 0; |
||||
|
||||
Timer.prototype.Reset = function() |
||||
{ |
||||
this.startTime = new Date().getTime(); |
||||
this.endTime = 0; |
||||
} |
||||
|
||||
Timer.prototype.Stop = function() |
||||
{ |
||||
this.endTime = new Date().getTime(); |
||||
return this.endTime - this.startTime; |
||||
} |
||||
|
||||
Timer.prototype.Value = function() |
||||
{ |
||||
var end = this.endTime; |
||||
if( end == 0 && this.startTime != 0 ) |
||||
end = new Date().getTime(); |
||||
return end - this.startTime; |
||||
} |
||||
|
||||
this.Reset(); |
||||
} |
||||
|
||||
Number.prototype.timeString = function() |
||||
{ |
||||
if( this >= 1000 ) |
||||
return roundNumber( this / 1000, 2 ).toString() + " s"; |
||||
return this.toString() + " ms"; |
||||
} |
||||
|
||||
Number.prototype.speedString = function() |
||||
{ |
||||
if( this >= 1000 ) |
||||
return roundNumber( this / 1000, 1 ).toString() + " Mbit/s"; |
||||
return this.toString() + " kbit/s"; |
||||
} |
||||
|
||||
function WebClientRequest( method, url ) |
||||
{ |
||||
this.timer = new Timer; |
||||
this.url = url; |
||||
this.data = ""; |
||||
this.method = method; |
||||
|
||||
this.GetResponse = function(readData) { |
||||
var response = new WebClientResponse(this, readData); |
||||
this.timer.Reset(); |
||||
$.ajax({ |
||||
url: this.url, |
||||
cache: false, |
||||
async: false, |
||||
processData: false, |
||||
data: this.data, |
||||
type: this.method, |
||||
dataType: "text", |
||||
contentType: "text/plain; charset=x-user-defined", |
||||
complete: response.InternalRequestCompleted(), |
||||
beforeSend: function(xhr) { |
||||
xhr.setRequestHeader("Accept-Encoding", "identity;q=1,gzip;q=0"); |
||||
}, |
||||
error: function(e) { |
||||
if (e.status == 200) |
||||
return; // We do get here in IE7 on Vista, even though the request performed well.. |
||||
if (e.status == 405) |
||||
alert("Your web server does not allow HTTP POST to this HTML file.\nPlease review your configuration."); |
||||
} |
||||
}); |
||||
|
||||
return response; |
||||
}; |
||||
} |
||||
|
||||
function WebClientResponse( request, readData ) |
||||
{ |
||||
this.request = request; |
||||
this.readData = readData; |
||||
this.data = ""; |
||||
this.status = ""; |
||||
this.statusText = ""; |
||||
this.contentLength = 0; |
||||
this.bytesTransferred = 0; |
||||
this.GetTime = function() { return this.request.timer.Value(); } |
||||
this.GetSpeed = function() { return roundNumber( ( this.bytesTransferred * 0.008 ) / ( this.GetTime() / 1000 ), 0 ); } |
||||
|
||||
this.InternalRequestCompleted = function() { |
||||
var response = this; |
||||
return function(xhr) { |
||||
response.status = xhr.status; |
||||
response.statusText = xhr.statusText; |
||||
var contentLengthHeader = xhr.getResponseHeader("Content-Length"); |
||||
|
||||
if (null != contentLengthHeader && contentLengthHeader.length > 0) |
||||
response.contentLength = parseInt(contentLengthHeader); |
||||
else if (null != xhr.responseText) |
||||
response.contentLength = xhr.responseText.length; |
||||
else |
||||
response.contentLength = 0; |
||||
|
||||
if (response.request.method == "POST") |
||||
response.contentLength = request.data.length; |
||||
if (response.request.method != "HEAD") |
||||
response.bytesTransferred = response.contentLength; |
||||
if (response.readData) |
||||
response.data = xhr.responseText; |
||||
response.request.timer.Stop(); |
||||
} |
||||
}; |
||||
} |
||||
|
||||
function WebClient() |
||||
{ |
||||
WebClient.prototype.Download = function( url, readData ) |
||||
{ |
||||
if (url.indexOf("?") == -1) |
||||
qs = '?sid=' + Math.random(); |
||||
else |
||||
qs = '&sid=' + Math.random(); |
||||
|
||||
return new WebClientRequest("GET", url + qs).GetResponse(readData); |
||||
}; |
||||
|
||||
WebClient.prototype.Upload = function(url, data) { |
||||
if (url.indexOf("?") == -1) |
||||
qs = '?sid=' + Math.random(); |
||||
else |
||||
qs = '&sid=' + Math.random(); |
||||
|
||||
var request = new WebClientRequest("POST", url + qs); |
||||
request.data = data; |
||||
return request.GetResponse(); |
||||
}; |
||||
|
||||
WebClient.prototype.Ping = function( url ) |
||||
{ |
||||
return new WebClientRequest( "HEAD", url ).GetResponse(); |
||||
}; |
||||
} |
||||
|
||||
Test.SmallFilePath = "data_100k.txt"; |
||||
Test.LargeFilePath = "data_1600k.txt"; |
||||
Test.Download = "DOWNLOAD"; |
||||
Test.Upload = "UPLOAD"; |
||||
|
||||
function Test() |
||||
{ |
||||
this.timer = new Timer; |
||||
this.webClient = new WebClient; |
||||
this.progressCallback = function() {}; |
||||
this.completionCallback = function() {}; |
||||
this.progressValue = 0; |
||||
this.maxProgressValue = 0; |
||||
this.path = ""; |
||||
|
||||
this.last = null; |
||||
this.ping = null; |
||||
|
||||
Test.prototype.Start = function() |
||||
{ |
||||
var test = this; |
||||
setTimeout( function() |
||||
{ |
||||
test.timer.Reset(); |
||||
test.Run( function() |
||||
{ |
||||
test.progressValue++; |
||||
if( null != test.progressCallback ) |
||||
{ |
||||
test.progressCallback(); |
||||
} |
||||
}, |
||||
function() |
||||
{ |
||||
test.timer.Stop(); |
||||
if( null != test.completionCallback ) |
||||
test.completionCallback(); |
||||
} ); |
||||
}, 10 ); |
||||
} |
||||
|
||||
Test.prototype.Run = function( updateProgress, completed ) {} |
||||
|
||||
Test.prototype.MakeRequest = function() { |
||||
if (this.path == null || this.path.length == 0) |
||||
return; |
||||
if (this.method == Test.Upload) { |
||||
if (this.payload == null) { |
||||
//var dl = this.webClient.Ping(this.path); |
||||
//this.payload = this.GenerateData(dl.contentLength); |
||||
this.payload = this.GenerateData(100000); |
||||
} |
||||
|
||||
this.last = this.webClient.Upload(location.search, this.payload); |
||||
} |
||||
else if (this.method == Test.Download) { |
||||
this.last = this.webClient.Download(this.path); |
||||
} |
||||
this.ping = this.webClient.Ping("?"); |
||||
} |
||||
|
||||
Test.prototype.GenerateData = function(length) { |
||||
var data = ""; |
||||
while (data.length < length) { |
||||
data = data + Math.random(); |
||||
} |
||||
|
||||
return data; |
||||
} |
||||
|
||||
|
||||
Test.prototype.OnProgress = function( progressCallback ) |
||||
{ |
||||
this.progressCallback = progressCallback; |
||||
return this; |
||||
} |
||||
|
||||
Test.prototype.OnComplete = function( completionCallback ) |
||||
{ |
||||
this.completionCallback = completionCallback; |
||||
return this; |
||||
} |
||||
|
||||
Test.prototype.Path = function( path ) |
||||
{ |
||||
this.path = path; |
||||
return this; |
||||
} |
||||
|
||||
Test.prototype.Method = function( method ) |
||||
{ |
||||
this.method = method; |
||||
return this; |
||||
} |
||||
} |
||||
|
||||
AverageTest.prototype = new Test; |
||||
function AverageTest() |
||||
{ |
||||
this.iterations = 0; |
||||
this.iteration = 0; |
||||
this.totalBytes = 0; |
||||
this.totalSpeed = 0; |
||||
this.totalTime = 0; |
||||
this.totalPing = 0; |
||||
|
||||
this.iterationCallback = function() {}; |
||||
|
||||
Test.apply( this, arguments ); |
||||
|
||||
AverageTest.prototype.Run = function( incrementProgress, completed ) |
||||
{ |
||||
this.maxProgressValue = this.iterations; |
||||
if( !this.IsCompleted() ) |
||||
{ |
||||
this.Iterate(); |
||||
if( this.last == null ) |
||||
return; |
||||
this.iteration++; |
||||
incrementProgress(); |
||||
var test = this; |
||||
setTimeout( function() { test.Run( incrementProgress, completed ); }, 1 ); |
||||
} |
||||
else |
||||
completed(); |
||||
} |
||||
|
||||
AverageTest.prototype.IsCompleted = function() |
||||
{ |
||||
return this.iterations == this.iteration; |
||||
} |
||||
|
||||
AverageTest.prototype.GetAverageTime = function() |
||||
{ |
||||
return roundNumber( this.totalTime / this.iteration, 2 ); |
||||
} |
||||
|
||||
AverageTest.prototype.GetAveragePing = function() |
||||
{ |
||||
return roundNumber( this.totalPing / this.iteration, 2 ); |
||||
} |
||||
|
||||
AverageTest.prototype.GetAverageSpeed = function() |
||||
{ |
||||
return roundNumber( this.totalSpeed / this.iteration, 1 ); |
||||
} |
||||
|
||||
AverageTest.prototype.GetTotalTime = function() |
||||
{ |
||||
return this.totalTime; |
||||
} |
||||
|
||||
AverageTest.prototype.Iterate = function() |
||||
{ |
||||
this.MakeRequest(); |
||||
if( this.last != null ) |
||||
{ |
||||
this.totalBytes += this.last.contentLength; |
||||
this.totalSpeed += this.last.GetSpeed(); |
||||
this.totalTime += this.last.GetTime(); |
||||
this.totalPing += this.ping.GetTime(); |
||||
} |
||||
} |
||||
|
||||
AverageTest.prototype.Iterations = function( number ) |
||||
{ |
||||
this.iterations = number; |
||||
return this; |
||||
} |
||||
|
||||
AverageTest.prototype.AfterIteration = function( iterationCallback ) |
||||
{ |
||||
this.iterationCallback = iterationCallback; |
||||
return this; |
||||
} |
||||
} |
||||
|
||||
|
||||
function roundNumber(num, dec) |
||||
{ |
||||
var result = Math.round(num*Math.pow(10,dec))/Math.pow(10,dec); |
||||
return result; |
||||
} |
||||
|
||||
function EndTest( upload, download ) |
||||
{ |
||||
var totalTime = upload.GetTotalTime() + download.GetTotalTime(); |
||||
var avgTime = roundNumber( ( upload.GetAveragePing() + download.GetAveragePing() ) / 2, 2 ); |
||||
|
||||
var tbl = $( "#tblSample" ); |
||||
var rows = $( "tr", tbl ); |
||||
row = $( "<tr/>" ).appendTo( tbl ).css( "background-color", "#cfcfcf" ); |
||||
|
||||
$( row ).append( "<td colspan=8>Total time " + totalTime.timeString() + ", average response time " + avgTime.timeString() + "</td>" ); |
||||
|
||||
$( "#startTestButton" ).removeAttr( "disabled" ).val( Strings.StartTest ); |
||||
$( "#testInProgress" ).hide( "normal" ); |
||||
|
||||
var avgUlSpeed = upload.GetAverageSpeed(); |
||||
var avgDlSpeed = download.GetAverageSpeed(); |
||||
|
||||
SetInfo( avgUlSpeed.speedString(), avgTime.timeString(), upload.method ); |
||||
SetInfo( avgDlSpeed.speedString(), avgTime.timeString(), download.method ); |
||||
|
||||
var title = ""; |
||||
var message = ""; |
||||
if( avgUlSpeed < Settings.MinimumUlSpeed || isNaN( avgUlSpeed ) || |
||||
avgDlSpeed < Settings.MinimumDlSpeed || isNaN( avgDlSpeed ) || |
||||
avgTime > Settings.MaximumTime || isNaN( avgTime ) ) |
||||
{ |
||||
title = Strings.TestFailed.Title; |
||||
message = Strings.TestFailed.Message; |
||||
} |
||||
else |
||||
{ |
||||
title = Strings.TestPassed.Title; |
||||
message = Strings.TestPassed.Message; |
||||
} |
||||
|
||||
var res = $( "#resultMessage" ); |
||||
res.children( ".result-title" ).text( title ); |
||||
res.children( ".result-message" ).text( message ); |
||||
res.show( "fast" ); |
||||
} |
||||
|
||||
function StartTest( count ) |
||||
{ |
||||
$( "#resultMessage" ).hide( "fast" ); |
||||
$( "#startTestButton" ).attr( "disabled", "disabled" ); |
||||
UpdateProgress( 0 ); |
||||
$( "#testInProgress" ).show( "normal", function() { TestStarted( count ); } ); |
||||
} |
||||
|
||||
function TestStarted( count ) |
||||
{ |
||||
if( "" != $.query.get("details" )) |
||||
Settings.Debug = true; |
||||
if( Settings.Debug ) |
||||
$( "#technicalDetails" ).show( "fast" ); |
||||
var tbl = $( "#tblSample" ); |
||||
$( "tr", tbl ).remove(); |
||||
|
||||
var upload = new AverageTest() |
||||
.Iterations( count / 2 ) |
||||
.Path( Test.SmallFilePath ) |
||||
.Method( Test.Upload ) |
||||
.OnProgress( function() |
||||
{ |
||||
var progressPercentage = this.progressValue / ( this.maxProgressValue / 100 ) / 2; |
||||
UpdateProgress( progressPercentage ); |
||||
AppendDetailsRow( this ); |
||||
} ); |
||||
|
||||
var download = new AverageTest() |
||||
.Iterations( count / 2 ) |
||||
.Path( Test.SmallFilePath ) |
||||
.Method( Test.Download ) |
||||
.OnProgress( function() |
||||
{ |
||||
var progressPercentage = this.progressValue / (this.maxProgressValue / 100 ) / 2 + 50; |
||||
UpdateProgress( progressPercentage ); |
||||
AppendDetailsRow( this ); |
||||
} ); |
||||
|
||||
download.OnComplete( function() { EndTest( upload, download ); } ); |
||||
upload.OnComplete( function() { download.Start(); } ).Start(); |
||||
} |
||||
|
||||
function UpdateProgress( value ) |
||||
{ |
||||
$( "#progressbar" ).children( ".ui-progressbar-value" ).css( "width", value + "%" ); |
||||
} |
||||
|
||||
function AppendDetailsRow( test ) |
||||
{ |
||||
var tbl = $( "#tblSample" ); |
||||
var rows = $( "tr", tbl ); |
||||
|
||||
row = $( "<tr/>" ).appendTo( tbl ).css( "background-color", ( test.iteration % 2 ) ? "#eeeeee" : "#ffffff" ); |
||||
|
||||
var speed = test.last.GetSpeed().speedString(); |
||||
var time = test.last.GetTime().timeString(); |
||||
var addCol = function( text ) { $("<td/>" ).append( text ).appendTo( row ); }; |
||||
addCol( test.method + " " + test.iteration ) |
||||
addCol( time ); |
||||
addCol( test.ping.GetTime().timeString() ); |
||||
addCol( window.location.host ); |
||||
addCol( test.last.request.url ); |
||||
addCol( test.last.contentLength ); |
||||
addCol( test.last.status ); |
||||
addCol( speed ); |
||||
SetInfo( speed, test.ping.GetTime(), test.method ); |
||||
} |
||||
|
||||
var ulSpeed = $.query.get( "ul" ); |
||||
if( "" != ulSpeed ) |
||||
{ |
||||
Settings.MinimumUlSpeed = parseInt( ulSpeed ); |
||||
} |
||||
var dlSpeed = $.query.get( "dl" ); |
||||
if( "" != dlSpeed ) |
||||
{ |
||||
Settings.MinimumDlSpeed = parseInt( dlSpeed ); |
||||
} |
||||
var qsTime = $.query.get( "time" ); |
||||
if( "" != qsTime ) |
||||
{ |
||||
Settings.MaximumTime = parseInt( qsTime ); |
||||
} |
||||
|
||||
function SetInfo( speedtext, timetext, testMethod ) |
||||
{ |
||||
$( ( testMethod == Test.Download ) ? "#currentdlspeed" : "#currentulspeed" ).text( speedtext ); |
||||
$( "#currenttime" ).text( timetext ); |
||||
} |
||||
|
||||
var count = $.query.get( "count" ); |
||||
if( count == "" || count > 100 ) |
||||
count = Settings.RequestCount; |
||||
|
||||
$( function() |
||||
{ |
||||
$( "#startTestButton" ).removeAttr( "disabled" ).val( Strings.StartTest ).click( function() { StartTest( count ) } ); |
||||
$( "#requiredulspeed" ).text( Settings.MinimumUlSpeed.speedString() ); |
||||
$( "#requireddlspeed" ).text( Settings.MinimumDlSpeed.speedString() ); |
||||
$( "#requiredtime" ).text( Settings.MaximumTime.timeString() ); |
||||
$( "#progressbar" ).progressbar(); |
||||
|
||||
document.title = Strings.Title; |
||||
$( "#title" ).text( Strings.Title ); |
||||
$( "#subtitle" ).text( Strings.SubTitle ); |
||||
$( "#testInProgressLabel" ).text( Strings.TestInProgress ); |
||||
$( "#logo" ).attr( "src", Settings.Logo ); |
||||
}); |
||||
--> |
||||
</script> |
||||
<style type="text/css"> |
||||
body,html,form, table, input, div, select |
||||
{ |
||||
font-size:8pt; |
||||
font-family:verdana, arial, helvetica, sans-serif; |
||||
} |
||||
H3 |
||||
{ |
||||
font-family: Times New Roman; |
||||
font-size: large; |
||||
} |
||||
H4 |
||||
{ |
||||
font-family: Times New Roman; |
||||
font-size: 12pt; |
||||
} |
||||
THEAD |
||||
{ |
||||
background-color: #D7E1F5; |
||||
} |
||||
#resultMessage H4 |
||||
{ |
||||
font-family: Arial, Helvetica, Sans Serif; |
||||
font-size: 9pt; |
||||
font-weight: bold; |
||||
} |
||||
#progressbar |
||||
{ |
||||
margin-bottom: 30px; |
||||
margin-top: 30px; |
||||
} |
||||
#testInProgress |
||||
{ |
||||
display: none; |
||||
margin-top: 30px; |
||||
} |
||||
#buttonPanel |
||||
{ |
||||
float: right; |
||||
} |
||||
#resultMessage |
||||
{ |
||||
display: none; |
||||
margin-left: auto; |
||||
margin-right: auto; |
||||
width: 400px; |
||||
} |
||||
#statusContainer |
||||
{ |
||||
margin-top: 10px; |
||||
margin-bottom: 10px; |
||||
min-height: 50px; |
||||
position: relative; |
||||
} |
||||
#technicalDetails |
||||
{ |
||||
display: none; |
||||
margin-top: 40px; |
||||
margin-left: 50px; |
||||
margin-right: 50px; |
||||
} |
||||
#mainContentFrame |
||||
{ |
||||
width: 480px; |
||||
margin-left: auto; |
||||
margin-right: auto |
||||
} |
||||
#mainContentFrame .border |
||||
{ |
||||
border: 20px solid #dedede; |
||||
padding: 30px |
||||
} |
||||
</style> |
||||
<title></title> |
||||
</head> |
||||
|
||||
<body> |
||||
<div id="mainContentFrame"> |
||||
<img id="logo"/> |
||||
<div class="border"> |
||||
<div> |
||||
<h3 id="title"></h3> |
||||
<span id="subtitle"></span> |
||||
</div> |
||||
|
||||
<div id="statusContainer"> |
||||
<div id="resultMessage"> |
||||
<h4 class="result-title"></h4> |
||||
<div class="result-message"></div> |
||||
</div> |
||||
|
||||
<div id="testInProgress"> |
||||
<img src="loading.gif" width="16" height="16" align="absmiddle"/> <span id="testInProgressLabel"></span> |
||||
</div> |
||||
</div> |
||||
|
||||
<div id="progressPanel"> |
||||
<div id="progressbar"></div> |
||||
</div> |
||||
|
||||
<div id="buttonPanel"> |
||||
<form> |
||||
<input type="button" id="startTestButton"/> |
||||
</form> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<div id="technicalDetails"> |
||||
Download speed: <span id="currentdlspeed"></span> |
||||
(required minimum: <span id="requireddlspeed"></span>) |
||||
<br/> |
||||
Upload speed: <span id="currentulspeed"></span> |
||||
(required minimum: <span id="requiredulspeed"></span>) |
||||
<br/> |
||||
Response time: <span id="currenttime"></span> |
||||
(required maximum: <span id="requiredtime"></span>) |
||||
<br/> |
||||
<table width="100%" border="0"> |
||||
<thead> |
||||
<tr> |
||||
<td>Test</td> |
||||
<td>Transfer Time</td> |
||||
<td>Ping</td> |
||||
<td>Host</td> |
||||
<td>Path</td> |
||||
<td>Bytes</td> |
||||
<td>Status</td> |
||||
<td>Speed</td> |
||||
</tr> |
||||
</thead> |
||||
<tbody id="tblSample"> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
</body> |
||||
</html> |
||||
@ -0,0 +1,245 @@ |
||||
<?php |
||||
/* For licensing terms, see /license.txt */ |
||||
/** |
||||
* Allows anyone to upload synchronization data |
||||
* @package chamilo.sincro |
||||
* @author Julio Montoya <gugli100@gmail.com> |
||||
* @author Yannick Warnier <yannick.warnier@beeznest.com> |
||||
*/ |
||||
/** |
||||
* Initialization |
||||
*/ |
||||
$language_file = 'admin'; |
||||
$cidReset = true; |
||||
require_once '../main/inc/global.inc.php'; |
||||
$this_section = SECTION_GLOBAL; |
||||
|
||||
//api_protect_admin_script(); |
||||
//api_protect_global_admin_script(); |
||||
|
||||
if (!api_get_multiple_access_url()) { |
||||
header('Location: ../index.php'); |
||||
exit; |
||||
} |
||||
|
||||
// Create the form |
||||
//$form = new FormValidator('add_url',null,null,null,array('onLoad'=>'load();', 'onunload'=>'GUnload();')); |
||||
//$form = new FormValidator('add_url'); |
||||
$form = new FormValidator('form_mapa', null, null, null, array('onsubmit'=>'showAddress(this.address.value, this.zoom.value=parseFloat(this.zoom.value)); return false')); |
||||
$url_type = 3; |
||||
error_log(__LINE__); |
||||
if( $form->validate()) { |
||||
error_log(__LINE__); |
||||
//$check = Security::check_token('post'); |
||||
//if($check) { |
||||
error_log(__LINE__); |
||||
$url_array = $form->getSubmitValues(); |
||||
$url = Security::remove_XSS($url_array['url']); |
||||
$description = Security::remove_XSS($url_array['description']); |
||||
$active = 0; |
||||
$url_id = $url_array['id']; |
||||
$url_to_go='index.php'; |
||||
if ($url_id!='') { |
||||
error_log(__LINE__); |
||||
//we can't change the status of the url with id=1 |
||||
if ($url_id==1) { |
||||
$active=1; |
||||
} |
||||
//checking url |
||||
if (substr($url,-1)=='/') { |
||||
$url.='/'; |
||||
} |
||||
UrlManager::udpate($url_id, $url, $description, $active, $url_array['url_type'], $url_array); |
||||
/* |
||||
// URL Images |
||||
$url_images_dir = api_get_path(SYS_PATH).'custompages/url-images/'; |
||||
$image_fields = array("url_image_1", "url_image_2", "url_image_3"); |
||||
foreach ($image_fields as $image_field) { |
||||
if ($_FILES[$image_field]['error'] == 0) { |
||||
// Hardcoded: only PNG files allowed |
||||
if (end(explode('.', $_FILES[$image_field]['name'])) == 'png') { |
||||
move_uploaded_file($_FILES[$image_field]['tmp_name'], $url_images_dir.$url_id.'_'.$image_field.'.png'); |
||||
} |
||||
// else fail silently |
||||
} |
||||
// else fail silently |
||||
} |
||||
*/ |
||||
$url_to_go='index.php'; |
||||
$message=get_lang('URLEdited'); |
||||
} else { |
||||
error_log(__LINE__); |
||||
$num = UrlManager::url_exist($url); |
||||
if ($num == 0) { |
||||
//checking url |
||||
if (substr($url,-1)=='/') { |
||||
$url .= '/'; |
||||
} |
||||
error_log(__LINE__); |
||||
UrlManager::add($url, $description, $active, $url_type, $url_array); |
||||
$message = get_lang('URLAdded'); |
||||
$url_to_go='index.php'; |
||||
} else { |
||||
$url_to_go='index.php'; |
||||
$message = get_lang('URLAlreadyAdded'); |
||||
} |
||||
// URL Images |
||||
$url .= (substr($url,-1)=='/') ? '' : '/'; |
||||
$url_id = UrlManager::get_url_id($url); |
||||
/* |
||||
$url_images_dir = api_get_path(SYS_PATH).'custompages/url-images/'; |
||||
$image_fields = array("url_image_1", "url_image_2", "url_image_3"); |
||||
foreach ($image_fields as $image_field) { |
||||
if ($_FILES[$image_field]['error'] == 0) { |
||||
// Hardcoded: only PNG files allowed |
||||
if (end(explode('.', $_FILES[$image_field]['name'])) == 'png') { |
||||
move_uploaded_file($_FILES[$image_field]['tmp_name'], $url_images_dir.$url_id.'_'.$image_field.'.png'); |
||||
} |
||||
// else fail silently |
||||
} |
||||
// else fail silently |
||||
} |
||||
*/ |
||||
} |
||||
error_log(__LINE__); |
||||
Security::clear_token(); |
||||
$tok = Security::get_token(); |
||||
header('Location: '.$url_to_go.'?action=show_message&message='.urlencode($message));//.'&sec_token='.$tok); |
||||
exit(); |
||||
// } |
||||
} else { |
||||
error_log(__LINE__); |
||||
/* |
||||
if(isset($_POST['submit'])) { |
||||
Security::clear_token(); |
||||
} |
||||
$token = Security::get_token(); |
||||
$form->addElement('hidden','sec_token'); |
||||
$form->setConstants(array('sec_token' => $token)); |
||||
*/ |
||||
} |
||||
|
||||
//$form->addRule('url', get_lang('ThisFieldIsRequired'), 'required'); |
||||
//$form->addRule('url', '', 'maxlength',254); |
||||
$form->addElement('text', 'name', get_lang('InstitutionName')); |
||||
$form->addElement('text', 'url', get_lang('IPAddress')); |
||||
//$form->addElement('text', 'ip', get_lang('IPAddress')); |
||||
$form->addElement('hidden', 'latitude', get_lang('Latitude'), array('id' => 'latitude')); |
||||
$form->addElement('hidden', 'longitude', get_lang('Longitude'), array('id' => 'longitude')); |
||||
$form->addElement('hidden', 'zoom', 15); |
||||
$html = ' |
||||
<div style="width: 350px; border-width: 1px; border-style: solid; border-color: #979797; padding:8px 8px 8px 8px;"> |
||||
<div id="map" style="width: 350px; height: 350px"></div></div> |
||||
'; |
||||
$form->addElement('html',$html); |
||||
$form->addElement('hidden', 'dwn_speed', get_lang('DownloadSpeed'), array('id' => 'dwn_speed_input')); |
||||
$form->addElement('hidden', 'up_speed', get_lang('UploadSpeed'), array('id' => 'up_speed_input')); |
||||
$form->addElement('hidden', 'delay', get_lang('ConnectionDelay'), array('id' => 'delay_input')); |
||||
$form->addElement('text', 'admin_mail', get_lang('AdministratorEmail')); |
||||
$form->addElement('text', 'admin_name', get_lang('AdministratorFullname')); |
||||
$form->addElement('text', 'admin_phone', get_lang('AdministratorPhone')); |
||||
$form->addElement('textarea','description',get_lang('Note')); |
||||
|
||||
//$form->addRule('checkbox', get_lang('ThisFieldIsRequired'), 'required'); |
||||
|
||||
//$defaults['url']='http://'; |
||||
$defaults['url'] = $_SERVER['REMOTE_ADDR']; |
||||
//$defaults['admin_mail'] = api_get_setting('emailAdministrator'); |
||||
//$defaults['admin_name'] = api_get_setting('administratorSurname').', '.api_get_setting('administratorName'); |
||||
//$defaults['admin_phone'] = api_get_setting('administratorTelephone'); |
||||
$form->setDefaults($defaults); |
||||
|
||||
$submit_name = get_lang('SentSincroClientData'); |
||||
if (isset($_GET['url_id'])) { |
||||
$url_id = Database::escape_string($_GET['url_id']); |
||||
$num_url_id = UrlManager::url_id_exist($url_id); |
||||
if($num_url_id != 1) { |
||||
header('Location: access_urls.php'); |
||||
exit(); |
||||
} |
||||
$url_data = UrlManager::get_url_data_from_id($url_id); |
||||
$form->addElement('hidden','id',$url_data['id']); |
||||
$form->setDefaults($url_data); |
||||
$submit_name = get_lang('AddUrl'); |
||||
} |
||||
|
||||
if (!$_configuration['multiple_access_urls']) |
||||
header('Location: index.php'); |
||||
|
||||
$tool_name = get_lang('SpeedTest'); |
||||
//$interbreadcrumb[] = array ("url" => 'index.php', "name" => get_lang('PlatformAdmin')); |
||||
//$interbreadcrumb[] = array ("url" => 'access_urls.php', "name" => get_lang('MultipleAccessURLs')); |
||||
/** |
||||
* View |
||||
*/ |
||||
//<script type="text/javascript" src="jquery-1.3.1.min.js"></script> |
||||
//<script type="text/javascript" src="ui.core.min.js"></script> |
||||
//<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAGAEGVZIXwwutieHF4QOL4RRpYoRN0FKJQ7RZd_AzeNEq2PLjZhR3W4-qrIA2KyJ0hRw-barmpbORVQ" type="text/javascript"></script> |
||||
$htmlHeadXtra[] = <<<EOB |
||||
<link rel="stylesheet" href="css/style.css" type="text/css" /> |
||||
<script type="text/javascript" src="jquery.query-2.0.1.js"></script> |
||||
<script type="text/javascript" src="ui.progressbar.min.js"></script> |
||||
<script type="text/javascript" src="config.js"></script> |
||||
<script type="text/javascript" src="motor.js"></script> |
||||
<script src="http://maps.google.com/maps?file=api&v=2&key=AIzaSyC7n899gO-g5r7r2cxx_E3fU8Xi7T33BLo" type="text/javascript"></script> |
||||
<script> |
||||
var map = null; |
||||
var geocoder = null; |
||||
$(window).load(function () { |
||||
if (GBrowserIsCompatible()) { // Abre LLAVE 2. |
||||
map = new GMap2(document.getElementById("map")); |
||||
map.setCenter(new GLatLng(-10.9755,-74.9757), 6); |
||||
map.addControl(new GSmallMapControl()); |
||||
map.addControl(new GMapTypeControl()); |
||||
geocoder = new GClientGeocoder(); |
||||
//---------------------------------// |
||||
// MARCADOR AL HACER CLICK |
||||
GEvent.addListener(map, "click", |
||||
function(marker, point) { |
||||
if (marker) { |
||||
null; |
||||
} else { |
||||
map.clearOverlays(); |
||||
var marcador = new GMarker(point); |
||||
map.addOverlay(marcador); |
||||
$('#latitude').val(point.y); |
||||
$('#longitude').val(point.x); |
||||
} |
||||
} |
||||
); |
||||
//---------------------------------// |
||||
// FIN MARCADOR AL HACER CLICK |
||||
//---------------------------------// |
||||
} // Cierra LLAVE 1. |
||||
}); |
||||
</script> |
||||
EOB; |
||||
|
||||
Display :: display_header($tool_name); |
||||
|
||||
if (isset ($_GET['action'])) { |
||||
switch ($_GET['action']) { |
||||
case 'show_message' : |
||||
Display :: display_normal_message(stripslashes($_GET['message'])); |
||||
break; |
||||
} |
||||
} |
||||
|
||||
// URL Images |
||||
/* |
||||
$form->addElement('file','url_image_1','URL Image 1 (PNG)'); |
||||
$form->addElement('file','url_image_2','URL Image 2 (PNG)'); |
||||
$form->addElement('file','url_image_3','URL Image 3 (PNG)'); |
||||
*/ |
||||
// Submit button |
||||
$form->addElement('style_submit_button', 'submit', $submit_name, array('class'=>"add hidden", 'id' => 'submit_url_button')); |
||||
echo '<div class="normal-message">'.get_lang('SpeedTestIntroSection').'</div>'; |
||||
echo '<div id="pagesincro">'; |
||||
echo '<div class="form-column">'; |
||||
$form->display(); |
||||
echo '</div>'; |
||||
echo '<div class="anim-column" style="float: right;">'; |
||||
include 'body.php'; |
||||
echo '</div>'; |
||||
echo '</div>'; |
||||
Display :: display_footer(); |
||||
|
After Width: | Height: | Size: 1.9 KiB |
@ -0,0 +1,53 @@ |
||||
<html> |
||||
<head> |
||||
<script src="http://maps.google.com/maps?file=api&v=2&key=AIzaSyCxElj7e8OT-90nnhNPZk6dSyBXf5T3q-s" |
||||
type="text/javascript"></script> |
||||
<script src="jquery-1.8.3.min.js" type="text/javascript" ></script> |
||||
<script type="text/javascript"> |
||||
var map = null; |
||||
var geocoder = null; |
||||
$(window).load(function () { |
||||
if (GBrowserIsCompatible()) { // Abre LLAVE 2. |
||||
map = new GMap2(document.getElementById("map")); |
||||
map.setCenter(new GLatLng(-10.9755,-74.9757), 6); |
||||
map.addControl(new GSmallMapControl()); |
||||
map.addControl(new GMapTypeControl()); |
||||
geocoder = new GClientGeocoder(); |
||||
//---------------------------------// |
||||
// MARCADOR AL HACER CLICK |
||||
GEvent.addListener(map, "click", |
||||
function(marker, point) { |
||||
if (marker) { |
||||
null; |
||||
} else { |
||||
map.clearOverlays(); |
||||
var marcador = new GMarker(point); |
||||
map.addOverlay(marcador); |
||||
|
||||
var latitude=document.getElementById("latitud"); |
||||
var longitude=document.getElementById("longitud"); |
||||
while(latitude.firstChild) { |
||||
latitude.removeChild(latitude.firstChild); |
||||
} |
||||
latitude.appendChild(document.createTextNode(point.y)); |
||||
while(longitude.firstChild) { |
||||
longitude.removeChild(longitude.firstChild); |
||||
} |
||||
longitude.appendChild(document.createTextNode(point.x)); |
||||
} |
||||
} |
||||
); |
||||
//---------------------------------// |
||||
// FIN MARCADOR AL HACER CLICK |
||||
//---------------------------------// |
||||
} // Cierra LLAVE 1. |
||||
}); |
||||
</script> |
||||
</head> |
||||
<body > |
||||
<div style="width: 350px; border-width: 1px; border-style: solid; border-color: #979797; padding:8px 8px 8px 8px;"> |
||||
<div id="map" style="width: 350px; height: 350px"></div></div> |
||||
<div>Latitud:<span id="latitud"></span> </div> |
||||
<div>Longitud:<span id="longitud"></span> </div> |
||||
</body> |
||||
</html> |
||||
@ -0,0 +1,21 @@ |
||||
var map = null; var geocoder = null; |
||||
function $(window).load( function () { |
||||
if (GBrowserIsCompatible()) { |
||||
map = new GMap2(document.getElementById("map")); map.setCenter(new GLatLng(-10.9755,-74.9757), 6); map.addControl(new GSmallMapControl()); map.addControl(new GMapTypeControl()); geocoder = new GClientGeocoder(); |
||||
GEvent.addListener(map, "click", |
||||
function(marker, point) { |
||||
if (marker) { |
||||
null; |
||||
} else { |
||||
map.clearOverlays(); |
||||
var marcador = new GMarker(point); |
||||
map.addOverlay(marcador); |
||||
document.form_mapa.coordenadas.value = point.y+","+point.x; |
||||
var latitude=document.getElementById("latitude"); var longitude=document.getElementById("longitude"); |
||||
while(latitude.firstChild) { latitude.removeChild(latitude.firstChild); } |
||||
latitude.appendChild(document.createTextNode(point.y)); |
||||
while(longitude.firstChild) { longitude.removeChild(longitude.firstChild); } |
||||
longitude.appendChild(document.createTextNode(point.x)); |
||||
} }); } // Cierra LLAVE 1.
|
||||
} // Cierra LLAVE 2.
|
||||
); |
||||
@ -0,0 +1,485 @@ |
||||
<!--
|
||||
var start_time = 0; |
||||
|
||||
function Timer() |
||||
{ |
||||
this.startTime = 0; |
||||
this.endTime = 0; |
||||
|
||||
Timer.prototype.Reset = function() |
||||
{ |
||||
this.startTime = new Date().getTime(); |
||||
this.endTime = 0; |
||||
} |
||||
|
||||
Timer.prototype.Stop = function() |
||||
{ |
||||
this.endTime = new Date().getTime(); |
||||
return this.endTime - this.startTime; |
||||
} |
||||
|
||||
Timer.prototype.Value = function() |
||||
{ |
||||
var end = this.endTime; |
||||
if( end == 0 && this.startTime != 0 ) |
||||
end = new Date().getTime(); |
||||
return end - this.startTime; |
||||
} |
||||
|
||||
this.Reset(); |
||||
} |
||||
|
||||
Number.prototype.timeString = function() |
||||
{ |
||||
if( this >= 1000 ) |
||||
return roundNumber( this / 1000, 2 ).toString() + " s"; |
||||
return this.toString() + " ms"; |
||||
} |
||||
|
||||
Number.prototype.speedString = function() |
||||
{ |
||||
//if( this >= 1000 )
|
||||
// return roundNumber( this / 1000, 1 ).toString() + " Mbit/s";
|
||||
return this.toString() + " kbit/s"; |
||||
} |
||||
|
||||
function WebClientRequest( method, url ) |
||||
{ |
||||
this.timer = new Timer; |
||||
this.url = url; |
||||
this.data = ""; |
||||
this.method = method; |
||||
|
||||
this.GetResponse = function( readData ) |
||||
{ |
||||
var response = new WebClientResponse( this, readData ); |
||||
this.timer.Reset(); |
||||
$.ajax( { |
||||
url: this.url, |
||||
cache: false, |
||||
async: false, |
||||
processData: false, |
||||
data: this.data, |
||||
type: this.method, |
||||
dataType: "text", |
||||
contentType: "text/plain; charset=x-user-defined", |
||||
complete: response.InternalRequestCompleted(), |
||||
error: function( e )
|
||||
{ |
||||
if( e.status == 200 ) |
||||
return; // We do get here in IE7 on Vista, even though the request performed well..
|
||||
if( e.status == 405 ) |
||||
alert( "Su servidor no permite el uso de HTTP POST hacia este archivo HTML.\nPor favor, revise su configuración." ); |
||||
}
|
||||
} ); |
||||
|
||||
return response; |
||||
}; |
||||
} |
||||
|
||||
function WebClientResponse( request, readData ) |
||||
{ |
||||
this.request = request; |
||||
this.readData = readData; |
||||
this.data = ""; |
||||
this.status = ""; |
||||
this.statusText = ""; |
||||
this.contentLength = 0; |
||||
this.bytesTransferred = 0; |
||||
this.GetTime = function() { return this.request.timer.Value(); } |
||||
this.GetSpeed = function() { return roundNumber( ( this.bytesTransferred * 0.008 ) / ( this.GetTime() / 1000 ), 0 ); } |
||||
|
||||
this.InternalRequestCompleted = function()
|
||||
{ |
||||
var response = this; |
||||
return function( xhr ) |
||||
{ |
||||
response.status = xhr.status; |
||||
response.statusText = xhr.statusText; |
||||
var contentLengthHeader = xhr.getResponseHeader( "Content-Length" ); |
||||
|
||||
if( null != contentLengthHeader && contentLengthHeader.length > 0 ) |
||||
response.contentLength = parseInt( contentLengthHeader ); |
||||
else if( null != xhr.responseText ) |
||||
response.contentLength = xhr.responseText.length; |
||||
else |
||||
response.contentLength = 0; |
||||
|
||||
if( response.request.method == "POST" ) |
||||
response.contentLength = request.data.length; |
||||
if( response.request.method != "HEAD" ) |
||||
response.bytesTransferred = response.contentLength; |
||||
if( response.readData ) |
||||
response.data = xhr.responseText; |
||||
response.request.timer.Stop(); |
||||
} |
||||
}; |
||||
} |
||||
|
||||
function WebClient() |
||||
{ |
||||
WebClient.prototype.Download = function( url, readData ) |
||||
{ |
||||
return new WebClientRequest( "GET", url ).GetResponse( readData ); |
||||
}; |
||||
|
||||
WebClient.prototype.Upload = function( url, data ) |
||||
{ |
||||
if( url.indexOf( "?" ) == -1 ) |
||||
qs = '?sid=' + Math.random(); |
||||
else |
||||
qs = '&sid=' + Math.random(); |
||||
|
||||
var request = new WebClientRequest( "POST", url + qs ); |
||||
request.data = data; |
||||
return request.GetResponse(); |
||||
}; |
||||
|
||||
WebClient.prototype.Ping = function( url ) |
||||
{ |
||||
return new WebClientRequest( "HEAD", url ).GetResponse(); |
||||
}; |
||||
} |
||||
|
||||
Test.SmallFilePath = "data_100k.txt"; |
||||
Test.LargeFilePath = "data_1600k.txt"; |
||||
Test.Download = "DOWNLOAD"; |
||||
Test.Upload = "UPLOAD"; |
||||
|
||||
function Test() |
||||
{ |
||||
this.timer = new Timer; |
||||
this.webClient = new WebClient; |
||||
this.progressCallback = function() {}; |
||||
this.completionCallback = function() {}; |
||||
this.progressValue = 0; |
||||
this.maxProgressValue = 0; |
||||
this.path = ""; |
||||
|
||||
this.last = null; |
||||
this.ping = null; |
||||
|
||||
Test.prototype.Start = function() |
||||
{ |
||||
var test = this; |
||||
setTimeout( function() |
||||
{ |
||||
test.timer.Reset(); |
||||
test.Run( function()
|
||||
{
|
||||
test.progressValue++; |
||||
if( null != test.progressCallback ) |
||||
{ |
||||
test.progressCallback(); |
||||
} |
||||
}, |
||||
function() |
||||
{ |
||||
test.timer.Stop(); |
||||
if( null != test.completionCallback ) |
||||
test.completionCallback(); |
||||
} ); |
||||
}, 10 ); |
||||
} |
||||
|
||||
Test.prototype.Run = function( updateProgress, completed ) {} |
||||
|
||||
Test.prototype.MakeRequest = function() |
||||
{ |
||||
if( this.path == null || this.path.length == 0 ) |
||||
return; |
||||
if( this.method == Test.Upload ) |
||||
{ |
||||
if( this.payload == null )
|
||||
{ |
||||
var dl = this.webClient.Ping( this.path ); |
||||
this.payload = this.GenerateData( dl.contentLength ); |
||||
} |
||||
|
||||
this.last = this.webClient.Upload( location.search, this.payload ); |
||||
} |
||||
else if( this.method == Test.Download ) |
||||
{ |
||||
this.last = this.webClient.Download( this.path ); |
||||
} |
||||
this.ping = this.webClient.Ping( "?" ); |
||||
} |
||||
|
||||
Test.prototype.GenerateData = function( length ) |
||||
{ |
||||
var data = ""; |
||||
while( data.length < length ) |
||||
{ |
||||
data = data + Math.random(); |
||||
} |
||||
return data; |
||||
} |
||||
|
||||
|
||||
Test.prototype.OnProgress = function( progressCallback ) |
||||
{ |
||||
this.progressCallback = progressCallback; |
||||
return this; |
||||
} |
||||
|
||||
Test.prototype.OnComplete = function( completionCallback ) |
||||
{ |
||||
this.completionCallback = completionCallback; |
||||
return this; |
||||
} |
||||
|
||||
Test.prototype.Path = function( path ) |
||||
{ |
||||
this.path = path; |
||||
return this; |
||||
} |
||||
|
||||
Test.prototype.Method = function( method ) |
||||
{ |
||||
this.method = method; |
||||
return this; |
||||
} |
||||
} |
||||
|
||||
AverageTest.prototype = new Test; |
||||
function AverageTest()
|
||||
{ |
||||
this.iterations = 0; |
||||
this.iteration = 0; |
||||
this.totalBytes = 0; |
||||
this.totalSpeed = 0; |
||||
this.totalTime = 0; |
||||
this.totalPing = 0; |
||||
|
||||
this.iterationCallback = function() {}; |
||||
|
||||
Test.apply( this, arguments ); |
||||
|
||||
AverageTest.prototype.Run = function( incrementProgress, completed ) |
||||
{
|
||||
this.maxProgressValue = this.iterations; |
||||
if( !this.IsCompleted() ) |
||||
{ |
||||
this.Iterate(); |
||||
if( this.last == null ) |
||||
return; |
||||
this.iteration++; |
||||
incrementProgress(); |
||||
var test = this; |
||||
setTimeout( function() { test.Run( incrementProgress, completed ); }, 1 ); |
||||
} |
||||
else |
||||
completed(); |
||||
} |
||||
|
||||
AverageTest.prototype.IsCompleted = function() |
||||
{ |
||||
return this.iterations == this.iteration; |
||||
} |
||||
|
||||
AverageTest.prototype.GetAverageTime = function() |
||||
{ |
||||
return roundNumber( this.totalTime / this.iteration, 2 ); |
||||
} |
||||
|
||||
AverageTest.prototype.GetAveragePing = function() |
||||
{ |
||||
return roundNumber( this.totalPing / this.iteration, 2 ); |
||||
} |
||||
|
||||
AverageTest.prototype.GetAverageSpeed = function() |
||||
{ |
||||
return roundNumber( this.totalSpeed / this.iteration, 1 ); |
||||
} |
||||
|
||||
AverageTest.prototype.GetTotalTime = function() |
||||
{ |
||||
return this.totalTime; |
||||
} |
||||
|
||||
AverageTest.prototype.Iterate = function() |
||||
{ |
||||
this.MakeRequest(); |
||||
if( this.last != null ) |
||||
{ |
||||
this.totalBytes += this.last.contentLength; |
||||
this.totalSpeed += this.last.GetSpeed(); |
||||
this.totalTime += this.last.GetTime(); |
||||
this.totalPing += this.ping.GetTime(); |
||||
} |
||||
} |
||||
|
||||
AverageTest.prototype.Iterations = function( number ) |
||||
{ |
||||
this.iterations = number; |
||||
return this; |
||||
} |
||||
|
||||
AverageTest.prototype.AfterIteration = function( iterationCallback ) |
||||
{ |
||||
this.iterationCallback = iterationCallback; |
||||
return this; |
||||
}
|
||||
} |
||||
|
||||
|
||||
function roundNumber(num, dec)
|
||||
{ |
||||
var result = Math.round(num*Math.pow(10,dec))/Math.pow(10,dec); |
||||
return result; |
||||
} |
||||
|
||||
function EndTest( upload, download ) |
||||
{ |
||||
var totalTime = upload.GetTotalTime() + download.GetTotalTime(); |
||||
var avgTime = roundNumber( ( upload.GetAveragePing() + download.GetAveragePing() ) / 2, 2 ); |
||||
var tbl = $( "#tblSample" ); |
||||
var rows = $( "tr", tbl ); |
||||
row = $( "<tr/>" ).appendTo( tbl ).css( "background-color", "#cfcfcf" ); |
||||
|
||||
$( row ).append( "<td colspan=8>Total time " + totalTime.timeString() + ", average response time " + avgTime.timeString() + "</td>" ); |
||||
|
||||
$( "#startTestButton" ).removeAttr( "disabled" ).val( Strings.StartTest ); |
||||
$( "#testInProgress" ).hide( "normal" ); |
||||
|
||||
var avgUlSpeed = upload.GetAverageSpeed(); |
||||
var avgDlSpeed = download.GetAverageSpeed(); |
||||
$('#dwn_speed_input').val(avgDlSpeed); |
||||
$('#up_speed_input').val(avgUlSpeed); |
||||
$('#submit_url_button').removeClass('hidden'); |
||||
|
||||
SetInfo( avgUlSpeed.speedString(), avgTime.timeString(), upload.method ); |
||||
SetInfo( avgDlSpeed.speedString(), avgTime.timeString(), download.method ); |
||||
|
||||
var title = ""; |
||||
var message = ""; |
||||
if( avgUlSpeed < Settings.MinimumUlSpeed || isNaN( avgUlSpeed ) ||
|
||||
avgDlSpeed < Settings.MinimumDlSpeed || isNaN( avgDlSpeed ) ||
|
||||
avgTime > Settings.MaximumTime || isNaN( avgTime ) ) |
||||
{ |
||||
title = Strings.TestFailed.Title; |
||||
message = Strings.TestFailed.Message; |
||||
} |
||||
else |
||||
{ |
||||
title = Strings.TestPassed.Title; |
||||
message = Strings.TestPassed.Message; |
||||
} |
||||
|
||||
var res = $( "#resultMessage" ); |
||||
res.children( ".result-title" ).text( title ); |
||||
res.children( ".result-message" ).text( message ); |
||||
res.show( "fast" ); |
||||
} |
||||
|
||||
function StartTest( count ) |
||||
{ |
||||
$( "#resultMessage" ).hide( "fast" ); |
||||
$( "#startTestButton" ).attr( "disabled", "disabled" ); |
||||
UpdateProgress( 0 ); |
||||
$( "#testInProgress" ).show( "normal", function() { TestStarted( count ); } );
|
||||
} |
||||
|
||||
function TestStarted( count ) |
||||
{ |
||||
if( "" != $.query.get("details" )) |
||||
Settings.Debug = true; |
||||
if( Settings.Debug ) |
||||
$( "#technicalDetails" ).show( "fast" ); |
||||
var tbl = $( "#tblSample" ); |
||||
$( "tr", tbl ).remove(); |
||||
|
||||
var upload = new AverageTest() |
||||
.Iterations( count / 2 ) |
||||
.Path( Test.SmallFilePath ) |
||||
.Method( Test.Upload ) |
||||
.OnProgress( function()
|
||||
{ |
||||
var progressPercentage = this.progressValue / ( this.maxProgressValue / 100 ) / 2; |
||||
UpdateProgress( progressPercentage ); |
||||
AppendDetailsRow( this );
|
||||
} ); |
||||
|
||||
var download = new AverageTest() |
||||
.Iterations( count / 2 ) |
||||
.Path( Test.SmallFilePath ) |
||||
.Method( Test.Download ) |
||||
.OnProgress( function() |
||||
{ |
||||
var progressPercentage = this.progressValue / (this.maxProgressValue / 100 ) / 2 + 50; |
||||
UpdateProgress( progressPercentage ); |
||||
AppendDetailsRow( this );
|
||||
} ); |
||||
|
||||
download.OnComplete( function() { EndTest( upload, download ); } ); |
||||
upload.OnComplete( function() { download.Start(); } ).Start(); |
||||
} |
||||
|
||||
function UpdateProgress( value ) |
||||
{ |
||||
$( "#progressbar" ).children( ".ui-progressbar-value" ).css( "width", value + "%" ); |
||||
} |
||||
|
||||
function AppendDetailsRow( test ) |
||||
{ |
||||
var tbl = $( "#tblSample" ); |
||||
var rows = $( "tr", tbl ); |
||||
|
||||
row = $( "<tr/>" ).appendTo( tbl ).css( "background-color", ( test.iteration % 2 ) ? "#eeeeee" : "#ffffff" ); |
||||
|
||||
var speed = test.last.GetSpeed().speedString(); |
||||
var time = test.last.GetTime().timeString(); |
||||
var addCol = function( text ) { $("<td/>" ).append( text ).appendTo( row ); }; |
||||
addCol( test.method + " " + test.iteration ) |
||||
addCol( time ); |
||||
addCol( test.ping.GetTime().timeString() ); |
||||
addCol( window.location.host ); |
||||
addCol( test.last.request.url ); |
||||
addCol( test.last.contentLength ); |
||||
addCol( test.last.status ); |
||||
addCol( speed ); |
||||
SetInfo( speed, test.ping.GetTime(), test.method ); |
||||
} |
||||
|
||||
var ulSpeed = $.query.get( "ul" ); |
||||
if( "" != ulSpeed ) |
||||
{ |
||||
Settings.MinimumUlSpeed = parseInt( ulSpeed ); |
||||
} |
||||
var dlSpeed = $.query.get( "dl" ); |
||||
if( "" != dlSpeed ) |
||||
{ |
||||
Settings.MinimumDlSpeed = parseInt( dlSpeed ); |
||||
} |
||||
var qsTime = $.query.get( "time" ); |
||||
if( "" != qsTime ) |
||||
{ |
||||
Settings.MaximumTime = parseInt( qsTime ); |
||||
} |
||||
|
||||
function SetInfo( speedtext, timetext, testMethod ) |
||||
{ |
||||
$( ( testMethod == Test.Download ) ? "#currentdlspeed" : "#currentulspeed" ).text( speedtext ); |
||||
$( "#currenttime" ).text( timetext ); |
||||
$( "#delay_input" ).val(timetext); |
||||
} |
||||
|
||||
var count = $.query.get( "count" ); |
||||
if( count == "" || count > 100 ) |
||||
count = Settings.RequestCount;
|
||||
|
||||
$( function() |
||||
{ |
||||
$( "#startTestButton" ).removeAttr( "disabled" ).val( Strings.StartTest ).click( function() { StartTest( count ) } ); |
||||
$( "#requiredulspeed" ).text( Settings.MinimumUlSpeed.speedString() ); |
||||
$( "#requireddlspeed" ).text( Settings.MinimumDlSpeed.speedString() ); |
||||
$( "#requiredtime" ).text( Settings.MaximumTime.timeString() ); |
||||
$( "#progressbar" ).progressbar(); |
||||
|
||||
document.title = Strings.Title; |
||||
$( "#title" ).text( Strings.Title ); |
||||
$( "#subtitle" ).text( Strings.SubTitle ); |
||||
$( "#testInProgressLabel" ).text( Strings.TestInProgress );
|
||||
$( "#logo" ).attr( "src", Settings.Logo ); |
||||
}); |
||||
--> |
||||
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 214 B |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 214 B |
|
After Width: | Height: | Size: 211 B |
|
After Width: | Height: | Size: 229 B |
|
After Width: | Height: | Size: 242 B |
|
After Width: | Height: | Size: 207 B |
|
After Width: | Height: | Size: 222 B |
@ -0,0 +1,9 @@ |
||||
/* Accordion |
||||
----------------------------------*/ |
||||
.ui-accordion-group {margin-bottom: 1px;} |
||||
.ui-accordion-header { cursor: pointer; position: relative; } |
||||
.ui-accordion-selected .ui-accordion-header { border-bottom: 0; } |
||||
.ui-accordion .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } |
||||
.ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em 2.2em; } |
||||
.ui-accordion-content-wrap { border-top: 0; margin-top: -1px; position: relative; top: 1px; } |
||||
.ui-accordion-content { padding: 1em 2.2em; } |
||||
@ -0,0 +1,3 @@ |
||||
@import "ui.core.css"; |
||||
@import "ui.theme.css"; |
||||
@import "ui.allplugins.css"; |
||||
@ -0,0 +1,4 @@ |
||||
@import "ui.core.css"; |
||||
@import "ui.theme.css"; |
||||
@import "ui.allplugins.css"; |
||||
|
||||
@ -0,0 +1,7 @@ |
||||
@import url("ui.accordion.css"); |
||||
@import url("ui.datepicker.css"); |
||||
@import url("ui.dialog.css"); |
||||
@import url("ui.progressbar.css"); |
||||
@import url("ui.resizable.css"); |
||||
@import url("ui.slider.css"); |
||||
@import url("ui.tabs.css"); |
||||
@ -0,0 +1,37 @@ |
||||
/* |
||||
* jQuery UI CSS Framework |
||||
* Copyright (c) 2009 AUTHORS.txt (http://ui.jquery.com/about) |
||||
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. |
||||
*/ |
||||
|
||||
/* Layout helpers |
||||
----------------------------------*/ |
||||
.ui-helper-hidden { display: none; } |
||||
.ui-helper-hidden-accessible { position: absolute; left: -99999999px; } |
||||
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } |
||||
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } |
||||
.ui-helper-clearfix { display: inline-block; } |
||||
/* required comment for clearfix to work in Opera \*/ |
||||
* html .ui-helper-clearfix { height:1%; } |
||||
.ui-helper-clearfix { display:block; } |
||||
/* end clearfix */ |
||||
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } |
||||
|
||||
|
||||
/* Interaction Cues |
||||
----------------------------------*/ |
||||
.ui-state-disabled { cursor: default !important; } |
||||
|
||||
|
||||
/* Icons |
||||
----------------------------------*/ |
||||
|
||||
/* states and images */ |
||||
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } |
||||
|
||||
|
||||
/* Misc visuals |
||||
----------------------------------*/ |
||||
|
||||
/* Overlays */ |
||||
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } |
||||
@ -0,0 +1,60 @@ |
||||
/* Datepicker |
||||
----------------------------------*/ |
||||
.ui-datepicker { width: 17em; padding: .2em .2em 0; } |
||||
.ui-datepicker-header { position:relative; padding:.2em 0; } |
||||
.ui-datepicker-prev, .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } |
||||
.ui-datepicker-prev-hover, .ui-datepicker-next-hover { top: 1px; } |
||||
.ui-datepicker-prev { left:2px; } |
||||
.ui-datepicker-next { right:2px; } |
||||
.ui-datepicker-prev-hover { left:1px; } |
||||
.ui-datepicker-next-hover { right:1px; } |
||||
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } |
||||
.ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } |
||||
.ui-datepicker-title select { float:left; font-size:1em; margin:1px 0; } |
||||
.ui-datepicker select.ui-datepicker-month-year {width: 100%;} |
||||
.ui-datepicker select.ui-datepicker-month, |
||||
.ui-datepicker select.ui-datepicker-year { width: 49%;} |
||||
.ui-datepicker-title select.ui-datepicker-year { float: right; } |
||||
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } |
||||
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; } |
||||
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } |
||||
.ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } |
||||
.ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } |
||||
.ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } |
||||
|
||||
/* with multiple calendars */ |
||||
.ui-datepicker.ui-datepicker-multi { width:auto; } |
||||
.ui-datepicker-multi .ui-datepicker-group { float:left; } |
||||
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } |
||||
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } |
||||
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } |
||||
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } |
||||
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } |
||||
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } |
||||
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } |
||||
|
||||
/* RTL support */ |
||||
.ui-datepicker-rtl { direction: rtl; } |
||||
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } |
||||
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } |
||||
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } |
||||
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } |
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } |
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } |
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } |
||||
.ui-datepicker-rtl .ui-datepicker-group { float:right; } |
||||
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } |
||||
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } |
||||
|
||||
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ |
||||
.ui-datepicker-cover { |
||||
display: none; /*sorry for IE5*/ |
||||
display/**/: block; /*sorry for IE5*/ |
||||
position: absolute; /*must have*/ |
||||
z-index: -1; /*must have*/ |
||||
filter: mask(); /*must have*/ |
||||
top: -4px; /*must have*/ |
||||
left: -4px; /*must have*/ |
||||
width: 200px; /*must have*/ |
||||
height: 200px; /*must have*/ |
||||
} |
||||
@ -0,0 +1,13 @@ |
||||
/* Dialog |
||||
----------------------------------*/ |
||||
.ui-dialog { position: relative; padding: .2em; width: 300px; } |
||||
.ui-dialog-titlebar { padding: .5em .3em .3em 1em; position: relative; } |
||||
.ui-dialog-title { float: left; margin: .1em 0 .2em; } |
||||
.ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } |
||||
.ui-dialog-titlebar-close span { display: block; margin: 1px; } |
||||
.ui-dialog-titlebar-close:hover, .ui-dialog-titlebar-close:focus { padding: 0; } |
||||
.ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; } |
||||
.ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } |
||||
.ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; } |
||||
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } |
||||
.ui-draggable .ui-dialog-titlebar { cursor: move; } |
||||
@ -0,0 +1,4 @@ |
||||
/* Progressbar |
||||
----------------------------------*/ |
||||
.ui-progressbar { height:2em; text-align: left; } |
||||
.ui-progressbar-value {margin: -1px; height:100%; } |
||||
@ -0,0 +1,13 @@ |
||||
/* Resizable |
||||
----------------------------------*/ |
||||
.ui-resizable { position: relative;} |
||||
.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;} |
||||
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } |
||||
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0px; } |
||||
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0px; } |
||||
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0px; height: 100%; } |
||||
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0px; height: 100%; } |
||||
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } |
||||
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } |
||||
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } |
||||
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;} |
||||
@ -0,0 +1,13 @@ |
||||
/* Slider |
||||
----------------------------------*/ |
||||
.ui-slider { position: relative; text-align: left; } |
||||
.ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } |
||||
.ui-slider-range { position: absolute; z-index: 1; font-size: 1%; display: block; border: 0; } |
||||
|
||||
.ui-slider-horizontal { height: .8em; } |
||||
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } |
||||
.ui-slider-horizontal .ui-slider-range { position: relative; top: 0; height: 100%; } |
||||
|
||||
.ui-slider-vertical { width: .8em; height: 100%; } |
||||
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } |
||||
.ui-slider-vertical .ui-slider-range { left: 0; height: auto; width: 100%; } |
||||
@ -0,0 +1,9 @@ |
||||
/* Tabs |
||||
----------------------------------*/ |
||||
.ui-tabs {padding: .2em;} |
||||
.ui-tabs-nav { padding: .2em .2em 0 .2em; position: relative; } |
||||
.ui-tabs-nav li { float: left; border-bottom: 0 !important; margin: 0 .2em -1px 0; padding: 0; } |
||||
.ui-tabs-nav li a { display:block; text-decoration: none; padding: .5em 1em; } |
||||
.ui-tabs-nav li.ui-tabs-selected { padding-bottom: .1em; border-bottom: 0; } |
||||
.ui-tabs-panel { padding: 1em 1.4em; display: block; border: 0; background: none; } |
||||
.ui-tabs-hide { display: none !important; } |
||||
@ -0,0 +1,240 @@ |
||||
/* |
||||
* jQuery UI CSS Framework |
||||
* Copyright (c) 2009 AUTHORS.txt (http://ui.jquery.com/about) |
||||
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. |
||||
* To view and modify this theme, visit http://themeroller.com/{themeurl} |
||||
*/ |
||||
|
||||
|
||||
/* Component containers |
||||
----------------------------------*/ |
||||
.ui-widget { font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; font-size: 1.1em/*{fsDefault}*/; } |
||||
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; font-size: 1em; } |
||||
.ui-widget-header { border: 1px solid #aaaaaa/*{borderColorHeader}*/; background: #cccccc/*{bgColorHeader}*/ url(images/cccccc_40x100_textures_03_highlight_soft_75.png)/*{bgImgUrlHeader}*/ 0/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/; color: #222222/*{fcHeader}*/; font-weight: bold; } |
||||
.ui-widget-header a { color: #222222/*{fcHeader}*/; } |
||||
.ui-widget-content { border: 1px solid #aaaaaa/*{borderColorContent}*/; background: #ffffff/*{bgColorContent}*/ url(images/ffffff_40x100_textures_02_glass_75.png)/*{bgImgUrlContent}*/ 0/*{bgContentXPos}*/ 0/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/; color: #222222/*{fcContent}*/; } |
||||
.ui-widget-content a { color: #222222/*{fcContent}*/; } |
||||
|
||||
/* Interaction states |
||||
----------------------------------*/ |
||||
.ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #d3d3d3/*{borderColorDefault}*/; background: #e6e6e6/*{bgColorDefault}*/ url(images/e6e6e6_40x100_textures_02_glass_75.png)/*{bgImgUrlDefault}*/ 0/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #555555/*{fcDefault}*/; outline: none; } |
||||
.ui-state-default a { color: #555555/*{fcDefault}*/; text-decoration: none; outline: none; } |
||||
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #999999/*{borderColorHover}*/; background: #dadada/*{bgColorHover}*/ url(images/dadada_40x100_textures_02_glass_75.png)/*{bgImgUrlHover}*/ 0/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcHover}*/; outline: none; } |
||||
.ui-state-hover a { color: #212121/*{fcHover}*/; text-decoration: none; outline: none; } |
||||
.ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #aaaaaa/*{borderColorActive}*/; background: #ffffff/*{bgColorActive}*/ url(images/ffffff_40x100_textures_02_glass_65.png)/*{bgImgUrlActive}*/ 0/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcActive}*/; outline: none; } |
||||
.ui-state-active a { color: #212121/*{fcActive}*/; outline: none; text-decoration: none; } |
||||
|
||||
/* Interaction Cues |
||||
----------------------------------*/ |
||||
.ui-state-highlight, .ui-widget-content .ui-state-highlight {border: 1px solid #fcefa1/*{borderColorHighlight}*/; background: #fbf9ee/*{bgColorHighlight}*/ url(images/fbf9ee_40x100_textures_02_glass_55.png)/*{bgImgUrlHighlight}*/ 0/*{bgHighlightXPos}*/ 50%/*{bgHighlightYPos}*/ repeat-x/*{bgHighlightRepeat}*/; color: #363636/*{fcHighlight}*/; } |
||||
.ui-state-error, .ui-widget-content .ui-state-error {border: 1px solid #cd0a0a/*{borderColorError}*/; background: #fef1ec/*{bgColorError}*/ url(images/fef1ec_40x100_textures_05_inset_soft_95.png)/*{bgImgUrlError}*/ 0/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/; color: #cd0a0a/*{fcError}*/; } |
||||
.ui-state-error-text, .ui-widget-content .ui-state-error-text { color: #cd0a0a/*{fcError}*/; } |
||||
.ui-state-disabled, .ui-widget-content .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } |
||||
.ui-priority-primary, .ui-widget-content .ui-priority-primary { font-weight: bold; } |
||||
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } |
||||
|
||||
/* Icons |
||||
----------------------------------*/ |
||||
|
||||
/* states and images */ |
||||
.ui-icon { width: 16px; height: 16px; background-image: url(images/222222_256x240_icons_icons.png)/*{iconsContent}*/; } |
||||
.ui-widget-content .ui-icon {background-image: url(images/222222_256x240_icons_icons.png)/*{iconsContent}*/; } |
||||
.ui-widget-header .ui-icon {background-image: url(images/222222_256x240_icons_icons.png)/*{iconsHeader}*/; } |
||||
.ui-state-default .ui-icon { background-image: url(images/888888_256x240_icons_icons.png)/*{iconsDefault}*/; } |
||||
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/454545_256x240_icons_icons.png)/*{iconsHover}*/; } |
||||
.ui-state-active .ui-icon {background-image: url(images/454545_256x240_icons_icons.png)/*{iconsActive}*/; } |
||||
.ui-state-highlight .ui-icon {background-image: url(images/2e83ff_256x240_icons_icons.png)/*{iconsHighlight}*/; } |
||||
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/cd0a0a_256x240_icons_icons.png)/*{iconsError}*/; } |
||||
|
||||
/* positioning */ |
||||
.ui-icon-carat-1-n { background-position: 0 0; } |
||||
.ui-icon-carat-1-ne { background-position: -16px 0; } |
||||
.ui-icon-carat-1-e { background-position: -32px 0; } |
||||
.ui-icon-carat-1-se { background-position: -48px 0; } |
||||
.ui-icon-carat-1-s { background-position: -64px 0; } |
||||
.ui-icon-carat-1-sw { background-position: -80px 0; } |
||||
.ui-icon-carat-1-w { background-position: -96px 0; } |
||||
.ui-icon-carat-1-nw { background-position: -112px 0; } |
||||
.ui-icon-carat-2-n-s { background-position: -128px 0; } |
||||
.ui-icon-carat-2-e-w { background-position: -144px 0; } |
||||
.ui-icon-triangle-1-n { background-position: 0 -16px; } |
||||
.ui-icon-triangle-1-ne { background-position: -16px -16px; } |
||||
.ui-icon-triangle-1-e { background-position: -32px -16px; } |
||||
.ui-icon-triangle-1-se { background-position: -48px -16px; } |
||||
.ui-icon-triangle-1-s { background-position: -64px -16px; } |
||||
.ui-icon-triangle-1-sw { background-position: -80px -16px; } |
||||
.ui-icon-triangle-1-w { background-position: -96px -16px; } |
||||
.ui-icon-triangle-1-nw { background-position: -112px -16px; } |
||||
.ui-icon-triangle-2-n-s { background-position: -128px -16px; } |
||||
.ui-icon-triangle-2-e-w { background-position: -144px -16px; } |
||||
.ui-icon-arrow-1-n { background-position: 0 -32px; } |
||||
.ui-icon-arrow-1-ne { background-position: -16px -32px; } |
||||
.ui-icon-arrow-1-e { background-position: -32px -32px; } |
||||
.ui-icon-arrow-1-se { background-position: -48px -32px; } |
||||
.ui-icon-arrow-1-s { background-position: -64px -32px; } |
||||
.ui-icon-arrow-1-sw { background-position: -80px -32px; } |
||||
.ui-icon-arrow-1-w { background-position: -96px -32px; } |
||||
.ui-icon-arrow-1-nw { background-position: -112px -32px; } |
||||
.ui-icon-arrow-2-n-s { background-position: -128px -32px; } |
||||
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } |
||||
.ui-icon-arrow-2-e-w { background-position: -160px -32px; } |
||||
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } |
||||
.ui-icon-arrowstop-1-n { background-position: -192px -32px; } |
||||
.ui-icon-arrowstop-1-e { background-position: -208px -32px; } |
||||
.ui-icon-arrowstop-1-s { background-position: -224px -32px; } |
||||
.ui-icon-arrowstop-1-w { background-position: -240px -32px; } |
||||
.ui-icon-arrowthick-1-n { background-position: 0 -48px; } |
||||
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } |
||||
.ui-icon-arrowthick-1-e { background-position: -32px -48px; } |
||||
.ui-icon-arrowthick-1-se { background-position: -48px -48px; } |
||||
.ui-icon-arrowthick-1-s { background-position: -64px -48px; } |
||||
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } |
||||
.ui-icon-arrowthick-1-w { background-position: -96px -48px; } |
||||
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } |
||||
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } |
||||
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } |
||||
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } |
||||
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } |
||||
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } |
||||
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } |
||||
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } |
||||
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } |
||||
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } |
||||
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } |
||||
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } |
||||
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } |
||||
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } |
||||
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } |
||||
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } |
||||
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } |
||||
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } |
||||
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } |
||||
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } |
||||
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } |
||||
.ui-icon-arrow-4 { background-position: 0 -80px; } |
||||
.ui-icon-arrow-4-diag { background-position: -16px -80px; } |
||||
.ui-icon-extlink { background-position: -32px -80px; } |
||||
.ui-icon-newwin { background-position: -48px -80px; } |
||||
.ui-icon-refresh { background-position: -64px -80px; } |
||||
.ui-icon-shuffle { background-position: -80px -80px; } |
||||
.ui-icon-transfer-e-w { background-position: -96px -80px; } |
||||
.ui-icon-transferthick-e-w { background-position: -112px -80px; } |
||||
.ui-icon-folder-collapsed { background-position: 0 -96px; } |
||||
.ui-icon-folder-open { background-position: -16px -96px; } |
||||
.ui-icon-document { background-position: -32px -96px; } |
||||
.ui-icon-document-b { background-position: -48px -96px; } |
||||
.ui-icon-note { background-position: -64px -96px; } |
||||
.ui-icon-mail-closed { background-position: -80px -96px; } |
||||
.ui-icon-mail-open { background-position: -96px -96px; } |
||||
.ui-icon-suitcase { background-position: -112px -96px; } |
||||
.ui-icon-comment { background-position: -128px -96px; } |
||||
.ui-icon-person { background-position: -144px -96px; } |
||||
.ui-icon-print { background-position: -160px -96px; } |
||||
.ui-icon-trash { background-position: -176px -96px; } |
||||
.ui-icon-locked { background-position: -192px -96px; } |
||||
.ui-icon-unlocked { background-position: -208px -96px; } |
||||
.ui-icon-bookmark { background-position: -224px -96px; } |
||||
.ui-icon-tag { background-position: -240px -96px; } |
||||
.ui-icon-home { background-position: 0 -112px; } |
||||
.ui-icon-flag { background-position: -16px -112px; } |
||||
.ui-icon-calendar { background-position: -32px -112px; } |
||||
.ui-icon-cart { background-position: -48px -112px; } |
||||
.ui-icon-pencil { background-position: -64px -112px; } |
||||
.ui-icon-clock { background-position: -80px -112px; } |
||||
.ui-icon-disk { background-position: -96px -112px; } |
||||
.ui-icon-calculator { background-position: -112px -112px; } |
||||
.ui-icon-zoomin { background-position: -128px -112px; } |
||||
.ui-icon-zoomout { background-position: -144px -112px; } |
||||
.ui-icon-search { background-position: -160px -112px; } |
||||
.ui-icon-wrench { background-position: -176px -112px; } |
||||
.ui-icon-gear { background-position: -192px -112px; } |
||||
.ui-icon-heart { background-position: -208px -112px; } |
||||
.ui-icon-star { background-position: -224px -112px; } |
||||
.ui-icon-link { background-position: -240px -112px; } |
||||
.ui-icon-cancel { background-position: 0 -128px; } |
||||
.ui-icon-plus { background-position: -16px -128px; } |
||||
.ui-icon-plusthick { background-position: -32px -128px; } |
||||
.ui-icon-minus { background-position: -48px -128px; } |
||||
.ui-icon-minusthick { background-position: -64px -128px; } |
||||
.ui-icon-close { background-position: -80px -128px; } |
||||
.ui-icon-closethick { background-position: -96px -128px; } |
||||
.ui-icon-key { background-position: -112px -128px; } |
||||
.ui-icon-lightbulb { background-position: -128px -128px; } |
||||
.ui-icon-scissors { background-position: -144px -128px; } |
||||
.ui-icon-clipboard { background-position: -160px -128px; } |
||||
.ui-icon-copy { background-position: -176px -128px; } |
||||
.ui-icon-contact { background-position: -192px -128px; } |
||||
.ui-icon-image { background-position: -208px -128px; } |
||||
.ui-icon-video { background-position: -224px -128px; } |
||||
.ui-icon-alert { background-position: 0 -144px; } |
||||
.ui-icon-info { background-position: -16px -144px; } |
||||
.ui-icon-notice { background-position: -32px -144px; } |
||||
.ui-icon-help { background-position: -48px -144px; } |
||||
.ui-icon-check { background-position: -64px -144px; } |
||||
.ui-icon-bullet { background-position: -80px -144px; } |
||||
.ui-icon-radio-off { background-position: -96px -144px; } |
||||
.ui-icon-radio-on { background-position: -112px -144px; } |
||||
.ui-icon-pin-w { background-position: -128px -144px; } |
||||
.ui-icon-pin-s { background-position: -144px -144px; } |
||||
.ui-icon-play { background-position: 0 -160px; } |
||||
.ui-icon-pause { background-position: -16px -160px; } |
||||
.ui-icon-seek-next { background-position: -32px -160px; } |
||||
.ui-icon-seek-prev { background-position: -48px -160px; } |
||||
.ui-icon-seek-end { background-position: -64px -160px; } |
||||
.ui-icon-seek-first { background-position: -80px -160px; } |
||||
.ui-icon-stop { background-position: -96px -160px; } |
||||
.ui-icon-eject { background-position: -112px -160px; } |
||||
.ui-icon-volume-off { background-position: -128px -160px; } |
||||
.ui-icon-volume-on { background-position: -144px -160px; } |
||||
.ui-icon-power { background-position: 0 -176px; } |
||||
.ui-icon-signal-diag { background-position: -16px -176px; } |
||||
.ui-icon-signal { background-position: -32px -176px; } |
||||
.ui-icon-battery-0 { background-position: -48px -176px; } |
||||
.ui-icon-battery-1 { background-position: -64px -176px; } |
||||
.ui-icon-battery-2 { background-position: -80px -176px; } |
||||
.ui-icon-battery-3 { background-position: -96px -176px; } |
||||
.ui-icon-circle-plus { background-position: 0 -192px; } |
||||
.ui-icon-circle-minus { background-position: -16px -192px; } |
||||
.ui-icon-circle-close { background-position: -32px -192px; } |
||||
.ui-icon-circle-triangle-e { background-position: -48px -192px; } |
||||
.ui-icon-circle-triangle-s { background-position: -64px -192px; } |
||||
.ui-icon-circle-triangle-w { background-position: -80px -192px; } |
||||
.ui-icon-circle-triangle-n { background-position: -96px -192px; } |
||||
.ui-icon-circle-arrow-e { background-position: -112px -192px; } |
||||
.ui-icon-circle-arrow-s { background-position: -128px -192px; } |
||||
.ui-icon-circle-arrow-w { background-position: -144px -192px; } |
||||
.ui-icon-circle-arrow-n { background-position: -160px -192px; } |
||||
.ui-icon-circle-zoomin { background-position: -176px -192px; } |
||||
.ui-icon-circle-zoomout { background-position: -192px -192px; } |
||||
.ui-icon-circle-check { background-position: -208px -192px; } |
||||
.ui-icon-circlesmall-plus { background-position: 0 -208px; } |
||||
.ui-icon-circlesmall-minus { background-position: -16px -208px; } |
||||
.ui-icon-circlesmall-close { background-position: -32px -208px; } |
||||
.ui-icon-squaresmall-plus { background-position: -48px -208px; } |
||||
.ui-icon-squaresmall-minus { background-position: -64px -208px; } |
||||
.ui-icon-squaresmall-close { background-position: -80px -208px; } |
||||
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } |
||||
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } |
||||
.ui-icon-grip-solid-vertical { background-position: -32px -224px; } |
||||
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } |
||||
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } |
||||
.ui-icon-grip-diagonal-se { background-position: -80px -224px; } |
||||
|
||||
|
||||
/* Misc visuals |
||||
----------------------------------*/ |
||||
|
||||
/* Corner radius */ |
||||
.ui-corner-tl { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; } |
||||
.ui-corner-tr { -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; } |
||||
.ui-corner-bl { -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; } |
||||
.ui-corner-br { -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; } |
||||
.ui-corner-top { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; } |
||||
.ui-corner-bottom { -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; } |
||||
.ui-corner-right { -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; } |
||||
.ui-corner-left { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; } |
||||
.ui-corner-all { -moz-border-radius: 4px/*{cornerRadius}*/; -webkit-border-radius: 4px/*{cornerRadius}*/; } |
||||
|
||||
/* Overlays */ |
||||
.ui-widget-overlay { background: #aaaaaa/*{bgColorOverlay}*/ none/*{bgImgUrlOverlay}*/ 0/*{bgOverlayXPos}*/ 0/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/; opacity: .3;filter:Alpha(Opacity=30)/*{opacityOverlay}*/; } |
||||
.ui-widget-shadow { margin: -4px/*{offsetTopShadow}*/ 0 0 -4px/*{offsetLeftShadow}*/; padding: 4px/*{thicknessShadow}*/; background: #aaaaaa/*{bgColorShadow}*/ none/*{bgImgUrlShadow}*/ 0/*{bgShadowXPos}*/ 0/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/; opacity: .35;filter:Alpha(Opacity=35)/*{opacityShadow}*/; -moz-border-radius: 4px/*{cornerRadiusShadow}*/; -webkit-border-radius: 4px/*{cornerRadiusShadow}*/; } |
||||
@ -0,0 +1,12 @@ |
||||
/* |
||||
* jQuery UI Progressbar 1.6rc5 |
||||
* |
||||
* Copyright (c) 2009 AUTHORS.txt (http://ui.jquery.com/about)
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt) |
||||
* and GPL (GPL-LICENSE.txt) licenses. |
||||
* |
||||
* http://docs.jquery.com/UI/Progressbar
|
||||
* |
||||
* Depends: |
||||
* ui.core.js |
||||
*/
(function(a){a.widget("ui.progressbar",{_init:function(){var b=this,c=this.options;this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this._valueMin(),"aria-valuemax":this._valueMax(),"aria-valuenow":this._value()});this.valueDiv=a('<div class="ui-progressbar-value ui-widget-header ui-corner-left"></div>').appendTo(this.element);this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow").removeData("progressbar").unbind(".progressbar");this.valueDiv.remove();a.widget.prototype.destroy.apply(this,arguments)},value:function(b){arguments.length&&this._setData("value",b);return this._value()},_setData:function(b,c){switch(b){case"value":this.options.value=c;this._refreshValue();this._trigger("change",null,{});break}a.widget.prototype._setData.apply(this,arguments)},_value:function(){var b=this.options.value;if(b<this._valueMin()){b=this._valueMin()}if(b>this._valueMax()){b=this._valueMax()}return b},_valueMin:function(){var b=0;return b},_valueMax:function(){var b=100;return b},_refreshValue:function(){var b=this.value();this.valueDiv[b==this._valueMax()?"addClass":"removeClass"]("ui-corner-right");this.valueDiv.width(b+"%");this.element.attr("aria-valuenow",b)}});a.extend(a.ui.progressbar,{version:"1.6rc5",defaults:{value:0}})})(jQuery); |
||||
@ -0,0 +1,10 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<configuration> |
||||
<system.webServer> |
||||
<defaultDocument> |
||||
<files> |
||||
<add value="index.aspx" /> |
||||
</files> |
||||
</defaultDocument> |
||||
</system.webServer> |
||||
</configuration> |
||||