Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Raph El
Admin-Panel
Commits
f196fa57
Commit
f196fa57
authored
Mar 28, 2015
by
El-gitano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Intégration du nouveau logo
parent
de067361
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
8 deletions
+13
-8
TODO
TODO
+0
-1
app/images/logo.png
app/images/logo.png
+0
-0
app/images/logo2.png
app/images/logo2.png
+0
-0
app/scripts/controllers/tirage.js
app/scripts/controllers/tirage.js
+6
-2
app/scripts/services/informer.js
app/scripts/services/informer.js
+4
-4
app/styles/main.css
app/styles/main.css
+2
-0
app/views/tirage.html
app/views/tirage.html
+1
-1
No files found.
TODO
View file @
f196fa57
...
...
@@ -9,7 +9,6 @@ Ajouter les photos des joueurs (dans les formulaires et via un bouton sur une li
=== GENERAL ===
Intégrer le nouveau logo
Fonctionnalité de vérification du tournois avant lancement
Différence entre phase init. et phase competition
Faire la documentation
...
...
app/images/logo.png
View replaced file @
de067361
View file @
f196fa57
2.85 KB
|
W:
|
H:
15.7 KB
|
W:
|
H:
2-up
Swipe
Onion skin
app/images/logo2.png
deleted
100644 → 0
View file @
de067361
37.4 KB
app/scripts/controllers/tirage.js
View file @
f196fa57
...
...
@@ -9,7 +9,9 @@
*/
angular
.
module
(
'
panelAdminApp
'
)
.
controller
(
'
TirageCtrl
'
,
[
'
$scope
'
,
'
$log
'
,
'
$filter
'
,
'
apicall
'
,
'
informer
'
,
function
(
$scope
,
$log
,
$filter
,
apicall
,
informer
)
{
$scope
.
chargement
=
true
;
// Récupération des équipes
apicall
.
getEquipes
().
success
(
function
(
donnees
){
...
...
@@ -33,11 +35,13 @@ angular.module('panelAdminApp')
}
}
$scope
.
chargement
=
false
;
$scope
.
$watchCollection
(
'
tirage
'
,
function
(
oldTirage
,
newTirage
){
//console.log($scope.tirage);
if
(
!
angular
.
equals
(
oldTirage
,
newTirage
)){
if
(
!
angular
.
equals
(
oldTirage
,
newTirage
)
&&
checkTirage
()
){
$log
.
info
(
'
Mise à jour du tirage
'
);
...
...
app/scripts/services/informer.js
View file @
f196fa57
...
...
@@ -25,22 +25,22 @@ angular.module('panelAdminApp')
$timeout
(
informer
.
supprimer
,
5000
,
true
,
info
);
};
informer
.
success
(
msg
){
informer
.
success
=
function
(
msg
){
informer
.
informer
(
'
success
'
,
msg
);
};
informer
.
info
(
msg
){
informer
.
info
=
function
(
msg
){
informer
.
informer
(
'
primary
'
,
msg
);
};
informer
.
error
(
msg
){
informer
.
error
=
function
(
msg
){
informer
.
informer
(
'
danger
'
,
msg
);
};
informer
.
warning
(
msg
){
informer
.
warning
=
function
(
msg
){
informer
.
informer
(
'
warning
'
,
msg
);
};
...
...
app/styles/main.css
View file @
f196fa57
...
...
@@ -85,6 +85,8 @@ body {
float
:
left
;
margin-right
:
10px
;
height
:
40px
;
}
.drapeau
{
...
...
app/views/tirage.html
View file @
f196fa57
...
...
@@ -3,7 +3,7 @@
<div
class=
"row"
>
<h2
class=
"text-center"
>
Établissement du tirage
</h2>
</div>
<div
class=
"row"
>
<div
class=
"row"
chargement=
"chargement"
>
<!-- Colonne des drapeaux -->
<div
class=
"col-sm-6 text-center"
>
...
...
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