mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-24 00:42:43 +00:00
Add better table links
This commit is contained in:
parent
0adc356af5
commit
ac6c08388c
@ -17,11 +17,11 @@ body {
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
table tr td a {
|
||||
/*table tr td a {
|
||||
display: block;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
}*/
|
||||
|
||||
table tr td {
|
||||
padding-left: 0;
|
||||
@ -35,6 +35,10 @@ a:focus {
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
tr.hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.pager-active {
|
||||
color: darkcyan;
|
||||
}
|
||||
|
@ -1,2 +0,0 @@
|
||||
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
|
||||
<script src="includes/js/bootstrap.min.js"></script>
|
@ -22,3 +22,5 @@ $settings = new Settings(false);
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
|
||||
<script src="includes/js/bootstrap.min.js"></script>
|
||||
|
@ -275,5 +275,6 @@ class Page {
|
||||
|
||||
public function table_end() {
|
||||
echo '</table>';
|
||||
echo "<script type=\"text/javascript\">$('tr').click(function(){window.location=$(this).find('a').attr('href');}).hover(function(){\$(this).toggleClass('hover');});</script>";
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user