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
1bfc59c3
Commit
1bfc59c3
authored
9 years ago
by
Matheus Agio Nerone
Browse files
Options
Downloads
Patches
Plain Diff
imporving upload layout
Signed-off-by:
man13
<
man13@inf.ufpr.br
>
parent
991ea5f7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/views/learning_objects/build/_file_upload_form.html.erb
+17
-5
17 additions, 5 deletions
app/views/learning_objects/build/_file_upload_form.html.erb
app/views/shared/application/_header.html.erb
+1
-0
1 addition, 0 deletions
app/views/shared/application/_header.html.erb
with
18 additions
and
5 deletions
app/views/learning_objects/build/_file_upload_form.html.erb
+
17
−
5
View file @
1bfc59c3
...
...
@@ -14,14 +14,16 @@
<strong>
Ops!
</strong>
Você precisa selecionar pelo menos um arquivo!
</div>
<div
id=
"dragHere"
class=
"panel drop-zone"
>
Arraste e solte os arquivos de seu computador aqui.
</div>
<div
id=
"dragHere"
class=
"panel drop-zone"
>
<button
id=
"browseButton"
><i
class=
"fa fa-upload fa-5x"
></i></button><br>
<div
id=
"selectFiles"
>
Selecione arquivos para enviar ou
</div>
<p>
Arraste e solte os arquivos de seu computador aqui.
</p>
</div>
<div
id=
"results"
class=
"panel"
></div>
</div>
<div
class=
"large-12 columns"
>
<button
class=
"inverse small"
id=
"browseButton"
>
+ Selecionar arquivos
</button>
<button
class=
"danger small"
id=
"uploadFiles"
>
Publicar conteúdo
</button>
<%=
link_to
@learning_object
do
%>
<button
class=
"inverse small"
id=
"nextStep"
>
Visualizar objeto
</button>
<%
end
%>
...
...
@@ -29,11 +31,21 @@
</div>
<style>
#browseButton
:hover
{
background-color
:
#64BEF5
;
}
.drop-zone
>
#selectFiles
{
padding-top
:
10px
;
font-family
:
'Roboto-Ultra-Bold'
,
sans-serif
;
font-size
:
18pt
;
color
:
#64BEF5
;
}
.drop-zone
{
text-align
:
center
;
border
:
2px
dashed
#2178f5
;
height
:
9
0px
;
padding-to
p
:
3
0px
;
padding-top
:
5
0px
;
padding-
bot
to
m
:
5
0px
;
}
.danger
,
.danger
:hover
{
...
...
This diff is collapsed.
Click to expand it.
app/views/shared/application/_header.html.erb
+
1
−
0
View file @
1bfc59c3
...
...
@@ -15,6 +15,7 @@
</div>
</div>
<%
end
%>
<link
href=
'https://fonts.googleapis.com/css?family=Roboto:100,900'
rel=
'stylesheet'
type=
'text/css'
>
<div
class=
"out-of-home"
>
<div
class=
"search-bar"
>
<div
class=
"container"
>
...
...
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