Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cleaning-portalmec
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Richard Fernando Heise Ferreira
cleaning-portalmec
Commits
8080f129
Commit
8080f129
authored
9 years ago
by
Mauricio Giacomini Girardello
Browse files
Options
Downloads
Patches
Plain Diff
just organize the routes code
parent
fe1219a5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/views/welcome/collection.html.erb
+0
-73
0 additions, 73 deletions
app/views/welcome/collection.html.erb
config/routes.rb
+4
-7
4 additions, 7 deletions
config/routes.rb
with
4 additions
and
80 deletions
app/views/welcome/collection.html.erb
deleted
100644 → 0
+
0
−
73
View file @
fe1219a5
<nav
class=
"navigation navbar-default "
><br/>
<div
class=
"container-fluid"
>
<div
class=
"navbar-right"
>
<%=
link_to
'http://www.fnde.gov.br/'
do
%>
<%=
image_tag
'icons/collection-download.png'
,
style:
'width: auto; height: 40px; margin-right: 20px;'
%>
<span
style=
"margin-right: 30px;"
><button
class=
"but but-shadow but-rc"
>
Editar Coleção
</button></span>
<%
end
%>
</div>
<div
class=
"navbar-header"
>
<%=
image_tag
image_path
(
"icons/collection.png"
),
class:
"logo-image"
,
size:
"90x66"
%>
<ul
class=
"nav navbar-nav navbar-right"
><h1>
<b>
Coleção 1
</b></h1>
<br/>
<%=
image_tag
image_path
(
"icons/square.png"
),
class:
"logo-image"
,
size:
"20x20"
%>
200 itens
</ul>
</div>
</div>
<br/></nav>
<nav
class=
"navigation navbar-inverse "
>
<div
class=
"container-fluid"
>
<a
class=
"navbar-brand"
href=
"#"
><font
color=
"FFFFFF"
>
x arquivo(s) selecionado(s)
</font></a>
<ul
class=
"nav navbar-nav navbar-right"
>
<li
class=
"set-align"
><a
href=
"#"
><span
class=
"left-edge"
>
<%=
image_tag
image_path
(
"icons/Download_01.png"
),
class:
"logo-image"
,
size:
"35x35"
%>
</span><font
color=
"FFFFFF"
>
Salvar no
<br>
computador
</font></br></a></li>
<li
class=
"set-align"
><a
href=
"#"
><span
class=
"left-edge"
>
<%=
image_tag
image_path
(
"icons/Copiar_Seleção.png"
),
class:
"logo-image"
,
size:
"35x35"
%>
</span><font
color=
"FFFFFF"
>
Copiar
<br>
para
</font></br></a></li>
<li
class=
"set-align"
><a
href=
"#"
><span
class=
"left-edge"
>
<%=
image_tag
image_path
(
"icons/Mover_Seleção.png"
),
class:
"logo-image"
,
size:
"35x35"
%>
</span><font
color=
"FFFFFF"
>
Mover
<br>
para
</font></br></a></li>
<li
class=
"set-align"
><a
href=
"#"
><span
class=
"left-edge"
>
<%=
image_tag
image_path
(
"icons/Remover_da_Coleção_Seleção.png"
),
class:
"logo-image"
,
size:
"35x35"
%>
</span><font
color=
"FFFFFF"
>
Remover da
<br>
coleção
</font></br></a></li>
</ul>
</div>
</nav>
<div
class=
"row mainpage-subjects"
>
<br/>
<div
class=
"col-md-4"
>
<div
class=
"thumb"
>
<input
type=
"checkbox"
class=
"chk "
checked=
"checked"
name=
""
value=
"0"
/>
<%=
image_tag
image_path
(
'learning-object-preview.png'
),
class:
"logo"
%>
Obj1
</div><br/>
<div
class=
"thumb"
>
<input
type=
"checkbox"
class=
"chk "
checked=
"checked"
name=
""
value=
"0"
/>
<%=
image_tag
image_path
(
'learning-object-preview.png'
),
class:
"logo"
%>
Obj4
</div><br/>
<div
class=
"thumb"
>
<input
type=
"checkbox"
class=
"chk "
checked=
"checked"
name=
""
value=
"0"
/>
<%=
image_tag
image_path
(
'learning-object-preview.png'
),
class:
"logo"
%>
Obj7
</div>
</div>
<div
class=
"col-md-4"
>
<div
class=
"thumb"
>
<input
type=
"checkbox"
class=
"chk "
checked=
"checked"
name=
""
value=
"0"
/>
<%=
image_tag
image_path
(
'learning-object-preview.png'
),
class:
"logo"
%>
Obj2
</div><br/>
<div
class=
"thumb"
>
<input
type=
"checkbox"
class=
"chk "
checked=
"checked"
name=
""
value=
"0"
/>
<%=
image_tag
image_path
(
'learning-object-preview.png'
),
class:
"logo"
%>
Obj5
</div><br/>
<div
class=
"thumb"
>
<input
type=
"checkbox"
class=
"chk "
checked=
"checked"
name=
""
value=
"0"
/>
<%=
image_tag
image_path
(
'learning-object-preview.png'
),
class:
"logo"
%>
Obj8
</div>
</div>
<div
class=
"col-md-4"
>
<div
class=
"thumb"
>
<input
type=
"checkbox"
class=
"chk "
checked=
"checked"
name=
""
value=
"0"
/>
<%=
image_tag
image_path
(
'learning-object-preview.png'
),
class:
"logo"
%>
Obj3
</div><br/>
<div
class=
"thumb"
>
<input
type=
"checkbox"
class=
"chk "
checked=
"checked"
name=
""
value=
"0"
/>
<%=
image_tag
image_path
(
'learning-object-preview.png'
),
class:
"logo"
%>
Obj6
</div><br/>
<div
class=
"thumb"
>
<input
type=
"checkbox"
class=
"chk "
checked=
"checked"
name=
""
value=
"0"
/>
<%=
image_tag
image_path
(
'learning-object-preview.png'
),
class:
"logo"
%>
Obj9
</div>
</div>
</div>
This diff is collapsed.
Click to expand it.
config/routes.rb
+
4
−
7
View file @
8080f129
...
@@ -9,9 +9,10 @@ Rails.application.routes.draw do
...
@@ -9,9 +9,10 @@ Rails.application.routes.draw do
namespace
:management
do
namespace
:management
do
root
'welcome#index'
root
'welcome#index'
resource
:complaints
resource
:complaints
resources
:institutions
resources
:institutions
resources
:highlights
resources
:carousels
resources
:statistics
do
resources
:statistics
do
collection
do
collection
do
...
@@ -31,13 +32,13 @@ Rails.application.routes.draw do
...
@@ -31,13 +32,13 @@ Rails.application.routes.draw do
get
:admins
get
:admins
end
end
end
end
resources
:highlights
resources
:carousels
mount
Sidekiq
::
Web
,
at:
'/sidekiq'
mount
Sidekiq
::
Web
,
at:
'/sidekiq'
end
end
root
'welcome#index'
root
'welcome#index'
resources
:subjects
,
only:
[
:index
,
:show
]
resources
:institutions
resources
:learning_objects
do
resources
:learning_objects
do
member
do
member
do
...
@@ -47,7 +48,6 @@ Rails.application.routes.draw do
...
@@ -47,7 +48,6 @@ Rails.application.routes.draw do
end
end
end
end
resources
:institutions
resources
:collections
do
resources
:collections
do
member
do
member
do
# add a learning object for some collection
# add a learning object for some collection
...
@@ -58,9 +58,6 @@ Rails.application.routes.draw do
...
@@ -58,9 +58,6 @@ Rails.application.routes.draw do
end
end
end
end
resources
:subjects
,
only:
[
:index
,
:show
]
#resources :complaints, only: [:create, :destroy]
resources
:users
,
only:
[
:show
]
do
resources
:users
,
only:
[
:show
]
do
collection
do
collection
do
get
:me
get
:me
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment