mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 01:37:02 +02:00
changed the gui to use twitter's bootstrap
This commit is contained in:
@ -1,3 +1,3 @@
|
||||
|
||||
<p><?php print $errorstring; ?></p>
|
||||
<p class="text-error bold"><?php print $errorstring; ?></p>
|
||||
|
||||
|
@ -10,21 +10,26 @@
|
||||
<meta name="rating" content="general" />
|
||||
<meta name="robots" content="all" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
|
||||
<link href="/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/default/stylesheet/jquery-ui-custom.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/default/stylesheet/rc-splitter.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/default/stylesheet/style-<?php print THEME; ?>.css" />
|
||||
|
||||
<script type="text/javascript" src="/view/javascript/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/jquery-ui-custom.min.js"></script>
|
||||
<script type="text/javascript" src="/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/rc-splitter.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/piler.js"></script>
|
||||
</head>
|
||||
|
||||
<body onload="Piler.add_shortcuts();">
|
||||
<body class="mybody" onload="Piler.add_shortcuts();">
|
||||
|
||||
<div id="messagebox1"></div>
|
||||
|
||||
<div id="piler1">
|
||||
<div id="piler1" class="container">
|
||||
|
||||
|
||||
<div id="menu">
|
||||
@ -37,10 +42,10 @@
|
||||
<input type="hidden" name="sort" id="sort" value="date" />
|
||||
<input type="hidden" name="order" id="order" value="0" />
|
||||
|
||||
<input type="text" id="_search" name="_search" class="advtextgrey" value="" placeholder="<?php print $text_enter_search_terms; ?>" onclick="Piler.toggle_search_class();" />
|
||||
<input type="text" id="_search" name="_search" class="input-medium search-query span6" value="" placeholder="<?php print $text_enter_search_terms; ?>" onclick="Piler.toggle_search_class();" />
|
||||
|
||||
<button id="button_search" class="active" onclick="Piler.auditexpert(this);"><?php print $text_search; ?></button>
|
||||
<input type="button" class="advsecondary" onclick="Piler.cancel();" value="<?php print $text_cancel; ?>" />
|
||||
<button id="button_search" class="btn btn-primary" onclick="Piler.auditexpert(this);"><?php print $text_search; ?></button>
|
||||
<input type="button" class="btn" onclick="Piler.cancel();" value="<?php print $text_cancel; ?>" />
|
||||
|
||||
<div id="sspinner">
|
||||
<img src="/view/theme/default/images/spinner.gif" id="spinner" alt="spinner" />
|
||||
|
@ -10,25 +10,29 @@
|
||||
<meta name="rating" content="general" />
|
||||
<meta name="robots" content="all" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
|
||||
<link href="/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/default/stylesheet/jquery-ui-custom.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/default/stylesheet/rc-splitter.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/default/stylesheet/style-<?php print THEME; ?>.css" />
|
||||
|
||||
<script type="text/javascript" src="/view/javascript/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/jquery-ui-custom.min.js"></script>
|
||||
<script type="text/javascript" src="/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/rc-splitter.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/piler.js"></script>
|
||||
</head>
|
||||
|
||||
<body onload="Piler.add_shortcuts();">
|
||||
<body class="mybody" onload="Piler.add_shortcuts();">
|
||||
|
||||
<div id="messagebox1"></div>
|
||||
|
||||
<div id="piler1">
|
||||
|
||||
<div id="piler1" class="container">
|
||||
|
||||
<div id="menu">
|
||||
<?php print $menu; ?>
|
||||
<?php print $menu; ?>
|
||||
</div>
|
||||
|
||||
<div id="expertsearch">
|
||||
@ -39,64 +43,26 @@
|
||||
<input type="hidden" name="ref" id="ref" value="" />
|
||||
<input type="hidden" name="prefix" id="prefix" value="" />
|
||||
|
||||
<input type="text" id="_search" name="_search" class="advtextgrey" value="" placeholder="<?php print $text_enter_search_terms; ?>" onclick="Piler.toggle_search_class();" />
|
||||
<input type="text" id="_search" name="_search" class="input-medium search-query span6" value="" placeholder="<?php print $text_enter_search_terms; ?>" onclick="Piler.toggle_search_class();" />
|
||||
|
||||
<div class="aoo" onclick="$('#searchpopup1').show();">
|
||||
<div class="aoq"></div>
|
||||
</div>
|
||||
<button id="button_search" class="btn btn-danger" onclick="Piler.expert(this); return false;"><?php print $text_search; ?></button>
|
||||
|
||||
<button id="button_search" class="active" onclick="Piler.expert(this);"><?php print $text_search; ?></button>
|
||||
<input type="button" class="advsecondary" onclick="Piler.cancel();" value="<?php print $text_cancel; ?>" />
|
||||
<input type="button" class="advsecondary" onclick="Piler.saved_search_terms('<?php print $text_saved; ?>');" value="<?php print $text_save; ?>" />
|
||||
<input type="button" class="advsecondary" onclick="Piler.load_saved_search_terms();" value="<?php print $text_load; ?>" />
|
||||
<button class="btn" onclick="$('#searchpopup1').show(); return false;"><?php print $text_advanced_search; ?></button>
|
||||
<button class="btn" onclick="Piler.cancel(); return false;"><?php print $text_cancel; ?></button>
|
||||
<button class="btn " onclick="Piler.saved_search_terms('<?php print $text_saved; ?>'); return false;"><?php print $text_save; ?></button>
|
||||
<button class="btn btn-inverse" onclick="Piler.load_saved_search_terms(); return false;"><?php print $text_load; ?></button>
|
||||
|
||||
|
||||
<?php print $popup; ?>
|
||||
|
||||
<div id="sspinner">
|
||||
<img src="/view/theme/default/images/spinner.gif" id="spinner" alt="spinner" />
|
||||
<div class="progress progress-striped active">
|
||||
<div class="bar" style="width: 100%;"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="resultsheader">
|
||||
<div id="resultstop">
|
||||
<div class="resultrow">
|
||||
<div class="resultcell restore"><input type="checkbox" id="bulkcheck" name="bulkcheck" value="1" <?php if(SEARCH_RESULT_CHECKBOX_CHECKED == 1) { ?>checked="checked"<?php } ?> class="restorebox" onclick="Piler.toggle_bulk_check();" /></div>
|
||||
<div class="resultcell id"><a href="#"><img class="download_icon" src="<?php print ICON_DOWNLOAD; ?>" width="18" height="18" alt="aaa" border="0" onclick="Piler.download_messages();" /></a></div>
|
||||
<div class="resultcell date header">
|
||||
<?php print $text_date; ?>
|
||||
<a xid="date" xorder="1" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
|
||||
<a xid="date" xorder="0" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
|
||||
</div>
|
||||
<div class="resultcell from header">
|
||||
<?php print $text_from; ?>
|
||||
<a xid="from" xorder="1" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
|
||||
<a xid="from" xorder="0" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
|
||||
</div>
|
||||
<div class="resultcell to header">
|
||||
<?php print $text_to; ?>
|
||||
</div>
|
||||
<div class="resultcell subject header">
|
||||
<?php print $text_subject; ?>
|
||||
<a xid="subj" xorder="1" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
|
||||
<a xid="subj" xorder="0" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
|
||||
</div>
|
||||
<div class="resultcell size header">
|
||||
<?php print $text_size; ?>
|
||||
<a xid="size" xorder="1" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
|
||||
<a xid="size" xorder="0" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
|
||||
</div>
|
||||
<div class="resultcell end"> </div>
|
||||
<div class="resultcell end"> </div>
|
||||
<div class="resultcell end"> </div>
|
||||
<?php if(ENABLE_ON_THE_FLY_VERIFICATION == 1) { ?>
|
||||
<div class="resultcell verification"> </div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div id="mainscreen">
|
||||
|
@ -10,25 +10,33 @@
|
||||
<meta name="rating" content="general" />
|
||||
<meta name="robots" content="all" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
|
||||
<link href="/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/default/stylesheet/jquery-ui-custom.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/default/stylesheet/rc-splitter.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/default/stylesheet/style-<?php print THEME; ?>.css" />
|
||||
|
||||
<script type="text/javascript" src="/view/javascript/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/jquery-ui-custom.min.js"></script>
|
||||
<script type="text/javascript" src="/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/rc-splitter.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/piler.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body<?php if(isset($this->request->get['route']) && $this->request->get['route'] == 'health/health') { ?> onload="Piler.load_health(); setInterval('Piler.load_health()', Piler.health_refresh * 1000);"<?php } ?>>
|
||||
<body class="mybody"<?php if(isset($this->request->get['route']) && $this->request->get['route'] == 'health/health') { ?> onload="Piler.load_health(); setInterval('Piler.load_health()', Piler.health_refresh * 1000);"<?php } ?>>
|
||||
|
||||
<div id="piler1">
|
||||
<div id="piler1" class="container">
|
||||
|
||||
<div id="menu"><?php print $menu; ?></div>
|
||||
<div id="menu">
|
||||
<?php print $menu; ?>
|
||||
</div>
|
||||
|
||||
<div id="main" align="center">
|
||||
|
||||
<?php if($title) { ?><h3><?php print $title; ?></h3><?php } ?>
|
||||
<?php if($title) { ?><h3 class="title"><?php print $title; ?></h3><?php } ?>
|
||||
|
||||
<?php print $content; ?>
|
||||
|
||||
|
@ -1,18 +1,63 @@
|
||||
<?php if(Registry::get('username')) { ?>
|
||||
|
||||
<div class="logout22">
|
||||
<a href="search.php"<?php if($_SERVER['REQUEST_URI'] == '/' || strstr($_SERVER['REQUEST_URI'], "search.php")){ ?> id="active"<?php } ?>><?php print $text_search; ?></a> |
|
||||
<?php if(ENABLE_FOLDER_RESTRICTIONS == 1) { ?>
|
||||
<a href="folders.php"<?php if(strstr($_SERVER['REQUEST_URI'], "folders.php")){ ?> id="active"<?php } ?>><?php print $text_folders; ?></a> |
|
||||
<?php } ?>
|
||||
<a href="settings.php"<?php if(strstr($_SERVER['REQUEST_URI'], "settings.php")){ ?> id="active"<?php } ?>><?php print $text_settings; ?></a> |
|
||||
<?php if(HELPER_URL) { ?>
|
||||
<a href="<?php print HELPER_URL; ?>"><?php print $text_help; ?></a> |
|
||||
<?php } ?>
|
||||
<?php if(isset($_SESSION['realname'])) { print $text_realname; ?>: <?php print $_SESSION['realname']; ?> | <?php } ?>
|
||||
<a href="logout.php"<?php if(strstr($_SERVER['QUERY_STRING'], "login/logout")){ ?> id="active"<?php } ?>><?php print $text_logout; ?></a>
|
||||
</div>
|
||||
<div class="navbar">
|
||||
<div class="navbar-inner">
|
||||
|
||||
<?php if(BRANDING_TEXT) { ?>
|
||||
<a class="brand" href="<?php if(BRANDING_URL) { print BRANDING_URL; } else { ?>#<?php } ?>"><?php print BRANDING_TEXT; ?></a>'
|
||||
<?php } ?>
|
||||
|
||||
<ul class="nav pull-left">
|
||||
|
||||
<?php if($admin_user == 1) { ?>
|
||||
|
||||
<li class="dropdown<?php if(strstr($_SERVER['QUERY_STRING'], "stat/") || strstr($_SERVER['QUERY_STRING'], "health/") || strstr($_SERVER['QUERY_STRING'], "audit/") ) { ?> active<?php } ?>">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php print $text_monitor; ?> <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="index.php?route=stat/stat×pan=daily"><?php print $text_statistics; ?></a></li>
|
||||
<li><a href="index.php?route=health/health"><?php print $text_health; ?></a></li>
|
||||
<li><a href="index.php?route=accounting/accounting&view=email"><?php print $text_accounting; ?></a></li>
|
||||
<?php if(ENABLE_AUDIT == 1) { ?>
|
||||
<li><a href="index.php?route=audit/audit"><?php print $text_audit; ?></a></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="divider-vertical"></li>
|
||||
|
||||
<li class="dropdown<?php if(strstr($_SERVER['QUERY_STRING'], "domain/") || $_SERVER['QUERY_STRING'] == "route=user/list" || strstr($_SERVER['QUERY_STRING'], "group/") || strstr($_SERVER['QUERY_STRING'], "policy/") ) { ?> active<?php } ?>">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php print $text_administration; ?> <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="index.php?route=user/list"><?php print $text_users; ?></a></li>
|
||||
<li><a href="index.php?route=group/list"><?php print $text_groups; ?></a></li>
|
||||
<li><a href="index.php?route=domain/domain"><?php print $text_domain; ?></a></li>
|
||||
<li><a href="index.php?route=policy/archiving"><?php print $text_archiving_rules; ?></a></li>
|
||||
<li><a href="index.php?route=policy/retention"><?php print $text_retention_rules; ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<?php } else { ?>
|
||||
|
||||
<li<?php if($_SERVER['REQUEST_URI'] == '/' || strstr($_SERVER['REQUEST_URI'], "search.php")){ ?> class="active"<?php } ?>><a href="search.php"><?php print $text_search; ?></a></li>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
</ul>
|
||||
|
||||
<ul class="nav pull-right">
|
||||
<li class="divider-vertical"></li>
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php print $_SESSION['realname']; ?> <i class="icon-user"></i> <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="settings.php"><?php print $text_settings; ?></a></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="logout.php"><?php print $text_logout; ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
|
Reference in New Issue
Block a user