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
ae2c93b7
authored
Dec 17, 2016
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
student setup view rearranged
parent
be65fb8e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
4 deletions
sails/src/assets/app/bower.json
sails/src/assets/app/i18n/en-gb.json
sails/src/assets/app/i18n/es-es.json
sails/src/assets/scripts/modules/student/controllers/setup.js
sails/src/assets/scripts/modules/student/views/setup.html
sails/src/tasks/config/concat.js
sails/src/assets/app/bower.json
View file @
ae2c93b7
...
...
@@ -27,7 +27,8 @@
"angular-animate"
:
"~1.4.1"
,
"angular-sanitize"
:
"~1.4.1"
,
"angular-chart.js"
:
"latest"
,
"ng-lodash"
:
"~0.3.0"
"ng-lodash"
:
"~0.3.0"
,
"bootstrap-filestyle"
:
"~1.2.1"
},
"resolutions"
:
{
"angular"
:
">=1 <1.3.0"
,
...
...
sails/src/assets/app/i18n/en-gb.json
View file @
ae2c93b7
...
...
@@ -56,6 +56,7 @@
"country"
:
"Country"
,
"create_account"
:
"Create account"
,
"create_an_account"
:
"Create an account"
,
"credentials"
:
"Credentials"
,
"crop_image"
:
"Crop image"
,
"data_no_saved"
:
"Data can't be saved"
,
"data_saved"
:
"Data saved"
,
...
...
@@ -97,7 +98,7 @@
"expand_navigation"
:
"Expand navigation"
,
"expression"
:
"Expression:"
,
"February"
:
"February"
,
"feedback_picto"
:
"
Feedback when a pictogram is placed
"
,
"feedback_picto"
:
"
Selection feedback
"
,
"filter"
:
"Filter"
,
"finish_session"
:
"Finish session"
,
"finished"
:
"Finished"
,
...
...
@@ -125,6 +126,7 @@
"June"
:
"June"
,
"language"
:
"Language"
,
"large"
:
"Large"
,
"large_picto"
:
"Large pictograms"
,
"last_session"
:
"Last session"
,
"legend"
:
"Legend"
,
"legend_size"
:
"Legend size"
,
...
...
@@ -217,6 +219,7 @@
"press"
:
"Long press"
,
"previous_actions"
:
"Previous actions"
,
"previous_sessions"
:
"Previous sessions"
,
"profile_picture"
:
"Profile picture"
,
"read_picto"
:
"Read picto"
,
"register"
:
"Sign in"
,
"remember"
:
"Remember me"
,
...
...
@@ -248,6 +251,7 @@
"show"
:
"Show"
,
"size"
:
"Size"
,
"small"
:
"Small"
,
"small_picto"
:
"Small pictograms"
,
"sound_setup"
:
"Sound setup"
,
"spanish"
:
"Spanish"
,
"started"
:
"Started"
,
...
...
sails/src/assets/app/i18n/es-es.json
View file @
ae2c93b7
...
...
@@ -56,6 +56,7 @@
"country"
:
"País"
,
"create_account"
:
"Crear cuenta"
,
"create_an_account"
:
"Crear una cuenta"
,
"credentials"
:
"Credenciales"
,
"crop_image"
:
"Recortar imagen"
,
"data_no_saved"
:
"Los datos no se han podido guardar"
,
"data_saved"
:
"Datos guardados"
,
...
...
@@ -97,7 +98,7 @@
"error_loading_pictos"
:
"Error cargando información de los pictos"
,
"error_general"
:
"Se ha producido un error"
,
"February"
:
"Febrero"
,
"feedback_picto"
:
"
Feedback al colocar un pictograma
"
,
"feedback_picto"
:
"
Efecto de selección
"
,
"filter"
:
"Filtrar"
,
"finish_session"
:
"Terminar sesión"
,
"finished"
:
"Completada"
,
...
...
@@ -125,6 +126,7 @@
"June"
:
"Junio"
,
"language"
:
"Idioma"
,
"large"
:
"Grande"
,
"large_picto"
:
"Pictograms grandes"
,
"last_session"
:
"Última sesión"
,
"legend"
:
"Leyenda"
,
"legend_size"
:
"Tamaño de la leyenda"
,
...
...
@@ -217,6 +219,7 @@
"press"
:
"Pulsación larga"
,
"previous_actions"
:
"Acciones anteriores"
,
"previous_sessions"
:
"Sesiones anteriores"
,
"profile_picture"
:
"Foto del perfil"
,
"read_picto"
:
"Leer picto"
,
"register"
:
"Regístrate"
,
"register_button"
:
"Registrar"
,
...
...
@@ -249,6 +252,7 @@
"show"
:
"Mostrar"
,
"size"
:
"Tamaño"
,
"small"
:
"Pequeño"
,
"small_picto"
:
"Pictogramas pequeños"
,
"sound_setup"
:
"Ajustes de sonido"
,
"spanish"
:
"Español"
,
"started"
:
"Iniciada"
,
...
...
sails/src/assets/scripts/modules/student/controllers/setup.js
View file @
ae2c93b7
...
...
@@ -17,6 +17,12 @@ dashboardControllers.controller('StudentSetupCtrl', function StudentSetupCtrl(
// For tab navigation (here too, if the user refresh the page...)
$scope
.
nav
.
tab
=
'setup'
;
// Set upload button to filestyle
$
(
":file"
).
filestyle
({
buttonText
:
" "
+
$translate
.
instant
(
'change_picture'
),
input
:
false
});
/**
* Updates the student picture
* @param {Angular file array} $files Image to be uploaded
...
...
sails/src/assets/scripts/modules/student/views/setup.html
View file @
ae2c93b7
This diff is collapsed.
Click to expand it.
sails/src/tasks/config/concat.js
View file @
ae2c93b7
...
...
@@ -25,7 +25,7 @@ module.exports = function (grunt) {
'assets/app/bower_components/angular-chart.js/dist/angular-chart.min.js'
,
'assets/app/bower_components/ng-lodash/build/ng-lodash.js'
,
'assets/app/bower_components/ng-file-upload/angular-file-upload-shim.js'
,
'assets/app/bower_components/bootstrap-filestyle/src/bootstrap-filestyle.min.js'
,
'assets/scripts/lib/sails.io.js'
];
var
jsFiles
=
[
...
...
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