
From: samhenri <samuel.guimaraes@eldorado.org.br> Signed-off-by: samhenri <samuel.guimaraes@eldorado.org.br> --- ui/pages/repository-add.html.tmpl | 8 ++++---- ui/pages/repository-edit.html.tmpl | 17 ++++++++--------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/ui/pages/repository-add.html.tmpl b/ui/pages/repository-add.html.tmpl index 7a48617..48b4620 100644 --- a/ui/pages/repository-add.html.tmpl +++ b/ui/pages/repository-add.html.tmpl @@ -41,14 +41,14 @@ <p class="help-block"><i class="fa fa-info-circle"></i> $_("Textual name for the repository.") </p> </div> - <div class="form-group"> + <div class="form-group"> <label for="baseurl">$_("URL")<span class="required" role="presentation" title='$_("Required Field")'>*</span></label> <input type="text" class="form-control required" id="baseurl" name="baseurl" /> <p class="help-block"><i class="fa fa-info-circle"></i> $_("URL to the repository. Supported protocols are http, ftp, and file.")</p> </div> - <div class="checkbox yum"> - <label id="isMirrorLabel" for="isMirror"> - <input type="checkbox" name="isMirror" value="true" id="isMirror" /> $_("Repository is a mirror")</label> + <div class="yum"> + <input type="checkbox" name="isMirror" class="wok-checkbox" value="true" id="isMirror" /> + <label id="isMirrorLabel" for="isMirror">$_("Repository is a mirror")</label> </div> <div class="form-group repository-dist deb"> <label>$_("Distribution")</label> diff --git a/ui/pages/repository-edit.html.tmpl b/ui/pages/repository-edit.html.tmpl index c468e4b..1aa216e 100644 --- a/ui/pages/repository-edit.html.tmpl +++ b/ui/pages/repository-edit.html.tmpl @@ -59,21 +59,20 @@ </div> <div class="form-group repository-gpgcheck yum"> <label>$_("GPG Check")</label> - <label for="repository-edit-gpgcheck-radio-true" class="radio inline control-label"> - <input id="repository-edit-gpgcheck-radio-true" class="yum" name="config[gpgcheck]" type="radio" value="true" /> $_("Yes") - </label> - <label for="repository-edit-gpgcheck-radio-false" class="radio inline control-label"> - <input id="repository-edit-gpgcheck-radio-false" class="yum" name="config[gpgcheck]" type="radio" value="false" /> $_("No") - </label> + + <input id="repository-edit-gpgcheck-radio-true" class="yum wok-radio" name="config[gpgcheck]" type="radio" value="true" /> + <label for="repository-edit-gpgcheck-radio-true" class="radio inline control-label">$_("Yes")</label> + + <input id="repository-edit-gpgcheck-radio-false" class="yum wok-radio" name="config[gpgcheck]" type="radio" value="false" /> + <label for="repository-edit-gpgcheck-radio-false">$_("No")</label> </div> </form> </div> <div class="modal-footer"> <button type="submit" id="repository-edit-button-save" class="btn btn-default">$_("Save")</button> - <button type="button" id="repository-edit-button-cancel" class="btn btn-default">$_("Cancel")</button> + <button type="button" id="repository-edit-button-cancel" class="btn btn-default" data-dismiss="modal">$_("Cancel")</button> </div> </div> <script type="text/javascript"> gingerbase.repository_edit_main(); -</script> - \ No newline at end of file +</script> \ No newline at end of file -- 1.9.3