2013-05-23 10:19:43 +02:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<!--
|
|
|
|
Design by Free CSS Templates
|
|
|
|
http://www.freecsstemplates.org
|
|
|
|
Released for free under a Creative Commons Attribution 2.5 License
|
|
|
|
|
|
|
|
Name : Indication
|
|
|
|
Description: A two-column, fixed-width design with dark color scheme.
|
|
|
|
Version : 1.0
|
|
|
|
Released : 20090910
|
|
|
|
|
|
|
|
-->
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
|
|
<meta name="keywords" content="" />
|
|
|
|
<meta name="description" content="" />
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
|
|
<title>Tisbackup GUI</title>
|
|
|
|
|
|
|
|
<!-- Styles -->
|
2015-06-30 10:06:27 +02:00
|
|
|
<link rel="stylesheet" type="text/css" href="/static/styles/jquery.dataTables.css">
|
2013-05-23 10:19:43 +02:00
|
|
|
<link rel="stylesheet" type="text/css" href="/static/styles/style.css">
|
2015-06-30 14:31:49 +02:00
|
|
|
<link rel="stylesheet" type="text/css" href="/static/styles/bootstrap.min.css">
|
2013-05-23 10:19:43 +02:00
|
|
|
|
|
|
|
<!-- Scripts -->
|
|
|
|
<script type=text/javascript src="/static/js/jquery.min.js"></script>
|
|
|
|
<script type=text/javascript src="/static/js/jquery.dataTables.js"></script>
|
2015-06-30 14:31:49 +02:00
|
|
|
<script type=text/javascript src="/static/js/bootbox.js"></script>
|
|
|
|
<script type=text/javascript src="/static/js/bootstrap.min.js"></script>
|
2013-05-23 10:19:43 +02:00
|
|
|
</head>
|
|
|
|
<body background='/static/images/bg_body.gif'>
|
|
|
|
<div id="wrapper">
|
|
|
|
<div id="header">
|
|
|
|
<div id="logo">
|
|
|
|
<h1><a href="/">TIS Backup GUI</a></h1>
|
|
|
|
<p> design by Hübert</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- end #header -->
|
|
|
|
<div id="menu">
|
2015-06-30 18:10:03 +02:00
|
|
|
|
2013-05-23 10:19:43 +02:00
|
|
|
<ul>
|
|
|
|
<li><a href="/">Backups</a></li>
|
|
|
|
<li><a href="/export_backup">Export Backup</a></li>
|
|
|
|
<li><a href="/last_backups">Last Backups</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<!-- end #menu -->
|
|
|
|
<div id="page">
|
|
|
|
<div id="page-bgtop">
|
|
|
|
<div id="page-bgbtm">
|
2015-06-30 18:10:03 +02:00
|
|
|
<div id="choix_conf" style="float:right;margin-top:5px;">
|
|
|
|
Choix du fichier de configuration :
|
|
|
|
<select id="config">
|
|
|
|
</select> </div>
|
2013-05-23 10:19:43 +02:00
|
|
|
<div id="content">
|
|
|
|
<div class="post">
|
|
|
|
{% block content %}
|
|
|
|
<div id="mouter">
|
|
|
|
<div id="minner">
|
|
|
|
<p>Hello World</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div style="clear: both;"> </div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div style="clear: both;"> </div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- end #page -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- end #footer -->
|
|
|
|
</div>
|
|
|
|
<div id="footer">
|
|
|
|
<p>Copyright (c) 2012 Tranquil IT Systems. All rights reserved. Design by <a href="http://www.tranquil-it-systems.fr/">TIS</a>.</p>
|
|
|
|
</div>
|
2015-06-30 18:10:03 +02:00
|
|
|
<script>
|
|
|
|
function configs(){
|
|
|
|
$.getJSON("/config_number/", function(data) {
|
|
|
|
if ( data.configs.length == 1){
|
|
|
|
$("#choix_conf").hide();
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
$.each(data.configs, function(key,val){
|
|
|
|
if (key == data.config_number)
|
|
|
|
$('#config').append('<option vaulue="'+key+'" selected>'+val+'</option>');
|
|
|
|
else
|
|
|
|
$('#config').append('<option vaulue="'+key+'">'+val+'</option>');
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$( "#config" ).change(function() {
|
|
|
|
$.get( "/config_number/"+this.selectedIndex, function( data ) {location.reload();});
|
|
|
|
});
|
|
|
|
};
|
|
|
|
configs();
|
|
|
|
</script>
|
|
|
|
|
2013-05-23 10:19:43 +02:00
|
|
|
</body>
|
|
|
|
</html>
|