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
a68ba40f
Commit
a68ba40f
authored
Mar 12, 2014
by
tady
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flow view...
parent
715625b7
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 @
a68ba40f
...
@@ -11,8 +11,18 @@
...
@@ -11,8 +11,18 @@
a
.list-group-item.post-list
data-post-id
=
post
.id
href
=
"#"
=
post
.
title
a
.list-group-item.post-list
data-post-id
=
post
.id
href
=
"#"
=
post
.
title
.col-xs-4
.col-xs-4
h2
.panel.panel-default
small
最近投稿したユーザー
.panel-heading
.list-group
h2
.panel-title
この1週間で閲覧の多かった投稿
-
User
.
post_recently
.
limit
(
10
).
each_with_index
do
|
author
,
i
|
.panel-body.list-group
a
.list-group-item.post-list
data-author-id
=
author
.id
href
=
"#"
=
author
.
name
-
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 @
a68ba40f
nav
.navbar.navbar-default.navbar-fixed-top
role
=
"navigation"
nav
.navbar.navbar-default.navbar-fixed-top
role
=
"navigation"
.container
.container
.navbar-header
.navbar-header
button
.navbar-toggle
data-target
=
"#bs-example-navbar-collapse-1"
data-toggle
=
"collapse"
type
=
"button"
a
.navbar-brand
href
=
root_path
Rendezvous
span
.sr-only
Toggle
navigation
span
.icon-bar
span
.icon-bar
span
.icon-bar
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"
form
#app-search-form
.navbar-form.navbar-left
action
=
posts_path
role
=
"search"
.input-group
.input-group
input
.form-control
name
=
"q"
placeholder
=
"Search"
type
=
"text"
value
=
params
[:q]
/
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