mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 18:54:08 +02:00
[ticket/10270] Added JavaScript popups and basic AJAX functionality to PHP.
This commit adds the phpbb object (JavaScript), and alert and confirm box methods. It also adds the first basic AJAX functionality, to deleting posts in viewtopic. PHPBB3-10270
This commit is contained in:
committed by
Igor Wiedler
parent
4f97cc1295
commit
d420ceb9c7
@@ -24,6 +24,9 @@
|
||||
<!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF -->
|
||||
<!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF -->
|
||||
</div>
|
||||
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
|
||||
<script src="styles/script.js"></script>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
@@ -468,7 +468,7 @@ table.info tbody th {
|
||||
|
||||
/* Misc layout styles
|
||||
---------------------------------------- */
|
||||
/* column[1-2] styles are containers for two column layouts
|
||||
/* column[1-2] styles are containers for two column layouts
|
||||
Also see tweaks.css */
|
||||
.column1 {
|
||||
float: left;
|
||||
@@ -580,6 +580,34 @@ li.pagination {
|
||||
background: none 0 50% no-repeat;
|
||||
}
|
||||
|
||||
.row .pagination span a, li.pagination span a {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row .pagination span a:hover, li.pagination span a:hover {
|
||||
background-color: #d2d2d2;
|
||||
}
|
||||
|
||||
/* jQuery popups
|
||||
---------------------------------------- */
|
||||
.jalert {
|
||||
background-color: #FFFFFF;
|
||||
border: 1px solid #999999;
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 100px;
|
||||
left: 35%;
|
||||
width: 30%;
|
||||
z-index: 50;
|
||||
padding: 25px;
|
||||
padding: 0 25px 20px 25px;
|
||||
}
|
||||
|
||||
.jalert p {
|
||||
margin: 8px 0;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
/* Miscellaneous styles
|
||||
---------------------------------------- */
|
||||
#forum-permissions {
|
||||
|
Reference in New Issue
Block a user