Revision a7ccb6f9 ui/templates/machines.html

b/ui/templates/machines.html
178 178
<a id="meta-editor-1" rel="#editor-1" href="#"></a>
179 179

  
180 180
<div class="meta-modal" id="editor-1">
181
    <h3>
182
        <label>{% trans "Metadata for machine:" %}</label>
183
        <span></span>
184
    </h3>
185
    <hr class="topruler" />
186
    <hr class="fatruler" />
187
    <div class="content">
188
        <ul class="meta-template" style="display:none">
189
            <li>
190
                <label>{% trans "Metadata key" %}</label>
191
                <button type="button" class="remove">{% trans "remove x" %}</button>
192
                <hr class="meta-separator">
193
                <p>{% trans "Metadata value" %}</p>
194
                <button type="button" class="edit">{% trans "edit" %}</button>
195
            </li>
196
        </ul>
197
        <ul class="meta-list">
198
        </ul>
181
    <div class='container'>
182
        <h3>
183
            <label>{% trans "Metadata for machine:" %}</label>
184
            <span></span>
185
        </h3>
186
        <hr class="topruler" />
187
        <hr class="fatruler" />
188
        <div class="content">
189
            <ul class="meta-template" style="display:none">
190
                <li>
191
                    <label>{% trans "Metadata key" %}</label>
192
                    <button type="button" class="remove">{% trans "remove x" %}</button>
193
                    <hr class="meta-separator">
194
                    <p>{% trans "Metadata value" %}</p>
195
                    <button type="button" class="edit">{% trans "edit" %}</button>
196
                </li>
197
            </ul>
198
            <ul class="meta-list">
199
            </ul>
200
        </div>
199 201
    </div>
200 202
    <button type="button" class="create">{% trans "Create New+" %}</button>
201 203
    <div class="bottomruler" /> 
......
204 206
<a id="meta-editor-2" rel="#editor-2" href="#"></a>
205 207

  
206 208
<div class="meta-modal" id="editor-2">
207
    <h3>
208
        <label>{% trans "Metadata for machine:" %}</label>
209
        <span></span>
210
    </h3>
211
    <hr class="topruler" />
212
    <hr class="fatruler" />
213
    <div class="content">
214
        <label class="meta-key">{% trans "Key:" %}</label>
215
        <input type="text" maxlength="15" class="key" value="max 15 characters"/>
216
        <hr class="meta-separator">
217
        <label class="meta-value">{% trans "Value:" %}</label>
218
        <input type="text" maxlength="150" class="value" value="max 150 characters"/>
209
    <div class='container'>
210
        <h3>
211
            <label>{% trans "Metadata for machine:" %}</label>
212
            <span></span>
213
        </h3>
214
        <hr class="topruler" />
215
        <hr class="fatruler" />
216
        <div class="content">
217
            <label class="meta-key">{% trans "Key:" %}</label>
218
            <input type="text" maxlength="15" class="key" value="max 15 characters"/>
219
            <hr class="meta-separator">
220
            <label class="meta-value">{% trans "Value:" %}</label>
221
            <input type="text" maxlength="150" class="value" value="max 150 characters"/>
222
        </div>
219 223
    </div>
220 224
    <button type="button" class="cancel">{% trans "Cancel" %}</button>
221 225
    <button type="button" class="save">{% trans "Save" %}</button>
......
601 605
            $("#editor-1 div.content ul.meta-list").empty();
602 606
        },
603 607
        onLoad: function() {
604
            // this is a work around for the mask not appearing problem
608
            // this is a workaround for the mask not appearing problem
605 609
            $("#editor-1").expose();
606 610
        }
607 611
    });
......
623 627
        oneInstance: false,
624 628
        load: false,
625 629
        onLoad: function() {
626
            // this is a work around for the mask not appearing problem
630
            // this is a workaround for the mask not appearing problem
627 631
            $("#editor-2").expose();
628 632
        }
629 633
    });

Also available in: Unified diff