-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
104 lines (101 loc) · 3.54 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="vendor/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script>
var nw = require('nw.gui');
var win = nw.Window.get();
win.isMaximized = false;
</script>
</head>
<body>
<header>
<ul>
<li>
<a href='#' title='Minimize' id='windowControlMinimize'></a>
</li>
<li>
<a href='#' title='Maximize' id='windowControlMaximize'></a>
</li>
<li>
<a href='#' title='Close' id='windowControlClose'></a>
</li>
</ul>
</header>
<div class="container">
<div class="row clearfix">
<div class="col-md-12">
<h1 class="text-success text-center">Generador de Requisitos funcionales
</h1>
</div>
</div>
<div class="row">
<div class="text-center">
<div class="btn-group" role="group">
<button type="button" class="btn btn-success btn-lg" data-toggle="modal" data-target="#addNew">Agregar Requisito <span class="glyphicon glyphicon-plus"></span> </button>
<a href="#" id="exportXls" type="button" class="btn btn-lg btn-default">Exportar a Excel</a>
</div>
</div>
</div>
<br>
<div class="row clearfix">
<table id="mainTable" class="table table-condensed table-striped">
<thead>
<tr>
<td>ID</td>
<td>Nombre</td>
<td>Descripcion</td>
<td>Actores</td>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<script src="vendor/js/jquery.min.js"></script>
<script src="vendor/js/bootstrap.min.js"></script>
<script src="vendor/js/jquery.validate.min.js"></script>
<script src="vendor/js/jquery.table2excel.min.js"></script>
<script src="js/winControl.js"></script>
<script src="js/main.js"></script>
</body>
<!-- MODAL ADD NEW -->
<div class="modal fade" id="addNew" aria-labelledby="addNewLabel">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">Agregar requisito</h4>
</div>
<div class="modal-body clearfix">
<form id="data">
<div class="form-group">
<label for="reqName">Nombre del Requisito</label>
<input type="text" class="form-control" id="reqName" name="reqName" placeholder="Nombre">
</div>
<div class="form-group">
<label for="reqDescription">Descripcion del Requisito</label>
<textarea type="text" class="form-control" id="reqDescription" name="reqDescription"></textarea>
</div>
<div class="form-group">
<label for="reqUsers">Usuarios</label>
<input type="text" class="form-control" id="reqUsers" name="reqUsers" placeholder="Usuarios">
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="pull-right btn btn-primary" id="addRow">Agregar</button>
<p class="pull-left text-danger hide" id="form-error"> Campos incompletos</p>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal -->
</html>