Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6)

Side by Side Diff: app/subapps/browser/templates/browser_charm.handlebars

Issue 8651046: Add failing provider notice and fix #1173333
Patch Set: Add failing provider notice and fix #1173333 Created 11 years, 11 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « app/subapps/browser/browser.js ('k') | app/subapps/browser/views/charm.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <div class="charm yui3-g"> 1 <div class="charm yui3-g">
2 <div class="content yui3-u-{{#if isFullscreen}}5-6{{else}}1{{/if}}"> 2 <div class="content yui3-u-{{#if isFullscreen}}5-6{{else}}1{{/if}}">
3 <div class="nav"> 3 <div class="nav">
4 <a href="" class="back"> 4 <a href="" class="back">
5 <img src="/juju-ui/assets/images/browser_back_button_arrow.png" 5 <img src="/juju-ui/assets/images/browser_back_button_arrow.png"
6 alt="&lt;" />Back 6 alt="&lt;" />Back
7 </a> 7 </a>
8 <a href="" class="add">Add</a> 8 <a href="" class="add">Add</a>
9 <a href="" class="share"> 9 <a href="" class="share">
10 <img src="/juju-ui/assets/images/browser_share_button_icon.png" 10 <img src="/juju-ui/assets/images/browser_share_button_icon.png"
11 alt="Share" />Share 11 alt="Share" />Share
12 </a> 12 </a>
13 </div> 13 </div>
14 14
15 {{#if failingProviders}}
16 <div class="provider-warning"><i class="sprite alert_icon2"></i>
17 <span>Currently fails on</span>
18 {{#failingProviders}}
19 <img src="/juju-ui/assets/images/provider_icons/provider-{{. }}.svg"
20 title="tests currently fail on {{.}}"/>
21 {{/failingProviders}}
22 </div>
23 {{/if}}
24
15 <div class="heading yui3-g"> 25 <div class="heading yui3-g">
16 <div class="yui3-u"> 26 <div class="yui3-u">
17 {{#if icon }} 27 {{#if icon }}
18 <img src="data:image/svg+xml;base64,{{ icon }}" alt="{{ name }} icon"> 28 <img src="data:image/svg+xml;base64,{{ icon }}" alt="{{ name }}"
29 class="charm-icon provided">
19 {{else}} 30 {{else}}
20 <div class="charm-icon"></div> 31 <div class="charm-icon"></div>
21 {{/if}} 32 {{/if}}
22 </div> 33 </div>
23 <div class="charm-details yui3-u-1-2"> 34 <div class="charm-details yui3-u-1-2">
24 <h1>{{ name }}</h1> 35 <h1>{{ name }}</h1>
25 <dl> 36 <dl>
26 <dt>Recent activity</dt> 37 <dt>Recent activity</dt>
27 <dd> 38 <dd>
28 <strong>{{ recent_download_count }}</strong> 39 <strong>{{ recent_download_count }}</strong>
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 <li><a href="#bws-readme" class="bws-readme">Readme</a></li> 121 <li><a href="#bws-readme" class="bws-readme">Readme</a></li>
111 <li><a href="#bws-interfaces" class="bws-interfaces">Interfaces< /a></li> 122 <li><a href="#bws-interfaces" class="bws-interfaces">Interfaces< /a></li>
112 <li><a href="#bws-configuration" class="bws-configuration">Confi guration</a></li> 123 <li><a href="#bws-configuration" class="bws-configuration">Confi guration</a></li>
113 <li><a href="#bws-qa" class="bws-qa">Quality</a></li> 124 <li><a href="#bws-qa" class="bws-qa">Quality</a></li>
114 <li><a href="#bws-hooks" class="bws-hooks">Hooks</a></li> 125 <li><a href="#bws-hooks" class="bws-hooks">Hooks</a></li>
115 </ul> 126 </ul>
116 <div> 127 <div>
117 <div id="bws-readme">Readme</div> 128 <div id="bws-readme">Readme</div>
118 <div id="bws-interfaces"> 129 <div id="bws-interfaces">
119 <p class="intro"> 130 <p class="intro">
120 Interfaces determine how this charm relates to other cha rms. A relationship between charms can only be made if they share a common inter face. 131 Interfaces determine how this charm relates to other cha rms. A relationship between charms can only be made if they share a common inter face.
121 {{#if interfaceIntro.noRequiresNoProvides}} 132 {{#if interfaceIntro.noRequiresNoProvides}}
122 <br /> 133 <br />
123 <br /> 134 <br />
124 This charm does not have any interfaces. 135 This charm does not have any interfaces.
125 {{/if}} 136 {{/if}}
126 {{#if interfaceIntro.noRequiresOneProvides}} 137 {{#if interfaceIntro.noRequiresOneProvides}}
127 This charm provides only one interface to another ch arm. 138 This charm provides only one interface to another ch arm.
128 {{/if}} 139 {{/if}}
129 {{#if interfaceIntro.noRequiresManyProvides}} 140 {{#if interfaceIntro.noRequiresManyProvides}}
130 This charm requires no interfaces to be provided by other charms, but provides several interfaces that can be used by other charms. 141 This charm requires no interfaces to be provided by other charms, but provides several interfaces that can be used by other charms.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 <h4>{{value.interface}}</h4> 189 <h4>{{value.interface}}</h4>
179 <div>{{key}}</div> 190 <div>{{key}}</div>
180 </div> 191 </div>
181 </li> 192 </li>
182 {{/arrayObject}} 193 {{/arrayObject}}
183 </ul> 194 </ul>
184 {{/if}} 195 {{/if}}
185 </div> 196 </div>
186 <div id="bws-configuration"> 197 <div id="bws-configuration">
187 <p class="intro"> 198 <p class="intro">
188 These are the ways in which you can configure this 199 These are the ways in which you can configure this
189 charm to best suit your deployment. You can change the 200 charm to best suit your deployment. You can change the
190 default configuration settings either before or after 201 default configuration settings either before or after
191 you have deployed the charm, if necessary. 202 you have deployed the charm, if necessary.
192 </p> 203 </p>
193 {{#if options}} 204 {{#if options}}
194 <dl> 205 <dl>
195 {{#arrayObject options}} 206 {{#arrayObject options}}
196 <dt> 207 <dt>
197 <dfn>{{key}}</dfn> 208 <dfn>{{key}}</dfn>
198 <em>{{value.type}}</em> 209 <em>{{value.type}}</em>
199 </dt> 210 </dt>
200 <dd> 211 <dd>
201 <div>Default: {{value.default}}</div> 212 <div>Default: {{value.default}}</div>
202 <p>{{value.description}}</p> 213 <p>{{value.description}}</p>
203 </dd> 214 </dd>
204 {{/arrayObject}} 215 {{/arrayObject}}
205 </dl> 216 </dl>
206 {{else}} 217 {{else}}
207 <p>This charm does not expose any configuration options.</ p> 218 <p>This charm does not expose any configuration options.</ p>
208 {{/if}} 219 {{/if}}
209 </div> 220 </div>
210 <div id="bws-qa">Quality</div> 221 <div id="bws-qa">Quality</div>
211 <div id="bws-hooks"> 222 <div id="bws-hooks">
212 <p class="intro"> 223 <p class="intro">
213 Hooks are the pieces of code that comprise the charm. 224 Hooks are the pieces of code that comprise the charm.
214 A particular hook responds to specific events that Juju 225 A particular hook responds to specific events that Juju
215 gives the charm, e.g. when there’s a change in the 226 gives the charm, e.g. when there’s a change in the
216 environment or an administrator has made a change to 227 environment or an administrator has made a change to
217 its configuration. Hooks are of interest mainly to 228 its configuration. Hooks are of interest mainly to
218 charm authors and advanced users. Select a hook below 229 charm authors and advanced users. Select a hook below
219 to view its code. 230 to view its code.
220 </p> 231 </p>
221 <select> 232 <select>
222 <option>Select --</option> 233 <option>Select --</option>
223 {{#each files}} 234 {{#each files}}
224 <option value="{{ . }}">{{ . }}</option> 235 <option value="{{ . }}">{{ . }}</option>
225 {{/each}} 236 {{/each}}
226 </select> 237 </select>
227 <div class="filecontent"> 238 <div class="filecontent">
228 </div> 239 </div>
229 </div> 240 </div>
230 </div> 241 </div>
231 </div> 242 </div>
232 </div> 243 </div>
233 {{#if isFullscreen}} 244 {{#if isFullscreen}}
234 <div class="content-sidebar yui3-u-1-6"> 245 <div class="content-sidebar yui3-u-1-6">
235 <h2>Useful links</h2> 246 <h2>Useful links</h2>
236 <ul class="vertical-links"> 247 <ul class="vertical-links">
237 <li><a href="">Juju community</a></li> 248 <li><a href="">Juju community</a></li>
238 <li><a href="">Online resources</a></li> 249 <li><a href="">Online resources</a></li>
239 <li><a href="">Write your own Charm</a></li> 250 <li><a href="">Write your own Charm</a></li>
240 <li><a href="">Contribute to this Charm</a></li> 251 <li><a href="">Contribute to this Charm</a></li>
241 </ul> 252 </ul>
242 </div> 253 </div>
243 {{/if}} 254 {{/if}}
244 </div> 255 </div>
OLDNEW
« no previous file with comments | « app/subapps/browser/browser.js ('k') | app/subapps/browser/views/charm.js » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b