-
Notifications
You must be signed in to change notification settings - Fork 1
/
bookingbug-angular-admin-templates.js
4 lines (4 loc) · 4.52 KB
/
bookingbug-angular-admin-templates.js
1
2
3
4
angular.module("BB").run(["$templateCache", function($templateCache) {$templateCache.put("booking_table_main.html","<button\n class=\"btn btn-default\"\n ng-click=\"newBooking()\"\n translate=\"ADMIN.BOOKING_TABLE.NEW_BOOKING_BTN\"> \n</button>\n<table\n tr-ng-grid=\"\"\n items=\"bookings\"\n fields=\"fields\"\n ng-if=\"bookings\">\n <tbody>\n <tr>\n <td>\n <button\n class=\"btn btn-default btn-sm\"\n ng-click=\"edit(gridItem)\"\n translate=\"ADMIN.BOOKING_TABLE.EDIT_BTN\"> \n </button>\n </td>\n </tr>\n </tbody>\n</table>\n");
$templateCache.put("cancel_booking_modal_form.html","<div class=\"modal-header\">\n <h3\n class=\"modal-title\"\n translate=\"ADMIN.CANCEL_BOOKING_MODAL.TITLE\">\n </h3>\n</div>\n<form\n name=\"modal_form\"\n ng-submit=\"$close(model)\">\n <div\n ng-show=\"loading\"\n class=\"loader\">\n </div>\n\n <div class=\"modal-body\">\n <h4>{{booking.full_describe}}</h4>\n <div class=\"checkbox\">\n <label>\n <input\n type=\"checkbox\"\n name=\"notify\"\n ng-model=\"model.notify\">\n <span\n translate=\"ADMIN.CANCEL_BOOKING_MODAL.SEND_EMAIL_LBL\"\n translate-values=\"{email: booking.client_email}\">\n </span>\n </label>\n </div>\n <div\n class=\"form-group\"\n id=\"bb-modal-cancel-reason\">\n <label\n for=\"reason\"\n class=\"form-label\"\n translate=\"ADMIN.CANCEL_BOOKING_MODAL.REASON_LBL\">\n </label>\n <input\n id=\"reason\"\n name=\"reason\"\n type=\"text\"\n class=\"form-control\"\n ng-model=\"model.cancel_reason\"\n />\n </div>\n\n </div>\n\n <div class=\"modal-footer\">\n\n <button\n type=\"submit\"\n class=\"btn btn-primary\"\n ng-disabled=\"loading\"\n translate=\"ADMIN.CANCEL_BOOKING_MODAL.OK_BTN\">\n </button>\n\n <button\n type=\"button\"\n class=\"btn btn-default\"\n ng-click=\"$dismiss()\"\n translate=\"ADMIN.CANCEL_BOOKING_MODAL.CLOSE_BTN\">\n </button>\n\n </div>\n\n</form>\n");
$templateCache.put("admin_login.html","<div>\n\n <form\n name=\"login_form\"\n ng-submit=\"login()\"\n class=\"form-horizontal\"\n role=\"form\">\n\n <div\n class=\"alert alert-danger\"\n role=\"alert\"\n ng-if=\"alert && alert.length > 0\">\n {{alert}}\n </div>\n\n <div ng-class=\"{\'form-group\': true, \'has-error\': emailIsInvalid()}\">\n\n <label\n for=\"email\"\n class=\"col-sm-2 control-label\"\n translate=\"ADMIN.LOGIN.EMAIL_LBL\">\n </label>\n\n <div class=\"col-sm-10\">\n <input\n type=\"email\"\n ng-model=\"login_data.email\"\n name=\"email\"\n class=\"form-control\"\n id=\"email\"\n required\n autofocus\n autocomplete=\"email\"\n translate-attr=\"{placeholder: \'ADMIN.LOGIN.EMAIL_PLACEHOLDER\'}\"\n />\n </div>\n </div>\n\n <div ng-class=\"{\'form-group\': true, \'has-error\': passwordIsInvalid()}\">\n <label\n for=\"password\"\n class=\"col-sm-2 control-label\"\n translate=\"ADMIN.LOGIN.PASSWORD_LBL\"> \n </label>\n <div class=\"col-sm-10\">\n <input\n type=\"password\"\n ng-model=\"login_data.password\"\n name=\"password\"\n class=\"form-control\"\n id=\"password\"\n translate-attr=\"{placeholder: \'ADMIN.LOGIN.PASSWORD_PLACEHOLDER\'}\"\n required>\n </div>\n </div>\n\n <div class=\"form-group\">\n <div class=\"col-sm-offset-2 col-sm-10\">\n <button\n type=\"submit\"\n class=\"btn btn-primary\"\n translate=\"ADMIN.LOGIN.LOGIN_BTN\">\n </button>\n </div>\n </div>\n </form>\n \n</div>\n");
$templateCache.put("admin_pick_company.html","<form\n name=\"pick_company_form\"\n ng-submit=\"selectedCompany()\"\n role=\"form\">\n\n <p translate=\"ADMIN.PICK_COMPANY.STEP_SUMMARY\"></p>\n\n <div\n ng-repeat=\"admin in administrators\"\n class=\"radio\">\n <label>\n <input\n id=\"company{{admin.company_id}}\"\n type=\"radio\"\n ng-model=\"login_data.selected_admin\"\n ng-value=\"admin\"\n required\n name=\"company\">\n {{admin.company_name}}\n </label>\n </div>\n\n <button\n type=\"submit\"\n class=\"btn btn-default\"\n translate=\"ADMIN.PICK_COMPANY.SELECT_BTN\">\n </button>\n</form>\n");}]);