mirror of https://gitlab.federez.net/re2o/re2o
7 changed files with 87 additions and 10 deletions
@ -0,0 +1,16 @@ |
|||
{% extends "machines/sidebar.html" %} |
|||
{% load bootstrap3 %} |
|||
|
|||
{% block title %}Création et modification de machines{% endblock %} |
|||
|
|||
{% block content %} |
|||
|
|||
<form class="form" method="post"> |
|||
{% csrf_token %} |
|||
<h4>Attention, voulez-vous vraiment supprimer cet objet {{ objet_name }} ( {{ objet }} ) ?</h4> |
|||
{% bootstrap_button "Confirmer" button_type="submit" icon="trash" %} |
|||
</form> |
|||
<br /> |
|||
<br /> |
|||
<br /> |
|||
{% endblock %} |
|||
@ -0,0 +1,19 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('machines', '0018_auto_20160708_1813'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='interface', |
|||
name='machine', |
|||
field=models.ForeignKey(to='machines.Machine'), |
|||
), |
|||
] |
|||
@ -0,0 +1,16 @@ |
|||
{% extends "machines/sidebar.html" %} |
|||
{% load bootstrap3 %} |
|||
|
|||
{% block title %}Création et modification de machines{% endblock %} |
|||
|
|||
{% block content %} |
|||
|
|||
<form class="form" method="post"> |
|||
{% csrf_token %} |
|||
<h4>Attention, voulez-vous vraiment supprimer cet objet {{ objet_name }} ( {{ objet }} ) ?</h4> |
|||
{% bootstrap_button "Confirmer" button_type="submit" icon="trash" %} |
|||
</form> |
|||
<br /> |
|||
<br /> |
|||
<br /> |
|||
{% endblock %} |
|||
@ -0,0 +1,20 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('topologie', '0016_auto_20160706_1531'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='port', |
|||
name='machine_interface', |
|||
field=models.OneToOneField(to='machines.Interface', on_delete=django.db.models.deletion.SET_NULL, null=True, blank=True), |
|||
), |
|||
] |
|||
Loading…
Reference in new issue