finalized update portfolio

This commit is contained in:
2023-02-09 14:07:24 +01:00
parent d95ae8eeeb
commit fcd83c48d7
9 changed files with 44 additions and 35 deletions

View File

@@ -3,8 +3,7 @@
{% block content %}
{% if request.authenticated_userid %}
<p><a href="{{ request.route_url('blog_edit', id='0') }}" class="btn btn-success" role="button">
<span class="glyphicon glyphicon-plus"></span> Nouveau</a>
<p><a href="{{ request.route_url('blog_edit', id='0') }}">[ Nouveau ]</a>
</p>
{% endif%}

View File

@@ -13,7 +13,11 @@
{% endfor %}
<div class="form-group">
<label class="required-field" for="tag">{{form.mvt_cash.label}}</label>
{{form.mvt_cash(class_='form-control')}}
<div class="input-group">
<div class="input-group-addon">€</div>
{{form.mvt_cash(class_='form-control')}}
</div>
<p class="form-control-static">(si le montant est négatif, le montant est retiré du portefeuille)</b></p>
</div>
<br>

View File

@@ -3,8 +3,7 @@
{% block content %}
<p>
<a href="allocation_edit/0" class="btn btn-success" role="button">
<span class="glyphicon glyphicon-plus"></span> Nouvelle classe</a>
<a href="allocation_edit/0">[ Nouvelle classe ]</a>
</p>
<div class="row">
<div class="col-md-6">
@@ -92,12 +91,9 @@
<div class="form-group">
<button id="updateButton" class="btn btn-primary" type="submit" name="form.submitted">
<i class="glyphicon glyphicon-refresh"></i> MAJ du portefeuille</button>
<a href="#" class="btn btn-success" role="button"
data-toggle="modal" data-target="#choixTypeActif"><span class="glyphicon glyphicon-plus"></span> Nouvel actif</a>
<a href="/histo_list" class="btn btn-default" role="button">
<span class="glyphicon glyphicon-stats"></span> Historique</a>
<a href="/blog/2/mouvements-du-portefeuille" class="btn btn-default" role="button">
<span class="glyphicon glyphicon-folder-close"></span> Mouvements</a>
<a href="#" data-toggle="modal" data-target="#choixTypeActif">[ Nouvel actif ]</a>
<a href="/histo_list">[ Historique ]</a>
<a href="/blog/2/mouvements-du-portefeuille">[ Mouvements ]</a>
</div>
</form>