コード例 #1
0
				$.smallBox({
					title : "<?php 
DMsg::EchoUIStr('service_addtomonitor');
?>
",
					content : "<?php 
DMsg::EchoUIStr('service_confirmmonitor');
?>
 " + vhname
						+ "? <p class='text-align-right'><a href='javascript:void(0);' onclick='javascript:addMonitorTab(\""
						+ vhname
						+ "\");' class='btn btn-primary btn-sm'><?php 
DMsg::EchoUIStr('btn_yes');
?>
</a> <a href='javascript:void(0);' class='btn btn-default btn-sm'><?php 
DMsg::EchoUIStr('btn_cancel');
?>
</a></p>",
					color : "#296191",
					icon : "fa fa-stethoscope swing animated"
				});
			}
		});

		$("#refresh-interval").change(function() {
			updateInterval = $(this).val() * 1000;
			clearInterval($.intervalArr.pop());
			if (updateInterval > 0) {
				$.intervalArr.push(setInterval(updateChart, updateInterval));
			}
		});
コード例 #2
0
ファイル: scripts.php プロジェクト: kopytov/openlitespeed
DMsg::EchoUIStr('btn_yes');
?>
") {

                $.ajax({
                    type: "POST",
                    url: "view/serviceMgr.php",
                    data: {"act": "toggledebug"},
                    beforeSend: function () {
                        $.smallBox({
                            title: "<?php 
DMsg::EchoUIStr('service_requesting');
?>
",
                            content: "<i class='fa fa-clock-o'></i> <i><?php 
DMsg::EchoUIStr('service_willrefresh');
?>
</i>",
                            color: "#659265",
                            iconSmall: "fa fa-check fa-2x fadeInRight animated",
                            timeout: 2200
                        });
                    },
                    success: function (data) {
                        setTimeout(refreshLog, 2000);
                    }
                });

            }

        });
コード例 #3
0
ファイル: login.php プロジェクト: Acidburn0zzz/openlitespeed
											<input type="text" id="uid" name="userid" tabindex="1" required autofocus="autofocus">
											<b class="tooltip tooltip-top-right"><i class="fa fa-user txt-color-teal"></i> <?php 
DMsg::EchoUIStr('service_enteruser');
?>
</b></label>
									</section>

									<section>
										<label class="label"><?php 
DMsg::EchoUIStr('l_pass');
?>
</label>
										<label class="input"> <i class="icon-append fa fa-lock"></i>
											<input type="password" id="pass" name="pass"  tabindex="2" required >
											<b class="tooltip tooltip-top-right"><i class="fa fa-lock txt-color-teal"></i> <?php 
DMsg::EchoUIStr('service_enterpass');
?>
</b> </label>
									</section>

								</fieldset>
								<footer>
									<button type="submit" class="btn btn-primary">
										Sign in
									</button>
								</footer>
							</form>
						</div>
					</div>
<br>
</div>
コード例 #4
0
ファイル: logviewer.php プロジェクト: kopytov/openlitespeed
	</form>
	</div>
	<p id="dash_logfoundmesg" class="alert alert-info no-margin"></p>
						</p>
	<!-- widget div-->
			<!-- content goes here -->

	<table id="dash_logtbl" class="table table-condensed table-hover" width="100%">
		<thead><tr><th width="150"><?php 
DMsg::EchoUIStr('service_time');
?>
</th><th width="60"><?php 
DMsg::EchoUIStr('service_level');
?>
</th><th><?php 
DMsg::EchoUIStr('service_mesg');
?>
</th></tr></thead>
		<tbody id="dash_logbody" class="font-lstlog">
			<tr><td></td><td></td><td></td></tr>
		</tbody>
	</table>
			<!-- end content -->
</article>
</div>

<script type="text/javascript">
	/* DO NOT REMOVE : GLOBAL FUNCTIONS!
	 *
	 * pageSetUp() is needed whenever you load a page.
	 * It initializes and checks for all basic elements of the page
コード例 #5
0
ファイル: compilePHP.php プロジェクト: kopytov/openlitespeed
			logzone.text(log.substring(pos));
			lst_refreshFooterTime();

			if (log.indexOf("\n**DONE**") >= 0) {
				$("#statusgraphzone").html(' <span class="label label-success"><i class="fa fa-check"></i></span> <?php 
DMsg::EchoUIStr('buildphp_finishsuccess');
?>
');
				if ($("#nextbtn").length) {
					$("#nextbtn").removeClass('disabled');
					$("#prevbtn").removeClass('disabled');
				}
        	}
        	else if (log.indexOf("\n**ERROR**") >= 0) {
        		$("#statusgraphzone").html(' <span class="label label-danger"><i class="fa fa-warning"></i></span> <?php 
DMsg::EchoUIStr('buildphp_stopduetoerr');
?>
');
				if ($("#prevbtn").length)
        			$("#prevbtn").removeClass('disabled');
				else
					setTimeout(refreshStatus, 15000);
        	}
        	else {
            	setTimeout(refreshStatus, 3000);
			}

		})
		.error (function(mesg) {
			statuszone.text('Status refresh error: ' + mesg + ' ... pleasse wait');
			setTimeout(refreshStatus, 5000);
コード例 #6
0
ファイル: index.php プロジェクト: kopytov/openlitespeed
?>
-->

<!-- PAGE FOOTER -->
<div class="page-footer">
	<div class="row">
		<div class="col-xs-12 col-sm-6">
			<span class="txt-color-white">LiteSpeed WebAdmin Console © 2014-2015 <?php 
DMsg::EchoUIStr('note_copyrightreserved');
?>
</span>
		</div>
		<div class="col-xs-6 col-sm-6 text-right hidden-xs">
			<i class="txt-color-blueLight hidden-mobile"> <i class="fa fa-clock-o"></i>
			<i><?php 
DMsg::EchoUIStr('note_dataretrievedat');
?>
 <span id="lst_UpdateStamp"></span> </i>
		</div>
	</div>
</div>


<!-- END PAGE FOOTER -->

<!-- ==========================CONTENT ENDS HERE ========================== -->

<?php 
include "view/inc/scripts.php";
?>