inventorymaster 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 75fe9c67771f0025ec61fb677b7ba210e0764d28
4
- data.tar.gz: 78654eadd1410b210522171ddfe9063a2dd17f51
3
+ metadata.gz: 150d75d9b5a2ac8a8b6078bd6dca78c92baf65c9
4
+ data.tar.gz: ac971c09d6fa34b64f4a23d9985a089734b34517
5
5
  SHA512:
6
- metadata.gz: 771101ae59862fef58ed769f9f5842779c0f25069111aa6857a75012548fb4b79a12ec726d74b883ed1d3f02316ae263857236566f3333b15ec6917590570bb1
7
- data.tar.gz: dc20b3653d066b8036ff119309df62a7ff5859318dd3b703ec69d5311953f9999f8beffefb1cc2917ac96d62b8f666f853760dae7b05a5ae0f44d2646ebf23d9
6
+ metadata.gz: 716f85c538396aae0bdf5e7a10343f585b5db495762992e8bf80a4f0bd99459c13cd361719f03ca6de96200d15e795032be33c139eff53cc38bdb7473c806838
7
+ data.tar.gz: bfae80e0ef37010cccf71e8fa65c62ae7d30ad67abffc2862ecfe22767a9a91a10b6239340f47f31d69ed0fd9c66a07be0b9cd6812b4db23ddb199336a4d5ac9
@@ -12,10 +12,10 @@
12
12
  <% end %>
13
13
 
14
14
  <div class="field">
15
- <%= f.label :name %><br>
15
+ <%= f.label :name ,"Nome"%><br>
16
16
  <%= f.text_field :name %>
17
17
  </div>
18
18
  <div class="actions">
19
- <%= f.submit %>
20
- </div>
19
+ <%= f.submit "Gravar",:class=>"btn btn-success"%>
20
+
21
21
  <% end %>
@@ -1,6 +1,6 @@
1
- <h1>Editing Area</h1>
1
+ <h1>Editando Area</h1>
2
2
 
3
3
  <%= render 'form' %>
4
4
 
5
- <%= link_to 'Show', @area %> |
6
- <%= link_to 'Back', areas_path %>
5
+ <%= link_to 'Detalhar', @area ,:class=>"btn btn-default"%> |
6
+ <%= link_to 'Voltar', areas_path ,:class=>"btn btn-default"%>
@@ -1,8 +1,11 @@
1
- <p id="notice"><%= notice %></p>
1
+ <div class="page-header">
2
+ <h3><span class="glyphicon glyphicon-users"></span> Areas</h3>
3
+ </div>
4
+ <div align="right"><%= link_to 'Inserir Area', new_area_path ,:class=>"btn btn-primary"%></div>
5
+ <br>
2
6
 
3
- <h1>Listing Areas</h1>
7
+ <table class="table table-condesed">
4
8
 
5
- <table>
6
9
  <thead>
7
10
  <tr>
8
11
  <th>Name</th>
@@ -14,9 +17,9 @@
14
17
  <% @areas.each do |area| %>
15
18
  <tr>
16
19
  <td><%= area.name %></td>
17
- <td><%= link_to 'Show', area %></td>
18
- <td><%= link_to 'Edit', edit_area_path(area) %></td>
19
- <td><%= link_to 'Destroy', area, method: :delete, data: { confirm: 'Are you sure?' } %></td>
20
+ <td><%= link_to 'Detalhar', area ,:class=>"btn btn-xs btn-default"%></td>
21
+ <td><%= link_to 'Editar', edit_area_path(area) ,:class=>"btn btn-xs btn-warning"%></td>
22
+ <td><%= link_to 'Deletar', area, method: :delete, data: { confirm: 'Are you sure?' },:class=>"btn btn-xs btn-danger" %></td>
20
23
  </tr>
21
24
  <% end %>
22
25
  </tbody>
@@ -24,4 +27,3 @@
24
27
 
25
28
  <br>
26
29
 
27
- <%= link_to 'New Area', new_area_path %>
@@ -1,5 +1,5 @@
1
- <h1>New Area</h1>
1
+ <h1>Nova Area</h1>
2
2
 
3
3
  <%= render 'form' %>
4
4
 
5
- <%= link_to 'Back', areas_path %>
5
+ <%= link_to 'Voltar', areas_path, :class=>"btn btn-default"%>
@@ -1,9 +1,9 @@
1
- <p id="notice"><%= notice %></p>
1
+
2
2
 
