LEFT | RIGHT |
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="<" />Back | 6 alt="<" />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 is_approved}} | 27 {{#if is_approved}} |
18 <i class="sprite badge-approved"></i> | 28 <i class="sprite badge-approved"></i> |
19 {{/if}} | 29 {{/if}} |
20 | 30 |
21 {{#if icon }} | 31 {{#if icon }} |
22 <img src="data:image/svg+xml;base64,{{ icon }}" alt="{{ name
}} icon"> | 32 <img src="data:image/svg+xml;base64,{{ icon }}" alt="{{ name
}}" |
| 33 class="charm-icon provided"> |
23 {{else}} | 34 {{else}} |
24 <div class="charm-icon"> | 35 <div class="charm-icon"> |
25 </div> | 36 </div> |
26 {{/if}} | 37 {{/if}} |
27 </div> | 38 </div> |
28 <div class="charm-details yui3-u-1-2"> | 39 <div class="charm-details yui3-u-1-2"> |
29 <h1>{{ name }}</h1> | 40 <h1>{{ name }}</h1> |
30 <dl> | 41 <dl> |
31 <dt>Recent activity</dt> | 42 <dt>Recent activity</dt> |
32 <dd> | 43 <dd> |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 <li><a href="#bws-readme" class="bws-readme">Readme</a></li> | 126 <li><a href="#bws-readme" class="bws-readme">Readme</a></li> |
116 <li><a href="#bws-interfaces" class="bws-interfaces">Interfaces<
/a></li> | 127 <li><a href="#bws-interfaces" class="bws-interfaces">Interfaces<
/a></li> |
117 <li><a href="#bws-configuration" class="bws-configuration">Confi
guration</a></li> | 128 <li><a href="#bws-configuration" class="bws-configuration">Confi
guration</a></li> |
118 <li><a href="#bws-qa" class="bws-qa">Quality</a></li> | 129 <li><a href="#bws-qa" class="bws-qa">Quality</a></li> |
119 <li><a href="#bws-hooks" class="bws-hooks">Hooks</a></li> | 130 <li><a href="#bws-hooks" class="bws-hooks">Hooks</a></li> |
120 </ul> | 131 </ul> |
121 <div> | 132 <div> |
122 <div id="bws-readme">Readme</div> | 133 <div id="bws-readme">Readme</div> |
123 <div id="bws-interfaces"> | 134 <div id="bws-interfaces"> |
124 <p class="intro"> | 135 <p class="intro"> |
125 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. | 136 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. |
126 {{#if interfaceIntro.noRequiresNoProvides}} | 137 {{#if interfaceIntro.noRequiresNoProvides}} |
127 <br /> | 138 <br /> |
128 <br /> | 139 <br /> |
129 This charm does not have any interfaces. | 140 This charm does not have any interfaces. |
130 {{/if}} | 141 {{/if}} |
131 {{#if interfaceIntro.noRequiresOneProvides}} | 142 {{#if interfaceIntro.noRequiresOneProvides}} |
132 This charm provides only one interface to another ch
arm. | 143 This charm provides only one interface to another ch
arm. |
133 {{/if}} | 144 {{/if}} |
134 {{#if interfaceIntro.noRequiresManyProvides}} | 145 {{#if interfaceIntro.noRequiresManyProvides}} |
135 This charm requires no interfaces to be provided by
other charms, but provides several interfaces that can be used by other charms. | 146 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 Loading... |
183 <h4>{{value.interface}}</h4> | 194 <h4>{{value.interface}}</h4> |
184 <div>{{key}}</div> | 195 <div>{{key}}</div> |
185 </div> | 196 </div> |
186 </li> | 197 </li> |
187 {{/arrayObject}} | 198 {{/arrayObject}} |
188 </ul> | 199 </ul> |
189 {{/if}} | 200 {{/if}} |
190 </div> | 201 </div> |
191 <div id="bws-configuration"> | 202 <div id="bws-configuration"> |
192 <p class="intro"> | 203 <p class="intro"> |
193 These are the ways in which you can configure this | 204 These are the ways in which you can configure this |
194 charm to best suit your deployment. You can change the | 205 charm to best suit your deployment. You can change the |
195 default configuration settings either before or after | 206 default configuration settings either before or after |
196 you have deployed the charm, if necessary. | 207 you have deployed the charm, if necessary. |
197 </p> | 208 </p> |
198 {{#if options}} | 209 {{#if options}} |
199 <dl> | 210 <dl> |
200 {{#arrayObject options}} | 211 {{#arrayObject options}} |
201 <dt> | 212 <dt> |
202 <dfn>{{key}}</dfn> | 213 <dfn>{{key}}</dfn> |
203 <em>{{value.type}}</em> | 214 <em>{{value.type}}</em> |
204 </dt> | 215 </dt> |
205 <dd> | 216 <dd> |
206 <div>Default: {{value.default}}</div> | 217 <div>Default: {{value.default}}</div> |
207 <p>{{value.description}}</p> | 218 <p>{{value.description}}</p> |
208 </dd> | 219 </dd> |
209 {{/arrayObject}} | 220 {{/arrayObject}} |
210 </dl> | 221 </dl> |
211 {{else}} | 222 {{else}} |
212 <p>This charm does not expose any configuration options.</
p> | 223 <p>This charm does not expose any configuration options.</
p> |
213 {{/if}} | 224 {{/if}} |
214 </div> | 225 </div> |
215 <div id="bws-qa">Quality</div> | 226 <div id="bws-qa">Quality</div> |
216 <div id="bws-hooks"> | 227 <div id="bws-hooks"> |
217 <p class="intro"> | 228 <p class="intro"> |
218 Hooks are the pieces of code that comprise the charm. | 229 Hooks are the pieces of code that comprise the charm. |
219 A particular hook responds to specific events that Juju | 230 A particular hook responds to specific events that Juju |
220 gives the charm, e.g. when there’s a change in the | 231 gives the charm, e.g. when there’s a change in the |
221 environment or an administrator has made a change to | 232 environment or an administrator has made a change to |
222 its configuration. Hooks are of interest mainly to | 233 its configuration. Hooks are of interest mainly to |
223 charm authors and advanced users. Select a hook below | 234 charm authors and advanced users. Select a hook below |
224 to view its code. | 235 to view its code. |
225 </p> | 236 </p> |
226 <select> | 237 <select> |
227 <option>Select --</option> | 238 <option>Select --</option> |
228 {{#each files}} | 239 {{#each files}} |
229 <option value="{{ . }}">{{ . }}</option> | 240 <option value="{{ . }}">{{ . }}</option> |
230 {{/each}} | 241 {{/each}} |
231 </select> | 242 </select> |
232 <div class="filecontent"> | 243 <div class="filecontent"> |
233 </div> | 244 </div> |
234 </div> | 245 </div> |
235 </div> | 246 </div> |
236 </div> | 247 </div> |
237 </div> | 248 </div> |
238 {{#if isFullscreen}} | 249 {{#if isFullscreen}} |
239 <div class="content-sidebar yui3-u-1-6"> | 250 <div class="content-sidebar yui3-u-1-6"> |
240 <h2>Useful links</h2> | 251 <h2>Useful links</h2> |
241 <ul class="vertical-links"> | 252 <ul class="vertical-links"> |
242 <li><a href="">Juju community</a></li> | 253 <li><a href="">Juju community</a></li> |
243 <li><a href="">Online resources</a></li> | 254 <li><a href="">Online resources</a></li> |
244 <li><a href="">Write your own Charm</a></li> | 255 <li><a href="">Write your own Charm</a></li> |
245 <li><a href="">Contribute to this Charm</a></li> | 256 <li><a href="">Contribute to this Charm</a></li> |
246 </ul> | 257 </ul> |
247 </div> | 258 </div> |
248 {{/if}} | 259 {{/if}} |
249 </div> | 260 </div> |
LEFT | RIGHT |