Commit 67d28fb4 by Hoang Phuc

Conver HTML to Slim

parent 781c16d3
Pipeline #638 failed with stages
in 0 seconds
...@@ -38,6 +38,8 @@ gem 'omniauth-facebook' ...@@ -38,6 +38,8 @@ gem 'omniauth-facebook'
gem 'settingslogic' gem 'settingslogic'
gem 'parallel', require: false gem 'parallel', require: false
gem 'slim'
# Use Active Storage variant # Use Active Storage variant
# gem 'image_processing', '~> 1.2' # gem 'image_processing', '~> 1.2'
......
...@@ -253,6 +253,9 @@ GEM ...@@ -253,6 +253,9 @@ GEM
childprocess (>= 0.5, < 4.0) childprocess (>= 0.5, < 4.0)
rubyzip (>= 1.2.2) rubyzip (>= 1.2.2)
settingslogic (2.0.9) settingslogic (2.0.9)
slim (4.1.0)
temple (>= 0.7.6, < 0.9)
tilt (>= 2.0.6, < 2.1)
spoon (0.0.6) spoon (0.0.6)
ffi ffi
spring (2.1.0) spring (2.1.0)
...@@ -266,6 +269,7 @@ GEM ...@@ -266,6 +269,7 @@ GEM
actionpack (>= 4.0) actionpack (>= 4.0)
activesupport (>= 4.0) activesupport (>= 4.0)
sprockets (>= 3.0.0) sprockets (>= 3.0.0)
temple (0.8.2)
thor (1.0.1) thor (1.0.1)
thread_safe (0.3.6) thread_safe (0.3.6)
thread_safe (0.3.6-java) thread_safe (0.3.6-java)
...@@ -331,6 +335,7 @@ DEPENDENCIES ...@@ -331,6 +335,7 @@ DEPENDENCIES
sass-rails (>= 6) sass-rails (>= 6)
selenium-webdriver selenium-webdriver
settingslogic settingslogic
slim
spring spring
spring-watcher-listen (~> 2.0.0) spring-watcher-listen (~> 2.0.0)
turbolinks (~> 5) turbolinks (~> 5)
......
/*!
* JavaScript Cookie v2.1.4
* https://github.com/js-cookie/js-cookie
*
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
* Released under the MIT license
*/
!function(e){var n=!1;if("function"==typeof define&&define.amd&&(define(e),n=!0),"object"==typeof exports&&(module.exports=e(),n=!0),!n){var o=window.Cookies,t=window.Cookies=e();t.noConflict=function(){return window.Cookies=o,t}}}(function(){function e(){for(var e=0,n={};e<arguments.length;e++){var o=arguments[e];for(var t in o)n[t]=o[t]}return n}function n(o){function t(n,r,i){var c;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(i=e({path:"/"},t.defaults,i)).expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*i.expires),i.expires=a}i.expires=i.expires?i.expires.toUTCString():"";try{c=JSON.stringify(r),/^[\{\[]/.test(c)&&(r=c)}catch(m){}r=o.write?o.write(r,n):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=(n=(n=encodeURIComponent(String(n))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var f="";for(var s in i)i[s]&&(f+="; "+s,!0!==i[s]&&(f+="="+i[s]));return document.cookie=n+"="+r+f}n||(c={});for(var p=document.cookie?document.cookie.split("; "):[],d=/(%[0-9A-Z]{2})+/g,u=0;u<p.length;u++){var l=p[u].split("="),C=l.slice(1).join("=");'"'===C.charAt(0)&&(C=C.slice(1,-1));try{var g=l[0].replace(d,decodeURIComponent);if(C=o.read?o.read(C,g):o(C,g)||C.replace(d,decodeURIComponent),this.json)try{C=JSON.parse(C)}catch(m){}if(n===g){c=C;break}n||(c[g]=C)}catch(m){}}return c}}return t.set=t,t.get=function(e){return t.call(t,e)},t.getJSON=function(){return t.apply({json:!0},[].slice.call(arguments))},t.defaults={},t.remove=function(n,o){t(n,"",e(o,{expires:-1}))},t.withConverter=n,t}return n(function(){})});
\ No newline at end of file
/*!
* jQuery UI Mouse 1.11.4
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/mouse/
*/
!function(e){"function"==typeof define&&define.amd?define(["jquery","./widget"],e):e(jQuery)}(function(o){var u=!1;return o(document).mouseup(function(){u=!1}),o.widget("ui.mouse",{version:"1.11.4",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(!0===o.data(e.target,t.widgetName+".preventClickEvent"))return o.removeData(e.target,t.widgetName+".preventClickEvent"),e.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!u){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var t=this,s=1===e.which,i=!("string"!=typeof this.options.cancel||!e.target.nodeName)&&o(e.target).closest(this.options.cancel).length;return!(s&&!i&&this._mouseCapture(e))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){t.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?(e.preventDefault(),!0):(!0===o.data(e.target,this.widgetName+".preventClickEvent")&&o.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return t._mouseMove(e)},this._mouseUpDelegate=function(e){return t._mouseUp(e)},this.document.bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),u=!0))}},_mouseMove:function(e){if(this._mouseMoved){if(o.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){return this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&o.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),u=!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})});
\ No newline at end of file
/*!
* jQuery UI Widget 1.11.4
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/jQuery.widget/
*/
!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(h){var s,i=0,a=Array.prototype.slice;return h.cleanData=(s=h.cleanData,function(t){var e,i,n;for(n=0;null!=(i=t[n]);n++)try{(e=h._data(i,"events"))&&e.remove&&h(i).triggerHandler("remove")}catch(t){}s(t)}),h.widget=function(t,i,e){var n,s,o,r,a={},u=t.split(".")[0];return t=t.split(".")[1],n=u+"-"+t,e||(e=i,i=h.Widget),h.expr[":"][n.toLowerCase()]=function(t){return!!h.data(t,n)},h[u]=h[u]||{},s=h[u][t],o=h[u][t]=function(t,e){if(!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},h.extend(o,s,{version:e.version,_proto:h.extend({},e),_childConstructors:[]}),(r=new i).options=h.widget.extend({},r.options),h.each(e,function(e,n){function s(){return i.prototype[e].apply(this,arguments)}function o(t){return i.prototype[e].apply(this,t)}h.isFunction(n)?a[e]=function(){var t,e=this._super,i=this._superApply;return this._super=s,this._superApply=o,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}:a[e]=n}),o.prototype=h.widget.extend(r,{widgetEventPrefix:s&&r.widgetEventPrefix||t},a,{constructor:o,namespace:u,widgetName:t,widgetFullName:n}),s?(h.each(s._childConstructors,function(t,e){var i=e.prototype;h.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete s._childConstructors):i._childConstructors.push(o),h.widget.bridge(t,o),o},h.widget.extend=function(t){for(var e,i,n=a.call(arguments,1),s=0,o=n.length;s<o;s++)for(e in n[s])i=n[s][e],n[s].hasOwnProperty(e)&&void 0!==i&&(h.isPlainObject(i)?t[e]=h.isPlainObject(t[e])?h.widget.extend({},t[e],i):h.widget.extend({},i):t[e]=i);return t},h.widget.bridge=function(o,e){var r=e.prototype.widgetFullName||o;h.fn[o]=function(i){var t="string"==typeof i,n=a.call(arguments,1),s=this;return t?this.each(function(){var t,e=h.data(this,r);return"instance"===i?(s=e,!1):e?h.isFunction(e[i])&&"_"!==i.charAt(0)?(t=e[i].apply(e,n))!==e&&void 0!==t?(s=t&&t.jquery?s.pushStack(t.get()):t,!1):void 0:h.error("no such method '"+i+"' for "+o+" widget instance"):h.error("cannot call methods on "+o+" prior to initialization; attempted to call method '"+i+"'")}):(n.length&&(i=h.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=h.data(this,r);t?(t.option(i||{}),t._init&&t._init()):h.data(this,r,new e(i,this))})),s}},h.Widget=function(){},h.Widget._childConstructors=[],h.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,e){e=h(e||this.defaultElement||this)[0],this.element=h(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=h(),this.hoverable=h(),this.focusable=h(),e!==this&&(h.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=h(e.style?e.ownerDocument:e.document||e),this.window=h(this.document[0].defaultView||this.document[0].parentWindow)),this.options=h.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:h.noop,_getCreateEventData:h.noop,_create:h.noop,_init:h.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(h.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:h.noop,widget:function(){return this.element},option:function(t,e){var i,n,s,o=t;if(0===arguments.length)return h.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(n=o[t]=h.widget.extend({},this.options[t]),s=0;s<i.length-1;s++)n[i[s]]=n[i[s]]||{},n=n[i[s]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];o[t]=e}return this._setOptions(o),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled",!!e),e&&(this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus"))),this},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_on:function(r,a,t){var u,d=this;"boolean"!=typeof r&&(t=a,a=r,r=!1),t?(a=u=h(a),this.bindings=this.bindings.add(a)):(t=a,a=this.element,u=this.widget()),h.each(t,function(t,e){function i(){if(r||!0!==d.options.disabled&&!h(this).hasClass("ui-state-disabled"))return("string"==typeof e?d[e]:e).apply(d,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||h.guid++);var n=t.match(/^([\w:-]*)\s*(.*)$/),s=n[1]+d.eventNamespace,o=n[2];o?u.delegate(o,s,i):a.bind(s,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e),this.bindings=h(this.bindings.not(t).get()),this.focusable=h(this.focusable.not(t).get()),this.hoverable=h(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){h(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){h(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){h(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){h(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,e,i){var n,s,o=this.options[t];if(i=i||{},(e=h.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],s=e.originalEvent)for(n in s)n in e||(e[n]=s[n]);return this.element.trigger(e,i),!(h.isFunction(o)&&!1===o.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},h.each({show:"fadeIn",hide:"fadeOut"},function(o,r){h.Widget.prototype["_"+o]=function(e,t,i){"string"==typeof t&&(t={effect:t});var n,s=t?!0===t||"number"==typeof t?r:t.effect||r:o;"number"==typeof(t=t||{})&&(t={duration:t}),n=!h.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&h.effects&&h.effects.effect[s]?e[o](t):s!==o&&e[s]?e[s](t.duration,t.easing,i):e.queue(function(t){h(this)[o](),i&&i.call(e[0]),t()})}}),h.widget});
\ No newline at end of file
window.wp=window.wp||{},function(i){var e="undefined"==typeof _wpUtilSettings?{}:_wpUtilSettings;wp.template=_.memoize(function(t){var n,s={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:"data"};return function(e){return(n=n||_.template(i("#tmpl-"+t).html(),s))(e)}}),wp.ajax={settings:e.ajax||{},post:function(e,t){return wp.ajax.send({data:_.isObject(e)?e:_.extend(t||{},{action:e})})},send:function(e,n){var t,s;return _.isObject(e)?n=e:(n=n||{}).data=_.extend(n.data||{},{action:e}),n=_.defaults(n||{},{type:"POST",url:wp.ajax.settings.url,context:this}),(t=(s=i.Deferred(function(t){n.success&&t.done(n.success),n.error&&t.fail(n.error),delete n.success,delete n.error,t.jqXHR=i.ajax(n).done(function(e){"1"!==e&&1!==e||(e={success:!0}),_.isObject(e)&&!_.isUndefined(e.success)?t[e.success?"resolveWith":"rejectWith"](this,[e.data]):t.rejectWith(this,[e])}).fail(function(){t.rejectWith(this,arguments)})})).promise()).abort=function(){return s.jqXHR.abort(),this},t}}}(jQuery);
\ No newline at end of file
<% set_meta_tags title: "VenJob - Cities",
description: "VenJob - Cities",
keywords: "VenJob - Cities" %>
<header class="page-header">
<h2 class="page-title">Cities</h2>
</header>
<div id="primary" class="content-area container" role="main">
<article id="post-2064" class="post-2064 page type-page status-publish hentry">
<div class="entry-content">
<ul class="companies-overview">
<% @cities.each do |city| %>
<li class="company-group">
<%= link_to jobs_with_city_path(city_id: city.id) do %>
<%= city.title %> (<%= city.jobs.count %>)
<% end %>
</li>
<% end %>
</ul>
</div>
</article>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - Cities",
description: "VenJob - Cities",
keywords: "VenJob - Cities"
header.page-header
h2.page-title
| Cities
#primary.content-area.container[role="main"]
article#post-2064.post-2064.page.type-page.status-publish.hentry
.entry-content
ul.companies-overview
- @cities.each do |city|
li.company-group
= link_to jobs_with_city_path(city_id: city.id) do
= city.title
| (
= city.jobs.count
| )
\ No newline at end of file
<% set_meta_tags title: "VenJob - Resend confirmation instructions",
description: "VenJob - Resend confirmation instructions",
keywords: "VenJob - Resend confirmation instructions" %>
<header class="page-header">
<h2 class="page-title">Resend confirmation instructions</h2>
</header>
<div id="primary" class="content-area container" role="main">
<article id="post-1673" class="post-1673 page type-page status-publish hentry">
<div class="entry-content">
<div class="registration-form woocommerce">
<%= form_for(resource, as: resource_name, url: user_confirmation_path(resource_name), html: { method: :post }) do |f| %>
<%= render "devise/shared/error_messages", resource: resource %>
<p class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true, autocomplete: "email", value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %>
</p>
<p class="actions">
<%= f.submit "Resend confirmation instructions" %>
</p>
<% end %>
<%= render "devise/shared/links" %>
</div>
</div>
</div>
</div>
- set_meta_tags title: "VenJob - Resend confirmation instructions",
description: "VenJob - Resend confirmation instructions",
keywords: "VenJob - Resend confirmation instructions"
header.page-header
h2.page-title
| Resend confirmation instructions
#primary.content-area.container[role="main"]
article#post-1673.post-1673.page.type-page.status-publish.hentry
.entry-content
.registration-form.woocommerce
= form_for(resource, as: resource_name, url: user_confirmation_path(resource_name), html: { method: :post }) do |f|
= render "devise/shared/error_messages", resource: resource
p.field
= f.label :email
br
= f.email_field :email, autofocus: true, autocomplete: "email", value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email)
p.actions
= f.submit "Resend confirmation instructions"
= render "devise/shared/links"
\ No newline at end of file
<p>Welcome <%= @email %>!</p>
<p>You can confirm your account email through the link below:</p>
<p><%= link_to 'Confirm my account', user_confirmation_url(confirmation_token: @token) %></p>
p
| Welcome
= @email
| !
p
| You can confirm your account email through the link below:
p
= link_to 'Confirm my account', user_confirmation_url(confirmation_token: @token)
\ No newline at end of file
<p>Hello <%= @email %>!</p>
<% if @resource.try(:unconfirmed_email?) %>
<p>We're contacting you to notify you that your email is being changed to <%= @resource.unconfirmed_email %>.</p>
<% else %>
<p>We're contacting you to notify you that your email has been changed to <%= @resource.email %>.</p>
<% end %>
p
| Hello
= @email
| !
- if @resource.try(:unconfirmed_email?)
p
| We're contacting you to notify you that your email is being changed to
= @resource.unconfirmed_email
| .
- else
p
| We're contacting you to notify you that your email has been changed to
= @resource.email
| .
\ No newline at end of file
<p>Hello <%= @resource.email %>!</p>
<p>We're contacting you to notify you that your password has been changed.</p>
p
| Hello
= @resource.email
| !
p
| We're contacting you to notify you that your password has been changed.
\ No newline at end of file
<p>Hello <%= @resource.email %>!</p>
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
<p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %></p>
<p>If you didn't request this, please ignore this email.</p>
<p>Your password won't change until you access the link above and create a new one.</p>
p
| Hello
= @resource.email
| !
p
| Someone has requested a link to change your password. You can do this through the link below.
p
= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token)
p
| If you didn't request this, please ignore this email.
p
| Your password won't change until you access the link above and create a new one.
\ No newline at end of file
<p>Hello <%= @resource.email %>!</p>
<p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
<p>Click the link below to unlock your account:</p>
<p><%= link_to 'Unlock my account', unlock_url(@resource, unlock_token: @token) %></p>
p
| Hello
= @resource.email
| !
p
| Your account has been locked due to an excessive number of unsuccessful sign in attempts.
p
| Click the link below to unlock your account:
p
= link_to 'Unlock my account', unlock_url(@resource, unlock_token: @token)
\ No newline at end of file
<h2>Change your password</h2>
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
<%= render "devise/shared/error_messages", resource: resource %>
<%= f.hidden_field :reset_password_token %>
<div class="field">
<%= f.label :password, "New password" %><br />
<% if @minimum_password_length %>
<em>(<%= @minimum_password_length %> characters minimum)</em><br />
<% end %>
<%= f.password_field :password, autofocus: true, autocomplete: "new-password" %>
</div>
<div class="field">
<%= f.label :password_confirmation, "Confirm new password" %><br />
<%= f.password_field :password_confirmation, autocomplete: "new-password" %>
</div>
<div class="actions">
<%= f.submit "Change my password" %>
</div>
<% end %>
<%= render "devise/shared/links" %>
h2
| Change your password
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
= render "devise/shared/error_messages", resource: resource
= f.hidden_field :reset_password_token
.field
= f.label :password, "New password"
br
- if @minimum_password_length
em
| (
= @minimum_password_length
| characters minimum)
br
= f.password_field :password, autofocus: true, autocomplete: "new-password"
.field
= f.label :password_confirmation, "Confirm new password"
br
= f.password_field :password_confirmation, autocomplete: "new-password"
.actions
= f.submit "Change my password"
= render "devise/shared/links"
\ No newline at end of file
<% content_for :title, "VenJob - Forgot your password" %>
<header class="page-header">
<h2 class="page-title">Forgot your password</h2>
</header>
<div id="primary" class="content-area container" role="main">
<article id="post-1673" class="post-1673 page type-page status-publish hentry">
<div class="entry-content">
<div class="registration-form woocommerce">
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
<%= render "devise/shared/error_messages", resource: resource %>
<p class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true, autocomplete: "email", placeholder: "Email" %>
</p>
<p class="actions">
<%= f.submit "Send me reset password instructions", class: "button" %>
</p>
<% end %>
<p>
<%= render "devise/shared/links" %>
</p>
</div>
</div>
</article>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - Forgot your password",
description: "VenJob - Forgot your password",
keywords: "VenJob - Forgot your password"
header.page-header
h2.page-title
| Forgot your password
#primary.content-area.container[role="main"]
article#post-1673.post-1673.page.type-page.status-publish.hentry
.entry-content
.registration-form.woocommerce
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
= render "devise/shared/error_messages", resource: resource
p.field
= f.label :email
br
= f.email_field :email, autofocus: true, autocomplete: "email", placeholder: "Email"
p.actions
= f.submit "Send me reset password instructions", class: "button"
p
= render "devise/shared/links"
\ No newline at end of file
<% set_meta_tags title: "VenJob - Sign Up",
description: "VenJob - Sign Up",
keywords: "VenJob - Sign Up" %>
<header class="page-header">
<h2 class="page-title">Sign Up</h2>
</header>
<div id="primary" class="content-area container" role="main">
<article id="post-1673" class="post-1673 page type-page status-publish hentry">
<div class="entry-content">
<div class="registration-form woocommerce">
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= render "devise/shared/error_messages", resource: resource %>
<p class="field">
<%= f.label :full_name %><br />
<%= f.text_field :full_name, autofocus: true, autocomplete: "full_name" %>
</p>
<p class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autocomplete: "email" %>
</p>
<p class="field">
<%= f.label :password %>
<% if @minimum_password_length %>
<em>(<%= @minimum_password_length %> characters minimum)</em>
<% end %><br />
<%= f.password_field :password, autocomplete: "new-password" %>
</p>
<p class="field">
<%= f.label :password_confirmation %><br />
<%= f.password_field :password_confirmation, autocomplete: "new-password" %>
</p>
<p class="actions">
<%= f.submit "Sign up", class: "button" %>
<%= link_to "Sign in with Facebook", user_facebook_omniauth_authorize_path, class: "button" %>
</p>
<% end %>
<p>
Do you have account? <%= render "devise/shared/links" %>
</p>
</div>
</div>
</article>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - Sign Up",
description: "VenJob - Sign Up",
keywords: "VenJob - Sign Up"
header.page-header
h2.page-title
| Sign Up
#primary.content-area.container[role="main"]
article#post-1673.post-1673.page.type-page.status-publish.hentry
.entry-content
.registration-form.woocommerce
= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
= render "devise/shared/error_messages", resource: resource
p.field
= f.label :full_name
br
= f.text_field :full_name, autofocus: true, autocomplete: "full_name"
p.field
= f.label :email
br
= f.email_field :email, autocomplete: "email"
p.field
= f.label :password
- if @minimum_password_length
em
| (
= @minimum_password_length
| characters minimum)
br
= f.password_field :password, autocomplete: "new-password"
p.field
= f.label :password_confirmation
br
= f.password_field :password_confirmation, autocomplete: "new-password"
p.actions
= f.submit "Sign up", class: "button"
= link_to "Sign in with Facebook", user_facebook_omniauth_authorize_path, class: "button"
p
| Do you have account?
= render "devise/shared/links"
\ No newline at end of file
<% set_meta_tags title: "VenJob - Sign In",
description: "VenJob - Sign In",
keywords: "VenJob - Sign In" %>
<header class="page-header">
<h2 class="page-title">Sign In</h2>
</header>
<div id="primary" class="content-area container" role="main">
<article id="post-1673" class="post-1673 page type-page status-publish hentry">
<div class="entry-content">
<div class="registration-form woocommerce">
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
<p class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true, autocomplete: "email" %>
</p>
<p class="field">
<%= f.label :password %><br />
<%= f.password_field :password, autocomplete: "current-password" %>
</p>
<% if devise_mapping.rememberable? %>
<p class="field">
<%= f.check_box :remember_me %>
<%= f.label :remember_me %>
</p>
<% end %>
<p class="actions">
<%= f.submit "Log in", class: "button" %>
<%= link_to "Sign in with Facebook", user_facebook_omniauth_authorize_path, class: "button" %>
</p>
<% end %>
<p>
<%= render "devise/shared/links" %>
</p>
</div>
</div>
</article>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - Sign In",
description: "VenJob - Sign In",
keywords: "VenJob - Sign In"
header.page-header
h2.page-title
| Sign In
#primary.content-area.container[role="main"]
article#post-1673.post-1673.page.type-page.status-publish.hentry
.entry-content
.registration-form.woocommerce
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
p.field
= f.label :email
br
= f.email_field :email, autofocus: true, autocomplete: "email"
p.field
= f.label :password
br
= f.password_field :password, autocomplete: "current-password"
- if devise_mapping.rememberable?
p.field
= f.check_box :remember_me
= f.label :remember_me
p.actions
= f.submit "Log in", class: "button"
= link_to "Sign in with Facebook", user_facebook_omniauth_authorize_path, class: "button"
p
= render "devise/shared/links"
\ No newline at end of file
<% if resource.errors.any? %>
<div id="error_explanation">
<h2>
<%= I18n.t("errors.messages.not_saved",
count: resource.errors.count,
resource: resource.class.model_name.human.downcase)
%>
</h2>
<ul>
<% resource.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
</ul>
</div>
<% end %>
- if resource.errors.any?
#error_explanation
h2
= I18n.t("errors.messages.not_saved", count: resource.errors.count, resource: resource.class.model_name.human.downcase)
ul
- resource.errors.full_messages.each do |message|
li
= message
\ No newline at end of file
<%- if controller_name != 'sessions' %>
<%= link_to "Log in", new_session_path(resource_name) %><br />
<% end %>
<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
<%= link_to "Sign up", new_registration_path(resource_name) %><br />
<% end %>
<!-- <%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
<%= link_to "Forgot your password?", new_password_path(resource_name) %><br />
<% end %> -->
<!-- <%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
<%= link_to "Didn't receive confirmation instructions?", new_user_confirmation_path(resource_name) %><br />
<% end %> -->
<!-- <%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
<%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name) %><br />
<% end %> -->
<!-- <%- if devise_mapping.omniauthable? %>
<%- resource_class.omniauth_providers.each do |provider| %>
<%= link_to "Sign in with #{OmniAuth::Utils.camelize(provider)}", omniauth_authorize_path(resource_name, provider) %><br />
<% end %>
<% end %> -->
- if controller_name != 'sessions'
= link_to "Log in", new_session_path(resource_name)
br
- if devise_mapping.registerable? && controller_name != 'registrations'
= link_to "Sign up", new_registration_path(resource_name)
br
/ <!-- <%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
/ <%= link_to "Forgot your password?", new_password_path(resource_name) %><br />
/ <% end %> -->
/ <!-- <%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
/ <%= link_to "Didn't receive confirmation instructions?", new_user_confirmation_path(resource_name) %><br />
/ <% end %> -->
/ <!-- <%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
/ <%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name) %><br />
/ <% end %> -->
/ <!-- <%- if devise_mapping.omniauthable? %>
/ <%- resource_class.omniauth_providers.each do |provider| %>
/ <%= link_to "Sign in with #{OmniAuth::Utils.camelize(provider)}", omniauth_authorize_path(resource_name, provider) %><br />
/ <% end %>
/ <% end %> -->
<h2>Resend unlock instructions</h2>
<%= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| %>
<%= render "devise/shared/error_messages", resource: resource %>
<div class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true, autocomplete: "email" %>
</div>
<div class="actions">
<%= f.submit "Resend unlock instructions" %>
</div>
<% end %>
<%= render "devise/shared/links" %>
h2
| Resend unlock instructions
= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f|
= render "devise/shared/error_messages", resource: resource
.field
= f.label :email
br
= f.email_field :email, autofocus: true, autocomplete: "email"
.actions
= f.submit "Resend unlock instructions"
= render "devise/shared/links"
\ No newline at end of file
<% set_meta_tags title: "VenJob - History",
description: "VenJob - History",
keywords: "VenJob - History" %>
<header class="page-header">
<h2 class="page-title">History</h2>
</header>
<div id="primary" class="content-area container" role="main">
<article id="post-2452" class="post-2452 page type-page status-publish hentry">
<div class="entry-content">
<div class="woocommerce">
<div class="woocommerce-notices-wrapper"></div>
<table class="shop_table shop_table_responsive cart woocommerce-cart-form__contents" cellspacing="0">
<thead>
<tr>
<th class="product-remove">No.</th>
<th class="product-thumbnail">&nbsp;</th>
<th class="product-name">Title</th>
<th class="product-price">City</th>
<th class="product-quantity">Salary</th>
</tr>
</thead>
<tbody>
<%= render partial: (user_signed_in? ? '/shared/history_item_has_user' : '/shared/history_item_has_not_user'), collection: @jobs_history, as: :history_item %>
<tr>
<td colspan="6" class="actions">
<a class="button apply-all-job" href="javascript:void(0)">Apply all</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</article>
</div>
- set_meta_tags title: "VenJob - History",
description: "VenJob - History",
keywords: "VenJob - History"
header.page-header
h2.page-title
| History
#primary.content-area.container[role="main"]
article#post-2452.post-2452.page.type-page.status-publish.hentry
.entry-content
.woocommerce
.woocommerce-notices-wrapper
- if @jobs_history.present?
table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents[cellspacing="0"]
thead
tr
th.product-remove
| No.
th.product-thumbnail
|  
th.product-name
| Title
th.product-price
| City
th.product-quantity
| Salary
tbody
= render partial: (user_signed_in? ? '/shared/history_item_has_user' : '/shared/history_item_has_not_user'), collection: @jobs_history, as: :history_item
tr
td.actions[colspan="6"]
a.button.apply-all-job[href="javascript:void(0)"]
| Apply all
- else
| History jobs empty
\ No newline at end of file
<% set_meta_tags title: "VenJob - Homepage",
description: "VenJob - Homepage",
keywords: "VenJob - Homepage" %>
<div id="primary" role="main">
<section id="jobify_widget_search_hero-2" class="widget widget--home widget--home--no-margin widget--home-hero-search">
<div class="hero-search hero-search--no-overlay hero-search--height-medium">
<div class="container">
<div class="hero-search__content" style="color:#666666">
<h2 class="hero-search__title" style="color:#666666">The Easiest Way to Get Your New Job</h2>
<p>Find jobs, create trackable resumes and enrich your applications.</p>
</div>
<%= form_tag(search_jobs_path, :method => "get", :class => "job_search_form job_search_form--flat") do %>
<div class="search_jobs">
<div class="search_keywords">
<label for="keyword">Keywords</label>
<input type="text" name="keyword" id="keyword" placeholder="Keywords" />
</div>
<div class="search_submit">
<%= submit_tag "Search Jobs", name: nil %>
</div>
</div>
<% end %>
</div>
</div>
</section>
<section id="jobify_widget_jobs-1" class="widget widget--home jobify_widget_jobs">
<div class="container">
<div class="row">
<div class="recent-jobs col-xs-12">
<h3 class="widget-title widget-title--home">Total Jobs: <%= @amount_job %></h3>
<div class="job_listings">
<ul class="job_listings">
<% if @latest_jobs.present? %>
<%= render partial: '/shared/job_item', collection: @latest_jobs %>
<% end %>
</ul>
<%= link_to jobs_path, class: "load_more_jobs" do %>
<strong>Load more listings</strong>
<% end %>
</div>
</div>
</div>
</div>
</section>
<section id="jobify_widget_feature_callout-4" class="widget widget--home widget--home--no-margin jobify_widget_feature_callout widget--home-feature-callout">
<div class="feature-callout text-left image-cover">
<div class="feature-callout-cover feature-callout-cover--overlay-gradient-left">
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-8 col-md-6 ">
<div class="callout-feature-content callout-feature-content--height-medium">
<h2 class="callout-feature-title">Join Thousands of Companies That Rely on Jobify</h2>
<p>Jobify offers a way to completely optimize your entire recruiting process. Find better candidates, conduct more focused interviews, and make data-driven hiring decisions.</p>
<p><a href="https://jobify-demos.astoundify.com/classic/pricing/" class="button button--color-white button--size-medium">Get Started</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="jobify_widget_stats-1" class="widget widget--home jobify_widget_stats widget--home-stats">
<div class="container">
<h3 class="widget-title widget-title--home">Top cities</h3>
<p class="widget-description widget-description--home">
Here we list our cities and how many people we’ve helped find a job and companies have found recruits. It's a pretty awesome stats area!
</p>
<ul class="job-stats row showing-4">
<%= render partial: '/shared/latest_industry', collection: @latest_cities %>
</ul>
<%= link_to cities_path, class: "load_more_jobs" do %>
<strong>Load more listings</strong>
<% end %>
</div>
</section>
<section id="jobify_widget_feature_callout-3" class="widget widget--home widget--home--no-margin jobify_widget_feature_callout widget--home-feature-callout">
<div class="feature-callout text-right image-cover">
<div class="feature-callout-cover feature-callout-cover--overlay-gradient-right">
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-8 col-md-6 col-sm-offset-4 col-md-offset-6">
<div class="callout-feature-content callout-feature-content--height-medium">
<h2 class="callout-feature-title">Make Recruiting Your Competitive Advantage</h2>
<p>Talent is a top priority for all startup founders and executives. Jobify offers a way to completely optimize your entire recruiting process. Find better candidates, conduct more focused interviews, and make data-driven hiring decisions.</p>
<p><a href="https://jobify-demos.astoundify.com/classic/pricing/" class="button button--color-white button--size-medium">Get Started</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="jobify_widget_stats-1" class="widget widget--home jobify_widget_stats widget--home-stats">
<div class="container">
<h3 class="widget-title widget-title--home">Top Industries</h3>
<ul class="job-stats row showing-4">
<%= render partial: '/shared/latest_industry', collection: @latest_industries %>
</ul>
<%= link_to industries_path, class: "load_more_jobs" do %>
<strong>Load more listings</strong>
<% end %>
</div>
</section>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - Homepage",
description: "VenJob - Homepage",
keywords: "VenJob - Homepage"
#primary[role="main"]
section#jobify_widget_search_hero-2.widget.widget--home.widget--home--no-margin.widget--home-hero-search
.hero-search.hero-search--no-overlay.hero-search--height-medium
.container
.hero-search__content[style="color:#666666"]
h2.hero-search__title[style="color:#666666"]
| The Easiest Way to Get Your New Job
p
| Find jobs, create trackable resumes and enrich your applications.
= form_tag(search_jobs_path, :method => "get", :class => "job_search_form job_search_form--flat") do
.search_jobs
.search_keywords
label[for="keyword"]
| Keywords
input#keyword[type="text" name="keyword" placeholder="Keywords"]
.search_submit
= submit_tag "Search Jobs", name: nil
section#jobify_widget_jobs-1.widget.widget--home.jobify_widget_jobs
.container
.row
.recent-jobs.col-xs-12
h3.widget-title.widget-title--home
| Total Jobs:
= @amount_job
.job_listings
ul.job_listings
- if @latest_jobs.present?
= render partial: '/shared/job_item', collection: @latest_jobs
= link_to jobs_path, class: "load_more_jobs" do
strong
| Load more listings
section#jobify_widget_feature_callout-4.widget.widget--home.widget--home--no-margin.jobify_widget_feature_callout.widget--home-feature-callout
.feature-callout.text-left.image-cover
.feature-callout-cover.feature-callout-cover--overlay-gradient-left
.container
.row
.col-xs-12.col-sm-8.col-md-6
.callout-feature-content.callout-feature-content--height-medium
h2.callout-feature-title
| Join Thousands of Companies That Rely on Jobify
p
| Jobify offers a way to completely optimize your entire recruiting process. Find better candidates, conduct more focused interviews, and make data-driven hiring decisions.
p
a.button.button--color-white.button--size-medium[href="https://jobify-demos.astoundify.com/classic/pricing/"]
| Get Started
section#jobify_widget_stats-1.widget.widget--home.jobify_widget_stats.widget--home-stats
.container
h3.widget-title.widget-title--home
| Top cities
p.widget-description.widget-description--home
| Here we list our cities and how many people we’ve helped find a job and companies have found recruits. It's a pretty awesome stats area!
ul.job-stats.row.showing-4
= render partial: '/shared/latest_industry', collection: @latest_cities
= link_to cities_path, class: "load_more_jobs" do
strong
| Load more listings
section#jobify_widget_feature_callout-3.widget.widget--home.widget--home--no-margin.jobify_widget_feature_callout.widget--home-feature-callout
.feature-callout.text-right.image-cover
.feature-callout-cover.feature-callout-cover--overlay-gradient-right
.container
.row
.col-xs-12.col-sm-8.col-md-6.col-sm-offset-4.col-md-offset-6
.callout-feature-content.callout-feature-content--height-medium
h2.callout-feature-title
| Make Recruiting Your Competitive Advantage
p
| Talent is a top priority for all startup founders and executives. Jobify offers a way to completely optimize your entire recruiting process. Find better candidates, conduct more focused interviews, and make data-driven hiring decisions.
p
a.button.button--color-white.button--size-medium[href="https://jobify-demos.astoundify.com/classic/pricing/"]
| Get Started
section#jobify_widget_stats-1.widget.widget--home.jobify_widget_stats.widget--home-stats
.container
h3.widget-title.widget-title--home
| Top Industries
ul.job-stats.row.showing-4
= render partial: '/shared/latest_industry', collection: @latest_industries
= link_to industries_path, class: "load_more_jobs" do
strong
| Load more listings
\ No newline at end of file
<% set_meta_tags title: "VenJob - Industries",
description: "VenJob - Industries",
keywords: "VenJob - Industries" %>
<header class="page-header">
<h2 class="page-title">Industries</h2>
</header>
<div id="primary" class="content-area container" role="main">
<article id="post-2064" class="post-2064 page type-page status-publish hentry">
<div class="entry-content">
<ul class="companies-overview">
<% @industries.each do |industry| %>
<li class="company-group">
<%= link_to jobs_with_industry_path(industry_id: industry.id) do %>
<%= industry.title %> (<%= industry.jobs.count %>)
<% end %>
</li>
<% end %>
</ul>
</div>
</article>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - Industries",
description: "VenJob - Industries",
keywords: "VenJob - Industries"
header.page-header
h2.page-title
| Industries
#primary.content-area.container[role="main"]
article#post-2064.post-2064.page.type-page.status-publish.hentry
.entry-content
ul.companies-overview
- @industries.each do |industry|
li.company-group
= link_to jobs_with_industry_path(industry_id: industry.id) do
= industry.title
| (
= industry.jobs.count
| )
\ No newline at end of file
<% set_meta_tags title: "VenJob - Jobs",
description: "VenJob - Jobs",
keywords: "VenJob - Jobs" %>
<div id="primary" role="main">
<!-- <div class="job_listing-map-wrapper">
<div class="job_listing-map">
<div id="job_listing-map-canvas"></div>
</div>
</div> -->
<div class="container content-area">
<div class="entry-content">
<div class="job_listings">
<form class="job_filters">
<div class="search_jobs">
<div class="search_keywords">
<label for="search_keywords">Keywords</label>
<input type="text" name="search_keywords" id="search_keywords" placeholder="Keywords" value="" />
</div>
<div class="search_submit">
<input type="submit" name="submit" value="Search">
</div>
</div>
<div class="showing_jobs">
<span>Search completed. Found <%= @amount_job %> matching records.</span>
</div>
</form>
<noscript>Your browser does not support JavaScript, or it is disabled. JavaScript must be enabled in order to view listings.</noscript>
<% if @jobs.present? %>
<ul class="job_listings">
<%= render partial: '/shared/job_item', collection: @jobs %>
</ul>
<div class="job-manager-pagination">
<%= paginate @jobs %>
</div>
<% end %>
</div>
</div>
</div>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - Jobs",
description: "VenJob - Jobs",
keywords: "VenJob - Jobs"
#primary[role="main"]
.container.content-area
.entry-content
.job_listings
form.job_filters
.search_jobs
.search_keywords
label[for="search_keywords"]
| Keywords
input#search_keywords[type="text" name="search_keywords" placeholder="Keywords" value=""]
.search_submit
input[type="submit" name="submit" value="Search"]
.showing_jobs
span
| Search completed. Found
= @amount_job
| matching records.
noscript
| Your browser does not support JavaScript, or it is disabled. JavaScript must be enabled in order to view listings.
- if @jobs.present?
ul.job_listings
= render partial: '/shared/job_item', collection: @jobs
.job-manager-pagination
= paginate @jobs
\ No newline at end of file
<% set_meta_tags title: "VenJob - Search",
description: "VenJob - Search",
keywords: "VenJob - Search" %>
<div id="primary" role="main">
<!-- <div class="job_listing-map-wrapper">
<div class="job_listing-map">
<div id="job_listing-map-canvas"></div>
</div>
</div> -->
<div class="container content-area">
<div class="entry-content">
<div class="job_listings">
<%= form_tag(search_jobs_path, :method => "get") do %>
<div class="search_jobs">
<div class="search_keywords">
<label for="keyword">Keywords</label>
<input type="search" name="keyword" id="keyword" placeholder="Keywords" value="<%= params[:keyword]%>" />
</div>
<div class="search_submit">
<%= submit_tag "Search Jobs", name: nil %>
</div>
</div>
<div class="showing_jobs">
<span>Search completed. Found <%= @amount_job %> matching records.</span>
</div>
<% end %>
<% if @jobs.present? %>
<ul class="job_listings">
<% @jobs.each do |job| %>
<li class="job_listing job-type-part-time post-3354 type-job_listing status-publish has-post-thumbnail hentry job_listing_category-design job_listing_type-part-time">
<div class="job_listing-logo">
<%= link_to job_path(id: job["job_id"]) do %>
<img class="company_logo" src="<%= job["company_logo"] != "" ? job["company_logo"] : "https://via.placeholder.com/66x38?text=Logo" %>" alt="<%= job["company_name"] %>">
<% end %>
</div>
<div class="job_listing-about">
<div class="job_listing-position job_listing__column">
<h3 class="job_listing-title">
<%= link_to job["job_title"], job_path(id: job["job_id"]) %>
</h3>
<div class="job_listing-company">
<strong>
<%= link_to job["company_name"], jobs_with_company_path(company_id: job["company_id"]) %>
</strong>
</div>
</div>
<div class="job_listing-location job_listing__column">
<% job["city_ids"].each_with_index do |city_id, index| %>
<%= link_to jobs_with_city_path(city_id: city_id), class: "google_map_link" do %>
<%= job["city_names"][index] %><%= ", " if index != job["city_ids"].size - 1 %>
<% end %>
<% end %>
</div>
<ul class="job_listing-meta job_listing__column">
<li class="job_listing-type job-type part-time"><%= job["salary"] == 0 ? "Thuương lượng" : job["salary"] %></li>
<li class="job_listing-date"><%= job["expiration_date"] > 0 ? Time.at(job["expiration_date"]).to_date.to_s : "" %></li>
</ul>
</div>
</li>
<% end %>
</ul>
<div class="job-manager-pagination">
<%= will_paginate @jobs %>
</div>
<% end %>
</div>
</div>
</div>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - Search",
description: "VenJob - Search",
keywords: "VenJob - Search"
#primary[role="main"]
.container.content-area
.entry-content
.job_listings
= form_tag(search_jobs_path, :method => "get") do
.search_jobs
.search_keywords
label[for="keyword"]
| Keywords
input type="search" name="keyword" id="keyword" placeholder="Keywords" value="#{params[:keyword]}"
.search_submit
= submit_tag "Search Jobs", name: nil
.showing_jobs
span
| Search completed. Found
= @amount_job
| matching records.
- if @jobs.present?
ul.job_listings
- @jobs.each do |job|
li.job_listing.job-type-part-time.post-3354.type-job_listing.status-publish.has-post-thumbnail.hentry.job_listing_category-design.job_listing_type-part-time
.job_listing-logo
= link_to job_path(id: job["job_id"]) do
img class="company_logo" src="#{job["company_logo"] != "" ? job["company_logo"] : "https://via.placeholder.com/66x38?text=Logo"}" alt="#{job["company_name"]}"
.job_listing-about
.job_listing-position.job_listing__column
h3.job_listing-title
= link_to job["job_title"], job_path(id: job["job_id"])
.job_listing-company
strong
= link_to job["company_name"], jobs_with_company_path(company_id: job["company_id"])
.job_listing-location.job_listing__column
- job["city_ids"].each_with_index do |city_id, index|
= link_to jobs_with_city_path(city_id: city_id), class: "google_map_link" do
= job["city_names"][index]
= ", " if index != job["city_ids"].size - 1
ul.job_listing-meta.job_listing__column
li.job_listing-type.job-type.part-time
= job["salary"] == 0 ? "Thuương lượng" : job["salary"]
li.job_listing-date
= job["expiration_date"] > 0 ? Time.at(job["expiration_date"]).to_date.to_s : ""
.job-manager-pagination
= will_paginate @jobs
\ No newline at end of file
<% set_meta_tags title: @job.title,
description: @job.title,
keywords: @job.title %>
<div class="single_job_listing">
<% if @job.present? %>
<div class="page-header">
<h1 class="page-title">
<%= @job.title %>
</h1>
<h3 class="page-subtitle">
<ul class="job-listing-meta meta">
<li class="job-type part-time"><%= "Salary: " + @job.salary %></li>
<li class="location">
<% @job.cities.each_with_index do |city, index| %>
<%= link_to jobs_with_city_path(city_id: city.id), class: "google_map_link" do %>
<%= city.title %></a><%= "," if index != @job.cities.count - 1 %>
<% end %>
<% end %>
</li>
<li class="date-posted"><%= @job.expiration_date %></li>
<li class="job-company">
<%= link_to @job.company.title, jobs_with_city_path(city_id: @job.company_id) %>
</li>
</ul>
</h3>
</div>
<div id="content" class="container content-area" role="main">
<div class="job-overview-content row">
<div class="job_listing-description job-overview col-md-9 col-sm-12">
<h4>Benefit</h4>
<%= raw(@job.benefit) %>
<h4>Job requirements</h4>
<%= raw(@job.job_requirements) %>
<h4>Job description</h4>
<%= raw(@job.job_description) %>
<h4>Other information</h4>
<%= raw(@job.other_information) %>
</div>
<div class="job-meta col-md-3 col-sm-6 col-xs-12">
<aside class="widget widget--job_listing">
<img class="company_logo" src="<%= @job.company.logo != "" ? @job.company.logo : "https://via.placeholder.com/66x38?text=Logo" %>" alt="<%= @job.company.title %>" />
</aside>
<aside class="widget widget--job_listing">
<div class="job_application application" style="margin-bottom: 15px;">
<% if @apply.blank? %>
<input type="button" class="application_button button apply-or-favorite-jobs" value="Apply for job" data-id="<%= @job.id %>" data-type="apply"/>
<% else %>
<input type="button" class="application_button button" value="Apply for job" disabled/>
<% end %>
</div>
<div class="job_application application">
<% if @favorite.blank? %>
<input type="button" class="application_button button apply-or-favorite-jobs" value="Favorite" data-id="<%= @job.id %>" data-type="favorite"/>
<% else %>
<input type="button" class="application_button button" value="Favorite" disabled/>
<% end %>
</div>
</aside>
<aside class="widget widget--job_listing">
<h3 class="widget-title widget-title--job_listing">Company Information</h3>
<ul>
<li>Name: <%= @job.company.title %></li>
<li>Address: <%= @job.company.address %></li>
<%= raw(@job.company.description) %>
</ul>
</aside>
<aside class="widget widget--job_listing">
<h3 class="widget-title widget-title--job_listing">Industry</h3>
<div class="job_listing-categories">
<% @job.industries.each_with_index do |industry, index| %>
<%= link_to industry.title, jobs_with_industry_path(industry_id: industry.id), class: "job-category" %>
<% end %>
</div>
</aside>
</div>
</div>
</div>
<div class="related-jobs container">
<h3 class="widget-title widget--title-job_listing-top">Related Jobs</h3>
<ul class="job_listings related">
<% if @relate_jobs.present? %>
<%= render partial: '/shared/job_item', collection: @relate_jobs %>
<% end %>
</ul>
</div>
<% else %>
<div class="page-header">
<h1 class="page-title">
Job was not found
</h1>
<h3 class="page-subtitle">
<ul class="job-listing-meta meta">
<li class="job-company">
<%= link_to "Back to home", root_path %>
</li>
<li class="location">
<%= link_to "Find a job", jobs_path %>
</li>
</ul>
</h3>
</div>
<% end %>
</div>
\ No newline at end of file
- set_meta_tags title: @job.title,
description: @job.title,
keywords: @job.title
.single_job_listing
- if @job.present?
.page-header
h1.page-title
= @job.title
h3.page-subtitle
ul.job-listing-meta.meta
li.job-type.part-time
= "Salary: " + @job.salary
li.location
- @job.cities.each_with_index do |city, index|
= link_to jobs_with_city_path(city_id: city.id), class: "google_map_link" do
= city.title
= "," if index != @job.cities.count - 1
li.date-posted
= @job.expiration_date
li.job-company
= link_to @job.company.title, jobs_with_city_path(city_id: @job.company_id)
#content.container.content-area[role="main"]
.job-overview-content.row
.job_listing-description.job-overview.col-md-9.col-sm-12
h4
| Benefit
= raw(@job.benefit)
h4
| Job requirements
= raw(@job.job_requirements)
h4
| Job description
= raw(@job.job_description)
h4
| Other information
= raw(@job.other_information)
.job-meta.col-md-3.col-sm-6.col-xs-12
aside.widget.widget--job_listing
img class="company_logo" src="#{@job.company.logo != "" ? @job.company.logo : "https://via.placeholder.com/66x38?text=Logo"}" alt="#{@job.company.title}"
aside.widget.widget--job_listing
.job_application.application[style="margin-bottom: 15px;"]
- if @apply.blank?
input type="button" class="application_button button apply-or-favorite-jobs" value="Apply for job" data-id="#{@job.id}" data-type="apply"
- else
input.application_button.button[type="button" value="Apply for job" disabled]
.job_application.application
- if @favorite.blank?
input type="button" class="application_button button apply-or-favorite-jobs" value="Favorite" data-id="#{@job.id}" data-type="favorite"
- else
input.application_button.button[type="button" value="Favorite" disabled]
aside.widget.widget--job_listing
h3.widget-title.widget-title--job_listing
| Company Information
ul
li
| Name:
= @job.company.title
li
| Address:
= @job.company.address
= raw(@job.company.description)
aside.widget.widget--job_listing
h3.widget-title.widget-title--job_listing
| Industry
.job_listing-categories
- @job.industries.each_with_index do |industry, index|
= link_to industry.title, jobs_with_industry_path(industry_id: industry.id), class: "job-category"
.related-jobs.container
h3.widget-title.widget--title-job_listing-top
| Related Jobs
ul.job_listings.related
- if @relate_jobs.present?
= render partial: '/shared/job_item', collection: @relate_jobs
- else
.page-header
h1.page-title
| Job was not found
h3.page-subtitle
ul.job-listing-meta.meta
li.job-company
= link_to "Back to home", root_path
li.location
= link_to "Find a job", jobs_path
\ No newline at end of file
<p class="notice"><%= notice %></p>
<p class="alert"><%= alert %></p>
\ No newline at end of file
p.notice
= notice
p.alert
= alert
\ No newline at end of file
doctype html
html
head
= display_meta_tags
= csrf_meta_tags
= csp_meta_tag
link[rel="shortcut icon" type="image/x-icon" href="/assets/images/favicon.ico"]
link[rel="stylesheet" href="//fonts.googleapis.com/css?family=Varela+Round%3Aregular%7CMontserrat%3Aregular%2C700&#038;subset=latin,hebrew" type="text/css" media="all"]
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload'
= javascript_include_tag "/assets/js/jquery.js"
= javascript_include_tag "/assets/js/jquery-migrate.min.js"
= javascript_include_tag "https://maps.googleapis.com/maps/api/js?v=3&libraries=geometry%2Cplaces&language=en&key=AIzaSyDFtSmGkBIXtMX63-bZKn50-6p3vZ2-WHE&ver=5.3.2"
= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload'
body.home.page-template.page-template-page-templates.page-template-jobify.page-template-page-templatesjobify-php.page.page-id-25.woocommerce-no-js.single-listing-style-side.single-resume-style-side.wp-job-manager-categories-enabled.wp-job-manager.wp-job-manager-bookmarks.ninjaforms-contact-job-form.wp-job-manager-contact-listing.woocommerce.testimonials.ninja-forms.jetpack.custom-font.nav-menu-break-large.fixed-header.jobify-child
#page.hfeed.site
header#masthead.site-header[role="banner"]
.container
.site-header__wrap
a.site-branding[href="/" title="VenJob" rel="home"]
h1.site-title
img[src="/assets/images/logo.png" width="" height="" alt=""]
nav#site-navigation.site-primary-navigation
a.js-primary-menu-toggle.primary-menu-toggle.primary-menu-toggle--close[href="#site-navigation"]
| Close
form#searchform.searchform.searchform--header[role="search" method="get" action="https://jobify-demos.astoundify.com/classic/"]
label.screen-reader-text[for="s"]
| Search for:
input#s.searchform__input.searchform--header__input[type="text" value="" name="s" placeholder="Keywords..."]
button#searchsubmit.searchform__submit.searchform--header__submit[type="submit"]
span.screen-reader-text
| Search
.nav-menu.nav-menu--primary
ul#menu-main-menu.nav-menu.nav-menu--primary
- if !current_admin
li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991208
a[href="/jobs"]
| Find A Job
li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991220
a[href="/cities"]
| City
li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991220
a[href="/industries"]
| Industry
li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991220
a[href="/history"]
| History
- if current_user
li.register.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991219
= link_to 'Favorite', users_favorite_jobs_path
li.register.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991219
= link_to 'Hi, ' + current_user.full_name, users_info_path
li.login.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991213
= link_to 'Sign out', destroy_user_session_path, method: :delete
- else
li.register.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991219
= link_to 'Sign up', new_user_registration_path
li.login.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991213
= link_to 'Sign in', new_user_session_path
- else
- if current_admin
li.register.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991219
= link_to 'Applies', admins_applies_path
li.login.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991213
= link_to 'Admin sign out', destroy_admin_session_path, method: :delete
a.js-primary-menu-toggle.primary-menu-toggle.primary-menu-toggle--open[href="#site-navigation"]
span.screen-reader-text
| Menu
#main.site-main
- render 'layouts/alerts'
= yield
.footer-cta
.container
h2
| Got a question?
p
| We're here to help. Check out our FAQs, send us an email or call us at 1 (800) 555-5555
footer#colophon.site-footer[role="contentinfo"]
.footer-widgets
.container
.row
.col-xs-12.col-md-6.col-lg-3
aside#text-1.widget.widget--footer.widget_text
.textwidget
img[src="/assets/images/logo.png"]
br
br
| Job Searching Just Got Easy. Use Jobify to run a hiring site and earn money in the process!
.col-xs-12.col-md-6.col-lg-3
aside#pages-1.widget.widget--footer.widget_pages
h3.widget-title.widget-title--footer
| Site Map
ul
li.page_item.page-item-703
a[href="https://jobify-demos.astoundify.com/classic/blog/"]
| Blog
.col-xs-12.col-md-6.col-lg-3
aside#recent-posts-3.widget.widget--footer.widget_recent_entries
h3.widget-title.widget-title--footer
| Recent News Articles
ul
li
a[href="https://jobify-demos.astoundify.com/classic/2016/03/29/middle-class-jobs-are-being-replaced-by-burger-flipping-retail-sales-low-pay-jobs-4/"]
| The Best (and Worst) Canadian Merchant Account Providers
span.post-date
| March 29, 2016
.col-xs-12.col-md-6.col-lg-3
aside#text-2.widget.widget--footer.widget_text
h3.widget-title.widget-title--footer
| Jobify Offices
.textwidget
| Jobify Inc. 555 Madison Avenue, Suite F-2 Manhattan, New York 10282
br
| Jobify Inc Canada. 545 Younge St, Suite 11 Toronto, Ontario M4K 6F4
.copyright
.container
.site-info
| © 2020 VenJob — All Rights Reserved
.footer-social
a[href="http://facebook.com"]
span.screen-reader-text
| Facebook
a[href="http://twitter.com"]
span.screen-reader-text
| Twitter
a[href="https://plus.google.com/"]
span.screen-reader-text
| Google Plus
a[href="http://instagram.com/"]
span.screen-reader-text
| Instagram
a[href="https://pinterest.com/"]
span.screen-reader-text
| Pinterest
a[href="https://vimeo.com"]
span.screen-reader-text
| Vimeo
a[href="http://www.linkedin.com"]
span.screen-reader-text
| Linkedin
.back2top
.b-icon
|
= javascript_include_tag "/assets/js/custom.js"
\ No newline at end of file
<% set_meta_tags title: "VenJob - 404",
description: "VenJob - 404",
keywords: "VenJob - 404" %>
<header class="page-header">
<h2 class="page-title">Page Not Found</h2>
</header>
<div id="primary" class="content-area container" role="main">
<div class="blog-archive">
<div class="content-none">
<p>It seems we can’t find what you’re looking for</p>
</div>
</div>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - 404",
description: "VenJob - 404",
keywords: "VenJob - 404"
header.page-header
h2.page-title
| Page Not Found
#primary.content-area.container[role="main"]
.blog-archive
.content-none
p
| It seems we can’t find what you’re looking for
\ No newline at end of file
<tr class="woocommerce-cart-form__cart-item cart_item">
<td>
<%= history_item_counter + 1 %>
</td>
<td style="text-align: center;">
<input type="checkbox" class="checkbox-apply-job" data-id="<%= history_item.id %>">
</td>
<td>
<%= link_to history_item.title, history_item %>
</td>
<td>
<% history_item.cities.each_with_index do |city, index| %>
<%= city.title %><%= ", " if index != history_item.cities.size - 1 %>
<% end %>
</td>
<td class="product-price">
<%= history_item.salary %>
</td>
</tr>
\ No newline at end of file
tr.woocommerce-cart-form__cart-item.cart_item
td
= history_item_counter + 1
td[style="text-align: center;"]
input type="checkbox" class="checkbox-apply-job" data-id="#{history_item.id}"
td
= link_to history_item.title, history_item
td
- history_item.cities.each_with_index do |city, index|
= city.title
= ", " if index != history_item.cities.size - 1
td.product-price
= history_item.salary
\ No newline at end of file
<tr class="woocommerce-cart-form__cart-item cart_item">
<td>
<%= history_item_counter + 1 %>
</td>
<td style="text-align: center;">
<input type="checkbox" class="checkbox-apply-job" data-id="<%= history_item.job_id %>">
</td>
<td>
<%= link_to history_item.job.title, history_item.job %>
</td>
<td>
<% history_item.job.cities.each_with_index do |city, index| %>
<%= city.title %><%= ", " if index != history_item.job.cities.size - 1 %>
<% end %>
</td>
<td class="product-price">
<%= history_item.job.salary %>
</td>
</tr>
\ No newline at end of file
tr.woocommerce-cart-form__cart-item.cart_item
td
= history_item_counter + 1
td[style="text-align: center;"]
input type="checkbox" class="checkbox-apply-job" data-id="#{history_item.job_id}"
td
= link_to history_item.job.title, history_item.job
td
- history_item.job.cities.each_with_index do |city, index|
= city.title
= ", " if index != history_item.job.cities.size - 1
td.product-price
= history_item.job.salary
\ No newline at end of file
<li class="job_listing job-type-part-time post-3354 type-job_listing status-publish has-post-thumbnail hentry job_listing_category-design job_listing_type-part-time">
<div class="job_listing-logo">
<%= link_to(job_item) do %>
<img class="company_logo" src="<%= job_item.company.logo != "" ? job_item.company.logo : "https://via.placeholder.com/66x38?text=Logo" %>" alt="<%= job_item.company.title %>">
<% end %>
</div>
<div class="job_listing-about">
<div class="job_listing-position job_listing__column">
<h3 class="job_listing-title">
<%= link_to job_item.title, job_item %>
</h3>
<div class="job_listing-company">
<strong>
<%= link_to job_item.company.title, jobs_with_company_path(company_id: job_item.company.id) %>
</strong>
</div>
</div>
<div class="job_listing-location job_listing__column">
<% job_item.cities.each_with_index do |city, index| %>
<%= link_to jobs_with_city_path(city_id: city.id), class: "google_map_link" do %>
<%= city.title %><%= ", " if index != job_item.cities.size - 1 %>
<% end %>
<% end %>
</div>
<ul class="job_listing-meta job_listing__column">
<li class="job_listing-type job-type part-time"><%= job_item.salary %></li>
<li class="job_listing-date"><%= job_item.expiration_date %></li>
</ul>
</div>
</li>
\ No newline at end of file
li.job_listing.job-type-part-time.post-3354.type-job_listing.status-publish.has-post-thumbnail.hentry.job_listing_category-design.job_listing_type-part-time
.job_listing-logo
= link_to(job_item) do
img class="company_logo" src="#{job_item.company.logo != "" ? job_item.company.logo : "https://via.placeholder.com/66x38?text=Logo"}" alt="#{job_item.company.title}"
.job_listing-about
.job_listing-position.job_listing__column
h3.job_listing-title
= link_to job_item.title, job_item
.job_listing-company
strong
= link_to job_item.company.title, jobs_with_company_path(company_id: job_item.company.id)
.job_listing-location.job_listing__column
- job_item.cities.each_with_index do |city, index|
= link_to jobs_with_city_path(city_id: city.id), class: "google_map_link" do
= city.title
= ", " if index != job_item.cities.size - 1
ul.job_listing-meta.job_listing__column
li.job_listing-type.job-type.part-time
= job_item.salary
li.job_listing-date
= job_item.expiration_date
\ No newline at end of file
<li class="job-stat col-md-3 col-sm-6 col-xs-12">
<strong><%= latest_city.jobs_count %></strong>
<%= link_to latest_city.title, jobs_with_city_path(city_id: latest_city.id) %>
</li>
\ No newline at end of file
li.job-stat.col-md-3.col-sm-6.col-xs-12
strong
= latest_city.jobs_count
= link_to latest_city.title, jobs_with_city_path(city_id: latest_city.id)
\ No newline at end of file
<li class="job-stat col-md-3 col-sm-6 col-xs-12">
<strong><%= latest_industry.jobs_count %></strong>
<%= link_to latest_industry.title, jobs_with_industry_path(industry_id: latest_industry.id) %>
</li>
\ No newline at end of file
li.job-stat.col-md-3.col-sm-6.col-xs-12
strong
= latest_industry.jobs_count
= link_to latest_industry.title, jobs_with_industry_path(industry_id: latest_industry.id)
\ No newline at end of file
<% set_meta_tags title: "VenJob - Applied Jobs",
description: "VenJob - Applied Jobs",
keywords: "VenJob - Applied Jobs" %>
<header class="page-header">
<h2 class="page-title">Applied Jobs</h2>
</header>
<div id="primary" class="content-area container" role="main">
<article id="post-1673" class="post-1673 page type-page status-publish hentry">
<div class="entry-content">
<div class="woocommerce">
<div class="woocommerce-notices-wrapper"></div>
<% if @applied_jobs.present? %>
<table class="shop_table shop_table_responsive cart woocommerce-cart-form__contents" cellspacing="0">
<thead>
<tr>
<th class="product-remove">No.</th>
<th class="product-thumbnail">&nbsp;</th>
<th class="product-name">Title</th>
<th class="product-price">City</th>
<th class="product-quantity">Salary</th>
<th class="product-quantity">Applied at</th>
</tr>
</thead>
<tbody>
<% @applied_jobs.each_with_index do |apply, index| %>
<tr class="woocommerce-cart-form__cart-item cart_item">
<td>
<%= index + 1%>
</td>
<td>
</td>
<td>
<%= apply.job.title %>
</td>
<td>
<% apply.job.cities.each_with_index do |city, index| %>
<%= city.title %><%= ", " if index != apply.job.cities.size - 1 %>
<% end %>
</td>
<td class="product-price">
<%= apply.job.salary %>
</td>
<td class="product-quantity">
<%= apply.created_at.strftime("%F %T") %>
</td>
</tr>
<% end %>
</tbody>
</table>
<% else %>
Applied jobs empty
<% end %>
</div>
</div>
</article>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - Applied Jobs",
description: "VenJob - Applied Jobs",
keywords: "VenJob - Applied Jobs"
header.page-header
h2.page-title
| Applied Jobs
#primary.content-area.container[role="main"]
article#post-1673.post-1673.page.type-page.status-publish.hentry
.entry-content
.woocommerce
.woocommerce-notices-wrapper
- if @applied_jobs.present?
table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents[cellspacing="0"]
thead
tr
th.product-remove
| No.
th.product-thumbnail
|  
th.product-name
| Title
th.product-price
| City
th.product-quantity
| Salary
th.product-quantity
| Applied at
tbody
- @applied_jobs.each_with_index do |apply, index|
tr.woocommerce-cart-form__cart-item.cart_item
td
= index + 1
td
td
= apply.job.title
td
- apply.job.cities.each_with_index do |city, index|
= city.title
= ", " if index != apply.job.cities.size - 1
td.product-price
= apply.job.salary
td.product-quantity
= apply.created_at.strftime("%F %T")
- else
| Applied jobs empty
\ No newline at end of file
<% set_meta_tags title: "VenJob - Favorite Jobs",
description: "VenJob - Favorite Jobs",
keywords: "VenJob - Favorite Jobs" %>
<header class="page-header">
<h2 class="page-title">Favorite jobs</h2>
</header>
<div id="primary" class="content-area container" role="main">
<article id="post-2452" class="post-2452 page type-page status-publish hentry">
<div class="entry-content">
<div class="woocommerce">
<div class="woocommerce-notices-wrapper"></div>
<% if @favorite_jobs.present? %>
<table class="shop_table shop_table_responsive cart woocommerce-cart-form__contents" cellspacing="0">
<thead>
<tr>
<th class="product-remove">No.</th>
<th class="product-thumbnail">&nbsp;</th>
<th class="product-name">Title</th>
<th class="product-price">City</th>
<th class="product-quantity">Salary</th>
<th class="product-quantity">Remove</th>
</tr>
</thead>
<tbody>
<% @favorite_jobs.each_with_index do |favorite, index| %>
<tr class="woocommerce-cart-form__cart-item cart_item">
<td>
<%= index + 1%>
</td>
<td style="text-align: center;">
<input type="checkbox" class="checkbox-apply-job" data-id="<%= favorite.job_id %>">
</td>
<td>
<%= link_to favorite.job.title, favorite.job %>
</td>
<td>
<% favorite.job.cities.each_with_index do |city, index| %>
<%= city.title %><%= ", " if index != favorite.job.cities.size - 1 %>
<% end %>
</td>
<td class="product-price">
<%= favorite.job.salary %>
</td>
<td class="product-quantity">
<a href="javascript:void(0)" class="remove-favorite-job" data-favorite_id="<%= favorite.id %>">×</a>
</td>
</tr>
<% end %>
<tr>
<td colspan="6" class="actions">
<a class="button apply-all-job" href="javascript:void(0)">Apply all</a>
</td>
</tr>
</tbody>
</table>
<% else %>
Favorite jobs empty
<% end %>
</div>
</div>
</article>
</div>
- set_meta_tags title: "VenJob - Favorite Jobs",
description: "VenJob - Favorite Jobs",
keywords: "VenJob - Favorite Jobs"
header.page-header
h2.page-title
| Favorite jobs
#primary.content-area.container[role="main"]
article#post-2452.post-2452.page.type-page.status-publish.hentry
.entry-content
.woocommerce
.woocommerce-notices-wrapper
- if @favorite_jobs.present?
table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents[cellspacing="0"]
thead
tr
th.product-remove
| No.
th.product-thumbnail
|  
th.product-name
| Title
th.product-price
| City
th.product-quantity
| Salary
th.product-quantity
| Remove
tbody
- @favorite_jobs.each_with_index do |favorite, index|
tr.woocommerce-cart-form__cart-item.cart_item
td
= index + 1
td[style="text-align: center;"]
input type="checkbox" class="checkbox-apply-job" data-id="#{favorite.job_id}"
td
= link_to favorite.job.title, favorite.job
td
- favorite.job.cities.each_with_index do |city, index|
= city.title
= ", " if index != favorite.job.cities.size - 1
td.product-price
= favorite.job.salary
td.product-quantity
a href="javascript:void(0)" class="remove-favorite-job" data-favorite_id="#{favorite.id} ×
tr
td.actions[colspan="6"]
a.button.apply-all-job[href="javascript:void(0)"]
| Apply all
- else
| Favorite jobs empty
\ No newline at end of file
<% set_meta_tags title: "VenJob - User information",
description: "VenJob - User information",
keywords: "VenJob - User information" %>
<header class="page-header">
<h2 class="page-title">User information</h2>
</header>
<div id="primary" class="content-area container" role="main">
<article id="post-1673" class="post-1673 page type-page status-publish hentry">
<div class="entry-content">
<form id="submit-job-form" class="job-manager-form">
<fieldset>
<label for="full_name">Fullname</label>
<div class="field required-field draft-required">
<input type="text" class="input-text" name="full_name" id="full_name" value="<%= current_user.full_name %>" disabled >
</div>
</fieldset>
<fieldset>
<label for="email">Email</label>
<div class="field required-field draft-required">
<input type="email" class="input-text" name="email" id="email" value="<%= current_user.email %>" disabled >
</div>
</fieldset>
<fieldset>
<label for="cv">CV</label>
<div class="field required-field draft-required">
<a href="<%= current_user.cv %>" target="_blank"><%= current_user.cv %></a>
</div>
</fieldset>
<p>
<%= link_to "Update", edit_user_registration_path, class: "button" %>
<%= link_to "My jobs", users_applied_jobs_path, class: "button" %>
</p>
</form>
</div>
</article>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - User information",
description: "VenJob - User information",
keywords: "VenJob - User information"
header.page-header
h2.page-title
| User information
#primary.content-area.container[role="main"]
article#post-1673.post-1673.page.type-page.status-publish.hentry
.entry-content
form#submit-job-form.job-manager-form
fieldset
label[for="full_name"]
| Fullname
.field.required-field.draft-required
input type="text" class="input-text" name="full_name" id="full_name" value="#{current_user.full_name}" disabled="disabled"
fieldset
label[for="email"]
| Email
.field.required-field.draft-required
input type="email" class="input-text" name="email" id="email" value="#{current_user.email}" disabled="disabled"
fieldset
label[for="cv"]
| CV
.field.required-field.draft-required
a href="#{current_user.cv}" target="_blank"
= current_user.cv
p
= link_to "Update", edit_user_registration_path, class: "button"
= link_to "My jobs", users_applied_jobs_path, class: "button"
\ No newline at end of file
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
ActiveRecord::Schema.define(version: 2020_05_19_030913) do ActiveRecord::Schema.define(version: 2020_05_19_030913) do
create_table "admins", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "admins", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.string "email", default: "", null: false t.string "email", default: "", null: false
t.string "encrypted_password", default: "", null: false t.string "encrypted_password", default: "", null: false
t.string "reset_password_token" t.string "reset_password_token"
...@@ -24,7 +24,7 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do ...@@ -24,7 +24,7 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do
t.index ["reset_password_token"], name: "index_admins_on_reset_password_token", unique: true t.index ["reset_password_token"], name: "index_admins_on_reset_password_token", unique: true
end end
create_table "applies", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "applies", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.bigint "user_id", null: false t.bigint "user_id", null: false
t.bigint "job_id", null: false t.bigint "job_id", null: false
t.datetime "created_at", precision: 6, null: false t.datetime "created_at", precision: 6, null: false
...@@ -33,21 +33,21 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do ...@@ -33,21 +33,21 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do
t.index ["user_id"], name: "index_applies_on_user_id" t.index ["user_id"], name: "index_applies_on_user_id"
end end
create_table "cities", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "cities", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.string "title" t.string "title"
t.datetime "created_at", precision: 6, null: false t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false t.datetime "updated_at", precision: 6, null: false
t.boolean "foreign", default: false t.boolean "foreign", default: false
end end
create_table "cities_jobs", id: false, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "cities_jobs", id: false, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.bigint "city_id", null: false t.bigint "city_id", null: false
t.bigint "job_id", null: false t.bigint "job_id", null: false
t.index ["city_id", "job_id"], name: "index_cities_jobs_on_city_id_and_job_id" t.index ["city_id", "job_id"], name: "index_cities_jobs_on_city_id_and_job_id"
t.index ["job_id", "city_id"], name: "index_cities_jobs_on_job_id_and_city_id" t.index ["job_id", "city_id"], name: "index_cities_jobs_on_job_id_and_city_id"
end end
create_table "companies", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "companies", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.string "title" t.string "title"
t.string "address" t.string "address"
t.string "logo" t.string "logo"
...@@ -56,7 +56,7 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do ...@@ -56,7 +56,7 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do
t.datetime "updated_at", precision: 6, null: false t.datetime "updated_at", precision: 6, null: false
end end
create_table "favorites", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "favorites", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.bigint "user_id", null: false t.bigint "user_id", null: false
t.bigint "job_id", null: false t.bigint "job_id", null: false
t.datetime "created_at", precision: 6, null: false t.datetime "created_at", precision: 6, null: false
...@@ -65,7 +65,7 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do ...@@ -65,7 +65,7 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do
t.index ["user_id"], name: "index_favorites_on_user_id" t.index ["user_id"], name: "index_favorites_on_user_id"
end end
create_table "histories", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "histories", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.bigint "user_id", null: false t.bigint "user_id", null: false
t.bigint "job_id", null: false t.bigint "job_id", null: false
t.datetime "created_at", precision: 6, null: false t.datetime "created_at", precision: 6, null: false
...@@ -74,20 +74,20 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do ...@@ -74,20 +74,20 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do
t.index ["user_id"], name: "index_histories_on_user_id" t.index ["user_id"], name: "index_histories_on_user_id"
end end
create_table "industries", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "industries", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.string "title" t.string "title"
t.datetime "created_at", precision: 6, null: false t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false t.datetime "updated_at", precision: 6, null: false
end end
create_table "industries_jobs", id: false, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "industries_jobs", id: false, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.bigint "industry_id", null: false t.bigint "industry_id", null: false
t.bigint "job_id", null: false t.bigint "job_id", null: false
t.index ["industry_id", "job_id"], name: "index_industries_jobs_on_industry_id_and_job_id" t.index ["industry_id", "job_id"], name: "index_industries_jobs_on_industry_id_and_job_id"
t.index ["job_id", "industry_id"], name: "index_industries_jobs_on_job_id_and_industry_id" t.index ["job_id", "industry_id"], name: "index_industries_jobs_on_job_id_and_industry_id"
end end
create_table "jobs", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "jobs", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.string "title" t.string "title"
t.string "updated_date_job" t.string "updated_date_job"
t.string "level" t.string "level"
...@@ -106,7 +106,7 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do ...@@ -106,7 +106,7 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do
t.index ["company_id"], name: "index_jobs_on_company_id" t.index ["company_id"], name: "index_jobs_on_company_id"
end end
create_table "users", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "users", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.string "email", default: "", null: false t.string "email", default: "", null: false
t.string "encrypted_password", default: "", null: false t.string "encrypted_password", default: "", null: false
t.string "reset_password_token" t.string "reset_password_token"
...@@ -119,6 +119,7 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do ...@@ -119,6 +119,7 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do
t.datetime "created_at", precision: 6, null: false t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false t.datetime "updated_at", precision: 6, null: false
t.string "full_name" t.string "full_name"
t.string "image"
t.string "cv" t.string "cv"
t.string "provider" t.string "provider"
t.string "uid" t.string "uid"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment