Create the main...LOGIN

Create the main page for backend management

In this section we will get to the point and create the main interface for background management content. Select list.html in the admin document and modify it to the list.php file. .

Pay attention to the css style reference in the <style> tag in the header <head> tag and the javascript file in <script> Import and open the page after the modification is completed. The display is as follows:

30.png

This page seems to have a lot of things, keep the parts we need, and delete the redundant things. The main purpose here is to modify the html and css styles

so everyone must be more familiar with the application of front-end static pages. The modified page is as follows:

31.png

#The red arrow points to the main places that need to be modified.

Also, the original page displays pictures. What we are making here is a video website, and what needs to be displayed is video. So use the HTML5 tag <video> to replace the content in the <img> tag, and add some CSS width and height styles.

Find the <img> code in the original file

<td width="10%">
   <img src="images/11.jpg" alt="" width="70" height="50" />
</td>

and replace it with:

<td width="10%">
    <video width="200" height="150" controls="controls" >
        <source src=".mp4" type="video/mp4">
    </video>
</td>

This completes the background management content page.


Next Section
<!DOCTYPE html> <html lang="zh-cn"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <meta name="renderer" content="webkit"> <title>内容列表页</title> <link rel="stylesheet" href="css/pintuer.css"> <link rel="stylesheet" href="css/admin.css"> <script src="js/jquery.js"></script> <script src="js/pintuer.js"></script> </head> <body> <table> <tr> <td width="10%"> <video width="200" height="150" controls="controls" > <source src=".mp4" type="video/mp4"> </video> </td> </tr> </table> </body> </html>
submitReset Code
ChapterCourseware