Commit 8ceb0824 authored by Marius Cramer's avatar Marius Cramer

- Layout fixes

- Included new icons and buttons
- Layout scaling improved (up to 1260px width)
parent ba731655
......@@ -348,29 +348,33 @@ class listform {
sort($show_pages);
$show_pages = array_unique($show_pages);
$content = '<nav>
<ul class="pagination">';
//* Show Back
if(isset($vars['show_page_back']) && $vars['show_page_back'] == 1){
$content = '<a class="btn-page first-page" href="'."javascript:loadContent('".$vars['list_file'].'?page=0'.$vars['page_params']."');".'">'
.'<img src="themes/'.$_SESSION['s']['theme'].'/icons/x16/arrow_stop_180.png"></a> &nbsp; ';
$content .= '<a class="btn-page previous-page" href="'."javascript:loadContent('".$vars['list_file'].'?page='.$vars['last_page'].$vars['page_params']."');".'">'
.'<img src="themes/'.$_SESSION['s']['theme'].'/icons/x16/arrow_180.png"></a> &nbsp; ';
$content .= '<li><a href="'."javascript:loadContent('".$vars['list_file'].'?page=0'.$vars['page_params']."');".'" aria-label="First">
<span aria-hidden="true">&laquo;</span></a></li>';
$content .= '<li><a href="'."javascript:loadContent('".$vars['list_file'].'?page='.$vars['last_page'].$vars['page_params']."');".'" aria-label="Previous">
<span aria-hidden="true">&lsaquo;</span></a></li>';
}
$content .= ' '.$this->lng('page_txt').' ';
$prev = -1;
foreach($show_pages as $p) {
if($prev != -1 && $p > $prev + 1) $content .= '<span class="page-spacer">...</span>';
$content .= '<a class="link-page' . ($p == $vars['page'] ? ' current-page' : '') . '" href="'."javascript:loadContent('".$vars['list_file'].'?page='.$p.$vars['page_params']."');".'">'. ($p+1) .'</a>';
if($prev != -1 && $p > $prev + 1) $content .= '<li class="disabled"><a href="#">…</a></li>';
$content .= '<li' . ($p == $vars['page'] ? ' class="active"' : '') . '><a href="'."javascript:loadContent('".$vars['list_file'].'?page='.$p.$vars['page_params']."');".'">'. ($p+1) .'</a></li>';
$prev = $p;
}
//.$vars['next_page'].' '.$this->lng('page_of_txt').' '.$vars['max_pages'].' &nbsp; ';
//* Show Next
if(isset($vars['show_page_next']) && $vars['show_page_next'] == 1){
$content .= '<a class="btn-page next-page" href="'."javascript:loadContent('".$vars['list_file'].'?page='.$vars['next_page'].$vars['page_params']."');".'">'
.'<img src="themes/'.$_SESSION['s']['theme'].'/icons/x16/arrow.png"></a> &nbsp; ';
$content .= '<a class="btn-page last-page" href="'."javascript:loadContent('".$vars['list_file'].'?page='.$vars['pages'].$vars['page_params']."');".'">'
.'<img src="themes/'.$_SESSION['s']['theme'].'/icons/x16/arrow_stop.png"></a>';
$content .= '<li><a href="'."javascript:loadContent('".$vars['list_file'].'?page='.$vars['next_page'].$vars['page_params']."');".'" aria-label="Next">
<span aria-hidden="true">&rsaquo;</span></a></li>';
$content .= '<li><a href="'."javascript:loadContent('".$vars['list_file'].'?page='.$vars['pages'].$vars['page_params']."');".'" aria-label="Last">
<span aria-hidden="true">&raquo;</span></a></li>';
}
$content .= '</ul></nav>';
return $content;
}
......
......@@ -17,7 +17,7 @@
</div></div>
<div class="form-group">
<label for="snippet" class="col-sm-3 control-label">{tmpl_var name='snippet_txt'}</label>
<div class="col-sm-9"><textarea name="snippet" id="snippet" rows='10' cols='50' style="width:400px;">{tmpl_var name='snippet'}</textarea></div><span class="nginx"> &nbsp; {tmpl_var name='variables_txt'}: </span><a href="javascript:void(0);" class="addPlaceholder nginx">{DOCROOT}</a><span class="nginx">, </span><a href="javascript:void(0);" class="addPlaceholder nginx">{FASTCGIPASS}</a>
<div class="col-sm-9"><textarea class="form-control" name="snippet" id="snippet" rows='10' cols='50' style="width:400px;">{tmpl_var name='snippet'}</textarea></div><span class="nginx"> &nbsp; {tmpl_var name='variables_txt'}: </span><a href="javascript:void(0);" class="addPlaceholder nginx">{DOCROOT}</a><span class="nginx">, </span><a href="javascript:void(0);" class="addPlaceholder nginx">{FASTCGIPASS}</a>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{tmpl_var name='customer_viewable_txt'}</label>
......
......@@ -14,7 +14,7 @@
<p><tmpl_var name="list_head_txt"></p>
<div class="table-wrapper marginTop15">
<table class="table">
<thead class="dark">
<thead class="dark form-group-sm">
<tr>
<th><tmpl_var name="active_txt"></th>
<th><tmpl_var name="name_txt"></th>
......@@ -22,11 +22,11 @@
<th>{tmpl_var name='search_limit'}</th>
</tr>
<tr>
<td><select name="search_active">{tmpl_var name='search_active'}</select></td>
<td><input type="text" name="search_name" value="{tmpl_var name='search_name'}" /></td>
<td><select name="search_type">{tmpl_var name='search_type'}</select></td>
<td><select class="form-control" name="search_active">{tmpl_var name='search_active'}</select></td>
<td><input class="form-control" type="text" name="search_name" value="{tmpl_var name='search_name'}" /></td>
<td><select class="form-control" name="search_type">{tmpl_var name='search_type'}</select></td>
<td>
<button type="button" class="btn btn-default formbutton-filter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/directive_snippets_list.php');">{tmpl_var name="filter_txt"}</button>
<button type="button" class="btn btn-default formbutton-default formbutton-narrow" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/directive_snippets_list.php');"><span class="icon icon-filter"></span></button>
</td>
</tr>
</thead>
......@@ -37,7 +37,7 @@
<td><a href="#" data-load-content="admin/directive_snippets_edit.php?id={tmpl_var name='id'}">{tmpl_var name="name"}</a></td>
<td><a href="#" data-load-content="admin/directive_snippets_edit.php?id={tmpl_var name='id'}">{tmpl_var name="type"}</a></td>
<td>
<a class="btn btn-default formbutton-delete" href="javascript: del_record('admin/directive_snippets_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');">{tmpl_var name='delete_txt'}</button>
<a class="btn btn-default formbutton-danger formbutton-narrow" href="javascript: del_record('admin/directive_snippets_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span class="icon icon-delete"></span></button>
</td>
</tr>
</tmpl_loop>
......
......@@ -14,7 +14,7 @@
<p><tmpl_var name="list_head_txt"></p>
<div class="table-wrapper marginTop15">
<table class="table">
<thead class="dark">
<thead class="dark form-group-sm">
<tr>
<th><tmpl_var name="active_txt"></th>
<th><tmpl_var name="server_id_txt"></th>
......@@ -23,12 +23,12 @@
<th>{tmpl_var name='search_limit'}</th>
</tr>
<tr>
<td><select name="search_active">{tmpl_var name='search_active'}</select></td>
<td><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td>
<td><input type="text" name="search_tcp_port" value="{tmpl_var name='search_tcp_port'}" /></td>
<td><input type="text" name="search_udp_port" value="{tmpl_var name='search_udp_port'}" /></td>
<td><select class="form-control" name="search_active">{tmpl_var name='search_active'}</select></td>
<td><select class="form-control" name="search_server_id">{tmpl_var name='search_server_id'}</select></td>
<td><input class="form-control" type="text" name="search_tcp_port" value="{tmpl_var name='search_tcp_port'}" /></td>
<td><input class="form-control" type="text" name="search_udp_port" value="{tmpl_var name='search_udp_port'}" /></td>
<td>
<button type="button" class="btn btn-default formbutton-filter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/firewall_list.php');">{tmpl_var name="filter_txt"}</button>
<button type="button" class="btn btn-default formbutton-default formbutton-narrow" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/firewall_list.php');"><span class="icon icon-filter"></span></button>
</td>
</tr>
</thead>
......@@ -40,7 +40,7 @@
<td><a href="#" data-load-content="admin/firewall_edit.php?id={tmpl_var name='id'}">{tmpl_var name="tcp_port"}</a></td>
<td><a href="#" data-load-content="admin/firewall_edit.php?id={tmpl_var name='id'}">{tmpl_var name="udp_port"}</a></td>
<td>
<a class="btn btn-default formbutton-delete" href="javascript: del_record('admin/firewall_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');">{tmpl_var name='delete_txt'}</button>
<a class="btn btn-default formbutton-danger formbutton-narrow" href="javascript: del_record('admin/firewall_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span class="icon icon-delete"></span></button>
</td>
</tr>
</tmpl_loop>
......
......@@ -11,7 +11,7 @@
</div></div>
<div class="form-group">
<label for="description" class="col-sm-3 control-label">{tmpl_var name='description_txt'}</label>
<div class="col-sm-9"><textarea name="description" id="description" rows='5' cols='30'>{tmpl_var name='description'}</textarea></div>
<div class="col-sm-9"><textarea class="form-control" name="description" id="description" rows='5' cols='30'>{tmpl_var name='description'}</textarea></div>
</div>
......
......@@ -15,17 +15,17 @@
<p><tmpl_var name="list_head_txt"></p>
<div class="table-wrapper marginTop15">
<table class="table">
<thead class="dark">
<thead class="dark form-group-sm">
<tr>
<th><tmpl_var name="name_txt"></th>
<th><tmpl_var name="description_txt"></th>
<th>&nbsp;</th>
</tr>
<tr>
<td><input type="text" name="search_name" value="{tmpl_var name='search_name'}" /></td>
<td><input type="text" name="search_description" value="{tmpl_var name='search_description'}" /></td>
<td><input class="form-control" type="text" name="search_name" value="{tmpl_var name='search_name'}" /></td>
<td><input class="form-control" type="text" name="search_description" value="{tmpl_var name='search_description'}" /></td>
<td>
<button type="button" class="btn btn-default formbutton-filter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/groups_list.php');">{tmpl_var name="filter_txt"}</button>
<button type="button" class="btn btn-default formbutton-default formbutton-narrow" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/groups_list.php');"><span class="icon icon-filter"></span></button>
</td>
</tr>
</thead>
......@@ -35,7 +35,7 @@
<td><a href="#" data-load-content="admin/groups_edit.php?id={tmpl_var name='id'}">{tmpl_var name="name"}</a></td>
<td><a href="#" data-load-content="admin/groups_edit.php?id={tmpl_var name='id'}">{tmpl_var name="description"}</a></td>
<td>
<a class="btn btn-default formbutton-delete" href="javascript: del_record('admin/groups_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');">{tmpl_var name='delete_txt'}</button>
<a class="btn btn-default formbutton-danger formbutton-narrow" href="javascript: del_record('admin/groups_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span class="icon icon-delete"></span></button>
</td>
</tr>
</tmpl_loop>
......
......@@ -13,7 +13,7 @@
<p><tmpl_var name="list_head_txt"></p>
<div class="table-wrapper marginTop15">
<table class="table">
<thead class="dark">
<thead class="dark form-group-sm">
<tr>
<th><tmpl_var name="active_txt"></th>
<th><tmpl_var name="server_id_txt"></th>
......@@ -26,16 +26,16 @@
<th>&nbsp;</th>
</tr>
<tr>
<td><select name="search_active">{tmpl_var name='search_active'}</select></td>
<td><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td>
<td><select class="form-control" name="search_active">{tmpl_var name='search_active'}</select></td>
<td><select class="form-control" name="search_server_id">{tmpl_var name='search_server_id'}</select></td>
<td></td>
<td><select name="search_protocol">{tmpl_var name='search_protocol'}</select></td>
<td><select class="form-control" name="search_protocol">{tmpl_var name='search_protocol'}</select></td>
<td></td>
<td></td>
<td></td>
<td><select name="search_target">{tmpl_var name='search_target'}</select></td>
<td><select class="form-control" name="search_target">{tmpl_var name='search_target'}</select></td>
<td>
<button type="button" class="btn btn-default formbutton-filter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/iptables_list.php');">{tmpl_var name="filter_txt"}filter_txt</button>
<button type="button" class="btn btn-default formbutton-default formbutton-narrow" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/iptables_list.php');"><span class="icon icon-filter"></span></button>
</td>
</tr>
</thead>
......@@ -51,7 +51,7 @@
<td><a href="#" data-load-content="admin/iptables_edit.php?id={tmpl_var name='id'}">{tmpl_var name="state"}</a></td>
<td><a href="#" data-load-content="admin/iptables_edit.php?id={tmpl_var name='id'}">{tmpl_var name="target"}</a></td>
<td>
<a class="btn btn-default formbutton-delete" href="javascript: del_record('admin/iptables_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');">{tmpl_var name='delete_txt'}</button>
<a class="btn btn-default formbutton-danger formbutton-narrow" href="javascript: del_record('admin/iptables_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span class="icon icon-delete"></span></button>
</td>
</tr>
</tmpl_loop>
......
......@@ -9,7 +9,7 @@
<tmpl_loop name="records">
<span class="wf_oneField">
<label for="records[{tmpl_var name="key"}]" class="wf_preField">{tmpl_var name="key"}</label>
<div class="col-sm-9"><input type="text" id="records[{tmpl_var name="key"}]" name="records[{tmpl_var name="key"}]" value="{tmpl_var name='val'}" >
<div class="col-sm-9"><input class="form-control" type="text" id="records[{tmpl_var name="key"}]" name="records[{tmpl_var name="key"}]" value="{tmpl_var name='val'}" >
</div></span>
</tmpl_loop>
</span>
......
......@@ -12,13 +12,13 @@
<div class="form-group">
<label class="col-sm-3 control-label">{tmpl_var name='language_overwrite_txt'}</label>
<div class="col-sm-9">
<div class="col-sm-9"><input type="checkbox" id="overwrite" value="1" name="overwrite"/>
<div class="col-sm-9"><input class="form-control" type="checkbox" id="overwrite" value="1" name="overwrite"/>
</div></div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{tmpl_var name='ignore_version_txt'}</label>
<div class="col-sm-9">
<div class="col-sm-9"><input type="checkbox" id="ignore_version" value="1" name="ignore_version"/>
<div class="col-sm-9"><input class="form-control" type="checkbox" id="ignore_version" value="1" name="ignore_version"/>
</div></div>
</div>
......
......@@ -20,7 +20,7 @@
<p><tmpl_var name="list_head_txt"></p>
<div class="table-wrapper marginTop15">
<table class="table">
<thead class="dark">
<thead class="dark form-group-sm">
<tr>
<th><tmpl_var name="module_txt"></th>
<th><tmpl_var name="lang_file_txt"></th>
......
......@@ -13,7 +13,7 @@
<p><tmpl_var name="list_head_txt"></p>
<div class="table-wrapper marginTop15">
<table class="table">
<thead class="dark">
<thead class="dark form-group-sm">
<tr>
<th><tmpl_var name="parent_remote_userid_txt"></th>
<th><tmpl_var name="username_txt"></th>
......@@ -21,9 +21,9 @@
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="text" name="search_username" value="{tmpl_var name='search_username'}" /></td>
<td><input class="form-control" type="text" name="search_username" value="{tmpl_var name='search_username'}" /></td>
<td>
<button type="button" class="btn btn-default formbutton-filter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/remote_user_list.php');">{tmpl_var name="filter_txt"}</button>
<button type="button" class="btn btn-default formbutton-default formbutton-narrow" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/remote_user_list.php');"><span class="icon icon-filter"></span></button>
</td>
</tr>
</thead>
......@@ -33,7 +33,7 @@
<td><a href="#" data-load-content="admin/remote_user_edit.php?id={tmpl_var name='remote_userid'}">{tmpl_var name="remote_userid"}</a></td>
<td><a href="#" data-load-content="admin/remote_user_edit.php?id={tmpl_var name='remote_userid'}">{tmpl_var name="remote_username"}</a></td>
<td>
<a class="btn btn-default formbutton-delete" href="javascript: del_record('admin/remote_user_del.php?id={tmpl_var name='remote_userid'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');">{tmpl_var name='delete_txt'}</button>
<a class="btn btn-default formbutton-danger formbutton-narrow" href="javascript: del_record('admin/remote_user_del.php?id={tmpl_var name='remote_userid'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span class="icon icon-delete"></span></button>
</td>
</tr>
</tmpl_loop>
......
......@@ -7,15 +7,15 @@
<p><tmpl_var name="list_head_txt"></p>
<div class="table-wrapper marginTop15">
<table class="table">
<thead class="dark">
<thead class="dark form-group-sm">
<tr>
<th><tmpl_var name="server_name_txt"></th>
<th>{tmpl_var name='search_limit'}</th>
</tr>
<tr>
<td><input type="text" name="search_server_name" value="{tmpl_var name='search_server_name'}" /></td>
<td><input class="form-control" type="text" name="search_server_name" value="{tmpl_var name='search_server_name'}" /></td>
<td>
<button type="button" class="btn btn-default formbutton-filter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/server_config_list.php');">{tmpl_var name="filter_txt"}</button>
<button type="button" class="btn btn-default formbutton-default formbutton-narrow" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/server_config_list.php');"><span class="icon icon-filter"></span></button>
</td>
</tr>
</thead>
......@@ -24,7 +24,7 @@
<tr>
<td><a href="#" data-load-content="admin/server_config_edit.php?id={tmpl_var name='id'}">{tmpl_var name="server_name"}</a></td>
<td>
<a class="btn btn-default formbutton-delete" href="javascript: del_record('admin/server_config_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');">{tmpl_var name='delete_txt'}</button>
<a class="btn btn-default formbutton-danger formbutton-narrow" href="javascript: del_record('admin/server_config_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span class="icon icon-delete"></span></button>
</td>
</tr>
</tmpl_loop>
......
......@@ -7,7 +7,7 @@
<div class="form-group">
<label for="config" class="col-sm-3 control-label">{tmpl_var name='config_txt'}</label>
<div class="col-sm-9"><textarea name="config" id="config" rows='20' cols='40'>{tmpl_var name='config'}</textarea></div>
<div class="col-sm-9"><textarea class="form-control" name="config" id="config" rows='20' cols='40'>{tmpl_var name='config'}</textarea></div>
</div>
......
......@@ -13,7 +13,7 @@
<p><tmpl_var name="list_head_txt"></p>
<div class="table-wrapper marginTop15">
<table class="table">
<thead class="dark">
<thead class="dark form-group-sm">
<tr>
<th><tmpl_var name="server_id_txt"></th>
<th><tmpl_var name="client_id_txt"></th>
......@@ -24,14 +24,14 @@
<th>{tmpl_var name='search_limit'}</th>
</tr>
<tr>
<td><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td>
<td><select name="search_client_id">{tmpl_var name='search_client_id'}</select></td>
<td><select name="search_ip_type">{tmpl_var name='search_ip_type'}</select></td>
<td><input type="text" name="search_ip_address" value="{tmpl_var name='search_ip_address'}" /></td>
<td><select name="search_virtualhost">{tmpl_var name='search_virtualhost'}</select></td>
<td><input type="text" name="search_virtualhost_port" value="{tmpl_var name='search_virtualhost_port'}" /></td>
<td><select class="form-control" name="search_server_id">{tmpl_var name='search_server_id'}</select></td>
<td><select class="form-control" name="search_client_id">{tmpl_var name='search_client_id'}</select></td>
<td><select class="form-control" name="search_ip_type">{tmpl_var name='search_ip_type'}</select></td>
<td><input class="form-control" type="text" name="search_ip_address" value="{tmpl_var name='search_ip_address'}" /></td>
<td><select class="form-control" name="search_virtualhost">{tmpl_var name='search_virtualhost'}</select></td>
<td><input class="form-control" type="text" name="search_virtualhost_port" value="{tmpl_var name='search_virtualhost_port'}" /></td>
<td>
<button type="button" class="btn btn-default formbutton-filter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/server_ip_list.php');">{tmpl_var name="filter_txt"}</button>
<button type="button" class="btn btn-default formbutton-default formbutton-narrow" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/server_ip_list.php');"><span class="icon icon-filter"></span></button>
</td>
</tr>
</thead>
......@@ -45,7 +45,7 @@
<td><a href="#" data-load-content="admin/server_ip_edit.php?id={tmpl_var name='id'}">{tmpl_var name="virtualhost"}</a></td>
<td><a href="#" data-load-content="admin/server_ip_edit.php?id={tmpl_var name='id'}">{tmpl_var name="virtualhost_port"}</a></td>
<td>
<a class="btn btn-default formbutton-delete" href="javascript: del_record('admin/server_ip_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');">{tmpl_var name='delete_txt'}</button>
<a class="btn btn-default formbutton-danger formbutton-narrow" href="javascript: del_record('admin/server_ip_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span class="icon icon-delete"></span></button>
</td>
</tr>
</tmpl_loop>
......
......@@ -7,7 +7,7 @@
<p><tmpl_var name="list_head_txt"></p>
<div class="table-wrapper marginTop15">
<table class="table">
<thead class="dark">
<thead class="dark form-group-sm">
<tr>
<th><tmpl_var name="server_name_txt"></th>
<th><tmpl_var name="mail_server_txt"></th>
......@@ -19,15 +19,15 @@
<th>{tmpl_var name='search_limit'}</th>
</tr>
<tr>
<td><input type="text" name="search_server_name" value="{tmpl_var name='search_server_name'}" /></td>
<td><select name="search_active">{tmpl_var name='search_mail_server'}</select></td>
<td><select name="search_active">{tmpl_var name='search_web_server'}</select></td>
<td><select name="search_active">{tmpl_var name='search_dns_server'}</select></td>
<td><select name="search_active">{tmpl_var name='search_file_server'}</select></td>
<td><select name="search_active">{tmpl_var name='search_db_server'}</select></td>
<td><select name="search_active">{tmpl_var name='search_vserver_server'}</select></td>
<td><input class="form-control" type="text" name="search_server_name" value="{tmpl_var name='search_server_name'}" /></td>
<td><select class="form-control" name="search_active">{tmpl_var name='search_mail_server'}</select></td>
<td><select class="form-control" name="search_active">{tmpl_var name='search_web_server'}</select></td>
<td><select class="form-control" name="search_active">{tmpl_var name='search_dns_server'}</select></td>
<td><select class="form-control" name="search_active">{tmpl_var name='search_file_server'}</select></td>
<td><select class="form-control" name="search_active">{tmpl_var name='search_db_server'}</select></td>
<td><select class="form-control" name="search_active">{tmpl_var name='search_vserver_server'}</select></td>
<td>
<button type="button" class="btn btn-default formbutton-filter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/server_list.php');">{tmpl_var name="filter_txt"}</button>
<button type="button" class="btn btn-default formbutton-default formbutton-narrow" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/server_list.php');"><span class="icon icon-filter"></span></button>
</td>
</tr>
</thead>
......@@ -42,7 +42,7 @@
<td>{tmpl_var name="db_server"}</td>
<td>{tmpl_var name="vserver_server"}</td>
<td>
<a class="btn btn-default formbutton-delete" href="javascript: del_record('admin/server_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');">{tmpl_var name='delete_txt'}</button>
<a class="btn btn-default formbutton-danger formbutton-narrow" href="javascript: del_record('admin/server_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span class="icon icon-delete"></span></button>
</td>
</tr>
</tmpl_loop>
......
......@@ -13,7 +13,7 @@
<p><tmpl_var name="list_head_txt"></p>
<div class="table-wrapper marginTop15">
<table class="table">
<thead class="dark">
<thead class="dark form-group-sm">
<tr>
<th><tmpl_var name="server_id_txt"></th>
<th><tmpl_var name="client_id_txt"></th>
......@@ -21,11 +21,11 @@
<th>{tmpl_var name='search_limit'}</th>
</tr>
<tr>
<td><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td>
<td><select name="search_client_id">{tmpl_var name='search_client_id'}</select></td>
<td><input type="text" name="search_name" value="{tmpl_var name='search_name'}" /></td>
<td><select class="form-control" name="search_server_id">{tmpl_var name='search_server_id'}</select></td>
<td><select class="form-control" name="search_client_id">{tmpl_var name='search_client_id'}</select></td>
<td><input class="form-control" type="text" name="search_name" value="{tmpl_var name='search_name'}" /></td>
<td>
<button type="button" class="btn btn-default formbutton-filter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/server_php_list.php');">{tmpl_var name="filter_txt"}</button>
<button type="button" class="btn btn-default formbutton-default formbutton-narrow" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/server_php_list.php');"><span class="icon icon-filter"></span></button>
</td>
</tr>
</thead>
......@@ -36,7 +36,7 @@
<td><a href="#" data-load-content="admin/server_php_edit.php?id={tmpl_var name='id'}">{tmpl_var name="client_id"}</a></td>
<td><a href="#" data-load-content="admin/server_php_edit.php?id={tmpl_var name='id'}">{tmpl_var name="name"}</a></td>
<td>
<a class="btn btn-default formbutton-delete" href="javascript: del_record('admin/server_php_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');">{tmpl_var name='delete_txt'}</button>
<a class="btn btn-default formbutton-danger formbutton-narrow" href="javascript: del_record('admin/server_php_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span class="icon icon-delete"></span></button>
</td>
</tr>
</tmpl_loop>
......
......@@ -14,7 +14,7 @@
<p><tmpl_var name="list_head_txt"></p>
<div class="table-wrapper marginTop15">
<table class="table">
<thead class="dark">
<thead class="dark form-group-sm">
<tr>
<th><tmpl_var name="installed_txt"></th>
<th><tmpl_var name="package_title_txt"></th>
......@@ -32,8 +32,8 @@
<td>{tmpl_var name="package_description"}</td>
<td>ispapp{tmpl_var name="package_id"}</td>
<td>
<a class="btn btn-default formbutton-default" data-load-content="admin/software_package_edit.php?id={tmpl_var name='package_id'}">{tmpl_var name='edit_txt'}</button>
<a class="btn btn-default formbutton-delete" href="javascript: del_record('admin/software_package_del.php?software_update_inst_id={tmpl_var name='software_update_inst_id'}','{tmpl_var name='delete_confirmation'}');">{tmpl_var name='delete_txt'}</button>
<a class="btn btn-default formbutton-default formbutton-narrow" data-load-content="admin/software_package_edit.php?id={tmpl_var name='package_id'}"><span class="icon icon-edit"></span></button>
<a class="btn btn-default formbutton-danger formbutton-narrow" href="javascript: del_record('admin/software_package_del.php?software_update_inst_id={tmpl_var name='software_update_inst_id'}','{tmpl_var name='delete_confirmation'}');"><span class="icon icon-delete"></span></button>
</td>
</tr>
</tmpl_if>
......
......@@ -14,7 +14,7 @@
<p><tmpl_var name="list_head_txt"></p>
<div class="table-wrapper marginTop15">
<table class="table">
<thead class="dark">
<thead class="dark form-group-sm">
<tr>
<th><tmpl_var name="active_txt"></th>
<th><tmpl_var name="repo_name_txt"></th>
......@@ -22,11 +22,11 @@
<th>&nbsp;</th>
</tr>
<tr>
<td><select name="search_active">{tmpl_var name='search_active'}</select></td>
<td><input type="text" name="search_repo_name" value="{tmpl_var name='search_repo_name'}" /></td>
<td><input type="text" name="search_repo_url" value="{tmpl_var name='search_repo_url'}" /></td>
<td><select class="form-control" name="search_active">{tmpl_var name='search_active'}</select></td>
<td><input class="form-control" type="text" name="search_repo_name" value="{tmpl_var name='search_repo_name'}" /></td>
<td><input class="form-control" type="text" name="search_repo_url" value="{tmpl_var name='search_repo_url'}" /></td>
<td>
<button type="button" class="btn btn-default formbutton-filter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/software_repo_list.php');">{tmpl_var name="filter_txt"}</button>
<button type="button" class="btn btn-default formbutton-default formbutton-narrow" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/software_repo_list.php');"><span class="icon icon-filter"></span></button>
</td>
</tr>
</thead>
......@@ -37,7 +37,7 @@
<td><a href="#" data-load-content="admin/software_repo_edit.php?id={tmpl_var name='id'}">{tmpl_var name="repo_name"}</a></td>
<td><a href="#" data-load-content="admin/software_repo_edit.php?id={tmpl_var name='id'}">{tmpl_var name="repo_url"}</a></td>
<td>
<a class="btn btn-default formbutton-delete" href="javascript: del_record('admin/software_repo_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');">{tmpl_var name='delete_txt'}</button>
<a class="btn btn-default formbutton-danger formbutton-narrow" href="javascript: del_record('admin/software_repo_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span class="icon icon-delete"></span></button>
</td>
</tr>
</tmpl_loop>
......
......@@ -22,7 +22,7 @@
<p><tmpl_var name="list_head_txt"></p>
<div class="table-wrapper marginTop15">
<table class="table">
<thead class="dark">
<thead class="dark form-group-sm">
<tr>
<th><tmpl_var name="installed_txt"></th>
<th><tmpl_var name="update_title_txt"></th>
......
......@@ -17,7 +17,7 @@
<div class="form-group">
<label class="col-sm-3 control-label">{tmpl_var name='new_domain_txt'}</label>
<div class="col-sm-9">
<div class="col-sm-9"><textarea name="new_domain_html" id="new_domain_html" style="width: 500px; height: 250px">{tmpl_var name='new_domain_html'}</textarea></div>
<div class="col-sm-9"><textarea class="form-control" name="new_domain_html" id="new_domain_html" style="width: 500px; height: 250px">{tmpl_var name='new_domain_html'}</textarea></div>
</div>
</div>
......
......@@ -15,7 +15,7 @@
<p><tmpl_var name="list_head_txt"></p>
<div class="table-wrapper marginTop15">
<table class="table">
<thead class="dark">
<thead class="dark form-group-sm">
<tr>
<th><tmpl_var name="client_id_txt"></th>
<th><tmpl_var name="active_txt"></th>
......@@ -24,12 +24,12 @@
<th>{tmpl_var name='search_limit'}</th>
</tr>
<tr>
<td><input type="text" name="search_client_id" value="{tmpl_var name='search_client_id'}" /></td>
<td><select name="search_active">{tmpl_var name='search_active'}</select></td>
<td><input type="text" name="search_username" value="{tmpl_var name='search_username'}" /></td>
<td><select name="search_groups">{tmpl_var name='search_groups'}</select></td>
<td><input class="form-control" type="text" name="search_client_id" value="{tmpl_var name='search_client_id'}" /></td>
<td><select class="form-control" name="search_active">{tmpl_var name='search_active'}</select></td>
<td><input class="form-control" type="text" name="search_username" value="{tmpl_var name='search_username'}" /></td>
<td><select class="form-control" name="search_groups">{tmpl_var name='search_groups'}</select></td>
<td>
<button type="button" class="btn btn-default formbutton-filter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/users_list.php');">{tmpl_var name="filter_txt"}</button>
<button type="button" class="btn btn-default formbutton-default formbutton-narrow" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/users_list.php');"><span class="icon icon-filter"></span></button>
</td>
</tr>
</thead>
......@@ -42,8 +42,8 @@
<td>{tmpl_var name="groups"}</td>
<td>
<tmpl_if name="username" op="!=" value="admin">
<a class="btn btn-default formbutton-default" data-load-content="login/login_as.php?cid={tmpl_var name='client_id'}">{tmpl_var name='login_as_txt'}</button>
<a class="btn btn-default formbutton-delete" href="javascript: del_record('admin/users_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');">{tmpl_var name='delete_txt'}</button>
<a class="btn btn-default formbutton-success formbutton-narrow" data-load-content="login/login_as.php?cid={tmpl_var name='client_id'}"><span class="icon icon-loginas"></span></button>
<a class="btn btn-default formbutton-danger formbutton-narrow" href="javascript: del_record('admin/users_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span class="icon icon-delete"></span></button>
</tmpl_if>
</td>
</tr>
......
......@@ -17,7 +17,7 @@
</div>
<div class="form-group">
<label for="description" class="col-sm-3 control-label">{tmpl_var name='description_txt'}</label>
<div class="col-sm-9"><textarea name="description" id="description" rows='10' cols='30'>{tmpl_var name='description'}</textarea></div>
<div class="col-sm-9"><textarea class="form-control" name="description" id="description" rows='10' cols='30'>{tmpl_var name='description'}</textarea></div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{tmpl_var name='active_txt'}</label>
......
......@@ -14,7 +14,7 @@
<p><tmpl_var name="list_head_txt"></p>
<div class="table-wrapper marginTop15">
<table class="table">
<thead class="dark">
<thead class="dark form-group-sm">
<tr>
<th><tmpl_var name="circle_id_txt"></th>
<th><tmpl_var name="active_txt"></th>
......@@ -23,12 +23,12 @@
<th>{tmpl_var name='search_limit'}</th>
</tr>
<tr>
<td><input type="text" name="search_circle_id" value="{tmpl_var name='search_circle_id'}" /></td>
<td><select name="search_active">{tmpl_var name='search_active'}</select></td>
<td><input type="text" name="search_circle_name" value="{tmpl_var name='search_circle_name'}" /></td>
<td><input type="text" name="search_description" value="{tmpl_var name='search_description'}" /></td>
<td><input class="form-control" type="text" name="search_circle_id" value="{tmpl_var name='search_circle_id'}" /></td>
<td><select class="form-control" name="search_active">{tmpl_var name='search_active'}</select></td>
<td><input class="form-control" type="text" name="search_circle_name" value="{tmpl_var name='search_circle_name'}" /></td>
<td><input class="form-control" type="text" name="search_description" value="{tmpl_var name='search_description'}" /></td>
<td>
<button type="button" class="btn btn-default formbutton-filter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','client/client_circle_list.php');">{tmpl_var name="filter_txt"}</button>
<button type="button" class="btn btn-default formbutton-default formbutton-narrow" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','client/client_circle_list.php');"><span class="icon icon-filter"></span></button>
</td>
</tr>
</thead>
......@@ -40,7 +40,7 @@
<td><a href="#" data-load-content="client/client_circle_edit.php?id={tmpl_var name='id'}">{tmpl_var name="circle_name"}</a></td>
<td><a href="#" data-load-content="client/client_circle_edit.php?id={tmpl_var name='id'}">{tmpl_var name="description"}</a></td>
<td>
<a class="btn btn-default formbutton-delete" href="javascript: del_record('client/client_circle_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');">{tmpl_var name='delete_txt'}</button>
<a class="btn btn-default formbutton-danger formbutton-narrow" href="javascript: del_record('client/client_circle_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span class="icon icon-delete"></span></button>
</td>
</tr>
</tmpl_loop>
......
......@@ -16,7 +16,7 @@
</tmpl_if>
</div>
<div class="col-sm-9"><input type="checkbox" name="confirm" value="yes" /> </div><b><tmpl_var name="confirm_action_txt"></b>
<div class="col-sm-9"><input class="form-control" type="checkbox" name="confirm" value="yes" /> </div><b><tmpl_var name="confirm_action_txt"></b>
<input type="hidden" name="id" value="{tmpl_var name='id'}">