diff options
author | tr4ck3ur <tr4ck3ur@style-python.fr> | 2015-02-15 14:46:19 +0100 |
---|---|---|
committer | tr4ck3ur <tr4ck3ur@style-python.fr> | 2015-02-15 14:46:19 +0100 |
commit | 7838a12792be197628ab7f34910f1c87dd113295 (patch) | |
tree | 0874b52059bf4ef3156f2e1495ce34743c0d8b36 /jm2l/templates/Profil/Profil.mako | |
parent | e3d6c9839f41796a4870d8e9dea50ed2b657f014 (diff) | |
download | jm2l-7838a12792be197628ab7f34910f1c87dd113295.tar.gz jm2l-7838a12792be197628ab7f34910f1c87dd113295.tar.bz2 jm2l-7838a12792be197628ab7f34910f1c87dd113295.tar.xz jm2l-7838a12792be197628ab7f34910f1c87dd113295.zip |
Fix ckeditor, uploader and add piwik
Diffstat (limited to 'jm2l/templates/Profil/Profil.mako')
-rw-r--r-- | jm2l/templates/Profil/Profil.mako | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/jm2l/templates/Profil/Profil.mako b/jm2l/templates/Profil/Profil.mako index 8bd87d7..4a20282 100644 --- a/jm2l/templates/Profil/Profil.mako +++ b/jm2l/templates/Profil/Profil.mako @@ -55,7 +55,7 @@ DicForm = { 'website': {'PlaceHolder':u"http://ma-page-web.moi","FieldStyle":"width:16em;"}, 'gpg_key': {'PlaceHolder':u"Ma clé gpg", "FieldStyle":"width:90%;"}, 'soc_link':{'PlaceHolder':u"#jm2l sur irc.freenode.org","FieldStyle":"width:90%;"}, - 'bio': {'PlaceHolder':u"Ma Bilibiographie", "FieldStyle":"width:95%;min-height:150px;", "fieldset":True }, + 'bio': {'PlaceHolder':u"Ma Bilibiographie", "FieldStyle":"width:95%;min-height:150px;", "fieldset":True, "ckeditor":1 }, 'tiersship': {'Ignore':True} } %> @@ -63,20 +63,21 @@ DicForm = { <fieldset> <legend>Activité</legend> + Si vous ne trouvez pas l'entité que vous souhaitez promouvoir (Association, GULL, Entreprise, Logiciel, ...). + Vous pouvez <a href="/entity"> en ajouter une. </a> + <div class="repeat"> <table class="wrapper table table-striped table-bordered" width="100%"> <thead> <tr class="row"> - ##<th></th> <th style="width:4em;text-align:center;">Année</th> - <th style="width:19em;">Entitée</th> + <th style="width:19em;">Entité</th> <th>Rôle</th> <th style="width:6em;">Action</th> </tr> </thead> <tbody class="container"> <tr class="row template" style="line-height:2.2em;"> - ##<td><span class="move btn btn-mini btn-info">Move</span></td> <td style="text-align:center;"> <input type="hidden" style="width:20em;" class="form-control" name="tiersship-{{row-count-placeholder}}-year_uid" value="2015" /> 2015 @@ -99,7 +100,6 @@ DicForm = { </tr> % for num, dicdata in enumerate(profil_form._fields.get("tiersship").data): <tr class="row" style="padding:5px;line-height:2.2em;"> - ##<td><span class="move btn btn-mini btn-info">Move</span></td> <td style="text-align:center;"> <input type="hidden" class="form-control" name="tiersship-${num}-year_uid" value="${dicdata.get('year_uid')}" style="width:4em;" /> @@ -141,17 +141,8 @@ DicForm = { </div> </fieldset> - - <input type="submit" value="Enregistrer !" /> + <input class="btn" type="submit" value="Enregistrer !" /> </form> - - -## Handle Popover of this form -##<script type="text/javascript"> -## % for field in profil_form._fields.keys(): -## $('#${field}-help').popover(); -## %endfor -##</script> </%def> |