设置应用程序索引页面和主模板
步骤1:创建一个新的主模板
可以通过修改主模板来定制它的外观。
You can customize its look and feel by changing the master template.
例程模板的独特之处在于其主模板文件。
A unique feature of routine templates is the master template file.
清单10显示了修改后的主模板的代码。
使用主模板将模板提交给一个组
使用Hadoop主模板与OCCI计算类请求。
I.Use Hadoop master template along with the OCCI compute kind request.
保存对主模板的更改,并重新访问应用程序的索引页面。
Save your changes to the master template, and revisit your application's index page.
清单7中显示了如何查找主模板,它为您预填充了一些数据。
Listing 7 shows how to find the host template, which pre-populates some data elements for you.
知道了您正在使用主模板3,可用图表的清单如清单8所示。
Knowing that you are using host template 3, the list of available graphs is shown in Listing 8.
主模板文档应被称为query并放置于这个模板目录内。
The main template document should be called query and placed in the template directory.
这将使用主模板文件中的内容来替换任意有相同文件名的现有模板。
This replaces any existing template with the same name with the contents from the master template file.
使用主模板,您可以确保这些模板及其更新都可以提交到您的开发团队。
Using master templates, you can ensure that these templates and any updates to these templates are delivered to your development team.
在包括了较大型团队的情况下,提取字符串并通过主模板生成XSL模板可能仍有意义。
Where larger teams are involved, it might still make sense to extract the strings and generate the XSL templates from a master template.
针对变型设计下的NC编程,本文研究了基于NC编程主模板的变型零件NC程序快速生成方法。
Aiming at the rapid design issues of NC programming for variant part, a rapid NC programming method, which is based on the master NC programming template of master part model, was researched.
介绍了一种用于变电站自动化系统中的通用测控装置,重点介绍了CPU主模板中PLC模块的实现。
A universal measurement and control equipment for automatic system of the substation is introduced. The realization of the PLC module in the CPU master module is presented emphatically.
您的样例应用程序仍然处于初级阶段:它知道如何提供索引页面和一些静态内容,并且有一个可用于进一步开发的良好主模板。
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.
要在每个页面上显示当前的购物车,我们可以将下面的HTML代码放到主模板文件中,而不用将其拷贝并粘贴到每个页面上。
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.
在RoutineTemplatePreferences窗口,指定主模板文件,比如z:\shared\templates.xml。
Specify the master templates file on the Routine Template Preferences window, such as z:\shared\templates.xml.
清单6显示了Streamlined 的主模板app/views/streamlined/generic_views/_list.rhtml的一部分
Listing 6 shows part of the app/views/streamlined/generic_views/_list.rhtml partial for the master Streamlined template
模板生成的主复制的名称基于模板名、服务器名、惟一的内部ID、复制ID和表名。
The names of master replicates generated by templates are based on the template name, the server name, a unique internal ID, the replicate ID, and the table name.
这里是放置应用程序的“主”模板的地方。
This is where you put "master" templates for your application.
既然大多数XSLT仍然相同,我可以对guide文档和类别页面使用一个主xslt模板集。
Since most of the XSLT is still the same, I can use a single set of master XSLT templates for both the guide documentation and the category pages.
它定义了用于主源文档和辅助源文档中各元素的模板。
It defines templates for the elements in the main source and the secondary sources.
除了模板和示例文档之外,OpenOffice还支持通过各种扩展和插件向主应用程序提供更多功能。
In addition to templates and sample documents, OpenOffice also supports extensions and plug-ins that provide more functions to the main applications.
模板定义一组主副本和一个副本集。
A template defines a group of master replicates and a replicate set.
子框架能够得到文档模板标识符,并且将它通过自定义消息发送到主框架。
The child frame can get the doctemplate identifier and send it to the main frame in a custom message.
通过对异型截面主塔的施工实践,着重阐述悬臂模板对异型截面主塔施工的适用性及其施工工艺和控制措施。
Through construction practice of special-shaped main tower, construction technology of cantilever formwork and its application of control measures are discussed.
模板使用关于数据库的模式信息、一组表、列和主键定义一组主副本和一个副本集。
A template USES schema information about a database, a group of tables, columns, and primary keys to define a group of master replicates and a replicate set.
采用的静止模板是利用主成份分析构造的。
The templates were constructed by principal component analysis.
应用推荐