Overview
Comment: | Petites améliorations expérience sur mobile |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
70a64c37ce174e7cc71587eb06d4adf1 |
User & Date: | bohwaz on 2014-04-22 00:32:23 |
Other Links: | manifest | tags |
Context
2014-04-23
| ||
05:51 | Améliorations paquet debian check-in: 76f1270cd6 user: bohwaz tags: trunk | |
2014-04-22
| ||
00:32 | Petites améliorations expérience sur mobile check-in: 70a64c37ce user: bohwaz tags: trunk | |
00:27 | Optimisation : index sur les champs listés check-in: 2dac7f9add user: bohwaz tags: trunk | |
Changes
Modified src/templates/admin/_head.tpl from [5bde3176cb] to [96918e5f25].
︙ | ︙ | |||
36 37 38 39 40 41 42 | <li><a href="{$www_url}">← Retour au site</a></li> <li><a href="{$admin_url}">Connexion</a> <ul> <li><a href="{$admin_url}password.php">Mot de passe perdu</a> </ul> </li> {else} | | | | | | | | | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | <li><a href="{$www_url}">← Retour au site</a></li> <li><a href="{$admin_url}">Connexion</a> <ul> <li><a href="{$admin_url}password.php">Mot de passe perdu</a> </ul> </li> {else} <li class="home{if $current == 'home'} current{/if}"><a href="{$admin_url}"><b class="icn">⌂</b> Accueil</a></li> {if !empty($plugins_menu)} <li class="plugins"> <ul> {foreach from=$plugins_menu key="id" item="name"} <li class="plugins {if $current == "plugin_`$id`"} current{/if}"><a href="{plugin_url id=$id}">{$name|escape}</a></li> {/foreach} </ul> </li> {/if} {if $user.droits.membres >= Garradin\Membres::DROIT_ACCES} <li class="member list{if $current == 'membres'} current{/if}"><a href="{$admin_url}membres/"><b class="icn">👪</b> Membres</a> {if $user.droits.membres >= Garradin\Membres::DROIT_ECRITURE} <ul> <li class="member new{if $current == 'membres/ajouter'} current{/if}"><a href="{$admin_url}membres/ajouter.php">Ajouter</a></li> <li class="member cotisations{if $current == 'membres/cotisations'} current{/if}"><a href="{$admin_url}membres/cotisations/">Cotisations</a></li> {if $user.droits.membres >= Garradin\Membres::DROIT_ADMIN} <li class="member admin config{if $current == 'membres/categories'} current{/if}"><a href="{$admin_url}membres/categories.php">Catégories</a></li> <li class="members admin mail{if $current == 'membres/message_collectif'} current{/if}"><a href="{$admin_url}membres/message_collectif.php">Message collectif</a></li> {/if} </ul> {/if} </li> {/if} {if $user.droits.compta >= Garradin\Membres::DROIT_ACCES} <li class="compta{if $current == 'compta'} current{/if}"><a href="{$admin_url}compta/"><b>€</b> Comptabilité</a> <ul> {if $user.droits.compta >= Garradin\Membres::DROIT_ECRITURE} <li class="compta new{if $current == 'compta/saisie'} current{/if}"><a href="{$admin_url}compta/operations/saisir.php">Saisie</a></li> {/if} <li class="compta list{if $current == 'compta/gestion'} current{/if}"><a href="{$admin_url}compta/operations/">Suivi des opérations</a></li> <li class="compta banks{if $current == 'compta/banques'} current{/if}"><a href="{$admin_url}compta/banques/">Banques & caisse</a></li> {if $user.droits.compta >= Garradin\Membres::DROIT_ADMIN} <li class="compta admin config{if $current == 'compta/categories'} current{/if}"><a href="{$admin_url}compta/categories/">Catégories & comptes</a></li> {/if} <li class="compta admin reports{if $current == 'compta/exercices'} current{/if}"><a href="{$admin_url}compta/exercices/">Exercices</a></li> </ul> </li> {/if} {if $user.droits.wiki >= Garradin\Membres::DROIT_ACCES} <li class="wiki{if $current == 'wiki'} current{/if}"><a href="{$admin_url}wiki/"><b class="icn">✎</b> Wiki</a> <ul> <li class="wiki list{if $current == 'wiki/recent'} current{/if}"><a href="{$admin_url}wiki/recent.php">Dernières modifications</a> <li class="wiki search{if $current == 'wiki/chercher'} current{/if}"><a href="{$admin_url}wiki/chercher.php">Recherche</a> {if $user.droits.wiki >= Garradin\Membres::DROIT_ECRITURE} {/if} {*<li class="wiki follow{if $current == 'wiki/suivi'} current{/if}"><a href="{$admin_url}wiki/suivi.php">Mes pages suivies</a>*} {*<li class="wiki follow{if $current == 'wiki/contribution'} current{/if}"><a href="{$admin_url}wiki/contributions.php">Mes contributions</a>*} </ul> </li> {/if} {if $user.droits.config >= Garradin\Membres::DROIT_ADMIN} <li class="main config{if $current == 'config'} current{/if}"><a href="{$admin_url}config/"><b class="icn">☸</b>Configuration</a> {/if} <li class="my config{if $current == 'mes_infos'} current{/if}"><a href="{$admin_url}mes_infos.php"><b class="icn">👤</b> Mes infos personnelles</a> <ul> <li class="my cotisations{if $current == 'mes_cotisations'} current{/if}"><a href="{$admin_url}mes_cotisations.php">Mes cotisations</a></li> </ul> </li> {if !defined('Garradin\LOCAL_LOGIN')} <li class="logout"><a href="{$admin_url}logout.php"><b class="icn">⤝</b> Déconnexion</a></li> {/if} {/if} </ul> <h1>{$title|escape}</h1> </div> {/if} <div class="page"> |
Modified src/templates/admin/config/membres.tpl from [e43adb1882] to [c5015eaa6e].
︙ | ︙ | |||
221 222 223 224 225 226 227 | legend.className = 'interactive'; legend.title = 'Cliquer pour modifier ce champ'; var actions = document.createElement('div'); actions.className = 'actions'; field.appendChild(actions); | | | | 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 | legend.className = 'interactive'; legend.title = 'Cliquer pour modifier ce champ'; var actions = document.createElement('div'); actions.className = 'actions'; field.appendChild(actions); var up = document.createElement('a'); up.className = 'icn up'; up.innerHTML = '↑'; up.title = 'Déplacer vers le haut'; up.onclick = function (e) { var field = this.parentNode.parentNode; var p = field.previousSibling; while (p.nodeType == 3) { p = p.previousSibling; } field.parentNode.insertBefore(field, p); return false; }; actions.appendChild(up); var down = document.createElement('a'); down.className = 'icn down'; down.innerHTML = '↓'; down.title = 'Déplacer vers le bas'; down.onclick = function (e) { var field = this.parentNode.parentNode; var p = field.nextSibling; |
︙ | ︙ | |||
257 258 259 260 261 262 263 | while (p.nodeType == 3) { p = p.nextSibling; } field.parentNode.insertBefore(field, p); } return false; }; actions.appendChild(down); | | | | 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 | while (p.nodeType == 3) { p = p.nextSibling; } field.parentNode.insertBefore(field, p); } return false; }; actions.appendChild(down); var edit = document.createElement('a'); edit.className = 'icn edit'; edit.innerHTML = '✎'; edit.title = 'Modifier ce champ'; edit.onclick = function (e) { var content = this.parentNode.parentNode.querySelector('dl'); if (content.style.display.toLowerCase() == 'none') content.style.display = 'block'; else content.style.display = 'none'; return false; }; actions.appendChild(edit); if (field.id != 'f_email' && field.id != 'f_passe') { var rem = document.createElement('a'); rem.className = 'icn remove'; rem.innerHTML = '✘'; rem.title = 'Enlever ce champ de la fiche'; rem.onclick = function (e) { if (!window.confirm('Êtes-vous sûr de supprimer ce champ des fiches de membre ?')) { return false; |
︙ | ︙ |
Modified src/www/admin/static/handheld.css from [66a7634617] to [0d1120945a].
1 2 3 4 5 6 7 8 | body { background: #fff url("bg01.png") no-repeat -180px -50px; font-size: 11pt; } .header h1 { margin: 0; text-align: center; | | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | body { background: #fff url("bg01.png") no-repeat -180px -50px; font-size: 11pt; } .header h1 { margin: 0; text-align: center; font-size: 1.2em; margin: .3em 0; } .header .menu { position: relative; margin: 0; width: 100%; background: none; |
︙ | ︙ | |||
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | font-size: .9em; } .header .menu li.current > a { background: rgb(217, 134, 40); background: rgba(217, 134, 40, 0.5); color: #000; border-radius: .5em; } .page { margin: 0; padding: .1em; } ul.actions { padding: 0; border: none; font-size: .8em; text-align: center; } ul.actions li a { margin: .1em; border-radius: .5em; } | > > > > > | 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | font-size: .9em; } .header .menu li.current > a { background: rgb(217, 134, 40); background: rgba(217, 134, 40, 0.5); color: #000; } .header .menu li li.current > a { border-radius: .5em; padding: .2em .4em; } .page { margin: 0; padding: .1em; } ul.actions { padding: 0; border: none; font-size: .8em; text-align: center; margin: .3em 0; } ul.actions li a { margin: .1em; border-radius: .5em; } |
︙ | ︙ |