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
c9a92685
authored
Feb 16, 2017
by
Sebastián Collado Montañez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
working on addpicto modal
parent
4949babc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
14 deletions
sails/src/assets/scripts/modules/student/views/addpicto.html
sails/src/assets/scripts/modules/student/views/addpicto.html
View file @
c9a92685
...
...
@@ -11,13 +11,13 @@
</div>
<!-- /modal-header -->
<!-- Modal body
from collections (NOT onlyOwn)
-->
<div
class=
"modal-body"
ng-show=
"!onlyOwn"
>
<!-- Modal body -->
<div
class=
"modal-body"
>
<div
class=
"row"
>
<div
class=
"col-xs-
5
"
>
<div
class=
"btn-group"
>
<div
class=
"col-xs-
6
"
>
<div
class=
"btn-group"
ng-show=
"!onlyOwn"
>
<button
class=
"btn btn-default"
btn-radio=
"'symbolstx'"
ng-model=
"source"
ng-click=
"open_category_from_bc('0')"
>
<span
class=
"glyphicon glyphicon-th"
></span>
SymbolStix
</button>
...
...
@@ -27,17 +27,8 @@
</div>
</div>
<!-- Add new image -->
<div
class=
"col-xs-2"
>
<div
ng-show=
"source == 'ownpictos'"
class=
"input-group"
>
<button
class=
"btn btn-success"
ngf-select
ng-model=
"picFile"
accept=
"image/*"
ngf-change=
"addOwnPicto()"
>
<i
class=
"fa fa-folder-open"
aria-hidden=
"true"
></i>
{{ 'new_img' | translate }}
</button>
</div>
</div>
<!-- Filter form -->
<div
class=
"col-xs-
5
"
>
<div
class=
"col-xs-
6
"
>
<form
ng-submit=
"search()"
>
<div
class=
"input-group"
id=
"search_pictos_box"
>
<input
type=
"text"
class=
"form-control"
placeholder=
"{{ 'filter' | translate }}"
...
...
@@ -114,6 +105,9 @@
</div>
<!-- /modal-body -->
<div
class=
"modal-footer"
>
<button
class=
"btn btn-success pull-left"
ng-show=
"source == 'ownpictos'"
ngf-select
ng-model=
"picFile"
accept=
"image/*"
ngf-change=
"addOwnPicto()"
>
<i
class=
"fa fa-folder-open"
aria-hidden=
"true"
></i>
{{ 'new_img' | translate }}
</button>
<button
class=
"btn btn-primary"
ng-click=
"cancel()"
>
{{ 'close' | translate }}
</button>
</div>
<!-- /modal-footer -->
...
...
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