tailieunhanh - Agile Web Application Development with Yii 1.1 and PHP5 phần 9

Thêm một tập tin xem mới dưới views / dự án được gọi là để hiển thị hình thức mới của chúng tôi để thêm người sử dụng cho các dự án. Hình thức này chỉ cần hai đầu vào các lĩnh vực: tên người dùng và vai trò, đó là một danh sách lựa chọn thả xuống. | Chapter 11 font bold 12px Arial color d11e1e display block padding 2px 0 2px 8px line-height 15px text-decoration none .portlet-content ul list-style-image none list-style-position outside list-style-type none margin 0 padding 0 .portlet-content li padding 2px 0 4px 0px .operations list-style-type none margin 0 padding 0 .operations li padding-bottom 2px .operations li a font bold 12px Arial color 0066A4 display block padding 2px 0 2px 8px line-height 15px text-decoration none .operations li a visited color d11e1e .operations li a hover background fff 275 Iteration 8 Making it Pretty- Design Layout Themes and Internationalization i18n You may have noticed that some of these changes are referencing image files that do not yet exist in our project. We have added a image reference in the body declaration a new image referenced in the mainmenu ID declaration and a new image in the header ID declaration. These can be viewed downloaded and used by viewing the site online or accessing the images directly from http trackstar themes new css http trackstar themes new css and http trackstar themes new css . We need to place these new images into the same CSS folder we are using for this theme namely Webroot themes new css . After these changes are in place we need to make a couple of small adjustments to our layout file in this new theme. For one we need to alter the markup in the head element to properly reference our new file. Currently the file is being pulled in via this line link rel stylesheet type text css href php echo Yii app - request- baseUrl css This is referencing the application request baseUrl property to construct the relative path to the CSS file. However we want to use our new file located in our new theme. For this we can lean on the theme manager application component defined by default to use the .

TỪ KHÓA LIÊN QUAN