-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.erb
104 lines (84 loc) · 2.42 KB
/
home.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!doctype html>
<html>
<head>
<meta charset='utf-8' />
<title>jobs</title>
<!--
<script src="jquery-2.1.1.js"></script>
<script src="jquery.binddata.js"></script>
-->
<link rel="stylesheet" href="spectre.css" />
<style>
</style>
</head>
<body>
<div style="background:white;height:2.2rem ;padding-top:0.5rem">
<header class="navbar" style="margin:0 180px auto;">
<section class="navbar-section"> <a href="/">Home</a>
<a href="/">Jobs</a>
<a href="/new">New</a>
</section>
<section class="navbar-section">
</section>
</header>
</div>
<div class="wrap" >
<div class="container" style="height:1.8rem" >
<div class="columns ">
<div class="column col-1"> </div>
<div class="column col-6"></div>
<div class="column col-2"> </div>
<div class="column col-2"> </div>
<div class="column col-1"> </div>
</div>
</div>
<div class="container">
<div class="columns">
<div class="column col-3"></div>
<div class="column col-6" style="padding:1.8rem">
<div class="input-group input-inline">
<input type="text" placeholder="search">
<button style=" " class="btn btn-primary">Search</button>
</div>
</div>
<div class="column col-2">
</div>
<div class="column col-1"> </div>
</div>
</div>
<div class="container">
<div class="columns">
<div class="column col-1"></div>
<div class="column col-10">
<% @records.each do |record| %>
<div class="row" >
<div > <b> <%= record[:title]%></b> </div>
<div class="tile">
<div class="tile-icon" >
<div class="example-tile-icon">
<i class="icon icon-file centered"><b> </b></i>
</div>
</div>
<div class="tile-content" >
<p class="tile-title"> 新资 : <font color="crimson" ><%= record[:salarybase]%> - <%= record[:salarytop]%> </font> </p>
<p class="tile-subtitle"> </p>
</div>
<div class="tile-action">
<button class="btn btn-primary">Join</button>
</div>
</div>
<div>
<%=
record[:description]
%>
</div><br>
</div>
<%end %>
</div>
<div class="column col-1"></div>
</div>
<script>
//$(document).ready(function(){ });
</script>
</div></div></body>
</html>