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
27828a05
authored
Dec 05, 2017
by
Sebastián Collado Montañez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
#386
and breadcrumbs fixed
parent
cf636d16
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
7 deletions
sails/src/assets/app/i18n/en-gb.json
sails/src/assets/app/i18n/es-es.json
sails/src/assets/scripts/modules/student/controllers/collections.js
sails/src/assets/scripts/modules/student/views/collections.html
sails/src/assets/styles/main.css
sails/src/assets/app/i18n/en-gb.json
View file @
27828a05
...
@@ -404,7 +404,7 @@
...
@@ -404,7 +404,7 @@
"sexo"
:
"Sex"
,
"sexo"
:
"Sex"
,
"show"
:
"Show"
,
"show"
:
"Show"
,
"show_all"
:
"Show all"
,
"show_all"
:
"Show all"
,
"show_grids"
:
"
Show g
rids"
,
"show_grids"
:
"
G
rids"
,
"show_less"
:
"Show less details"
,
"show_less"
:
"Show less details"
,
"size"
:
"Size"
,
"size"
:
"Size"
,
"small"
:
"Small"
,
"small"
:
"Small"
,
...
...
sails/src/assets/app/i18n/es-es.json
View file @
27828a05
...
@@ -402,7 +402,7 @@
...
@@ -402,7 +402,7 @@
"sexo"
:
"Sexo"
,
"sexo"
:
"Sexo"
,
"show"
:
"Mostrar"
,
"show"
:
"Mostrar"
,
"show_all"
:
"Ver todo"
,
"show_all"
:
"Ver todo"
,
"show_grids"
:
"
Ver t
ableros"
,
"show_grids"
:
"
T
ableros"
,
"show_less"
:
"Ver menos detalles"
,
"show_less"
:
"Ver menos detalles"
,
"size"
:
"Tamaño"
,
"size"
:
"Tamaño"
,
"small"
:
"Pequeño"
,
"small"
:
"Pequeño"
,
...
...
sails/src/assets/scripts/modules/student/controllers/collections.js
View file @
27828a05
...
@@ -41,7 +41,7 @@ dashboardControllers.controller('StudentCollectionsCtrl', function StudentCollec
...
@@ -41,7 +41,7 @@ dashboardControllers.controller('StudentCollectionsCtrl', function StudentCollec
$scope
.
nav
.
tab
=
'collections'
;
$scope
.
nav
.
tab
=
'collections'
;
$scope
.
mainGrid
=
null
;
$scope
.
mainGrid
=
null
;
$scope
.
loadingPictos
=
true
;
$scope
.
loadingPictos
=
true
;
$scope
.
viewingGrid
=
null
;
$scope
.
viewingGrid
=
{}
;
$scope
.
gridsList
=
null
;
$scope
.
gridsList
=
null
;
$scope
.
newGridName
=
""
;
$scope
.
newGridName
=
""
;
$scope
.
breadcrumbs
=
[];
$scope
.
breadcrumbs
=
[];
...
...
sails/src/assets/scripts/modules/student/views/collections.html
View file @
27828a05
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<ol
class=
"breadcrumb"
>
<ol
class=
"breadcrumb"
>
<li
class=
"breadcrumb-item"
ng-repeat=
"b in breadcrumbs track by $index"
>
<li
class=
"breadcrumb-item"
ng-repeat=
"b in breadcrumbs track by $index"
>
<a
ng-if=
"b.id != viewingGrid.id"
ng-click=
"showGrid(b.id,'breadcrumb')"
>
{{b.name}}
</a>
<a
ng-if=
"b.id != viewingGrid.id"
ng-click=
"showGrid(b.id,'breadcrumb')"
>
{{b.name}}
</a>
<s
mall
ng-if=
"b.id == viewingGrid.id"
>
{{b.name}}
</small
>
<s
pan
ng-if=
"b.id == viewingGrid.id"
>
{{b.name}}
</span
>
</li>
</li>
</ol>
</ol>
</nav>
</nav>
...
@@ -134,10 +134,9 @@
...
@@ -134,10 +134,9 @@
<hr>
<hr>
<label
class=
"grid-panel-head"
>
{{ 'show_grids' | translate }}
</label>
<label
class=
"grid-panel-head"
>
{{ 'show_grids' | translate }}
</label>
<div
class=
"form-group row"
>
<div
class=
"form-group row"
>
<select
class=
"grid-panel-select"
ng-model=
"
grid"
ng-change=
"showGrid(gr
id,'menu')"
size=
"7"
>
<select
class=
"grid-panel-select"
ng-model=
"
viewingGrid.id"
ng-change=
"showGrid(viewingGrid.
id,'menu')"
size=
"7"
>
<option
value=
"{{grid.id}}"
ng-repeat=
"grid in gridsList | orderBy: 'name' track by $index"
ng-selected=
"grid.
active"
ng-class=
"(grid.active) ? 'grid-panel-select-optionselected' : ''
"
>
<option
value=
"{{grid.id}}"
ng-repeat=
"grid in gridsList | orderBy: 'name' track by $index"
ng-selected=
"grid.
id == viewingGrid.id"
ng-class=
"{'grid-panel-select-optionactive': grid.active}
"
>
{{ grid.name }}
{{ grid.name }}
</option>
</option>
</select>
</select>
...
...
sails/src/assets/styles/main.css
View file @
27828a05
...
@@ -1148,6 +1148,9 @@ input.editable.grid-name {
...
@@ -1148,6 +1148,9 @@ input.editable.grid-name {
border
:
1px
solid
#e7e7e7
;
border
:
1px
solid
#e7e7e7
;
width
:
90%
;
width
:
90%
;
}
}
.grid-panel-select-optionactive
{
background-color
:
#c5e4c5
;
}
.grid-panel-select-optionselected
{
.grid-panel-select-optionselected
{
background-color
:
#c5e4c5
;
background-color
:
#c5e4c5
;
}
}
...
...
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