sai style changes
This commit is contained in:
parent
b5e1ca21c0
commit
18a6cd5cdf
@ -1,3 +1,5 @@
|
||||
<h4>System API</h4>
|
||||
<hr>
|
||||
<div class="tabbable">
|
||||
<ul class="nav nav-tabs" id="localetab">
|
||||
${tabopts}
|
||||
|
||||
@ -3,8 +3,8 @@ namespace SYSTEM\SAI;
|
||||
|
||||
class saimod_sys_config extends \SYSTEM\SAI\SaiModule {
|
||||
public static function sai_mod__SYSTEM_SAI_saimod_sys_config(){
|
||||
$result = '<h3>Sys Config</h3>'.
|
||||
'<table class="table table-hover table-condensed" style="overflow: auto;">'.
|
||||
$result = '<h4>System Config</h4><hr>'.
|
||||
'<table class="table table-hover table-condensed sai_table" style="overflow: auto;">'.
|
||||
'<tr>'.'<th>'.'Config ID'.'</th>'.'<th>'.'Config Name'.'</th>'.'<th>'.'Value'.'</th>'.'</tr>';
|
||||
|
||||
$result .= '<tr>'.'<th>Basics</th>'.'<th></th><th></th>'.'</tr>';
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
<h4>System Documentation</h4>
|
||||
<hr>
|
||||
<div class="tabbable">
|
||||
<ul class="nav nav-tabs" id="documaintab">
|
||||
${tabopts}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<h3>Add new text</h3>
|
||||
<h4>Add new text</h4>
|
||||
<br>
|
||||
<table>
|
||||
<tr>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<h3>${entry}</h3>
|
||||
<h4>${entry}</h4>
|
||||
<table class="table table-hover table-condensed" style="overflow: auto;">
|
||||
<tr>${langhead}</tr>
|
||||
<tr>${content}</tr>
|
||||
|
||||
9
sai/modules/saimod_sys_locale/lang_tabs.tpl
Normal file
9
sai/modules/saimod_sys_locale/lang_tabs.tpl
Normal file
@ -0,0 +1,9 @@
|
||||
<div class="tabbable">
|
||||
<ul class="nav nav-tabs" id="localetab">
|
||||
${tabopts}
|
||||
<input type="submit" value="Add" class="btn btn-success content_add" style="margin-left: 15px;">
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
${tabs}
|
||||
</div>
|
||||
</div>
|
||||
@ -1,7 +1,7 @@
|
||||
<div class="tabbable">
|
||||
<ul class="nav nav-tabs" id="localetab">
|
||||
${tabopts}
|
||||
<input type="submit" value="Add" class="btn content_add" style="margin-left: 15px;">
|
||||
<input type="submit" value="Add" class="btn btn-success content_add" style="margin-left: 15px;">
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
${tabs}
|
||||
|
||||
@ -1,9 +1,12 @@
|
||||
<h4>System Log</h4>
|
||||
<hr>
|
||||
<div class="tabbable">
|
||||
<ul class="nav nav-tabs" id="tabs_log">
|
||||
<li class="active"><a href="#tab_log" action="log">Log</a></li>
|
||||
<li><a href="#tab_stats" action="stats">Statistics</a></li>
|
||||
<li><a href="#tab_admin" action="admin">Administration</a></li>
|
||||
<img id="loader" src="${PICPATH}ajax-loader.gif" style="margin-left: 10px; margin-top: 10px; display: none; float: left"/>
|
||||
<button id="refresh_error_table" class="btn-success" style="margin-right: 15px; height: 32px; font-size: 13px; float: right;">Refresh</button>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane active" id="tab_log"></div>
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
<ul class="nav nav-pills" id="error_filter">
|
||||
<li class="active"><a href="#" filter="%">All</a></li>
|
||||
${error_filter}
|
||||
<button id="refresh_error_table" class="btn" style="margin-right: 15px; height: 32px; font-size: 13px; float: right;">Refresh</button>
|
||||
</ul>
|
||||
<div id="table_log">${table}</div>
|
||||
@ -1,6 +1,8 @@
|
||||
<h4>SAI Mods</h4>
|
||||
<hr>
|
||||
<div class="tabbable">
|
||||
<ul class="nav nav-tabs" id="modstab">
|
||||
<li class="active"><a href="#tab_sys">Sys Mods</a></li>
|
||||
<li class="active"><a href="#tab_sys">System Mods</a></li>
|
||||
<li><a href="#tab_project">Project Mods</a></li>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
<h4>System Security</h4>
|
||||
<hr>
|
||||
<div class="tabbable">
|
||||
<ul class="nav nav-tabs" id="securitytab">
|
||||
<li class="active"><a href="#tab_users" action="users">Users</a></li>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<h4>New Right</h4>
|
||||
<table class="table">
|
||||
<table class="table sai_table">
|
||||
<tr>
|
||||
<td>ID</td>
|
||||
<td><input id="addright_id" type="number" value="1"/></td>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
${addright_btn}
|
||||
</br></br>
|
||||
<table class="table table-hover table-condensed" style="overflow: auto;">
|
||||
<table class="table table-hover table-condensed sai_table" style="overflow: auto;">
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Name</th>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<tr class="user_entry ${class}" username="${username}">
|
||||
<tr class="user_entry ${class} sai_table" username="${username}">
|
||||
<td>${id}</td>
|
||||
<td>${username}</td>
|
||||
<td>${email}</td>
|
||||
@ -11,6 +11,6 @@
|
||||
<input type="submit" class="btn-danger" value="delete" user="${id}" action="delete">
|
||||
</td>-->
|
||||
<td>
|
||||
<button type="submit" class="btn" value="reset_password" user="${id}" email="${email}">send EMail</button>
|
||||
<button type="submit" class="btn-sm btn-success" value="reset_password" user="${id}" email="${email}">send EMail</button>
|
||||
</td>
|
||||
</tr>
|
||||
@ -1,4 +1,4 @@
|
||||
<table class="table">
|
||||
<table class="table sai_table">
|
||||
<tr>
|
||||
<th>ID</td>
|
||||
<th>Name</th>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<tr>
|
||||
<td colspan="4"><select id="adduserright_rightid">${right_options}</select></td>
|
||||
<td><input type="submit" id="adduserright_add" class="btn" value="Add Right" user_id="${user_id}"/></td>
|
||||
<td><input type="submit" id="adduserright_add" class="btn-sm btn-success" value="Add Right" user_id="${user_id}"/></td>
|
||||
</tr>
|
||||
@ -2,7 +2,7 @@
|
||||
<h2 class="muted">Userinfo for User: ${username}</h2>
|
||||
<h4 class="text-info">Basics</h4>
|
||||
</div>
|
||||
<table class="table">
|
||||
<table class="table sai_table">
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<td>${id}</td>
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
<input class="input-medium search-query" id="user_search" type="text" placeholder="EMail or Username" size="30"/>
|
||||
<input class="btn" id="user_go" type="submit" value="Search"/>
|
||||
<input class="btn-sm btn-success" id="user_go" type="submit" value="Search"/>
|
||||
</br>
|
||||
</br>
|
||||
Users: ${count}
|
||||
<table class="table table-hover table-condensed" style="overflow: auto;">
|
||||
<table class="sai_table table table-hover table-condensed" style="overflow: auto;">
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Username</th>
|
||||
|
||||
@ -9,7 +9,7 @@ class saimod_sys_todo extends \SYSTEM\SAI\SaiModule {
|
||||
} else {
|
||||
$res = $con->query('SELECT * FROM system_todo LEFT JOIN system_user ON system_todo.author = system_user.ID ORDER BY state, time DESC;');
|
||||
}
|
||||
$result = '<div id="table-wrapper"><table class="table table-hover table-condensed" style="overflow: auto;">'.
|
||||
$result = '<div id="table-wrapper"><table class="table table-hover table-condensed sai_table" style="overflow: auto;">'.
|
||||
'<tr>'.'<th>'.'Time ago'.'</th>'.'<th>'.'Time'.'</th>'.'<th>'.'Reporttype'.'</th>'.'<th>'.'Message'.'</th>'.'<th>'.'Author'.'</th>'.'<th>'.'Volunteers'.'</th>'.'<th>'.'State'.'</th>'.'<th>'.'Action'.'</th>'.'</tr>';
|
||||
while($row = $res->next()){
|
||||
$result .= '<tr class="'.self::trclassbytype($row['type']).'">'.
|
||||
|
||||
9
sai/page/css/sai_table.css
Normal file
9
sai/page/css/sai_table.css
Normal file
@ -0,0 +1,9 @@
|
||||
table.sai_table tr:nth-child(even) {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
table.sai_table tr:nth-child(odd) {
|
||||
background-color: #EEEEEE;
|
||||
}
|
||||
table.sai_table tr:hover {
|
||||
background-color: #FFEFD5;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user