亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? tracinterfacecustomization

?? trac是一款svn服務器的web客戶端
??
字號:
= Customizing the Trac Interface =[[TracGuideToc]]== Introduction ==This page is meant to give users suggestions on how they can customize the look of Trac.  Topics on this page cover editing the HTML templates and CSS files, but not the program code itself.  The topics are intended to show users how they can modify the look of Trac to meet their specific needs.  Suggestions for changes to Trac's interface applicable to all users should be filed as tickets, not listed on this page.== Project Logo and Icon ==The easiest parts of the Trac interface to customize are the logo and the site icon.  Both of these can be configured with settings in [wiki:TracIni trac.ini].The logo or icon image should be put in a folder named "htdocs" in your project's environment folder.  (''Note: in projects created with a Trac version prior to 0.9 you will need to create this folder'') ''Note: you can actually put the logo and icon anywhere on your server (as long as it's accessible through the web server), and use their absolute or server-relative URLs in the configuration.''Now configure the appropriate section of your [wiki:TracIni trac.ini]:=== Logo ===Change the `src` setting to `site/` followed by the name of your image file.  The `width` and `height` settings should be modified to match your image's dimensions (the Trac chrome handler uses "`site/`" for files within the project directory `htdocs` and "`common/`" for the common ones).{{{[header_logo]src = site/my_logo.gifalt = My Projectwidth = 300height = 100}}}=== Icon ===Icons should be a 16x16 image in `.gif` or `.ico` format.  Change the `icon` setting to `site/` followed by the name of your icon file.  Icons will typically be displayed by your web browser next to the site's URL and in the `Bookmarks` menu.{{{[project]icon = site/my_icon.ico}}}Note though that this icon is ignored by Internet Explorer, which only accepts a file named ``favicon.ico`` at the root of the host. To make the project icon work in both IE and other browsers, you can store the icon in the document root of the host, and reference it from ``trac.ini`` as follows:{{{[project]icon = /favicon.ico}}}== Custom Navigation Entries ==The new [mainnav] and [metanav] can now be used to customize the text and link used for the navigation items, or even to disable them.In the following example, we rename the link to the Wiki start "Home", and hide the "Help/Guide". We also make the "View Tickets" entry link to a specific report .{{{[mainnav]wiki.label = Hometickets.href = /report/24[metanav]help = disabled}}}== Site Appearance ==Trac is using [http://genshi.edgewall.org Genshi] as the templating engine. Documentation is yet to be written, in the meantime the following tip should work.Say you want to add a link to a custom stylesheet, and then your ownheader and footer.  Create a file {{{/path/to/env/templates/site.html}}} or {{{/path/to/inherit/option/templates_dir/site.html}}}, with contents like this:{{{#!xml<html xmlns="http://www.w3.org/1999/xhtml"      xmlns:py="http://genshi.edgewall.org/"      py:strip="">  <!--! Add site-specific style sheet -->  <head py:match="head" py:attrs="select('@*')">    ${select('*')}    <link rel="stylesheet" type="text/css"          href="${href.chrome('site/style.css')}" />  </head>  <body py:match="body" py:attrs="select('@*')">    <!--! Add site-specific header -->    <div id="siteheader">      <!--! Place your header content here... -->    </div>    ${select('*|text()')}    <!--! Add site-specific footer -->    <div id="sitefooter">      <!--! Place your footer content here... -->    </div>  </body></html>}}}Note that this references your environment's `htdocs/style.css`.Example snippet of adding introduction text to the new ticket form (hide when preview):{{{#!xml<form py:match="div[@id='content' and @class='ticket']/form" py:attrs="select('@*')">  <py:if test="req.environ['PATH_INFO'] == '/newticket' and (not 'preview' in req.args)">    <p>Please make sure to search for existing tickets before reporting a new one!</p>  </py:if>  ${select('*')} </form>}}}If the environment is upgraded from 0.10 and a `site_newticket.cs` file already exists, it can actually be loaded by using a workaroud - providing it contains no ClearSilver processing. In addition, as only one element can be imported, the content needs some sort of wrapper such as a `<div>` block or other similar parent container. The XInclude namespace must be specified to allow includes, but that can be moved to document root along with the others:{{{#!xml<form py:match="div[@id='content' and @class='ticket']/form" py:attrs="select('@*')"        xmlns:xi="http://www.w3.org/2001/XInclude">  <py:if test="req.environ['PATH_INFO'] == '/newticket' and (not 'preview' in req.args)">     <xi:include href="site_newticket.cs"><xi:fallback /></xi:include>  </py:if>  ${select('*')} </form>}}}Also note that the `site.html` (despite its name) can be put in a common templates directory - see the `[inherit] templates_dir` option. This could provide easier maintainence (and a migration path from 0.10 for larger installations) as one new global `site.html` file can be made to include any existing header, footer and newticket snippets.== Project List ==You can use a custom ClearSilver template to display the list of projects if you are using Trac with multiple projects.  The following is the basic template used by Trac to display a list of links to the projects.  For projects that could not be loaded it displays an error message. You can use this as a starting point for your own index template.{{{#!text/html<!DOCTYPE html    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"      xmlns:py="http://genshi.edgewall.org/"      xmlns:xi="http://www.w3.org/2001/XInclude">  <head>    <title>Available Projects</title>  </head>  <body>    <h1>Available Projects</h1>    <ul>      <li py:for="project in projects" py:choose="">        <a py:when="project.href" href="$project.href"           title="$project.description">$project.name</a>        <py:otherwise>          <small>$project.name: <em>Error</em> <br /> ($project.description)</small>        </py:otherwise>      </li>    </ul>  </body></html>}}}Once you've created your custom template you will need to configure the webserver to tell Trac where the template is located (pls verify ... not yet changed to 0.11):For [wiki:TracFastCgi FastCGI]:{{{FastCgiConfig -initial-env TRAC_ENV_PARENT_DIR=/parent/dir/of/projects \              -initial-env TRAC_ENV_INDEX_TEMPLATE=/path/to/template}}}For [wiki:TracModPython mod_python]:{{{PythonOption TracEnvIndexTemplate /path/to/template}}}For [wiki:TracCgi CGI]:{{{SetEnv TRAC_ENV_INDEX_TEMPLATE /path/to/template}}}For [wiki:TracStandalone], you'll need to set up the `TRAC_ENV_INDEX_TEMPLATE` environment variable in the shell used to launch tracd: - Unix   {{{#!sh$ export TRAC_ENV_INDEX_TEMPLATE=/path/to/template   }}} - Windows   {{{#!sh$ set TRAC_ENV_INDEX_TEMPLATE=/path/to/template   }}}----See also TracGuide, TracIni

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美综合网| 日韩国产精品久久久久久亚洲| 亚洲精品高清在线观看| 麻豆精品视频在线观看| 99re66热这里只有精品3直播 | 美国欧美日韩国产在线播放 | 精彩视频一区二区三区| 91亚洲大成网污www| 日韩美一区二区三区| 亚洲最大色网站| av在线不卡免费看| 国产欧美日韩视频在线观看| 日韩国产在线观看| 欧美三级电影网| 尤物视频一区二区| 99re66热这里只有精品3直播 | 91在线精品秘密一区二区| 日韩视频一区二区三区| 偷偷要91色婷婷| 欧美在线一二三四区| 亚洲精品一卡二卡| 成人福利视频在线看| 国产婷婷色一区二区三区四区| 美腿丝袜亚洲色图| 欧美变态口味重另类| 奇米影视在线99精品| 欧美日韩一级视频| 亚洲成a人片综合在线| 色婷婷久久久亚洲一区二区三区| 国产精品久久久久永久免费观看| 国产精品一区二区三区网站| 国产亚洲综合在线| 国产精品一线二线三线精华| 亚洲精品一区二区精华| 狠狠色丁香婷综合久久| 亚洲精品在线免费观看视频| 精品一区二区三区免费观看| 久久久久久久久伊人| 粉嫩aⅴ一区二区三区四区五区| 久久精品欧美一区二区三区麻豆| 国产98色在线|日韩| 中文字幕一区日韩精品欧美| av电影天堂一区二区在线| 亚洲图片激情小说| 欧美午夜不卡在线观看免费| 亚洲sss视频在线视频| 91精品国产欧美一区二区成人| 蜜桃视频在线一区| 国产色产综合色产在线视频| 97se狠狠狠综合亚洲狠狠| 亚洲伦在线观看| 欧美日韩成人综合在线一区二区| 欧美aaa在线| 国产欧美一区二区三区沐欲| 91论坛在线播放| 视频一区欧美日韩| 久久久不卡影院| 一本在线高清不卡dvd| 日本sm残虐另类| 国产目拍亚洲精品99久久精品| 色综合久久久网| 麻豆精品在线看| 亚洲色图欧洲色图婷婷| 欧美日本韩国一区二区三区视频| 国产在线国偷精品免费看| 国产精品久久看| 欧美一区二区二区| 成人美女视频在线看| 午夜欧美视频在线观看| 日本一区二区三区在线不卡| 精品婷婷伊人一区三区三| 国内精品嫩模私拍在线| 亚洲综合自拍偷拍| 久久精品亚洲一区二区三区浴池 | 亚洲午夜av在线| 久久精品一区四区| 欧美亚洲免费在线一区| 韩国av一区二区三区| 亚洲午夜激情网页| 欧美国产日韩精品免费观看| 欧美肥胖老妇做爰| 91高清视频在线| 国产成人精品免费| 麻豆一区二区三区| 亚洲.国产.中文慕字在线| 日本一区二区三区电影| 日韩欧美在线网站| 欧美日韩一级大片网址| 国产成人午夜高潮毛片| 久久99精品久久只有精品| 亚洲午夜激情av| 综合久久综合久久| 亚洲国产精品av| 久久嫩草精品久久久精品| 91精品久久久久久蜜臀| 在线观看不卡视频| 91农村精品一区二区在线| 国产精品123区| 国产乱码精品1区2区3区| 日韩av电影免费观看高清完整版 | 欧美精品 国产精品| 99国产精品99久久久久久| 懂色av一区二区夜夜嗨| 国产一区久久久| 国产中文字幕精品| 久久av中文字幕片| 精品中文字幕一区二区| 人禽交欧美网站| 美女久久久精品| 精东粉嫩av免费一区二区三区| 午夜亚洲福利老司机| 午夜欧美视频在线观看| 亚洲成人av一区二区| 亚洲图片自拍偷拍| 偷窥国产亚洲免费视频| 日韩国产高清影视| 免费观看一级特黄欧美大片| 蜜臀精品久久久久久蜜臀| 日韩电影在线看| 久久丁香综合五月国产三级网站 | 972aa.com艺术欧美| 9色porny自拍视频一区二区| 成人国产精品免费观看视频| 高潮精品一区videoshd| 国产大片一区二区| 成人免费黄色大片| 色偷偷88欧美精品久久久| 欧美三级资源在线| 日韩免费电影一区| 中文字幕av一区二区三区| 亚洲色图在线看| 亚洲sss视频在线视频| 久久99精品国产麻豆婷婷| 国产精一品亚洲二区在线视频| av中文字幕不卡| 欧美影院一区二区| 日韩视频在线观看一区二区| 亚洲国产精品精华液ab| 专区另类欧美日韩| 亚洲线精品一区二区三区| 日韩成人伦理电影在线观看| 国产精品资源网站| 91视频国产观看| 91麻豆精品国产91久久久资源速度 | 国产一区二区导航在线播放| 国产成人精品一区二区三区网站观看| 91啪九色porn原创视频在线观看| 欧美人xxxx| 中文字幕第一区| 日韩vs国产vs欧美| 99视频有精品| 欧美一二三四在线| 亚洲色图一区二区三区| 另类综合日韩欧美亚洲| 99久久免费视频.com| 亚洲人成网站精品片在线观看 | 国产盗摄视频一区二区三区| 色综合久久中文字幕| 欧美电影免费观看高清完整版在线| 国产农村妇女毛片精品久久麻豆 | 岛国一区二区三区| 欧美男女性生活在线直播观看 | 欧美一区二区高清| 亚洲图片欧美激情| 国产精品中文欧美| 欧美精品在线一区二区三区| 国产精品天美传媒沈樵| 奇米影视一区二区三区| 99精品黄色片免费大全| 久久亚洲精品国产精品紫薇| 亚洲一二三四久久| a亚洲天堂av| 久久天天做天天爱综合色| 亚洲综合激情另类小说区| 国产福利一区二区| 亚洲精品一区在线观看| 婷婷成人激情在线网| 91老师国产黑色丝袜在线| 久久嫩草精品久久久久| 男女性色大片免费观看一区二区 | 欧美刺激脚交jootjob| 亚洲一区在线看| 99re免费视频精品全部| 久久蜜桃av一区精品变态类天堂| 日韩专区中文字幕一区二区| 欧美三级午夜理伦三级中视频| 国产精品久久夜| 成人美女在线观看| 国产精品久久久久永久免费观看| 国产成人自拍网| 国产午夜精品一区二区三区视频| 国产麻豆9l精品三级站| 精品国产露脸精彩对白| 人人精品人人爱| 欧美tickling挠脚心丨vk| 蜜臀av一区二区| 日韩精品中午字幕| 久久99精品久久久久久| 日韩精品自拍偷拍| 国产乱码字幕精品高清av |