Commit d10def58 authored by El-gitano's avatar El-gitano

Ajout du système de photo pour les joueurs dans la page concernée par joueurs.js

Ajout de la documentation dans le dossier de déploiement
Supression de variables inutiles dans le code
parent c4638a75
......@@ -360,8 +360,8 @@ module.exports = function (grunt) {
ngdocs: {
options: {
dest: 'Documentation',
scripts: ['../bower_components/angular/angular.js'], // À corriger
dest: 'app/doc',
scripts: ['angular.js'],
html5Mode: true,
startPage: '/api',
title: 'Documentation pour l\'interface d\'administration',
......@@ -424,7 +424,7 @@ module.exports = function (grunt) {
]);
// Pour la documentation
grunt.registerTask('documentation', [
grunt.registerTask('doc', [
'ngdocs'
]);
......
Pas de message "Tournament in progress" pour : DELETE /player
Message d'erreur en cas de mauvaise extension
......@@ -20,6 +20,10 @@ Documentation utilisateur
Manuel de reprise du code
Corriger la création de la documentation
=== CORRECTIONS ===
Changer le nom du fichier editjoueur.js et editerEquipe.js
=== AUTH ===
Remettre l'authentification quand nécessaire
......
'use strict';
/**
* @ngdoc directive
* @name appApp.directive:fileModel
* @description
* # fileModel
*/
angular.module('appApp')
.directive('fileModel', function () {
return {
template: '<div></div>',
restrict: 'E',
link: function postLink(scope, element, attrs) {
element.text('this is the fileModel directive');
}
};
});
.slide-reveal.ng-enter {
-webkit-transition:0.5s linear all;
-moz-transition:0.5s linear all;
-o-transition:0.5s linear all;
transition:0.5s linear all;
opacity:0.5;
position:relative;
opacity:0;
top:10px;
}
.slide-reveal.ng-enter-active {
top:0;
opacity:1;
}
.expand.ng-enter {
-webkit-transition:0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) all;
-moz-transition:0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) all;
-o-transition:0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) all;
transition:0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) all;
opacity:0;
max-height:0;
overflow:hidden;
}
.expand.ng-enter-active {
opacity:1;
max-height:40px;
}
.expand.ng-leave {
-webkit-transition:0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) all;
-moz-transition:0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) all;
-o-transition:0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) all;
transition:0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) all;
opacity:1;
max-height:40px;
overflow:hidden;
}
.expand.ng-leave-active {
opacity:0;
max-height:0;
}
This diff is collapsed.
ul.doc-example {
list-style-type: none;
position: relative;
font-size: 14px;
}
ul.doc-example > li {
border: 2px solid gray;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
background-color: white;
margin-bottom: 20px;
}
ul.doc-example > li.doc-example-heading {
border: none;
border-radius: 0;
margin-bottom: -10px;
}
span.nojsfiddle {
float: right;
font-size: 14px;
margin-right:10px;
margin-top: 10px;
}
form.jsfiddle {
position: absolute;
right: 0;
z-index: 1;
height: 14px;
}
form.jsfiddle button {
cursor: pointer;
padding: 4px 10px;
margin: 10px;
background-color: #FFF;
font-weight: bold;
color: #7989D6;
border-color: #7989D6;
-moz-border-radius: 8px;
-webkit-border-radius:8px;
border-radius: 8px;
}
form.jsfiddle textarea, form.jsfiddle input {
display: none;
}
li.doc-example-live {
padding: 10px;
font-size: 1.2em;
}
div.syntaxhighlighter {
padding-bottom: 1px !important; /* fix to remove unnecessary scrollbars http://is.gd/gSMgC */
}
/* TABS - tutorial environment navigation */
div.tabs-nav {
height: 25px;
position: relative;
}
div.tabs-nav ul li {
list-style: none;
display: inline-block;
padding: 5px 10px;
}
div.tabs-nav ul li.current a {
color: white;
text-decoration: none;
}
div.tabs-nav ul li.current {
background: #7989D6;
-moz-box-shadow: 4px 4px 6px #48577D;
-moz-border-radius-topright: 8px;
-moz-border-radius-topleft: 8px;
box-shadow: 4px 4px 6px #48577D;
border-radius-topright: 8px;
border-radius-topleft: 8px;
-webkit-box-shadow: 4px 4px 6px #48577D;
-webkit-border-top-right-radius: 8px;
-webkit-border-top-left-radius: 8px;
border-top-right-radius: 8px;
border-top-left-radius: 8px;
}
div.tabs-content {
padding: 4px;
position: relative;
background: #7989D6;
-moz-border-radius: 8px;
border-radius: 8px;
-webkit-border-radius: 8px;
}
div.tabs-content-inner {
margin: 1px;
padding: 10px;
background: white;
border-radius: 6px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
}
/* Tutorial Nav Bar */
#tutorial-nav {
margin: 0.5em 0 1em 0;
padding: 0;
list-style-type: none;
background: #7989D6;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
border-radius: 15px;
-moz-box-shadow: 4px 4px 6px #48577D;
-webkit-box-shadow: 4px 4px 6px #48577D;
box-shadow: 4px 4px 6px #48577D;
}
#tutorial-nav li {
display: inline;
}
#tutorial-nav a:link, #tutorial-nav a:visited {
font-size: 1.2em;
color: #FFF;
text-decoration: none;
text-align: center;
display: inline-block;
width: 11em;
padding: 0.2em 0;
}
#tutorial-nav a:hover {
color: #000;
}
img.AngularJS-small {
width: 95px;
height: 25px;
}
/* this is here to avoid the display=block shuffling of ngShow */
.breadcrumb li > * {
float:left;
margin:0 2px 0 0;
}
.breadcrumb {
padding-top: 6px;
padding-bottom: 0;
line-height: 18px
}
.navbar img {
max-height: 40px;
padding-right: 20px;
}
.navbar img+.brand {
padding: 10px 20px 10px 10px;
}
.clear-navbar {
margin-top: 60px;
}
.footer {
padding-top: 2em;
background-color: #333;
color: white;
padding-bottom: 2em;
}
.spacer {
height: 1em;
}
.icon-cog {
line-height: 13px;
}
/* =============================== */
.form-search {
margin-right: 10px;
}
.form-search .search-query {
width: 180px;
width: 200px \9;
}
.form-search .dropdown-menu {
margin-left: 10px;
}
.form-search .code {
font-family: monospace;
font-weight: bold;
font-size: 13px;
color: black;
overflow: hidden;
text-overflow: ellipsis;
}
.form-search > ul.nav > li > a {
margin: 0;
}
.form-search > ul.nav > li.module {
background-color: #d3d3d3;
}
.form-search > ul.nav > li.section {
background-color: #ebebeb;
min-height: 14px;
}
.form-search > ul.nav > li.first {
padding-top: 6px;
}
.form-search > ul.nav > li.last {
padding-bottom: 6px;
}
.form-search > ul.nav > li.last + li.api-list-item {
margin-top: -6px;
padding-bottom: 6px;
}
.form-search .well {
border-color: #d3d3d3;
padding: 0;
margin-bottom: 15px;
}
.form-search .well .nav-header {
text-transform: none;
padding: 3px 1px;
margin: 0;
}
.form-search .well .nav-header a {
text-transform: none;
color: black;
}
.form-search .well .nav-header a:hover {
background-color: inherit;
}
.form-search .well li {
line-height: 14px;
}
.form-search .well li a:focus {
outline: none;
}
.form-search .well .guide {
float: right;
padding-top: 0;
color: gray;
}
.form-search .module .guide {
line-height: 20px;
}
.match > a, .nav > .match > a:hover {
background-color: #dbeaf4;
}
/* =============================== */
/* Content */
/* =============================== */
.edit-example {
margin-top: 9px;
}
.improve-docs, .view-source, .edit-example {
float: right;
margin-left: 35px;
position: relative;
}
.improve-docs i, .view-source i, .edit-example i {
position: absolute;
left: -20px;
top: 50%;
margin-top: -.5em;
text-decoration: none !important;
}
.methods .view-source {
margin: -0.5em 0 0 0;
text-decoration: none !important;
}
.hint {
font-size: .6em;
color: #c0c0c0;
display: block;
}
.content code {
background-color: inherit;
color: inherit;
border: none;
padding: 0;
font-size: inherit;
font-family: monospace;
}
.content h2,
.content h3,
.content h4,
.content h5 {
margin: 1em 0 5px;
}
.content h1 {
font-size: 30px;
line-height: 36px;
}
.content h2 {
font-size: 24px;
line-height: 36px;
}
.content h3 {
line-height: 27px;
font-size: 18px;
}
.content h4 {
font-size: 15px;
}
ul.parameters > li > p,
.returns > p {
display: inline;
}
ul.methods > li,
ul.properties > li,
ul.events > li {
list-style: none;
min-height: 20px;
padding: 19px;
margin-bottom: 20px;
background-color: #f5f5f5;
border: 1px solid #eee;
border: 1px solid rgba(0, 0, 0, 0.05);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}
.member.method > h2,
.member.property > h2,
.member.event > h2 {
margin-bottom: .5em;
}
ul.methods > li > h3,
ul.properties > li > h3,
ul.events > li > h3 {
margin: -19px -19px 1em -19px;
padding: .25em 39px .25em 19px;
background-color: #d3d3d3;
font-family: monospace;
}
.center {
display: block;
margin: 2em auto;
}
.diagram {
display: block;
margin: 2em auto;
padding: 1em;
border: 1px solid black;
-moz-box-shadow: 4px 4px 6px #48577D;
-webkit-box-shadow: 4px 4px 6px #48577D;
box-shadow: 4px 4px 6px #48577D;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
border-radius: 15px;
}
.tutorial-nav {
margin-left: 175px;
color: black;
margin-top: 2em;
margin-bottom: 2em;
}
.tutorial-nav a {
color: white;
}
.tutorial-nav a:hover {
color: white;
text-decoration: none;
}
.clear {
clear: both;
}
.variables-matrix td {
vertical-align:top;
padding:5px;
}
.type-hint {
display:inline-block;
}
.variables-matrix .type-hint {
text-align:center;
display:block;
min-width:60px;
}
.type-hint + .type-hint {
margin-top:5px;
}
.type-hint-string {
background:#3a87ad;
}
.type-hint-object {
background:#999;
}
.type-hint-array {
background:#F90;;
}
.type-hint-boolean {
background:rgb(18, 131, 39);
}
.type-hint-number {
background:rgb(189, 63, 66);
}
This diff is collapsed.
.pln { color: #000 } /* plain text */
@media screen {
.str { color: #080 } /* string content */
.kwd { color: #008 } /* a keyword */
.com { color: #800 } /* a comment */
.typ { color: #606 } /* a type name */
.lit { color: #066 } /* a literal value */
/* punctuation, lisp open bracket, lisp close bracket */
.pun, .opn, .clo { color: #660 }
.tag { color: #008 } /* a markup tag name */
.atn { color: #606 } /* a markup attribute name */
.atv { color: #080 } /* a markup attribute value */
.dec, .var { color: #606 } /* a declaration; a variable name */
.fun { color: red } /* a function name */
}
/* Use higher contrast and text-weight for printable form. */
@media print, projection {
.str { color: #060 }
.kwd { color: #006; font-weight: bold }
.com { color: #600; font-style: italic }
.typ { color: #404; font-weight: bold }