3
3
  <p>
4
- <strong>Name:</strong>
4
+ <strong>Nome:</strong>
5
5
  <%= @area.name %>
6
6
  </p>
7
7
 
8
- <%= link_to 'Edit', edit_area_path(@area) %> |
9
- <%= link_to 'Back', areas_path %>
8
+ <%= link_to 'Editar', edit_area_path(@area),:class=>"btn btn-warning" %> |
9
+ <%= link_to 'Voltar', areas_path ,:class=>"btn btn-default"%>
@@ -1,15 +1,17 @@
1
- <p id="notice"><%= notice %></p>
2
-
3
- <h1>Listing Locations</h1>
1
+ <div class="page-header">
2
+ <h3><span class="glyphicon glyphicon-users"></span> Localização</h3>
3
+ </div>
4
+ <div align="right"><%= link_to 'Inserir Localização', new_location_path ,:class=>"btn btn-primary"%></div>
5
+ <br>
4
6
 
5
- <table>
7
+ <table class="table table-condesed">
6
8
  <thead>
7
9
  <tr>
8
- <th>Name</th>
9
- <th>Street adress</th>
10
- <th>City</th>
11
- <th>State</th>
12
- <th>Zip code</th>
10
+ <th>Nome</th>
11
+ <th>Logradouro</th>
12
+ <th>Cidade</th>
13
+ <th>Estado</th>
14
+ <th>CEP</th>
13
15
  <th colspan="3"></th>
14
16
  </tr>
15
17
  </thead>
@@ -22,9 +24,9 @@
22
24
  <td><%= location.city %></td>
23
25
  <td><%= location.state %></td>
24
26
  <td><%= location.zip_code %></td>
25
- <td><%= link_to 'Show', location %></td>
26
- <td><%= link_to 'Edit', edit_location_path(location) %></td>
27
- <td><%= link_to 'Destroy', location, method: :delete, data: { confirm: 'Are you sure?' } %></td>
27
+ <td><%= link_to 'Detalhar', location ,:class=>"btn btn-xs btn-default"%></td>
28
+ <td><%= link_to 'Editar', edit_location_path(location) ,:class=>"btn btn-xs btn-warning"%></td>
29
+ <td><%= link_to 'Deletar', location, method: :delete, data: { confirm: 'Are you sure?' } ,:class=>"btn btn-xs btn-danger"%></td>
28
30
  </tr>
29
31
  <% end %>
30
32
  </tbody>
@@ -32,4 +34,3 @@
32
34
 
33
35
  <br>
34
36
 
35
- <%= link_to 'New Location', new_location_path %>
@@ -1,5 +1,5 @@
1
- <h1>New Location</h1>
1
+ <h1>Nova Localização</h1>
2
2
 
3
3
  <%= render 'form' %>
4
4
 
5
- <%= link_to 'Back', locations_path %>
5
+ <%= link_to 'Voltar', locations_path ,:class=>"btn btn-default"%>
@@ -1,29 +1,28 @@
1
- <p id="notice"><%= notice %></p>
2
1
 
3
2
  <p>
4
- <strong>Name:</strong>
3
+ <strong>Nome:</strong>
5
4
  <%= @location.name %>
6
5
  </p>
7
6
 
8
7
  <p>
9
- <strong>Street adress:</strong>
8
+ <strong>Logradouro:</strong>
10
9
  <%= @location.street_adress %>
11
10
  </p>
12
11
 
13
12
  <p>
14
- <strong>City:</strong>
13
+ <strong>Cidade:</strong>
15
14
  <%= @location.city %>
16
15
  </p>
17
16
 
18
17
  <p>
19
- <strong>State:</strong>
18
+ <strong>Estado:</strong>
20
19
  <%= @location.state %>
21
20
  </p>
22
21
 
23
22
  <p>
24
- <strong>Zip code:</strong>
23
+ <strong>CEP:</strong>
25
24
  <%= @location.zip_code %>
26
25
  </p>
27
26
 
28
- <%= link_to 'Edit', edit_location_path(@location) %> |
29
- <%= link_to 'Back', locations_path %>
27
+ <%= link_to 'Editar', edit_location_path(@location) ,:class=>"btn btn-warning"%> |
28
+ <%= link_to 'Voltar', locations_path ,:class=>"btn btn-default"%>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inventorymaster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - jcottobboni