Revision 339712cb ui/templates/machines.html
b/ui/templates/machines.html | ||
---|---|---|
166 | 166 |
</div> |
167 | 167 |
</form> |
168 | 168 |
|
169 |
<!-- notification after wizard completion -->
|
|
169 |
<!-- base notification for error/success reporting -->
|
|
170 | 170 |
<a id="notification" rel="#error-success" href="#"></a> |
171 | 171 |
|
172 | 172 |
<div class="modal" id="error-success"> |
... | ... | |
174 | 174 |
<div><p>{% trans "More details about the result"%}</p></div> |
175 | 175 |
</div> |
176 | 176 |
|
177 |
<!-- confirmation before executing an action --> |
|
178 |
<a id="confirmation" rel="#yes-no" href="#"></a> |
|
179 | 177 |
|
180 |
<div class="modal" id="yes-no"> |
|
181 |
<h3>{% trans "You are about to xxx machine yyy" %}</h3> |
|
182 |
<p>{% trans "Are you sure you want to proceed?" %}</p> |
|
183 |
<button>{% trans "Yes" %}</button> |
|
184 |
<button>{% trans "No" %}</button> |
|
178 |
<a id="meta-editor-1" rel="#editor-1" href="#"></a> |
|
179 |
|
|
180 |
<div class="modal" id="editor-1"> |
|
181 |
<h3> |
|
182 |
<label>{% trans "Metadata for machine:" %}<label> |
|
183 |
<span></span> |
|
184 |
</h3> |
|
185 |
<hr class="topruler" /> |
|
186 |
<div class="meta-list"> |
|
187 |
<ul> |
|
188 |
<li class="meta-template"> |
|
189 |
<label>{% trans "Metadata key" %}</label> |
|
190 |
<button type="button" class="remove">{% trans "remove x" %}</button> |
|
191 |
<hr class="meta-separator"> |
|
192 |
<p>{% trans "Metadata value" %}</p> |
|
193 |
<button type="button" class="edit">{% trans "edit" %}</button> |
|
194 |
</li> |
|
195 |
</ul> |
|
196 |
</div> |
|
197 |
<button type="button" class="create">{% trans "Create New+" %}</button> |
|
198 |
<hr class="bottomruler" /> |
|
199 |
</div> |
|
200 |
|
|
201 |
<a id="meta-editor-2" rel="#editor-2" href="#"></a> |
|
202 |
|
|
203 |
<div class="modal" id="editor-2"> |
|
204 |
<h3> |
|
205 |
<label>{% trans "Metadata for machine:" %}<label> |
|
206 |
<span></span> |
|
207 |
</h3> |
|
208 |
<hr class="topruler" /> |
|
209 |
<hr class="fatruler" /> |
|
210 |
<label class="meta-key">{% trans "Key:" %}</label> |
|
211 |
<input type="text" maxlength="15" class="key" value="max 15 characters"/> |
|
212 |
<hr class="meta-separator"> |
|
213 |
<label class="meta-value">{% trans "Value:" %}</label> |
|
214 |
<input type="text" maxlength="150" class="value" value="max 150 characters"/> |
|
215 |
<button type="button" class="cancel">{% trans "Cancel" %}</button> |
|
216 |
<button type="button" class="save">{% trans "Save" %}</button> |
|
217 |
<hr class="bottomruler" /> |
|
185 | 218 |
</div> |
186 | 219 |
|
187 | 220 |
<div id="machinesview"></div> |
... | ... | |
222 | 255 |
return false; |
223 | 256 |
}); |
224 | 257 |
|
225 |
|
|
226 | 258 |
// switch to standard view |
227 | 259 |
$("a#standard").click(function(){ |
228 | 260 |
standard_view(); |
Also available in: Unified diff