Step 1: Create a new master template
步骤1:创建一个新的主模板
Setting the application index page and master template
设置应用程序索引页面和主模板
Listing 10 shows the code for the revised master template.
清单10显示了修改后的主模板的代码。
A unique feature of routine templates is the master template file.
例程模板的独特之处在于其主模板文件。
You can customize its look and feel by changing the master template.
可以通过修改主模板来定制它的外观。
I.Use Hadoop master template along with the OCCI compute kind request.
使用Hadoop主模板与OCCI计算类请求。
Save your changes to the master template, and revisit your application's index page.
保存对主模板的更改,并重新访问应用程序的索引页面。
Create the root template, which will serve as a master template, by following these steps.
通过以下步骤创建用作主模版的根模版。
This replaces any existing template with the same name with the contents from the master template file.
这将使用主模板文件中的内容来替换任意有相同文件名的现有模板。
Where larger teams are involved, it might still make sense to extract the strings and generate the XSL templates from a master template.
在包括了较大型团队的情况下,提取字符串并通过主模板生成XSL模板可能仍有意义。
To display the current shopping cart on each page, you can place the HTML in the master template file, rather than copying and pasting it to each page.
要在每个页面上显示当前的购物车,我们可以将下面的HTML代码放到主模板文件中,而不用将其拷贝并粘贴到每个页面上。
Your example application is still in its early stages: It knows how to serve up the index page and some static content, and it has a decent master template ready for further development.
您的样例应用程序仍然处于初级阶段:它知道如何提供索引页面和一些静态内容,并且有一个可用于进一步开发的良好主模板。
Your example application is still in its early stages: It knows how to serve up the index page and some static content, and it has a decent master template ready for further development.
您的样例应用程序仍然处于初级阶段:它知道如何提供索引页面和一些静态内容,并且有一个可用于进一步开发的良好主模板。
应用推荐