BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
8f0a97da
Unverified
Commit
8f0a97da
authored
Jan 16, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add base64 encoding selector to new file UI so you can add image to repo
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
4f2e9fb8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
files.scss
app/assets/stylesheets/generic/files.scss
+1
-1
show.html.haml
app/views/projects/new_tree/show.html.haml
+6
-0
No files found.
app/assets/stylesheets/generic/files.scss
View file @
8f0a97da
...
...
@@ -45,7 +45,7 @@
text-align
:
center
;
img
{
padding
:
100px
;
max-width
:
300px
;
max-width
:
50%
;
}
}
...
...
app/views/projects/new_tree/show.html.haml
View file @
8f0a97da
...
...
@@ -15,6 +15,12 @@
%span
=
@ref
.form-group.commit_message-group
=
label_tag
:encoding
,
class:
"control-label"
do
Encoding
.col-sm-10
=
select_tag
:encoding
,
options_for_select
([
"base64"
,
"text"
],
"text"
),
class:
'form-control'
.form-group.commit_message-group
=
label_tag
'commit_message'
,
class:
"control-label"
do
Commit message
.col-sm-10
...
...
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