Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d7995f4e
authored
Feb 06, 2017
by
Sebastián Collado Montañez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
issue #883
parent
87c6b0d4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
sails/src/assets/scripts/modules/common/views/cropimg.html
sails/src/assets/scripts/modules/student/views/pictoexp.html
sails/src/assets/scripts/modules/common/views/cropimg.html
View file @
d7995f4e
...
@@ -25,9 +25,7 @@
...
@@ -25,9 +25,7 @@
<img
ng-src=
"{{ croppedDataUrl }}"
/>
<img
ng-src=
"{{ croppedDataUrl }}"
/>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<button
class=
"btn btn-default"
ng-click=
"crop(croppedDataUrl, picFile.name)"
ng-model=
"picFile"
accept=
"image/*"
>
<span
class=
"glyphicon glyphicon-upload"
></span>
{{ 'upload_image' | translate }}
</button>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<span
class=
"progress"
ng-show=
"progress > 0"
>
<span
class=
"progress"
ng-show=
"progress > 0"
>
...
@@ -40,6 +38,11 @@
...
@@ -40,6 +38,11 @@
</div>
<!-- /modal-body -->
</div>
<!-- /modal-body -->
<div
class=
"modal-footer"
>
<div
class=
"modal-footer"
>
<button
class=
"btn btn-primary"
ng-click=
"cancel()"
>
{{ 'close' | translate }}
</button>
<button
class=
"btn btn-danger"
ng-click=
"cancel()"
>
<i
class=
"fa fa-times-circle"
aria-hidden=
"true"
></i>
Cancelar
</button>
<button
class=
"btn btn-success"
ng-click=
"crop(croppedDataUrl, picFile.name)"
ng-model=
"picFile"
accept=
"image/*"
>
<i
class=
"fa fa-upload"
aria-hidden=
"true"
></i>
{{ 'upload_image' | translate }}
</button>
</div>
</div>
</div>
</div>
sails/src/assets/scripts/modules/student/views/pictoexp.html
View file @
d7995f4e
...
@@ -6,11 +6,11 @@
...
@@ -6,11 +6,11 @@
<h4
class=
"modal-title"
id=
"myModalLabel"
translate
>
add_expression
</h4>
<h4
class=
"modal-title"
id=
"myModalLabel"
translate
>
add_expression
</h4>
</div>
</div>
<div
class=
"modal-body"
>
<div
class=
"modal-body"
>
<form
ng-submit=
"save()"
>
<form
ng-submit=
"save()"
>
<div
id=
"add_label"
class=
"input-group"
>
<div
id=
"add_label"
class=
"input-group"
>
<span
class=
"input-group-addon glyphicon glyphicon-comment"
aria-hidden=
"true"
></span>
<span
class=
"input-group-addon glyphicon glyphicon-comment"
aria-hidden=
"true"
></span>
<input
type=
"text"
class=
"form-control"
ng-model=
"expression"
/>
<input
type=
"text"
class=
"form-control"
ng-model=
"expression"
autofocus
/>
<span
class=
"input-group-btn"
>
<span
class=
"input-group-btn"
>
<button
class=
"btn btn-success"
type=
"submit"
translate
>
save
</button>
<button
class=
"btn btn-success"
type=
"submit"
translate
>
save
</button>
</span>
</span>
...
@@ -19,4 +19,4 @@
...
@@ -19,4 +19,4 @@
</div>
</div>
<!-- End modal-body -->
<!-- End modal-body -->
</div>
</div>
\ No newline at end of file
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