TimeTrex/interface/html5/dist/portal-hr-recruitment-PortalJobVacancyViewController.bundle.js

1 line
9.0 KiB
JavaScript
Raw Permalink Normal View History

2022-12-13 07:10:06 +01:00
"use strict";(self.webpackChunktimetrex=self.webpackChunktimetrex||[]).push([["portal-hr-recruitment-PortalJobVacancyViewController"],{8471:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "PortalJobVacancyViewController": () => (/* binding */ PortalJobVacancyViewController)\n/* harmony export */ });\n/* harmony import */ var _views_portal_PortalBaseViewController__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(97);\n/* harmony import */ var _views_portal_sign_in_SignInController__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9903);\n/* harmony import */ var _services_TimeTrexClientAPI__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7526);\n/* provided dependency */ var _ = __webpack_require__(9050);\n\n\n\n\nclass PortalJobVacancyViewController extends _views_portal_PortalBaseViewController__WEBPACK_IMPORTED_MODULE_0__.PortalBaseViewController {\n\tconstructor( options = {} ) {\n\t\t_.defaults( options, {\n\t\t\tel: \'#job_vacancy_view_container\',\n\n\t\t} );\n\n\t\tsuper( options );\n\t}\n\n\tinit( options ) {\n\t\tthis.api = _services_TimeTrexClientAPI__WEBPACK_IMPORTED_MODULE_2__/* .TTAPI.APIJobVacancyPortal */ .y.APIJobVacancyPortal;\n\t\tthis.script_name = \'JobVacancyView\';\n\t\tthis.render();\n\t\tTTPromise.resolve( \'IndexController\', \'onViewChange\' );\n\t}\n\n\tsearch() {\n\t\tvar $this = this;\n\t\tthis.onSearchClick( {\n\t\t\tcallback: function() {\n\t\t\t\tif ( LocalCacheData.getAllURLArgs().sm === \'ResetPassword\' && LocalCacheData.getAllURLArgs().key && LocalCacheData.getAllURLArgs().company_id ) {\n\t\t\t\t\tvar signInController = new _views_portal_sign_in_SignInController__WEBPACK_IMPORTED_MODULE_1__.SignInController();\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t}\n\n}\n\nPortalJobVacancyViewController.html_template = `\n<div id="job_vacancy_view_container">\n\t<div class="search-bar">\n\t\t<div class="container">\n\t\t\t<form>\n\t\t\t\t<div class="row">\n\t\t\t\t\t<div class="col-md-3">\n\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t<label class="sr-only" for="name">title</label>\n\t\t\t\t\t\t\t<input class="form-control" id="name" placeholder="<%= $.i18n._(\'Search Title\') %>">\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="col-md-2">\n\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t<label for="country" class="sr-only">country</label>\n\t\t\t\t\t\t\t<div class="styled-select">\n\t\t\t\t\t\t\t\t<select class="form-control" id="country"></select>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="col-md-2">\n\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t<label for="province" class="sr-only">province</label>\n\t\t\t\t\t\t\t<div class="styled-select">\n\t\t\t\t\t\t\t\t<select class="form-control" id="province">\n\t\t\t\t\t\t\t\t\t<option value=""><%= $.i18n._(\'All Province/States\') %></option>\n\t\t\t\t\t\t\t\t</select>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="col-md-2">\n\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t<label for="city" class="sr-only">city</label>\n\t\t\t\t\t\t\t<input class="form-control" id="city" placeholder="<%= $.i18n._(\'Search City\') %>">\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="col-md-3">\n\t\t\t\t\t\t<button type="button" class="btn btn-block btn-default search-btn"><%= $.i18n._(\'Search\') %> <span class="glyphicon glyphicon-menu-right" aria-hidden="true"></span></button>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</form>\n\t\t</div>\n\t</div>\n\t<div class="search-result">\n\t\t<div class="content container"></div>\n\t\t<div class="more container">\n\t\t\t<div class="row">\n\t\t\t\t<button type="button" class="btn btn-primary btn-lg btn-block"><%= $.i18n._(\'Loading\') %>...</button>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n\n`;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODQ3MS5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozt