|
41 | 41 | <![CDATA[ |
42 | 42 | <div id="umbracoPreviewBadge" class="umbraco-preview-badge"> |
43 | 43 | <span class="umbraco-preview-badge__header">Preview mode</span> |
44 | | - <a href="{0}/preview/?id={2}" class="umbraco-preview-badge__a open"> |
| 44 | + <a href="{0}/preview/?id={2}" class="umbraco-preview-badge__a open" title="Open preview in BackOffice"> |
45 | 45 | … |
46 | 46 | </a> |
47 | | - <a href="{0}/preview/end?redir={1}" class="umbraco-preview-badge__a end"> |
48 | | - <svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><title>Click to end</title><path fill="#fff" d="M5273.1 2400.1v-2c0-2.8-5-4-9.7-4s-9.7 1.3-9.7 4v2a7 7 0 002 4.9l5 4.9c.3.3.4.6.4 1v6.4c0 .4.2.7.6.8l2.9.9c.5.1 1-.2 1-.8v-7.2c0-.4.2-.7.4-1l5.1-5a7 7 0 002-4.9zm-9.7-.1c-4.8 0-7.4-1.3-7.5-1.8.1-.5 2.7-1.8 7.5-1.8s7.3 1.3 7.5 1.8c-.2.5-2.7 1.8-7.5 1.8z"/><path fill="#fff" d="M5268.4 2410.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1s-.4-1-1-1h-4.3zM5272.7 2413.7h-4.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1s-.4-1-1-1zM5272.7 2417h-4.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1 0-.5-.4-1-1-1z"/><path fill="#fff" d="M78.2 13l-8.7 11.7a32.5 32.5 0 11-51.9 25.8c0-10.3 4.7-19.7 12.9-25.8L21.8 13a47 47 0 1056.4 0z"/><path fill="#fff" d="M42.7 2.5h14.6v49.4H42.7z"/></svg> |
| 47 | + <a href="{0}/preview/end?redir={1}" class="umbraco-preview-badge__a end" title="End preview mode"> |
| 48 | + <svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><title>Click to end preview mode</title><path fill="#fff" d="M5273.1 2400.1v-2c0-2.8-5-4-9.7-4s-9.7 1.3-9.7 4v2a7 7 0 002 4.9l5 4.9c.3.3.4.6.4 1v6.4c0 .4.2.7.6.8l2.9.9c.5.1 1-.2 1-.8v-7.2c0-.4.2-.7.4-1l5.1-5a7 7 0 002-4.9zm-9.7-.1c-4.8 0-7.4-1.3-7.5-1.8.1-.5 2.7-1.8 7.5-1.8s7.3 1.3 7.5 1.8c-.2.5-2.7 1.8-7.5 1.8z"/><path fill="#fff" d="M5268.4 2410.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1s-.4-1-1-1h-4.3zM5272.7 2413.7h-4.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1s-.4-1-1-1zM5272.7 2417h-4.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1 0-.5-.4-1-1-1z"/><path fill="#fff" d="M78.2 13l-8.7 11.7a32.5 32.5 0 11-51.9 25.8c0-10.3 4.7-19.7 12.9-25.8L21.8 13a47 47 0 1056.4 0z"/><path fill="#fff" d="M42.7 2.5h14.6v49.4H42.7z"/></svg> |
49 | 49 | </a> |
50 | 50 | </div> |
51 | 51 | <style type="text/css"> |
|
64 | 64 | pointer-events:none; |
65 | 65 | left: 50%; |
66 | 66 | transform: translate(-50%, 40px); |
67 | | - animation: umbraco-preview-badge--effect 10s 100ms ease both; |
| 67 | + animation: umbraco-preview-badge--effect 10s 1.2s ease both; |
68 | 68 | border-radius: 3px 3px 0 0; |
69 | 69 | }} |
70 | 70 | @keyframes umbraco-preview-badge--effect {{ |
|
91 | 91 | 3.5%, |
92 | 92 | 6.5%, |
93 | 93 | 8.5% {{ |
94 | | - transform: translate(-50%, 0px); |
| 94 | + transform: translate(-50%, 0); |
95 | 95 | animation-timing-function: ease-out; |
96 | 96 | }} |
97 | 97 | 9.7% {{ |
98 | | - transform: translate(-50%, 0px); |
| 98 | + transform: translate(-50%, 0); |
99 | 99 | animation-timing-function: ease-out; |
100 | 100 | }} |
101 | 101 | 10.0% {{ |
102 | | - transform: translate(-50%, 0px); |
| 102 | + transform: translate(-50%, 0); |
103 | 103 | }} |
104 | 104 |
|
105 | 105 |
|
106 | 106 | 60% {{ |
107 | | - transform: translate(-50%, 0px); |
| 107 | + transform: translate(-50%, 0); |
108 | 108 | animation-timing-function: ease-out; |
109 | 109 | }} |
110 | 110 | 61.5% {{ |
|
126 | 126 | 63.5%, |
127 | 127 | 66.5%, |
128 | 128 | 68.5% {{ |
129 | | - transform: translate(-50%, 0px); |
| 129 | + transform: translate(-50%, 0); |
130 | 130 | animation-timing-function: ease-out; |
131 | 131 | }} |
132 | 132 | 69.7% {{ |
133 | | - transform: translate(-50%, 0px); |
| 133 | + transform: translate(-50%, 0); |
134 | 134 | animation-timing-function: ease-out; |
135 | 135 | }} |
136 | 136 | 70.0% {{ |
137 | | - transform: translate(-50%, 0px); |
| 137 | + transform: translate(-50%, 0); |
138 | 138 | }} |
139 | 139 | 100.0% {{ |
140 | | - transform: translate(-50%, 0px); |
| 140 | + transform: translate(-50%, 0); |
141 | 141 | }} |
142 | 142 | }} |
143 | 143 | .umbraco-preview-badge__header {{ |
|
170 | 170 | width:1em; |
171 | 171 | }} |
172 | 172 | </style> |
| 173 | + <script type="text/javascript" data-umbraco-path="{0}" src="{0}/js/umbraco.websitepreview.js"></script> |
173 | 174 | ]]> |
174 | 175 | </PreviewBadge> |
175 | 176 |
|
|
231 | 232 | By default you can call any content Id in the url and show the content with that id, for example: |
232 | 233 | http://mysite.com/1092 or http://mysite.com/1092.aspx would render the content with id 1092. Setting |
233 | 234 | this setting to true stops that behavior |
| 235 | + @disableRedirectUrlTracking |
| 236 | + When the URL changes for content, redirects are automatically created for redirect handling within the |
| 237 | + request pipeline. Setting this setting to true stops the automatic creation of redirects. Note that this |
| 238 | + does not stop the request pipeline from handling any previously created redirects. |
| 239 | + @urlProviderMode |
| 240 | + By default Umbraco automatically figures out if internal URLs should be rendered as relative or absolute, |
| 241 | + depending on the current request and the configured domains. By setting this setting to "Relative" or |
| 242 | + "Absolute" you can force Umbraco to always render URLs as either relative or absolute. |
234 | 243 | @umbracoApplicationUrl |
235 | 244 | The url of the Umbraco application. By default, Umbraco will figure it out from the first request. |
236 | 245 | Configure it here if you need anything specific. Needs to be a complete url with scheme and umbraco |
|
242 | 251 | umbracoApplicationUrl=""> |
243 | 252 | </web.routing> |
244 | 253 |
|
| 254 | + <!-- |
| 255 | + keepAlive |
| 256 | + @disableKeepAliveTask |
| 257 | + Disables the periodic KeepAliveTask when set to "true". |
| 258 | + Use this setting to disable the KeepAliveTask in case you already have an alternative. |
| 259 | + For example, Azure App Service has keep alive functionality built-in. |
| 260 | + Defaults to "false". |
| 261 | + @keepAlivePingUrl |
| 262 | + The url of the KeepAlivePing action. By default, the url will use the umbracoApplicationUrl setting as the basis. |
| 263 | + Change this setting to specify an alternative url to reach the KeepAlivePing action. eg http://localhost/umbraco/api/keepalive/ping |
| 264 | + Defaults to "{umbracoApplicationUrl}/api/keepalive/ping". |
| 265 | + --> |
| 266 | + <keepAlive disableKeepAliveTask="false" keepAlivePingUrl="{umbracoApplicationUrl}/api/keepalive/ping" /> |
245 | 267 | </settings> |
0 commit comments