Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rendezvous
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VeNtura
rendezvous
Commits
7b595a0c
Commit
7b595a0c
authored
Mar 12, 2014
by
tady
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
a68ba40f
' into wip/130410_flow_view
parents
3ca1c243
a68ba40f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
12 deletions
+17
-12
app/views/flow/show.html.slim
+15
-5
app/views/partials/_app_header.html.slim
+2
-7
No files found.
app/views/flow/show.html.slim
View file @
7b595a0c
...
...
@@ -11,8 +11,18 @@
a
.list-group-item.post-list
data-post-id
=
post
.id
href
=
"#"
=
post
.
title
.col-xs-4
h2
small
最近投稿したユーザー
.list-group
-
User
.
post_recently
.
limit
(
10
).
each_with_index
do
|
author
,
i
|
a
.list-group-item.post-list
data-author-id
=
author
.id
href
=
"#"
=
author
.
name
.panel.panel-default
.panel-heading
h2
.panel-title
この1週間で閲覧の多かった投稿
.panel-body.list-group
-
Post
.
limit
(
5
).
each_with_index
do
|
post
,
i
|
a
.list-group-item.post-list
data-post-id
=
post
.id
href
=
"#"
=
post
.
title
.panel.panel-default
.panel-heading
h2
.panel-title
最近投稿したユーザー
.panel-body.list-group
-
User
.
post_recently
.
limit
(
10
).
each_with_index
do
|
author
,
i
|
a
.list-group-item.post-list
data-author-id
=
author
.id
href
=
"#"
=
author
.
name
app/views/partials/_app_header.html.slim
View file @
7b595a0c
nav
.navbar.navbar-default.navbar-fixed-top
role
=
"navigation"
.container
.navbar-header
button
.navbar-toggle
data-target
=
"#bs-example-navbar-collapse-1"
data-toggle
=
"collapse"
type
=
"button"
span
.sr-only
Toggle
navigation
span
.icon-bar
span
.icon-bar
span
.icon-bar
a
.navbar-brand
href
=
root_path
Rendezvous
a
.navbar-brand
href
=
root_path
Rendezvous
#bs-example-navbar-collapse-1
.collapse.navbar-collapse
.collapse.navbar-collapse
form
#app-search-form
.navbar-form.navbar-left
action
=
posts_path
role
=
"search"
.input-group
input
.form-control
name
=
"q"
placeholder
=
"Search"
type
=
"text"
value
=
params
[:q]
/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment