mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-24 08:52:45 +00:00
Add better table links
This commit is contained in:
parent
0adc356af5
commit
ac6c08388c
@ -17,11 +17,11 @@ body {
|
|||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
table tr td a {
|
/*table tr td a {
|
||||||
display: block;
|
display: block;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
table tr td {
|
table tr td {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
@ -35,6 +35,10 @@ a:focus {
|
|||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tr.hover {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
.pager-active {
|
.pager-active {
|
||||||
color: darkcyan;
|
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>
|
</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() {
|
public function table_end() {
|
||||||
echo '</table>';
|
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