"Beta release"
This commit is contained in:
@@ -54,9 +54,9 @@
|
||||
id='designation'
|
||||
type='text'
|
||||
onchange='javascript:update_componant(this, {{ componant.id }}, "text");'
|
||||
maxlength='50'
|
||||
title='Désignation (max. 50)'
|
||||
placeholder='Désignation (max. 50)'
|
||||
maxlength='100'
|
||||
title='Désignation (max. 100)'
|
||||
placeholder='Désignation (max. 100)'
|
||||
value='{{ componant.designation }}' />
|
||||
</div>
|
||||
<div class='input_block'>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{% endblock %}
|
||||
{% block title %}Éditer un kit{% endblock %}
|
||||
{% block top_menu %}
|
||||
<span class='top_menu_item' onclick='javascript:document.location="/providers";'>Gérer les kits</span>
|
||||
<span class='top_menu_item' onclick='javascript:document.location="/kits";'>Gérer les kits</span>
|
||||
<span class='top_menu_item_selected' onclick='javascript:document.location="/kits/{{ kit.id }}";'>Éditer un kit</span>
|
||||
{% endblock %}
|
||||
{% block left_menu %}
|
||||
|
||||
@@ -16,10 +16,10 @@
|
||||
{% set row_class = cycler('odd', 'even') %}
|
||||
{% for componant in componants %}
|
||||
<div class='row_block {{ row_class.next() }}'>
|
||||
<text style='width: 190px;'>{{ componant.reference }}</text>
|
||||
<text class='border_left' style='width: 439px;'>{{ componant.designation }}</text>
|
||||
<text class='num border_left' style='width: 89px;'>{{ componant.quantity }}</text>
|
||||
<text class='num border_right border_left' style='width: 139px;'>{{ componant.place }}</text>
|
||||
<text style='width: 190px;' title='{{ componant.reference }}'>{{ componant.reference }}</text>
|
||||
<text class='border_left' style='width: 439px;' title='{{ componant.designation }}'>{{ componant.designation }}</text>
|
||||
<text class='num border_left' style='width: 89px;' title='{{ componant.quantity }}'>{{ componant.quantity }}</text>
|
||||
<text class='num border_right border_left' style='width: 139px;' title='{{ componant.place }}'>{{ componant.place }}</text>
|
||||
<div class='action_bar_block border_left' style='width: 89px;'>
|
||||
<input
|
||||
type='image'
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
{% set row_class = cycler('odd', 'even') %}
|
||||
{% for componant in componants %}
|
||||
<div class='row_block {{ row_class.next() }}'>
|
||||
<text style='width: 190px;'>{{ componant.reference }}</text>
|
||||
<text class='border_left' style='width: 439px;'>{{ componant.designation }}</text>
|
||||
<text style='width: 190px;' title='{{ componant.reference }}'>{{ componant.reference }}</text>
|
||||
<text class='border_left' style='width: 439px;' title='{{ componant.designation }}'>{{ componant.designation }}</text>
|
||||
<text class='num border_left' style='width: 89px;'>{{ componant.quantity }}</text>
|
||||
<text class='num border_right border_left' style='width: 139px;'>{{ componant.place }}</text>
|
||||
<text class='num border_right border_left' style='width: 139px;' title='{{ componant.place }}'>{{ componant.place }}</text>
|
||||
<div class='action_bar_block border_left' style='width: 89px;'>
|
||||
<input
|
||||
type='image'
|
||||
|
||||
@@ -8,14 +8,20 @@
|
||||
</text>
|
||||
<div class='row_block border_bottom'>
|
||||
<label style='width: 209px;' onclick='javascript:update_kits_by_name("{{ order }}");'>Nom</label>
|
||||
<label class='border_left' style='width: 700px;' onclick='javascript:update_kits_by_designation("{{ order }}");'>Désignation</label>
|
||||
<label class='border_left' style='width: 600px;' onclick='javascript:update_kits_by_designation("{{ order }}");'>Désignation</label>
|
||||
<label class='border_left' style='width: 99px;' style='cursor: default;'>Max dispo</label>
|
||||
<label class='border_left' style='width: 89px;' style='cursor: default;'>Action</label>
|
||||
</div>
|
||||
{% set row_class = cycler('odd', 'even') %}
|
||||
{% for kit in kits %}
|
||||
<div class='row_block {{ row_class.next() }}'>
|
||||
<text style='width: 199px;'>{{ kit.name }}</text>
|
||||
<text class='border_left' style='width: 690px;'>{{ kit.designation }}</text>
|
||||
<text style='width: 199px;' title='{{ kit.name }}'>{{ kit.name }}</text>
|
||||
<text class='border_left' style='width: 590px;' title='{{ kit.designation }}'>{{ kit.designation }}</text>
|
||||
{% set sclass='red' %}
|
||||
{% if kit. max_kit > 1 %}
|
||||
{% set sclass='' %}
|
||||
{% endif %}
|
||||
<text class='border_left num {{ sclass }}' style='width: 89px;' title='{{ kit.max_kit }}'>{{ kit.max_kit }}</text>
|
||||
<div class='action_bar_block border_left' style='width: 89px;'>
|
||||
<input
|
||||
type='image'
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
{% for provider in providers %}
|
||||
<div class='row_block {{ row_class.next() }}'>
|
||||
<text style='width: 199px;'>{{ provider.name }}</text>
|
||||
<text class='border_left' style='width: 189px;'>{{ provider.address }}</text>
|
||||
<text class='border_left' style='width: 189px;'>{{ provider.mail }}</text>
|
||||
<text class='border_left' style='width: 289px;'>{{ provider.url }}</text>
|
||||
<text class='border_left' style='width: 189px;' title='{{ provider.address }}'>{{ provider.address }}</text>
|
||||
<text class='border_left' style='width: 189px;' title='{{ provider.mail }}'>{{ provider.mail }}</text>
|
||||
<text class='border_left' style='width: 289px;' title='{{ provider.url }}'>{{ provider.url }}</text>
|
||||
<div class='action_bar_block border_left' style='width: 89px;'>
|
||||
<input
|
||||
type='image'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr" dir="ltr">
|
||||
<head>
|
||||
<title>Référentiel Infrastructure Tetalab - {% block title %}How The Fuck{% endblock %}</title>
|
||||
<title>Tetastock</title>
|
||||
<meta name="viewport" content="initial-scale=1.0">
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<link rel="stylesheet" type="text/css" href="/static/style/style.css" />
|
||||
@@ -10,8 +10,8 @@
|
||||
<body>
|
||||
<div class='main_wrapper'>
|
||||
<div class='center'>
|
||||
<div class='banner' title='Référentiel infrastrusture Tetalab'>
|
||||
Référentiel Infrastructure Tetalab
|
||||
<div class='banner' title='Tetastock'>
|
||||
Tetastock
|
||||
</div>
|
||||
<div class='top_menu'>
|
||||
<span class='top_menu_item' onclick='javascript:document.location="/";'>Retour</span>
|
||||
|
||||
Reference in New Issue
Block a user