Traduccion completa a Espanol

This commit is contained in:
Araozu 2018-07-15 11:34:28 -05:00
parent 09bee5da7c
commit 97036bf369
25 changed files with 639 additions and 684 deletions

View File

@ -5,53 +5,31 @@
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="2779599e-b2aa-4ead-8b6c-b1aa4798807f" name="Default" comment=""> <list default="true" id="2779599e-b2aa-4ead-8b6c-b1aa4798807f" name="Default" comment="">
<change afterPath="$PROJECT_DIR$/src/controller/resourcesManagement/materials/MaterialsControllerAdd.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/controller/resourcesManagement/materials/MaterialsControllerDelete.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/controller/resourcesManagement/materials/MaterialsControllerIndex.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/controller/resourcesManagement/materials/MaterialsControllerView.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/model/Material.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/war/WEB-INF/View/Materials/View.jsp" afterDir="false" />
<change afterPath="$PROJECT_DIR$/war/WEB-INF/View/Materials/add.jsp" afterDir="false" />
<change afterPath="$PROJECT_DIR$/war/WEB-INF/View/Materials/index.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/access/AccessControllerAdd.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/usersManagement/access/AccessControllerAdd.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Access/add.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Access/add.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/access/AccessControllerDelete.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/usersManagement/access/AccessControllerDelete.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Access/edit.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Access/edit.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/access/AccessControllerEdit.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/usersManagement/access/AccessControllerEdit.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Access/index.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Access/index.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/access/AccessControllerIndex.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/usersManagement/access/AccessControllerIndex.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Access/view.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Access/view.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/access/AccessControllerView.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/usersManagement/access/AccessControllerView.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Employees/add.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Employees/add.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/employees/EmployeesControllerAdd.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/resourcesManagement/employees/EmployeesControllerAdd.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/employees/EmployeesControllerDelete.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/resourcesManagement/employees/EmployeesControllerDelete.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/employees/EmployeesControllerIndex.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/resourcesManagement/employees/EmployeesControllerIndex.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/employees/EmployeesControllerView.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/resourcesManagement/employees/EmployeesControllerView.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/resources/ResourcesControllerAdd.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/usersManagement/resources/ResourcesControllerAdd.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/resources/ResourcesControllerDelete.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/usersManagement/resources/ResourcesControllerDelete.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/resources/ResourcesControllerIndex.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/usersManagement/resources/ResourcesControllerIndex.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/resources/ResourcesControllerView.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/usersManagement/resources/ResourcesControllerView.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/roles/RolesControllerAdd.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/usersManagement/roles/RolesControllerAdd.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/roles/RolesControllerDelete.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/usersManagement/roles/RolesControllerDelete.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/roles/RolesControllerIndex.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/usersManagement/roles/RolesControllerIndex.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/roles/RolesControllerView.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/usersManagement/roles/RolesControllerView.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/services/ServicesControllerAdd.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/resourcesManagement/services/ServicesControllerAdd.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/services/ServicesControllerDelete.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/resourcesManagement/services/ServicesControllerDelete.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/services/ServicesControllerIndex.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/resourcesManagement/services/ServicesControllerIndex.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/services/ServicesControllerView.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/resourcesManagement/services/ServicesControllerView.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/users/UsersControllerAdd.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/usersManagement/users/UsersControllerAdd.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/users/UsersControllerDelete.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/usersManagement/users/UsersControllerDelete.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/users/UsersControllerIndex.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/usersManagement/users/UsersControllerIndex.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/employee/users/UsersControllerView.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/usersManagement/users/UsersControllerView.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/finances/IncomeReport.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/financesManagement/IncomeReport.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/controller/index.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/controller/index.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/model/Access.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/model/Access.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/model/Employee.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/model/Employee.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/model/Service.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/model/Service.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/model/User.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/model/User.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Employees/index.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Employees/index.jsp" afterDir="false" /> <change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Employees/index.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Employees/index.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Employees/view.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Employees/view.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Finances/index.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Finances/index.jsp" afterDir="false" /> <change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Finances/index.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Finances/index.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Materials/View.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Materials/View.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Materials/add.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Materials/add.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Materials/index.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Materials/index.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Resources/add.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Resources/add.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Resources/index.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Resources/index.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Resources/view.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Resources/view.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Roles/add.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Roles/add.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Roles/index.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Roles/index.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Roles/view.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Roles/view.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Services/add.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Services/add.jsp" afterDir="false" /> <change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Services/add.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Services/add.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Services/index.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Services/index.jsp" afterDir="false" /> <change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Services/index.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Services/index.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/war/WEB-INF/classes/model/Access.class" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/classes/model/Access.class" afterDir="false" /> <change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Services/view.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Services/view.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/war/WEB-INF/classes/model/User.class" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/classes/model/User.class" afterDir="false" /> <change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Users/add.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Users/add.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/war/WEB-INF/web.xml" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/web.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Users/index.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Users/index.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/war/WEB-INF/View/Users/view.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/WEB-INF/View/Users/view.jsp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/war/index.jsp" beforeDir="false" afterPath="$PROJECT_DIR$/war/index.jsp" afterDir="false" />
</list> </list>
<ignored path="$PROJECT_DIR$/war/WEB-INF/classes/" /> <ignored path="$PROJECT_DIR$/war/WEB-INF/classes/" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
@ -81,44 +59,36 @@
</component> </component>
<component name="FileEditorManager"> <component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="index.jsp" pinned="false" current-in-tab="true"> <file leaf-file-name="add.jsp" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Employees/index.jsp"> <entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Users/add.jsp">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="34"> <state relative-caret-position="404">
<caret line="2" selection-start-line="2" selection-end-line="2" /> <caret line="138" column="137" selection-start-line="138" selection-start-column="137" selection-end-line="138" selection-end-column="137" />
<folding> <folding>
<element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="index.jsp" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Users/index.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="421">
<caret line="158" column="118" selection-start-line="158" selection-start-column="118" selection-end-line="158" selection-end-column="118" />
<folding>
<element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" /> <element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="add.jsp" pinned="false" current-in-tab="false"> <file leaf-file-name="view.jsp" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Materials/add.jsp"> <entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Users/view.jsp">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="540"> <state relative-caret-position="438">
<caret line="122" column="25" selection-start-line="122" selection-start-column="25" selection-end-line="122" selection-end-column="25" /> <caret line="167" lean-forward="true" selection-start-line="167" selection-end-line="167" />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="MaterialsControllerView.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/controller/resourcesManagement/materials/MaterialsControllerView.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="430">
<caret line="52" column="97" selection-start-line="52" selection-start-column="86" selection-end-line="52" selection-end-column="97" />
<folding>
<element signature="method#doGet#0;class#MaterialsControllerView#0" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="View.jsp" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Materials/View.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1260">
<caret line="141" column="141" selection-start-line="141" selection-start-column="141" selection-end-line="141" selection-end-column="141" />
</state> </state>
</provider> </provider>
</entry> </entry>
@ -173,40 +143,40 @@
<option value="$PROJECT_DIR$/src/controller/employee/employees/EmployeesControllerView.java" /> <option value="$PROJECT_DIR$/src/controller/employee/employees/EmployeesControllerView.java" />
<option value="$PROJECT_DIR$/src/controller/employee/employees/EmployeesControllerDelete.java" /> <option value="$PROJECT_DIR$/src/controller/employee/employees/EmployeesControllerDelete.java" />
<option value="$PROJECT_DIR$/src/controller/finances/IncomeReport.java" /> <option value="$PROJECT_DIR$/src/controller/finances/IncomeReport.java" />
<option value="$PROJECT_DIR$/src/controller/employee/employees/EmployeesControllerAdd.java" />
<option value="$PROJECT_DIR$/src/controller/resourcesManagement/employees/EmployeesControllerAdd.java" />
<option value="$PROJECT_DIR$/src/model/Materials.java" />
<option value="$PROJECT_DIR$/src/controller/resourcesManagement/materials/MaterialsControllerDelete.java" />
<option value="$PROJECT_DIR$/war/WEB-INF/web.xml" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Material/index.jsp" />
<option value="$PROJECT_DIR$/src/controller/resourcesManagement/materials/MaterialsControllerIndex.java" />
<option value="$PROJECT_DIR$/src/controller/resourcesManagement/materials/MaterialsControllerAdd.java" />
<option value="$PROJECT_DIR$/src/controller/resourcesManagement/employees/EmployeesControllerView.java" />
<option value="$PROJECT_DIR$/src/controller/resourcesManagement/materials/MaterialsControllerView.java" />
<option value="$PROJECT_DIR$/war/index.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Access/add.jsp" /> <option value="$PROJECT_DIR$/war/WEB-INF/View/Access/add.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Access/edit.jsp" /> <option value="$PROJECT_DIR$/war/WEB-INF/View/Access/edit.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Access/index.jsp" /> <option value="$PROJECT_DIR$/war/WEB-INF/View/Access/index.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Access/view.jsp" /> <option value="$PROJECT_DIR$/war/WEB-INF/View/Access/view.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Resources/add.jsp" /> <option value="$PROJECT_DIR$/war/WEB-INF/View/Employees/add.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Employees/index.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Employees/view.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Finances/index.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Materials/add.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Materials/index.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Materials/View.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Resources/index.jsp" /> <option value="$PROJECT_DIR$/war/WEB-INF/View/Resources/index.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Resources/add.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Resources/view.jsp" /> <option value="$PROJECT_DIR$/war/WEB-INF/View/Resources/view.jsp" />
<option value="$PROJECT_DIR$/war/index.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Roles/add.jsp" /> <option value="$PROJECT_DIR$/war/WEB-INF/View/Roles/add.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Roles/index.jsp" /> <option value="$PROJECT_DIR$/war/WEB-INF/View/Roles/index.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Roles/view.jsp" /> <option value="$PROJECT_DIR$/war/WEB-INF/View/Roles/view.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Services/add.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Services/index.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Services/view.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Users/add.jsp" /> <option value="$PROJECT_DIR$/war/WEB-INF/View/Users/add.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Users/index.jsp" /> <option value="$PROJECT_DIR$/war/WEB-INF/View/Users/index.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Users/view.jsp" /> <option value="$PROJECT_DIR$/war/WEB-INF/View/Users/view.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Services/view.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Employees/add.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Employees/view.jsp" />
<option value="$PROJECT_DIR$/src/controller/employee/employees/EmployeesControllerAdd.java" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Finances/index.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Employees/index.jsp" />
<option value="$PROJECT_DIR$/src/controller/resourcesManagement/employees/EmployeesControllerAdd.java" />
<option value="$PROJECT_DIR$/src/model/Materials.java" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Services/add.jsp" />
<option value="$PROJECT_DIR$/src/controller/resourcesManagement/materials/MaterialsControllerDelete.java" />
<option value="$PROJECT_DIR$/war/WEB-INF/web.xml" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Material/index.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Services/index.jsp" />
<option value="$PROJECT_DIR$/src/controller/resourcesManagement/materials/MaterialsControllerIndex.java" />
<option value="$PROJECT_DIR$/src/controller/resourcesManagement/materials/MaterialsControllerAdd.java" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Materials/index.jsp" />
<option value="$PROJECT_DIR$/src/controller/resourcesManagement/employees/EmployeesControllerView.java" />
<option value="$PROJECT_DIR$/src/controller/resourcesManagement/materials/MaterialsControllerView.java" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Materials/add.jsp" />
<option value="$PROJECT_DIR$/war/WEB-INF/View/Materials/View.jsp" />
</list> </list>
</option> </option>
</component> </component>
@ -229,8 +199,8 @@
<servers /> <servers />
</component> </component>
<component name="ProjectFrameBounds"> <component name="ProjectFrameBounds">
<option name="x" value="28" /> <option name="x" value="16" />
<option name="y" value="84" /> <option name="y" value="83" />
<option name="width" value="1868" /> <option name="width" value="1868" />
<option name="height" value="935" /> <option name="height" value="935" />
</component> </component>
@ -240,6 +210,71 @@
<foldersAlwaysOnTop value="true" /> <foldersAlwaysOnTop value="true" />
</navigator> </navigator>
<panes> <panes>
<pane id="Scope">
<subPane subId="Production">
<expand>
<path>
<item name="Root" type="cbb8eebc:String" user="Root" />
<item name="Lab09" type="cbb8eebc:String" user="Lab09" />
</path>
<path>
<item name="Root" type="cbb8eebc:String" user="Root" />
<item name="Lab09" type="cbb8eebc:String" user="Lab09" />
<item name="src" type="cbb8eebc:String" user="src" />
</path>
</expand>
<select />
</subPane>
<subPane subId="Changed Files">
<expand>
<path>
<item name="Root" type="cbb8eebc:String" user="Root" />
<item name="Lab09" type="cbb8eebc:String" user="Lab09" />
</path>
<path>
<item name="Root" type="cbb8eebc:String" user="Root" />
<item name="Lab09" type="cbb8eebc:String" user="Lab09" />
<item name="war" type="cbb8eebc:String" user="war" />
</path>
</expand>
<select />
</subPane>
<subPane subId="Project Files">
<expand>
<path>
<item name="Root" type="cbb8eebc:String" user="Root" />
<item name="Lab09" type="cbb8eebc:String" user="Lab09" />
</path>
<path>
<item name="Root" type="cbb8eebc:String" user="Root" />
<item name="Lab09" type="cbb8eebc:String" user="Lab09" />
<item name="src" type="cbb8eebc:String" user="src" />
</path>
<path>
<item name="Root" type="cbb8eebc:String" user="Root" />
<item name="Lab09" type="cbb8eebc:String" user="Lab09" />
<item name="src" type="cbb8eebc:String" user="src" />
<item name="controller" type="cbb8eebc:String" user="controller" />
</path>
<path>
<item name="Root" type="cbb8eebc:String" user="Root" />
<item name="Lab09" type="cbb8eebc:String" user="Lab09" />
<item name="src" type="cbb8eebc:String" user="src" />
<item name="controller" type="cbb8eebc:String" user="controller" />
<item name="access" type="cbb8eebc:String" user="access" />
</path>
<path>
<item name="Root" type="cbb8eebc:String" user="Root" />
<item name="Lab09" type="cbb8eebc:String" user="Lab09" />
<item name="src" type="cbb8eebc:String" user="src" />
<item name="controller" type="cbb8eebc:String" user="controller" />
<item name="resources" type="cbb8eebc:String" user="resources" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="AndroidView" />
<pane id="ProjectPane"> <pane id="ProjectPane">
<subPane> <subPane>
<expand> <expand>
@ -318,23 +353,7 @@
<item name="war" type="462c0819:PsiDirectoryNode" /> <item name="war" type="462c0819:PsiDirectoryNode" />
<item name="WEB-INF" type="462c0819:PsiDirectoryNode" /> <item name="WEB-INF" type="462c0819:PsiDirectoryNode" />
<item name="View" type="462c0819:PsiDirectoryNode" /> <item name="View" type="462c0819:PsiDirectoryNode" />
<item name="Employees" type="462c0819:PsiDirectoryNode" /> <item name="Users" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="Lab09" type="b2602c69:ProjectViewProjectNode" />
<item name="Lab09" type="462c0819:PsiDirectoryNode" />
<item name="war" type="462c0819:PsiDirectoryNode" />
<item name="WEB-INF" type="462c0819:PsiDirectoryNode" />
<item name="View" type="462c0819:PsiDirectoryNode" />
<item name="Materials" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="Lab09" type="b2602c69:ProjectViewProjectNode" />
<item name="Lab09" type="462c0819:PsiDirectoryNode" />
<item name="war" type="462c0819:PsiDirectoryNode" />
<item name="WEB-INF" type="462c0819:PsiDirectoryNode" />
<item name="View" type="462c0819:PsiDirectoryNode" />
<item name="Services" type="462c0819:PsiDirectoryNode" />
</path> </path>
</expand> </expand>
<select /> <select />
@ -361,71 +380,6 @@
<select /> <select />
</subPane> </subPane>
</pane> </pane>
<pane id="Scope">
<subPane subId="Production">
<expand>
<path>
<item name="Root" type="cbb8eebc:String" user="Root" />
<item name="Lab09" type="cbb8eebc:String" user="Lab09" />
</path>
<path>
<item name="Root" type="cbb8eebc:String" user="Root" />
<item name="Lab09" type="cbb8eebc:String" user="Lab09" />
<item name="src" type="cbb8eebc:String" user="src" />
</path>
</expand>
<select />
</subPane>
<subPane subId="Changed Files">
<expand>
<path>
<item name="Root" type="cbb8eebc:String" user="Root" />
<item name="Lab09" type="cbb8eebc:String" user="Lab09" />
</path>
<path>
<item name="Root" type="cbb8eebc:String" user="Root" />
<item name="Lab09" type="cbb8eebc:String" user="Lab09" />
<item name="war" type="cbb8eebc:String" user="war" />
</path>
</expand>
<select />
</subPane>
<subPane subId="Project Files">
<expand>
<path>
<item name="Root" type="cbb8eebc:String" user="Root" />
<item name="Lab09" type="cbb8eebc:String" user="Lab09" />
</path>
<path>
<item name="Root" type="cbb8eebc:String" user="Root" />
<item name="Lab09" type="cbb8eebc:String" user="Lab09" />
<item name="src" type="cbb8eebc:String" user="src" />
</path>
<path>
<item name="Root" type="cbb8eebc:String" user="Root" />
<item name="Lab09" type="cbb8eebc:String" user="Lab09" />
<item name="src" type="cbb8eebc:String" user="src" />
<item name="controller" type="cbb8eebc:String" user="controller" />
</path>
<path>
<item name="Root" type="cbb8eebc:String" user="Root" />
<item name="Lab09" type="cbb8eebc:String" user="Lab09" />
<item name="src" type="cbb8eebc:String" user="src" />
<item name="controller" type="cbb8eebc:String" user="controller" />
<item name="access" type="cbb8eebc:String" user="access" />
</path>
<path>
<item name="Root" type="cbb8eebc:String" user="Root" />
<item name="Lab09" type="cbb8eebc:String" user="Lab09" />
<item name="src" type="cbb8eebc:String" user="src" />
<item name="controller" type="cbb8eebc:String" user="controller" />
<item name="resources" type="cbb8eebc:String" user="resources" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="AndroidView" />
</panes> </panes>
</component> </component>
<component name="PropertiesComponent"> <component name="PropertiesComponent">
@ -612,7 +566,8 @@
<workItem from="1531449031990" duration="4443000" /> <workItem from="1531449031990" duration="4443000" />
<workItem from="1531489105867" duration="9960000" /> <workItem from="1531489105867" duration="9960000" />
<workItem from="1531523398201" duration="5772000" /> <workItem from="1531523398201" duration="5772000" />
<workItem from="1531582003807" duration="16024000" /> <workItem from="1531582003807" duration="16650000" />
<workItem from="1531668615059" duration="3791000" />
</task> </task>
<task id="LOCAL-00001" summary="Lanzamiento Inicial. Intenten crear branches para trabajar de forma segura."> <task id="LOCAL-00001" summary="Lanzamiento Inicial. Intenten crear branches para trabajar de forma segura.">
<created>1528408256446</created> <created>1528408256446</created>
@ -817,11 +772,18 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1531607908049</updated> <updated>1531607908049</updated>
</task> </task>
<option name="localTasksCounter" value="30" /> <task id="LOCAL-00030" summary="Agregado el CRUD de Materiales.&#10;Completada la funcionalidad Administración de recursos.">
<created>1531622628452</created>
<option name="number" value="00030" />
<option name="presentableId" value="LOCAL-00030" />
<option name="project" value="LOCAL" />
<updated>1531622628452</updated>
</task>
<option name="localTasksCounter" value="31" />
<servers /> <servers />
</component> </component>
<component name="TimeTrackingManager"> <component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="196811000" /> <option name="totallyTimeSpent" value="201228000" />
</component> </component>
<component name="TodoView"> <component name="TodoView">
<todo-panel id="selected-file"> <todo-panel id="selected-file">
@ -833,7 +795,8 @@
</todo-panel> </todo-panel>
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="28" y="84" width="1868" height="935" extended-state="0" /> <frame x="16" y="83" width="1868" height="935" extended-state="0" />
<editor active="true" />
<layout> <layout>
<window_info anchor="right" id="Palette" order="3" /> <window_info anchor="right" id="Palette" order="3" />
<window_info anchor="bottom" id="Event Log" order="12" sideWeight="0.50053996" side_tool="true" weight="0.31946144" /> <window_info anchor="bottom" id="Event Log" order="12" sideWeight="0.50053996" side_tool="true" weight="0.31946144" />
@ -859,7 +822,6 @@
<window_info id="Persistence" order="2" sideWeight="0.5018226" side_tool="true" weight="0.14578834" /> <window_info id="Persistence" order="2" sideWeight="0.5018226" side_tool="true" weight="0.14578834" />
<window_info active="true" content_ui="combo" id="Project" order="0" sideWeight="0.49757868" visible="true" weight="0.14902808" /> <window_info active="true" content_ui="combo" id="Project" order="0" sideWeight="0.49757868" visible="true" weight="0.14902808" />
<window_info id="Web" order="7" sideWeight="0.5024213" side_tool="true" weight="0.14902808" /> <window_info id="Web" order="7" sideWeight="0.5024213" side_tool="true" weight="0.14902808" />
<window_info anchor="bottom" id="Find" order="1" weight="0.32808718" />
<window_info anchor="right" id="Google Cloud Storage" order="4" /> <window_info anchor="right" id="Google Cloud Storage" order="4" />
<window_info anchor="right" id="Theme Preview" order="7" /> <window_info anchor="right" id="Theme Preview" order="7" />
<window_info id="Favorites" order="6" sideWeight="0.501836" side_tool="true" weight="0.14902808" /> <window_info id="Favorites" order="6" sideWeight="0.501836" side_tool="true" weight="0.14902808" />
@ -869,6 +831,7 @@
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" /> <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
<window_info anchor="bottom" id="Message" order="0" /> <window_info anchor="bottom" id="Message" order="0" />
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" /> <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
<window_info anchor="bottom" id="Find" order="1" weight="0.32808718" />
</layout> </layout>
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
@ -941,7 +904,8 @@
<MESSAGE value="Division de la aplicacion:&#10;&#10;El sector inicial esta dirigido a los clientes, mientras que las herramientos coma el CRUD solo son solo para empleados." /> <MESSAGE value="Division de la aplicacion:&#10;&#10;El sector inicial esta dirigido a los clientes, mientras que las herramientos coma el CRUD solo son solo para empleados." />
<MESSAGE value="Agregado Employee" /> <MESSAGE value="Agregado Employee" />
<MESSAGE value="Arreglo de errores." /> <MESSAGE value="Arreglo de errores." />
<option name="LAST_COMMIT_MESSAGE" value="Arreglo de errores." /> <MESSAGE value="Agregado el CRUD de Materiales.&#10;Completada la funcionalidad Administración de recursos." />
<option name="LAST_COMMIT_MESSAGE" value="Agregado el CRUD de Materiales.&#10;Completada la funcionalidad Administración de recursos." />
</component> </component>
<component name="XDebuggerManager"> <component name="XDebuggerManager">
<breakpoint-manager> <breakpoint-manager>
@ -1018,13 +982,6 @@
<entry file="file://$PROJECT_DIR$/.idea/vcs.xml"> <entry file="file://$PROJECT_DIR$/.idea/vcs.xml">
<provider selected="true" editor-type-id="text-editor" /> <provider selected="true" editor-type-id="text-editor" />
</entry> </entry>
<entry file="file://$PROJECT_DIR$/war/usersAdminIndex.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1173">
<caret line="110" selection-start-line="110" selection-end-line="110" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/.gitignore"> <entry file="file://$PROJECT_DIR$/.gitignore">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="34"> <state relative-caret-position="34">
@ -1032,129 +989,11 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$APPLICATION_CONFIG_DIR$/scratches/scratch.lua"> <entry file="file://$APPLICATION_CONFIG_DIR$/scratches/scratch.lua" />
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/src/controller/financesManagement/IncomeReport.java"> <entry file="file://$PROJECT_DIR$/src/controller/financesManagement/IncomeReport.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="374"> <state relative-caret-position="374">
<caret line="32" column="115" selection-start-line="32" selection-start-column="115" selection-end-line="32" selection-end-column="115" /> <caret line="32" column="115" selection-start-line="32" selection-start-column="115" selection-end-line="32" selection-end-column="115" />
<folding>
<element signature="method#doGet#0;class#IncomeReport#0" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Access/add.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="389">
<caret line="62" column="64" selection-start-line="62" selection-start-column="64" selection-end-line="62" selection-end-column="64" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Access/edit.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="461">
<caret line="61" column="64" selection-start-line="61" selection-start-column="64" selection-end-line="61" selection-end-column="64" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Access/index.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="351">
<caret line="62" column="64" selection-start-line="62" selection-start-column="64" selection-end-line="62" selection-end-column="64" />
<folding>
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Access/view.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="448">
<caret line="55" column="64" selection-start-line="55" selection-start-column="64" selection-end-line="55" selection-end-column="64" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Resources/add.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="317">
<caret line="60" column="64" selection-start-line="60" selection-start-column="64" selection-end-line="60" selection-end-column="64" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Resources/index.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="169">
<caret line="66" column="64" selection-start-line="66" selection-start-column="64" selection-end-line="66" selection-end-column="64" />
<folding>
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Resources/view.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="279">
<caret line="64" column="64" selection-start-line="64" selection-start-column="64" selection-end-line="64" selection-end-column="64" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/index.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-1225">
<caret line="200" column="64" selection-start-line="200" selection-start-column="64" selection-end-line="200" selection-end-column="64" />
<folding>
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Roles/add.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="489">
<caret line="71" column="53" selection-start-line="71" selection-start-column="46" selection-end-line="71" selection-end-column="53" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Roles/index.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="508">
<caret line="93" column="52" selection-start-line="93" selection-start-column="52" selection-end-line="93" selection-end-column="52" />
<folding>
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Roles/view.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="292">
<caret line="75" column="53" selection-start-line="75" selection-start-column="53" selection-end-line="75" selection-end-column="53" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Users/add.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="449">
<caret line="74" column="45" selection-start-line="74" selection-start-column="45" selection-end-line="74" selection-end-column="45" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Users/index.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="451">
<caret line="76" column="52" selection-start-line="76" selection-start-column="52" selection-end-line="76" selection-end-column="52" />
<folding>
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Users/view.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="488">
<caret line="78" column="53" selection-start-line="78" selection-start-column="53" selection-end-line="78" selection-end-column="53" />
</state> </state>
</provider> </provider>
</entry> </entry>
@ -1162,36 +1001,6 @@
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="309"> <state relative-caret-position="309">
<caret line="33" column="50" selection-start-line="33" selection-start-column="50" selection-end-line="33" selection-end-column="50" /> <caret line="33" column="50" selection-start-line="33" selection-start-column="50" selection-end-line="33" selection-end-column="50" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Employees/add.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="548">
<caret line="80" column="24" selection-start-line="80" selection-start-column="24" selection-end-line="80" selection-end-column="24" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Employees/view.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="527">
<caret line="31" column="7" selection-start-line="31" selection-start-column="7" selection-end-line="31" selection-end-column="7" />
<folding>
<element signature="n#style#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Finances/index.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="447">
<caret line="92" column="30" selection-start-line="92" selection-start-column="30" selection-end-line="92" selection-end-column="30" />
<folding>
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -1216,16 +1025,6 @@
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="309"> <state relative-caret-position="309">
<caret line="33" lean-forward="true" selection-start-line="33" selection-end-line="33" /> <caret line="33" lean-forward="true" selection-start-line="33" selection-end-line="33" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Services/add.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="17">
<caret line="1" selection-start-line="1" selection-end-line="1" />
</state> </state>
</provider> </provider>
</entry> </entry>
@ -1233,16 +1032,6 @@
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="260"> <state relative-caret-position="260">
<caret line="22" lean-forward="true" selection-start-line="22" selection-end-line="22" /> <caret line="22" lean-forward="true" selection-start-line="22" selection-end-line="22" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Services/view.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="3">
<caret line="47" column="45" lean-forward="true" selection-start-line="47" selection-start-column="45" selection-end-line="47" selection-end-column="45" />
</state> </state>
</provider> </provider>
</entry> </entry>
@ -1260,23 +1049,10 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Services/index.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="183">
<caret line="141" column="9" selection-start-line="141" selection-start-column="9" selection-end-line="141" selection-end-column="9" />
<folding>
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/controller/resourcesManagement/materials/MaterialsControllerIndex.java"> <entry file="file://$PROJECT_DIR$/src/controller/resourcesManagement/materials/MaterialsControllerIndex.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="371"> <state relative-caret-position="371">
<caret line="35" column="14" selection-start-line="35" selection-start-column="14" selection-end-line="35" selection-end-column="14" /> <caret line="35" column="14" selection-start-line="35" selection-start-column="14" selection-end-line="35" selection-end-column="14" />
<folding>
<element signature="method#doGet#0;class#MaterialsControllerIndex#0" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -1284,10 +1060,6 @@
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="648"> <state relative-caret-position="648">
<caret line="42" column="20" selection-start-line="42" selection-start-column="20" selection-end-line="42" selection-end-column="20" /> <caret line="42" column="20" selection-start-line="42" selection-start-column="20" selection-end-line="42" selection-end-column="20" />
<folding>
<element signature="imports" expanded="true" />
<element signature="method#doGet#0;class#MaterialsControllerDelete#0" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -1295,9 +1067,6 @@
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="739"> <state relative-caret-position="739">
<caret line="64" column="116" selection-start-line="64" selection-start-column="116" selection-end-line="64" selection-end-column="116" /> <caret line="64" column="116" selection-start-line="64" selection-start-column="116" selection-end-line="64" selection-end-column="116" />
<folding>
<element signature="method#doGet#0;class#MaterialsControllerAdd#0" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -1305,74 +1074,262 @@
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="262"> <state relative-caret-position="262">
<caret line="26" lean-forward="true" selection-start-line="26" selection-end-line="26" /> <caret line="26" lean-forward="true" selection-start-line="26" selection-end-line="26" />
<folding>
<element signature="imports" expanded="true" />
<element signature="method#doPost#0;class#EmployeesControllerView#0" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/controller/resourcesManagement/materials/MaterialsControllerView.java"> <entry file="file://$PROJECT_DIR$/src/controller/resourcesManagement/materials/MaterialsControllerView.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="430"> <state relative-caret-position="884">
<caret line="52" column="97" selection-start-line="52" selection-start-column="86" selection-end-line="52" selection-end-column="97" /> <caret line="52" column="97" selection-start-line="52" selection-start-column="86" selection-end-line="52" selection-end-column="97" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/usersAdminIndex.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="764">
<caret line="110" selection-start-line="110" selection-end-line="110" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/index.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="197">
<caret line="175" column="100" selection-start-line="175" selection-start-column="100" selection-end-line="175" selection-end-column="100" />
<folding> <folding>
<element signature="method#doGet#0;class#MaterialsControllerView#0" /> <element signature="n#style#0;n#li#0;n#ul#0;n#div#0;n#div#0;n#div#0;n#nav#1;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#a#0;n#li#0;n#ul#0;n#div#0;n#div#0;n#div#0;n#nav#1;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Materials/add.jsp"> <entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Access/add.jsp">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="540"> <state relative-caret-position="234">
<caret line="122" column="25" selection-start-line="122" selection-start-column="25" selection-end-line="122" selection-end-column="25" /> <caret line="37" column="100" selection-start-line="37" selection-start-column="100" selection-end-line="37" selection-end-column="100" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Materials/View.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1260">
<caret line="141" column="141" selection-start-line="141" selection-start-column="141" selection-end-line="141" selection-end-column="141" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Materials/index.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="496">
<caret line="95" column="52" selection-start-line="95" selection-start-column="52" selection-end-line="95" selection-end-column="52" />
<folding> <folding>
<element signature="n#style#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#a#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" /> <element signature="n#style#0;n#a#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Access/edit.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="230">
<caret line="36" column="100" selection-start-line="36" selection-start-column="100" selection-end-line="36" selection-end-column="100" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Access/index.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="339">
<caret line="39" column="43" lean-forward="true" selection-start-line="39" selection-start-column="43" selection-end-line="39" selection-end-column="43" />
<folding>
<element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" /> <element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#span#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#img#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#ul#0;n#div#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#li#0;n#ul#0;n#div#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#a#0;n#li#0;n#ul#0;n#div#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#li#1;n#ul#0;n#div#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#li#0;n#ul#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#a#0;n#li#0;n#ul#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#svg#0;n#a#0;n#li#0;n#ul#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#1;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#span#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" /> <element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Access/view.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="574">
<caret line="104" column="138" selection-start-line="104" selection-start-column="138" selection-end-line="104" selection-end-column="138" />
<folding>
<element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Employees/add.jsp">
<provider selected="true" editor-type-id="text-editor">
<state>
<folding>
<element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Employees/index.jsp"> <entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Employees/index.jsp">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="34"> <state>
<caret line="2" selection-start-line="2" selection-end-line="2" />
<folding> <folding>
<element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" /> <element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Employees/view.jsp">
<provider selected="true" editor-type-id="text-editor">
<state>
<folding>
<element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Finances/index.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-803">
<caret line="52" column="124" selection-start-line="52" selection-start-column="124" selection-end-line="52" selection-end-column="124" />
<folding>
<element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#img#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Materials/add.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="545">
<caret line="122" column="141" selection-start-line="122" selection-start-column="141" selection-end-line="122" selection-end-column="141" />
<folding>
<element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Materials/index.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="47">
<caret line="130" column="176" selection-start-line="130" selection-start-column="176" selection-end-line="130" selection-end-column="176" />
<folding>
<element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Materials/View.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-1173">
<caret line="39" column="8" selection-start-line="39" selection-start-column="8" selection-end-line="39" selection-end-column="8" />
<folding>
<element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Resources/index.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="421">
<caret line="167" column="106" selection-start-line="167" selection-start-column="106" selection-end-line="167" selection-end-column="106" />
<folding>
<element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Resources/add.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="364">
<caret line="105" column="54" selection-start-line="105" selection-start-column="54" selection-end-line="105" selection-end-column="54" />
<folding>
<element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Resources/view.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="540">
<caret line="142" column="141" selection-start-line="142" selection-start-column="141" selection-end-line="142" selection-end-column="141" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Roles/add.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-196">
<caret line="136" column="12" selection-start-line="136" selection-start-column="12" selection-end-line="136" selection-end-column="12" />
<folding>
<element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Roles/index.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-21">
<caret line="187" column="104" selection-start-line="187" selection-start-column="104" selection-end-line="187" selection-end-column="104" />
<folding>
<element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Roles/view.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="540">
<caret line="164" column="137" selection-start-line="164" selection-start-column="137" selection-end-line="164" selection-end-column="137" />
<folding>
<element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Services/add.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="540">
<caret line="121" column="140" selection-start-line="121" selection-start-column="140" selection-end-line="121" selection-end-column="140" />
<folding>
<element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Services/index.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="421">
<caret line="155" column="129" selection-start-line="155" selection-start-column="129" selection-end-line="155" selection-end-column="129" />
<folding>
<element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Services/view.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="408">
<caret line="133" column="18" selection-start-line="133" selection-start-column="18" selection-end-line="133" selection-end-column="18" />
<folding>
<element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Users/add.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="404">
<caret line="138" column="137" selection-start-line="138" selection-start-column="137" selection-end-line="138" selection-end-column="137" />
<folding>
<element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Users/index.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="421">
<caret line="158" column="118" selection-start-line="158" selection-start-column="118" selection-end-line="158" selection-end-column="118" />
<folding>
<element signature="n#style#0;n#div#0;n#div#0;n#nav#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/war/WEB-INF/View/Users/view.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="438">
<caret line="167" lean-forward="true" selection-start-line="167" selection-end-line="167" />
</state>
</provider>
</entry>
</component> </component>
<component name="masterDetails"> <component name="masterDetails">
<states> <states>

View File

@ -12,7 +12,7 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Add an access - Hotel Services</title> <title>Añadir un Acceso - Hotel Services</title>
<meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com"> <meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com">
<script src="https://apis.google.com/js/platform.js" async defer></script> <script src="https://apis.google.com/js/platform.js" async defer></script>
@ -35,7 +35,7 @@
<div class="nav-wrapper" style="max-height: 64px"> <div class="nav-wrapper" style="max-height: 64px">
<a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
&nbsp;&nbsp;Empleados &nbsp;&nbsp;Empleados
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= user.getName()%> <%= user.getName()%>
@ -48,7 +48,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">
@ -88,16 +88,16 @@
<div class="nav-content" style="background-color: #3949a3"> <div class="nav-content" style="background-color: #3949a3">
<ul class="tabs tabs-transparent"> <ul class="tabs tabs-transparent">
<li class="tab"><a href="../roles">Roles</a></li> <li class="tab"><a href="../roles">Roles</a></li>
<li class="tab"><a href="../users">Users</a></li> <li class="tab"><a href="../users">Usuarios</a></li>
<li class="tab"><a href="../resources">Resources</a></li> <li class="tab"><a href="../resources">Recursos</a></li>
<li class="tab active"><a class="active" href="../access">Access</a></li> <li class="tab active"><a class="active" href="../access">Accesos</a></li>
</ul> </ul>
</div> </div>
</nav> </nav>
<div class="container"> <div class="container">
<br /> <br />
<span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">Add an Access</span> <span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">Añadir un Acceso</span>
<br /> <br />
<br /> <br />
@ -107,7 +107,7 @@
<i class="material-icons large" style=" color: #3f51b5">info_outline</i> <i class="material-icons large" style=" color: #3f51b5">info_outline</i>
</div> </div>
<div style="font-size: x-large; clear: right; min-height: 87px;"> <div style="font-size: x-large; clear: right; min-height: 87px;">
The admin Role has full access by default. El "admin" tiene acceso total.
</div> </div>
</div> </div>
<br /> <br />
@ -120,7 +120,7 @@
<input type="hidden" name="info" value="agregar"/> <input type="hidden" name="info" value="agregar"/>
Role: Rol:
<% if(roles.size() > 0) {%> <% if(roles.size() > 0) {%>
<select id="formRole" name="rolesl" class="browser-default" required oninput="accessExists()"> <select id="formRole" name="rolesl" class="browser-default" required oninput="accessExists()">
<option value="!" disabled selected>Choose a Role</option> <option value="!" disabled selected>Choose a Role</option>
@ -131,16 +131,16 @@
</select> </select>
<% } else {%> <% } else {%>
<br /> <br />
<span style="color: darkorange; font-size: x-large">No Roles registered.</span> <span style="color: darkorange; font-size: x-large">No hay Roles registrados.</span>
<script>buttonDisabled = true</script> <script>buttonDisabled = true</script>
<% } %> <% } %>
<br /> <br />
Resource: Recurso:
<% if (resourses.size() > 0) { %> <% if (resourses.size() > 0) { %>
<select id="formResource" name="resourcesl" class="browser-default" required oninput="accessExists()"> <select id="formResource" name="resourcesl" class="browser-default" required oninput="accessExists()">
<option value="!" disabled selected>Choose a Resource</option> <option value="!" disabled selected>Escoja un Recurso.</option>
<% for (Resource res: resourses) { %> <% for (Resource res: resourses) { %>
<option value="<%= res.getKey() %>"><%= res.getUrl() %></option> <option value="<%= res.getKey() %>"><%= res.getUrl() %></option>
@ -149,13 +149,13 @@
</select> </select>
<% } else { %> <% } else { %>
<br /> <br />
<span style="color: darkorange; font-size: x-large">No Resources registered.</span> <span style="color: darkorange; font-size: x-large">No hay Recursos disponibles.</span>
<script>buttonDisabled = true</script> <script>buttonDisabled = true</script>
<% } %> <% } %>
<br /> <br />
<button id="sendButton" class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Submit <button id="sendButton" class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Crear
<i class="material-icons right">send</i> <i class="material-icons right">send</i>
</button> </button>
@ -163,7 +163,7 @@
<hr /> <hr />
<br /> <br />
<a href="../access" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Go Back</a> <a href="../access" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Volver</a>
</div> </div>

View File

@ -13,7 +13,7 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Edit an Access - Hotel Services</title> <title>Editar un Acceso - Hotel Services</title>
<script src="https://apis.google.com/js/platform.js" async defer></script> <script src="https://apis.google.com/js/platform.js" async defer></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
@ -34,7 +34,7 @@
<div class="nav-wrapper" style="max-height: 64px"> <div class="nav-wrapper" style="max-height: 64px">
<a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
&nbsp;&nbsp;Empleados &nbsp;&nbsp;Empleados
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= user.getName()%> <%= user.getName()%>
@ -47,7 +47,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesion</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">
@ -87,16 +87,16 @@
<div class="nav-content" style="background-color: #3949a3"> <div class="nav-content" style="background-color: #3949a3">
<ul class="tabs tabs-transparent"> <ul class="tabs tabs-transparent">
<li class="tab"><a href="../roles">Roles</a></li> <li class="tab"><a href="../roles">Roles</a></li>
<li class="tab"><a href="../users">Users</a></li> <li class="tab"><a href="../users">Usuarios</a></li>
<li class="tab"><a href="../resources">Resources</a></li> <li class="tab"><a href="../resources">Recursos</a></li>
<li class="tab active"><a class="active" href="../access">Access</a></li> <li class="tab active"><a class="active" href="../access">Accesos</a></li>
</ul> </ul>
</div> </div>
</nav> </nav>
<div class="container"> <div class="container">
<br /> <br />
<span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">Edit an Access</span> <span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">Editar un Acceso</span>
<br /> <br />
<br /> <br />
@ -106,9 +106,9 @@
<input type="hidden" name="info" value="editar"/> <input type="hidden" name="info" value="editar"/>
New Role: Nuevo Rol:
<select id="formRole" name="rolesl" class="browser-default" oninput="accessExists()" required> <select id="formRole" name="rolesl" class="browser-default" oninput="accessExists()" required>
<option value="!" disabled selected>Choose a Role</option> <option value="!" disabled selected>Escoje un Rol</option>
<% if (roles.size() > 0) { %> <% if (roles.size() > 0) { %>
<% for (Role r: roles) { %> <% for (Role r: roles) { %>
@ -118,14 +118,14 @@
<% } %> <% } %>
<% } else { %> <% } else { %>
<span class="heading">There are no Roles.</span> <span class="heading">No hay Roles.</span>
<% } %> <% } %>
</select> </select>
<br /> <br />
New Resource: Nuevo Recurso:
<select id="formResource" name="resourcesl" class="browser-default" oninput="accessExists()" required> <select id="formResource" name="resourcesl" class="browser-default" oninput="accessExists()" required>
<option value="!" disabled selected>Choose a Resource</option> <option value="!" disabled selected>Escoge un Recurso</option>
<% if (resources.size() > 0) { %> <% if (resources.size() > 0) { %>
<% for (Resource res: resources) { %> <% for (Resource res: resources) { %>
@ -135,11 +135,11 @@
<% } %> <% } %>
<% } else { %> <% } else { %>
<span class="heading">There are no Access.</span> <span class="heading">No hay Recursos.</span>
<% } %> <% } %>
</select><br /> </select><br />
<button id="sendButton" class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Edit <button id="sendButton" class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Editar
<i class="material-icons right">send</i> <i class="material-icons right">send</i>
</button> </button>
@ -147,7 +147,7 @@
<hr /> <hr />
<br /> <br />
<a href="../access" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Go Back</a> <a href="../access" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Volver</a>
</div> </div>

View File

@ -12,7 +12,7 @@
<html> <html>
<head> <head>
<title>Access - Hotel Services</title> <title>Accesos - Hotel Services</title>
<meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com"> <meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com">
@ -35,7 +35,7 @@
<div class="nav-wrapper" style="max-height: 64px"> <div class="nav-wrapper" style="max-height: 64px">
<a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
&nbsp;&nbsp;Empleados &nbsp;&nbsp;Empleados
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= usuario.getName()%> <%= usuario.getName()%>
@ -48,7 +48,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">

View File

@ -10,7 +10,7 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title> <title>Ver un Acceso</title>
<link type="text/css" rel="stylesheet" href="../../css/Diseno.css"> <link type="text/css" rel="stylesheet" href="../../css/Diseno.css">
<link type="text/css" rel="stylesheet" href="../../css/materialize.min.css"> <link type="text/css" rel="stylesheet" href="../../css/materialize.min.css">
@ -28,7 +28,7 @@
<div class="nav-wrapper" style="max-height: 64px"> <div class="nav-wrapper" style="max-height: 64px">
<a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
&nbsp;&nbsp;Empleados &nbsp;&nbsp;Empleados
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= user.getName()%> <%= user.getName()%>
@ -41,7 +41,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">
@ -81,28 +81,28 @@
<div class="nav-content" style="background-color: #3949a3"> <div class="nav-content" style="background-color: #3949a3">
<ul class="tabs tabs-transparent"> <ul class="tabs tabs-transparent">
<li class="tab"><a href="../roles">Roles</a></li> <li class="tab"><a href="../roles">Roles</a></li>
<li class="tab"><a href="../users">Users</a></li> <li class="tab"><a href="../users">Usuarios</a></li>
<li class="tab"><a href="../resources">Resources</a></li> <li class="tab"><a href="../resources">Recursos</a></li>
<li class="tab active"><a class="active" href="../access">Access</a></li> <li class="tab active"><a class="active" href="../access">Accesos</a></li>
</ul> </ul>
</div> </div>
</nav> </nav>
<div class="container"> <div class="container">
<br /> <br />
<span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">View an Access</span> <span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">Ver un Acceso</span>
<br /> <br />
<br /> <br />
<div style="font-size: x-large"> <div style="font-size: x-large">
ID: <%=access.getId()%><br /> ID: <%=access.getId()%><br />
Role: <%=access.getRoleName()%><br /> Rol: <%=access.getRoleName()%><br />
Resource: <%= access.getResourceName() %> Recurso: <%= access.getResourceName() %>
</div> </div>
<hr/> <hr/>
<br /> <br />
<a href="../access" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Go Back</a> <a href="../access" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Volver</a>
</div> </div>

View File

@ -11,7 +11,7 @@
<% User user = (User) request.getAttribute("User"); %> <% User user = (User) request.getAttribute("User"); %>
<html lang="es"> <html lang="es">
<head> <head>
<title>Add a Employee - Hotel Services</title> <title>Añadir un Empleado - Hotel Services</title>
<meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com"> <meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com">
@ -34,7 +34,7 @@
<div class="nav-wrapper" style="max-height: 64px"> <div class="nav-wrapper" style="max-height: 64px">
<a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
&nbsp;&nbsp;Empleados &nbsp;&nbsp;Empleados
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= user.getName()%> <%= user.getName()%>
@ -47,7 +47,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">
@ -95,24 +95,24 @@
<div class="container"> <div class="container">
<br /> <br />
<span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">Create an Employee</span> <span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">Crear un Empleado</span>
<br /> <br />
<br /> <br />
<form method="post" action="./add"> <form method="post" action="./add">
<input name="action" value="create" type="hidden"> <input name="action" value="create" type="hidden">
Name of the Employee:<br> Nombre del Empleado:<br>
<input name="Name" placeholder="Name" required=""><br> <input name="Name" placeholder="Nombre" required><br>
Dni of the Employee:<br> Dni del Empleado:<br>
<input name="Dni" placeholder="Dni" pattern="[0-9]{8}" title="Ingrese su numero de DNI(8 digitos)" required=""><br> <input name="Dni" placeholder="Dni" pattern="[0-9]{8}" title="Ingrese su numero de DNI(8 digitos)" required><br>
Email of the Employee:<br> Correo electrónico del Empleado:<br>
<input name="Email" placeholder="Email" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,3}$" title="caracteres@nombre del dominio" required=""><br> <input name="Email" placeholder="Correo Electrónico" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,3}$" title="caracteres@nombre del dominio" required=""><br>
Phone of the Employee:<br> Teléfono del Empleado:<br>
<input name="Phone" placeholder="Phone" type="number" pattern="[0-9]{6,9}" title="Ingrese un numero de 6 o 9 digitos" required=""><br> <input name="Phone" placeholder="Teléfono" type="number" pattern="[0-9]{6,9}" title="Ingrese un numero de 6 o 9 digitos" required=""><br>
<input type="hidden" name="userId" value="<%= user.getId() %>"> <input type="hidden" name="userId" value="<%= user.getId() %>">
@ -123,7 +123,7 @@
</form> </form>
<hr /> <hr />
<br /> <br />
<a href="../employees" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Go Back</a> <a href="../employees" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Volver</a>
</div> </div>

View File

@ -38,7 +38,7 @@
<div class="nav-wrapper" style="max-height: 64px"> <div class="nav-wrapper" style="max-height: 64px">
<a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
&nbsp;&nbsp;Empleados &nbsp;&nbsp;Empleados
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= usuario.getName()%> <%= usuario.getName()%>
@ -51,7 +51,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">

View File

@ -36,7 +36,7 @@
<div class="nav-wrapper" style="max-height: 64px"> <div class="nav-wrapper" style="max-height: 64px">
<a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
&nbsp;&nbsp;Empleados &nbsp;&nbsp;Empleados
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= usuario.getName()%> <%= usuario.getName()%>
@ -49,7 +49,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">
@ -97,7 +97,7 @@
<div class="container"> <div class="container">
<br /> <br />
<span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif"><%=action%> a Service</span> <span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif"><%=action%> un Servicio</span>
<br /> <br />
<br /> <br />
@ -108,20 +108,20 @@
<input name="key" value="<%=employee.getKey()%>" type="hidden"> <input name="key" value="<%=employee.getKey()%>" type="hidden">
<input name="action" value="update" type="hidden"> <input name="action" value="update" type="hidden">
Name of the Service:<br /> Nombre del Servicio:<br />
<input name="Name" value="<%=employee.getName()%>" placeholder="Name" required><br/> <input name="Name" value="<%=employee.getName()%>" placeholder="Nombre" required><br/>
DNI of the Employee:<br /> DNI del Empleado:<br />
<input name="Dni" type="number" min="0" required placeholder="Price" value="<%= employee.getDni() %>"><br /> <input name="Dni" type="number" min="0" required placeholder="Dni" value="<%= employee.getDni() %>"><br />
Email of the Service:<br /> Correo electrónico del Empleado:<br />
<input name="Email" type="email" placeholder="Description" required value="<%= employee.getEmail() %>"><br /> <input name="Email" type="email" placeholder="Description" required value="<%= employee.getEmail() %>"><br />
Phone of the Employee:<br> Teléfono del Empleado:<br>
<input name="Phone" placeholder="Phone" type="number" pattern="[0-9]{6,9}" title="Ingrese un numero de 6 o 9 digitos" <input name="Phone" placeholder="Teléfono" type="number" pattern="[0-9]{6,9}" title="Ingrese un numero de 6 o 9 digitos"
required="" value="<%= employee.getPhone() %>"> required="" value="<%= employee.getPhone() %>">
<button class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Edit <button class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Editar
<i class="material-icons right">send</i> <i class="material-icons right">send</i>
</button> </button>
@ -131,10 +131,10 @@
<div style="font-size: x-large"> <div style="font-size: x-large">
Name: <%= employee.getName() %><br /> Nombre: <%= employee.getName() %><br />
Dni: <%= employee.getDni() %><br /> Dni: <%= employee.getDni() %><br />
Email: <%= employee.getEmail() %><br /> Correo electrónico: <%= employee.getEmail() %><br />
Created by: <a style="cursor:pointer;" onclick="postRedirect('/e/users/view',{action:'viewRedirect',userID:'<%=employee.getCreatorUserId()%>'})"><%= employee.getCreatorUserName() %></a> Creado por: <a style="cursor:pointer;" onclick="postRedirect('/e/users/view',{action:'viewRedirect',userID:'<%=employee.getCreatorUserId()%>'})"><%= employee.getCreatorUserName() %></a>
</div> </div>
@ -142,7 +142,7 @@
<hr /> <hr />
<br /> <br />
<a href="../employees" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Go Back</a> <a href="../employees" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Volver</a>
</div> </div>

View File

@ -14,7 +14,7 @@
%> %>
<html lang="es"> <html lang="es">
<head> <head>
<title>Resources - Hotel Services</title> <title>Finanzas - Hotel Services</title>
<meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com"> <meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com">
@ -37,7 +37,7 @@
<div class="nav-wrapper" style="max-height: 64px"> <div class="nav-wrapper" style="max-height: 64px">
<a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
&nbsp;&nbsp;Empleados &nbsp;&nbsp;Empleados
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= usuario.getName()%> <%= usuario.getName()%>
@ -50,7 +50,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">

View File

@ -37,7 +37,7 @@
<div class="nav-wrapper" style="max-height: 64px"> <div class="nav-wrapper" style="max-height: 64px">
<a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
&nbsp;&nbsp;Empleados &nbsp;&nbsp;Empleados
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= usuario.getName()%> <%= usuario.getName()%>
@ -50,7 +50,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">

View File

@ -10,7 +10,7 @@
<% User user = (User) request.getAttribute("User"); %> <% User user = (User) request.getAttribute("User"); %>
<html lang="es"> <html lang="es">
<head> <head>
<title>Add a Service - Hotel Services</title> <title>Añadir un Material - Hotel Services</title>
<meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com"> <meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com">
@ -33,7 +33,7 @@
<div class="nav-wrapper" style="max-height: 64px"> <div class="nav-wrapper" style="max-height: 64px">
<a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
&nbsp;&nbsp;Empleados &nbsp;&nbsp;Empleados
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= user.getName()%> <%= user.getName()%>
@ -46,7 +46,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">
@ -113,14 +113,14 @@
Unidad (ejm. Kg, Litros):<br /> Unidad (ejm. Kg, Litros):<br />
<input name="Unity" placeholder="Unidad" required><br /> <input name="Unity" placeholder="Unidad" required><br />
<button class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Create <button class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Crear
<i class="material-icons right">send</i> <i class="material-icons right">send</i>
</button> </button>
</form> </form>
<hr /> <hr />
<br /> <br />
<a href="../materials" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Go Back</a> <a href="../materials" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Volver</a>
</div> </div>

View File

@ -39,7 +39,7 @@
<div class="nav-wrapper" style="max-height: 64px"> <div class="nav-wrapper" style="max-height: 64px">
<a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
&nbsp;&nbsp;Empleados &nbsp;&nbsp;Empleados
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= usuario.getName()%> <%= usuario.getName()%>
@ -52,7 +52,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">
@ -128,7 +128,7 @@
<br /> <br />
<br /> <br />
<a class="waves-effect waves-light btn whiteLink indigo darken-1" onclick="postRedirect('/e/materials/add',{action:'redirect'})"><i class="material-icons left">add</i>Create</a> <a class="waves-effect waves-light btn whiteLink indigo darken-1" onclick="postRedirect('/e/materials/add',{action:'redirect'})"><i class="material-icons left">add</i>Crear</a>
<br /> <br />
<br /> <br />

View File

@ -11,7 +11,7 @@
<% User user = (User) request.getAttribute("User"); %> <% User user = (User) request.getAttribute("User"); %>
<html lang="es"> <html lang="es">
<head> <head>
<title>Add a Resource - Hotel Services</title> <title>Añadir un Recurso - Hotel Services</title>
<meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com"> <meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com">
@ -33,7 +33,7 @@
<div class="nav-wrapper" style="max-height: 64px"> <div class="nav-wrapper" style="max-height: 64px">
<a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
&nbsp;&nbsp;Empleados &nbsp;&nbsp;Empleados
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= user.getName()%> <%= user.getName()%>
@ -46,7 +46,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">
@ -86,25 +86,25 @@
<div class="nav-content" style="background-color: #3949a3"> <div class="nav-content" style="background-color: #3949a3">
<ul class="tabs tabs-transparent"> <ul class="tabs tabs-transparent">
<li class="tab"><a href="../roles">Roles</a></li> <li class="tab"><a href="../roles">Roles</a></li>
<li class="tab"><a href="../users">Users</a></li> <li class="tab"><a href="../users">Usuarios</a></li>
<li class="tab active"><a class="active" href="#">Resources</a></li> <li class="tab active"><a class="active" href="#">Recursos</a></li>
<li class="tab"><a href="../access">Access</a></li> <li class="tab"><a href="../access">Accesos</a></li>
</ul> </ul>
</div> </div>
</nav> </nav>
<div class="container"> <div class="container">
<br /> <br />
<span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">Add a Resource</span> <span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">Añadir un Recurso</span>
<br /> <br />
<br /> <br />
<form method="post" action="./add"> <form method="post" action="./add">
<input name="action" value="create" type="hidden"> <input name="action" value="create" type="hidden">
Uri of the Resource:<br /> URI del Recurso:<br />
<input name="url" placeholder="Url of the Resource" required><br /> <input name="url" placeholder="URI del Recurso" required><br />
Status of the Resource:<br /> Estado del Recurso:<br />
<select name="status" class="browser-default" required> <select name="status" class="browser-default" required>
<option value="" disabled selected>Choose a status</option> <option value="" disabled selected>Choose a status</option>
<option value="true">true</option> <option value="true">true</option>
@ -112,14 +112,14 @@
</select> </select>
<br /> <br />
<button class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Submit <button class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Crear
<i class="material-icons right">send</i> <i class="material-icons right">send</i>
</button> </button>
</form> </form>
<hr /> <hr />
<br /> <br />
<a href="../resources" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Go Back</a> <a href="../resources" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Volver</a>
</div> </div>

View File

@ -16,7 +16,7 @@
%> %>
<html lang="es"> <html lang="es">
<head> <head>
<title>Resources - Hotel Services</title> <title>Recursos - Hotel Services</title>
<meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com"> <meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com">
@ -39,7 +39,7 @@
<div class="nav-wrapper" style="max-height: 64px"> <div class="nav-wrapper" style="max-height: 64px">
<a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
&nbsp;&nbsp;Empleados &nbsp;&nbsp;Empleados
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= usuario.getName()%> <%= usuario.getName()%>
@ -52,7 +52,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">
@ -92,16 +92,16 @@
<div class="nav-content" style="background-color: #3949a3"> <div class="nav-content" style="background-color: #3949a3">
<ul class="tabs tabs-transparent"> <ul class="tabs tabs-transparent">
<li class="tab"><a href="./roles">Roles</a></li> <li class="tab"><a href="./roles">Roles</a></li>
<li class="tab"><a href="./users">Users</a></li> <li class="tab"><a href="./users">Usuarios</a></li>
<li class="tab active"><a class="active" href="#">Resources</a></li> <li class="tab active"><a class="active" href="#">Recursos</a></li>
<li class="tab"><a href="./access">Access</a></li> <li class="tab"><a href="./access">Accesos</a></li>
</ul> </ul>
</div> </div>
</nav> </nav>
<div class="container"> <div class="container">
<br /> <br />
<span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">Resources</span> <span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">Recursos</span>
<br /> <br />
<br /> <br />
@ -137,9 +137,9 @@
<thead> <thead>
<tr> <tr>
<td>URI</td> <td>URI</td>
<td>Status</td> <td>Estado</td>
<td>Date created</td> <td>Fecha de creación</td>
<td>Actions</td> <td>Acciones</td>
</tr> </tr>
</thead> </thead>
@ -163,9 +163,9 @@
<td><%= resource.getStatus()%></td> <td><%= resource.getStatus()%></td>
<td><%= resource.getCreateDate()%></td> <td><%= resource.getCreateDate()%></td>
<td> <td>
<a class="postLink" onclick="postRedirect('resources/view',{action:'viewRedirect',key:'<%=key%>'})">View</a> <a class="postLink" onclick="postRedirect('resources/view',{action:'viewRedirect',key:'<%=key%>'})">Ver</a>
| <a class="postLink" onclick="postRedirect('resources/view',{action:'editRedirect',key:'<%=key%>'})">Edit</a> | <a class="postLink" onclick="postRedirect('resources/view',{action:'editRedirect',key:'<%=key%>'})">Editar</a>
| <a class="postLink" onclick="postRedirect('resources/delete',{key:'<%=key%>'})">Delete</a></td> | <a class="postLink" onclick="postRedirect('resources/delete',{key:'<%=key%>'})">Eliminar</a></td>
</tr> </tr>
<% } %> <% } %>

View File

@ -15,7 +15,7 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html> <html>
<head> <head>
<title><%=action%> a User - Hotel Services</title> <title><%=action%> un Usuario - Hotel Services</title>
<meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com"> <meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com">
@ -50,7 +50,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">
@ -90,16 +90,16 @@
<div class="nav-content" style="background-color: #3949a3"> <div class="nav-content" style="background-color: #3949a3">
<ul class="tabs tabs-transparent"> <ul class="tabs tabs-transparent">
<li class="tab"><a href="../roles">Roles</a></li> <li class="tab"><a href="../roles">Roles</a></li>
<li class="tab"><a href="../users">Users</a></li> <li class="tab"><a href="../users">Usuarios</a></li>
<li class="tab active"><a class="active" href="#">Resources</a></li> <li class="tab active"><a class="active" href="#">Recursos</a></li>
<li class="tab"><a href="../access">Access</a></li> <li class="tab"><a href="../access">Accesos</a></li>
</ul> </ul>
</div> </div>
</nav> </nav>
<div class="container"> <div class="container">
<br /> <br />
<span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif"><%=action%> a Resource</span> <span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif"><%=action%> un Recurso</span>
<br /> <br />
<br /> <br />
@ -110,10 +110,10 @@
<input name="key" value="<%=resource.getKey()%>" type="hidden"> <input name="key" value="<%=resource.getKey()%>" type="hidden">
<input name="action" value="update" type="hidden"> <input name="action" value="update" type="hidden">
Uri:<br /> URI:<br />
<input name="url" value="<%=resource.getUrl()%>" placeholder="url" required><br/> <input name="url" value="<%=resource.getUrl()%>" placeholder="URI" required><br/>
<br/> <br/>
Status:<br /> Estado:<br />
<select name="status" class="browser-default" required> <select name="status" class="browser-default" required>
<option value="" disabled selected>Choose a status</option> <option value="" disabled selected>Choose a status</option>
<option value="true">true</option> <option value="true">true</option>
@ -121,7 +121,7 @@
</select> </select>
<br /> <br />
<button class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Submit <button class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Editar
<i class="material-icons right">send</i> <i class="material-icons right">send</i>
</button> </button>
@ -140,7 +140,7 @@
<hr /> <hr />
<br /> <br />
<a href="../resources" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Go Back</a> <a href="../resources" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Volver</a>
</div> </div>

View File

@ -10,7 +10,7 @@
<% User user = (User) request.getAttribute("User"); %> <% User user = (User) request.getAttribute("User"); %>
<html lang="es"> <html lang="es">
<head> <head>
<title>Add a Role - Hotel Services</title> <title>Añadir un Rol - Hotel Services</title>
<meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com"> <meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com">
@ -32,7 +32,7 @@
<div class="nav-wrapper" style="max-height: 64px"> <div class="nav-wrapper" style="max-height: 64px">
<a class="whiteLink hide-on-small-only" href="#" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="#" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
&nbsp;&nbsp;Empleados &nbsp;&nbsp;Empleados
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= user.getName()%> <%= user.getName()%>
@ -45,7 +45,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">
@ -85,25 +85,25 @@
<div class="nav-content" style="background-color: #3949a3"> <div class="nav-content" style="background-color: #3949a3">
<ul class="tabs tabs-transparent"> <ul class="tabs tabs-transparent">
<li class="tab active"><a class="active" href="../roles">Roles</a></li> <li class="tab active"><a class="active" href="../roles">Roles</a></li>
<li class="tab"><a href="../users">Users</a></li> <li class="tab"><a href="../users">Usuarios</a></li>
<li class="tab"><a href="../resources">Resources</a></li> <li class="tab"><a href="../resources">Recursos</a></li>
<li class="tab"><a href="../access">Access</a></li> <li class="tab"><a href="../access">Accesos</a></li>
</ul> </ul>
</div> </div>
</nav> </nav>
<div class="container"> <div class="container">
<br /> <br />
<span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">Create a Role</span> <span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">Crear un Role</span>
<br /> <br />
<br /> <br />
<form method="post" action="./add"> <form method="post" action="./add">
<input name="action" value="create" type="hidden"> <input name="action" value="create" type="hidden">
Name of the Role:<br /> Nombre del Rol:<br />
<input name="roleName" placeholder="Name of the Role" required><br /> <input name="roleName" placeholder="Nombre del Rol" required><br />
Status of the Role:<br /> Estado del Rol:<br />
<br /> <br />
<!--<select name="roleStatus" class="browser-default" required> <!--<select name="roleStatus" class="browser-default" required>
<option value="" disabled selected>Choose a status</option> <option value="" disabled selected>Choose a status</option>
@ -112,15 +112,15 @@
</select>--> </select>-->
<div class="switch" id="siwtchContainer"> <div class="switch" id="siwtchContainer">
<label> <label>
False Falso
<input id="sivth" type="checkbox" name="roleStatus" value="false"> <input id="sivth" type="checkbox" name="roleStatus" value="false">
<span class="lever"></span> <span class="lever"></span>
True Verdadero
</label> </label>
</div> </div>
<br /> <br />
<button class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Submit <button class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Crear
<i class="material-icons right">send</i> <i class="material-icons right">send</i>
</button> </button>
@ -134,15 +134,13 @@
} else { } else {
elSwitch.value = "false"; elSwitch.value = "false";
} }
console.log("anumaaa -> " + elSwitch.value);
} }
</script> </script>
</form> </form>
<hr /> <hr />
<br /> <br />
<a href="../roles" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Go Back</a> <a href="../roles" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Volver</a>
</div> </div>

View File

@ -16,7 +16,7 @@
<html lang="es"> <html lang="es">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Home - Hotel Service</title> <title>Roles - Hotel Service</title>
<!--<link type="text/css" rel="stylesheet" href="./css/Diseno.css">--> <!--<link type="text/css" rel="stylesheet" href="./css/Diseno.css">-->
<link type="text/css" rel="stylesheet" href="../css/materialize.min.css"> <link type="text/css" rel="stylesheet" href="../css/materialize.min.css">
@ -54,7 +54,7 @@
<div class="nav-wrapper" style="max-height: 64px"> <div class="nav-wrapper" style="max-height: 64px">
<a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
&nbsp;&nbsp;Empleados &nbsp;&nbsp;Empleados
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= usuario.getName()%> <%= usuario.getName()%>
@ -67,7 +67,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">
@ -107,9 +107,9 @@
<div class="nav-content" style="background-color: #3949a3"> <div class="nav-content" style="background-color: #3949a3">
<ul class="tabs tabs-transparent"> <ul class="tabs tabs-transparent">
<li class="tab active"><a class="active" href="#">Roles</a></li> <li class="tab active"><a class="active" href="#">Roles</a></li>
<li class="tab"><a href="./users">Users</a></li> <li class="tab"><a href="./users">Usuarios</a></li>
<li class="tab"><a href="./resources">Resources</a></li> <li class="tab"><a href="./resources">Recursos</a></li>
<li class="tab"><a href="./access">Access</a></li> <li class="tab"><a href="./access">Accesos</a></li>
</ul> </ul>
</div> </div>
</nav> </nav>
@ -146,17 +146,17 @@
<br /> <br />
<br /> <br />
<a class="waves-effect waves-light btn whiteLink indigo darken-1" onclick="postRedirect('./roles/add',{action:'redirect'})"><i class="material-icons left">add</i>Create</a> <a class="waves-effect waves-light btn whiteLink indigo darken-1" onclick="postRedirect('./roles/add',{action:'redirect'})"><i class="material-icons left">add</i>Crear</a>
<br /> <br />
<br /> <br />
<table class="striped responsive-table"> <table class="striped responsive-table">
<thead> <thead>
<tr> <tr>
<td>Name</td> <td>Nombre</td>
<td>Status</td> <td>Estado</td>
<td>Date created</td> <td>Fecha de Creación</td>
<td>Actions</td> <td>Acciones</td>
</tr> </tr>
</thead> </thead>
@ -183,9 +183,9 @@
<td><%= roleKey.getStatus()%></td> <td><%= roleKey.getStatus()%></td>
<td><%= roleKey.getCreateDate()%></td> <td><%= roleKey.getCreateDate()%></td>
<td> <td>
<a class="postLink" onclick="postRedirect('./roles/view',{action:'viewRedirect',key:'<%=key%>'})">View</a> <a class="postLink" onclick="postRedirect('./roles/view',{action:'viewRedirect',key:'<%=key%>'})">Ver</a>
| <a class="postLink" onclick="postRedirect('./roles/view',{action:'editRedirect',key:'<%=key%>'})">Edit</a> | <a class="postLink" onclick="postRedirect('./roles/view',{action:'editRedirect',key:'<%=key%>'})">Editar</a>
| <a class="postLink" onclick="postRedirect('./roles/delete',{key:'<%=key%>'})">Delete</a></td> | <a class="postLink" onclick="postRedirect('./roles/delete',{key:'<%=key%>'})">Eliminar</a></td>
</tr> </tr>
<% } %> <% } %>

View File

@ -14,7 +14,7 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html> <html>
<head> <head>
<title><%=action%> a User - Hotel Services</title> <title><%=action%> un Rol - Hotel Services</title>
<meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com"> <meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com">
@ -36,7 +36,7 @@
<div class="nav-wrapper" style="max-height: 64px"> <div class="nav-wrapper" style="max-height: 64px">
<a class="whiteLink hide-on-small-only" href="#" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="#" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
&nbsp;&nbsp;Empleados &nbsp;&nbsp;Empleados
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= usuario.getName()%> <%= usuario.getName()%>
@ -49,7 +49,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">
@ -89,16 +89,16 @@
<div class="nav-content" style="background-color: #3949a3"> <div class="nav-content" style="background-color: #3949a3">
<ul class="tabs tabs-transparent"> <ul class="tabs tabs-transparent">
<li class="tab active"><a class="active" href="../roles">Roles</a></li> <li class="tab active"><a class="active" href="../roles">Roles</a></li>
<li class="tab"><a href="../users">Users</a></li> <li class="tab"><a href="../users">Usuarios</a></li>
<li class="tab"><a href="../resources">Resources</a></li> <li class="tab"><a href="../resources">Recursos</a></li>
<li class="tab"><a href="../access">Access</a></li> <li class="tab"><a href="../access">Accesos</a></li>
</ul> </ul>
</div> </div>
</nav> </nav>
<div class="container"> <div class="container">
<br /> <br />
<span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif"><%=action%> a Role</span> <span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif"><%=action%> un Rol</span>
<br /> <br />
<br /> <br />
@ -109,16 +109,16 @@
<input name="key" value="<%=roleKey.getKey()%>" type="hidden"> <input name="key" value="<%=roleKey.getKey()%>" type="hidden">
<input name="action" value="update" type="hidden"> <input name="action" value="update" type="hidden">
Name:<br /> Nombre:<br />
<input name="roleName" value="<%=roleKey.getName()%>" placeholder="Name" required><br/> <input name="roleName" value="<%=roleKey.getName()%>" placeholder="Nombre" required><br/>
Status:<br /> Estado:<br />
<br /> <br />
<div class="switch" id="siwtchContainer"> <div class="switch" id="siwtchContainer">
<label> <label>
False Falso
<input id="sivth" type="checkbox" name="roleStatus" value="false"> <input id="sivth" type="checkbox" name="roleStatus" value="false">
<span class="lever"></span> <span class="lever"></span>
True Verdadero
</label> </label>
</div> </div>
<br /> <br />
@ -143,7 +143,7 @@
} }
</script> </script>
<button class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Submit <button class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Editar
<i class="material-icons right">send</i> <i class="material-icons right">send</i>
</button> </button>
@ -162,7 +162,7 @@
<hr /> <hr />
<br /> <br />
<a href="../roles" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Go Back</a> <a href="../roles" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Volver</a>
</div> </div>

View File

@ -10,7 +10,7 @@
<% User user = (User) request.getAttribute("User"); %> <% User user = (User) request.getAttribute("User"); %>
<html lang="es"> <html lang="es">
<head> <head>
<title>Add a Service - Hotel Services</title> <title>Crear un Servicio - Hotel Services</title>
<meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com"> <meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com">
@ -33,7 +33,7 @@
<div class="nav-wrapper" style="max-height: 64px"> <div class="nav-wrapper" style="max-height: 64px">
<a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
&nbsp;&nbsp;Empleados &nbsp;&nbsp;Empleados
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= user.getName()%> <%= user.getName()%>
@ -46,7 +46,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">
@ -94,32 +94,32 @@
<div class="container"> <div class="container">
<br /> <br />
<span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">Create a Service</span> <span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">Crear un Servicio</span>
<br /> <br />
<br /> <br />
<form method="post" action="./add"> <form method="post" action="./add">
<input name="action" value="create" type="hidden"> <input name="action" value="create" type="hidden">
Name of the Service:<br /> Nombre del Servicio:<br />
<input name="Name" placeholder="Name" required><br /> <input name="Name" placeholder="Nombre" required><br />
Price of the Service:<br /> Precio del Servicio:<br />
<input name="Price" placeholder="Price" type="number" required min="0" step="0.1"><br /> <input name="Price" placeholder="Precio" type="number" required min="0" step="0.1"><br />
Description of the Service:<br /> Descripción del Servicio:<br />
<input name="Description" placeholder="Description" required><br /> <input name="Description" placeholder="Descripción" required><br />
<input type="hidden" name="userId" value="<%=user.getId()%>"> <input type="hidden" name="userId" value="<%=user.getId()%>">
<button class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Create <button class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Crear
<i class="material-icons right">send</i> <i class="material-icons right">send</i>
</button> </button>
</form> </form>
<hr /> <hr />
<br /> <br />
<a href="../services" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Go Back</a> <a href="../services" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Volver</a>
</div> </div>

View File

@ -15,7 +15,7 @@
%> %>
<html lang="es"> <html lang="es">
<head> <head>
<title>Services - Hotel Services</title> <title>Servicios - Hotel Services</title>
<meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com"> <meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com">
@ -38,7 +38,7 @@
<div class="nav-wrapper" style="max-height: 64px"> <div class="nav-wrapper" style="max-height: 64px">
<a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
&nbsp;&nbsp;Empleados &nbsp;&nbsp;Empleados
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= usuario.getName()%> <%= usuario.getName()%>
@ -51,7 +51,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">
@ -127,18 +127,18 @@
<br /> <br />
<br /> <br />
<a class="waves-effect waves-light btn whiteLink indigo darken-1" onclick="postRedirect('/e/services/add',{action:'redirect'})"><i class="material-icons left">add</i>Create</a> <a class="waves-effect waves-light btn whiteLink indigo darken-1" onclick="postRedirect('/e/services/add',{action:'redirect'})"><i class="material-icons left">add</i>Crear</a>
<br /> <br />
<br /> <br />
<table class="striped responsive-table"> <table class="striped responsive-table">
<thead> <thead>
<tr> <tr>
<td>Name</td> <td>Nombre</td>
<td>Price</td> <td>Precio</td>
<td>Description</td> <td>Descripción</td>
<td>Created by</td> <td>Creado por</td>
<td>Actions</td> <td>Acciones</td>
</tr> </tr>
</thead> </thead>
@ -151,9 +151,9 @@
<td><%= service.getDescription() %></td> <td><%= service.getDescription() %></td>
<td><%= service.getCreatorUserName() %></td> <td><%= service.getCreatorUserName() %></td>
<td> <td>
<a class="postLink" onclick="postRedirect('services/view',{action:'viewRedirect',serviceKey:'<%=service.getKey()%>'})">View</a> <a class="postLink" onclick="postRedirect('services/view',{action:'viewRedirect',serviceKey:'<%=service.getKey()%>'})">Ver</a>
| <a class="postLink" onclick="postRedirect('services/view',{action:'editRedirect',serviceKey:'<%=service.getKey()%>'})">Edit</a> | <a class="postLink" onclick="postRedirect('services/view',{action:'editRedirect',serviceKey:'<%=service.getKey()%>'})">Editar</a>
| <a class="postLink" onclick="postRedirect('services/delete',{serviceKey:'<%=service.getKey()%>'})">Delete</a></td> | <a class="postLink" onclick="postRedirect('services/delete',{serviceKey:'<%=service.getKey()%>'})">Eliminar</a></td>
</tr> </tr>
<% } %> <% } %>

View File

@ -36,7 +36,7 @@
<div class="nav-wrapper" style="max-height: 64px"> <div class="nav-wrapper" style="max-height: 64px">
<a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
&nbsp;&nbsp;Empleados &nbsp;&nbsp;Empleados
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= usuario.getName()%> <%= usuario.getName()%>
@ -49,7 +49,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">
@ -97,7 +97,7 @@
<div class="container"> <div class="container">
<br /> <br />
<span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif"><%=action%> a Service</span> <span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif"><%=action%> un Servicio</span>
<br /> <br />
<br /> <br />
@ -108,17 +108,17 @@
<input name="key" value="<%=service.getKey()%>" type="hidden"> <input name="key" value="<%=service.getKey()%>" type="hidden">
<input name="action" value="update" type="hidden"> <input name="action" value="update" type="hidden">
Name of the Service:<br /> Nombre del Servicio:<br />
<input name="Name" value="<%=service.getName()%>" placeholder="Name" required><br/> <input name="Name" value="<%=service.getName()%>" placeholder="Nombre" required><br/>
Price of the Service:<br /> Precio del Servicio:<br />
<input name="Price" type="number" min="0" step="0.1" required placeholder="Price" value="<%= service.getPrice() %>"><br /> <input name="Price" type="number" min="0" step="0.1" required placeholder="Precio" value="<%= service.getPrice() %>"><br />
Description of the Service:<br /> Descripción del Servicio:<br />
<input name="Description" placeholder="Description" required value="<%= service.getDescription() %>"><br /> <input name="Description" placeholder="Descripción" required value="<%= service.getDescription() %>"><br />
<button class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Edit <button class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Editar
<i class="material-icons right">send</i> <i class="material-icons right">send</i>
</button> </button>
@ -128,10 +128,10 @@
<div style="font-size: x-large"> <div style="font-size: x-large">
Name: <%= service.getName() %><br /> Nombre: <%= service.getName() %><br />
Price: <%= service.getPrice() %><br /> Precio: <%= service.getPrice() %><br />
Description: <%= service.getDescription() %><br /> Descripción: <%= service.getDescription() %><br />
Created by: <a style="cursor:pointer;" onclick="postRedirect('/e/users/view',{action:'viewRedirect',userID:'<%=service.getCreatorUserId()%>'})"><%= service.getCreatorUserName() %></a> Creado por: <a style="cursor:pointer;" onclick="postRedirect('/e/users/view',{action:'viewRedirect',userID:'<%=service.getCreatorUserId()%>'})"><%= service.getCreatorUserName() %></a>
</div> </div>
@ -139,7 +139,7 @@
<hr /> <hr />
<br /> <br />
<a href="../services" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Go Back</a> <a href="../services" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Volver</a>
</div> </div>

View File

@ -12,7 +12,7 @@
<% List<Role> roles = (List<Role>) request.getAttribute("Roles"); %> <% List<Role> roles = (List<Role>) request.getAttribute("Roles"); %>
<html lang="es"> <html lang="es">
<head> <head>
<title>Add a User - Hotel Services</title> <title>Crear un Usuario - Hotel Services</title>
<meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com"> <meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com">
@ -35,7 +35,7 @@
<div class="nav-wrapper" style="max-height: 64px"> <div class="nav-wrapper" style="max-height: 64px">
<a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
&nbsp;&nbsp;Empleados &nbsp;&nbsp;Empleados
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= user.getName()%> <%= user.getName()%>
@ -48,7 +48,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">
@ -88,30 +88,30 @@
<div class="nav-content" style="background-color: #3949a3"> <div class="nav-content" style="background-color: #3949a3">
<ul class="tabs tabs-transparent"> <ul class="tabs tabs-transparent">
<li class="tab"><a href="../roles">Roles</a></li> <li class="tab"><a href="../roles">Roles</a></li>
<li class="tab active"><a class="active" href="../users">Users</a></li> <li class="tab active"><a class="active" href="../users">Usuarios</a></li>
<li class="tab"><a href="../resources">Resources</a></li> <li class="tab"><a href="../resources">Recursos</a></li>
<li class="tab"><a href="../access">Access</a></li> <li class="tab"><a href="../access">Accesos</a></li>
</ul> </ul>
</div> </div>
</nav> </nav>
<div class="container"> <div class="container">
<br /> <br />
<span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">Create a User</span> <span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">Crear un Usuario</span>
<br /> <br />
<br /> <br />
<form method="post" action="./add"> <form method="post" action="./add">
<input name="action" value="create" type="hidden"> <input name="action" value="create" type="hidden">
Name of the User:<br /> Nombre del Usuario:<br />
<input name="userName" placeholder="Name of the User" required><br /> <input name="userName" placeholder="Nombre" required><br />
Email of the User:<br /> Correo electrónico del Usuario:<br />
<input name="userEmail" placeholder="Email" type="email" required> <input name="userEmail" placeholder="Correo electrónico" type="email" required>
<div class="row"> <div class="row">
<div class="col l10 m10"> <div class="col l10 m10">
Profile Image link<br /> Imagen<br />
<input name="userImg" value="https://i.stack.imgur.com/34AD2.jpg" placeholder="Link" required oninput="cambiarImg(this)"><br /> <input name="userImg" value="https://i.stack.imgur.com/34AD2.jpg" placeholder="Link" required oninput="cambiarImg(this)"><br />
<br /> <br />
</div> </div>
@ -120,23 +120,23 @@
</div> </div>
</div> </div>
Role of the User:<br /> Role del Usuario:<br />
<select name="userRole" class="browser-default" required> <select name="userRole" class="browser-default" required>
<option value="" disabled selected>Choose a Role</option> <option value="" disabled selected>Escoje un Rol</option>
<% for(Role roleKey: roles){ %> <% for(Role roleKey: roles){ %>
<option value="<%=roleKey.getKey()%>"><%=roleKey.getName()%></option> <option value="<%=roleKey.getKey()%>"><%=roleKey.getName()%></option>
<% } %> <% } %>
</select> </select>
<br /> <br />
<button class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Submit <button class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Crear
<i class="material-icons right">send</i> <i class="material-icons right">send</i>
</button> </button>
</form> </form>
<hr /> <hr />
<br /> <br />
<a href="../users" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Go Back</a> <a href="../users" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Volver</a>
</div> </div>

View File

@ -14,7 +14,7 @@
%> %>
<html lang="es"> <html lang="es">
<head> <head>
<title>Users - Hotel Services</title> <title>Usuarios - Hotel Services</title>
<meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com"> <meta name="google-signin-client_id" content="746890482047-c734fgap3p3vb6bdoquufn60bsh2p8l9.apps.googleusercontent.com">
@ -37,7 +37,7 @@
<div class="nav-wrapper" style="max-height: 64px"> <div class="nav-wrapper" style="max-height: 64px">
<a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="/" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
&nbsp;&nbsp;Empleados &nbsp;&nbsp;Empleados
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= usuario.getName()%> <%= usuario.getName()%>
@ -50,7 +50,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">
@ -90,16 +90,16 @@
<div class="nav-content" style="background-color: #3949a3"> <div class="nav-content" style="background-color: #3949a3">
<ul class="tabs tabs-transparent"> <ul class="tabs tabs-transparent">
<li class="tab"><a href="./roles">Roles</a></li> <li class="tab"><a href="./roles">Roles</a></li>
<li class="tab active"><a class="active" href="">Users</a></li> <li class="tab active"><a class="active" href="">Usuarios</a></li>
<li class="tab"><a href="./resources">Resources</a></li> <li class="tab"><a href="./resources">Recursos</a></li>
<li class="tab"><a href="./access">Access</a></li> <li class="tab"><a href="./access">Accesos</a></li>
</ul> </ul>
</div> </div>
</nav> </nav>
<div class="container"> <div class="container">
<br /> <br />
<span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">Users</span> <span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">Usuarios</span>
<br /> <br />
<br /> <br />
@ -127,18 +127,18 @@
<br /> <br />
<br /> <br />
<a class="waves-effect waves-light btn whiteLink indigo darken-1" onclick="postRedirect('/e/users/add',{action:'redirect'})"><i class="material-icons left">add</i>Create</a> <a class="waves-effect waves-light btn whiteLink indigo darken-1" onclick="postRedirect('/e/users/add',{action:'redirect'})"><i class="material-icons left">add</i>Crear</a>
<br /> <br />
<br /> <br />
<table class="striped responsive-table"> <table class="striped responsive-table">
<thead> <thead>
<tr> <tr>
<td>Name</td> <td>Nombre</td>
<td>Email</td> <td>Correo electrónico</td>
<td>Role</td> <td>Rol</td>
<td>Img</td> <td>Imagen</td>
<td>Actions</td> <td>Acciones</td>
</tr> </tr>
</thead> </thead>
@ -154,9 +154,9 @@
</td> </td>
<td><img src="<%= user.getImgUrl()%>" width="55px"/></td> <td><img src="<%= user.getImgUrl()%>" width="55px"/></td>
<td> <td>
<a class="postLink" onclick="postRedirect('users/view',{action:'viewRedirect',userID:'<%=user.getId()%>'})">View</a> <a class="postLink" onclick="postRedirect('users/view',{action:'viewRedirect',userID:'<%=user.getId()%>'})">Ver</a>
| <a class="postLink" onclick="postRedirect('users/view',{action:'editRedirect',userID:'<%=user.getId()%>'})">Edit</a> | <a class="postLink" onclick="postRedirect('users/view',{action:'editRedirect',userID:'<%=user.getId()%>'})">Editar</a>
| <a class="postLink" onclick="postRedirect('users/delete',{userID:'<%=user.getId()%>'})">Delete</a></td> | <a class="postLink" onclick="postRedirect('users/delete',{userID:'<%=user.getId()%>'})">Eliminar</a></td>
</tr> </tr>
<% } %> <% } %>

View File

@ -92,16 +92,16 @@
<div class="nav-content" style="background-color: #3949a3"> <div class="nav-content" style="background-color: #3949a3">
<ul class="tabs tabs-transparent"> <ul class="tabs tabs-transparent">
<li class="tab"><a href="../roles">Roles</a></li> <li class="tab"><a href="../roles">Roles</a></li>
<li class="tab active"><a class="active" href="../users">Users</a></li> <li class="tab active"><a class="active" href="../users">Usuarios</a></li>
<li class="tab"><a href="../resources">Resources</a></li> <li class="tab"><a href="../resources">Recursos</a></li>
<li class="tab"><a href="../access">Access</a></li> <li class="tab"><a href="../access">Accesos</a></li>
</ul> </ul>
</div> </div>
</nav> </nav>
<div class="container"> <div class="container">
<br /> <br />
<span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif"><%=action%> a User</span> <span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif"><%=action%> un Usuario</span>
<br /> <br />
<br /> <br />
@ -112,11 +112,11 @@
<input name="userID" value="<%=user.getId()%>" type="hidden"> <input name="userID" value="<%=user.getId()%>" type="hidden">
<input name="action" value="update" type="hidden"> <input name="action" value="update" type="hidden">
Name:<br /> Nombre:<br />
<input name="userName" value="<%=user.getName()%>" placeholder="Name" required><br/> <input name="userName" value="<%=user.getName()%>" placeholder="Nombre" required><br/>
<br/> <br/>
Email:<br /> Correo electrónico:<br />
<input name="userEmail" value="<%=user.getEmail()%>" placeholder="Email" type="email" required><br /> <input name="userEmail" value="<%=user.getEmail()%>" placeholder="Correo electrónico" type="email" required><br />
<br /> <br />
<div class="row"> <div class="row">
@ -130,16 +130,16 @@
</div> </div>
</div> </div>
Role of the User:<br /> Rol del Usuario:<br />
<select name="userRole" class="browser-default" required> <select name="userRole" class="browser-default" required>
<option value="" disabled selected>Choose a Role</option> <option value="" disabled selected>Escoje un Rol</option>
<% for(Role roleKey: roles){ %> <% for(Role roleKey: roles){ %>
<option value="<%=roleKey.getKey()%>"><%=roleKey.getName()%></option> <option value="<%=roleKey.getKey()%>"><%=roleKey.getName()%></option>
<% } %> <% } %>
</select> </select>
<br /> <br />
<button class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Submit <button class="btn waves-effect waves-light indigo darken-1" type="submit" name="action">Editar
<i class="material-icons right">send</i> <i class="material-icons right">send</i>
</button> </button>
@ -149,9 +149,9 @@
<div class="row"> <div class="row">
<div class="col l8 m8" style="font-size: x-large"> <div class="col l8 m8" style="font-size: x-large">
Name: <%=user.getName()%><br /> Nombre: <%=user.getName()%><br />
Email: <%=user.getEmail()%><br /> Correo electrónico: <%=user.getEmail()%><br />
Role: <%= user.getRoleName()%><br /> Rol: <%= user.getRoleName()%><br />
</div> </div>
<div class="col l4 m4"> <div class="col l4 m4">
<img src="<%=user.getImgUrl()%>" width="96px"><br /> <img src="<%=user.getImgUrl()%>" width="96px"><br />
@ -163,7 +163,7 @@
<hr /> <hr />
<br /> <br />
<a href="../users" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Go Back</a> <a href="../users" class="waves-effect waves-light btn whiteLink indigo darken-1"><i class="material-icons left">arrow_back</i>Volver</a>
</div> </div>

View File

@ -15,7 +15,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Home - Hotel Service</title> <title>Inicio - Hotel Service</title>
<!--<link type="text/css" rel="stylesheet" href="./css/Diseno.css">--> <!--<link type="text/css" rel="stylesheet" href="./css/Diseno.css">-->
<link type="text/css" rel="stylesheet" href="./css/materialize.min.css"> <link type="text/css" rel="stylesheet" href="./css/materialize.min.css">
@ -74,12 +74,12 @@
<div class="container"> <div class="container">
<div style="font-size: x-large"> <div style="font-size: x-large">
<span id="mainText">Welcome! Log In to Start</span> <span id="mainText">¡Bienvenido! Inicia Sesión para empezar.</span>
<br /> <br />
<br /> <br />
<div id="mainDiv" class="transition" style="max-height: 400px"> <div id="mainDiv" class="transition" style="max-height: 400px">
<div style="font-size: large"> <div style="font-size: large">
With Google: Con Google:
<div class="g-signin2" data-onsuccess="onSignIn" style="margin: 10px"></div> <div class="g-signin2" data-onsuccess="onSignIn" style="margin: 10px"></div>
<br /> <br />
<br /> <br />
@ -173,7 +173,7 @@
<div class="nav-wrapper"> <div class="nav-wrapper">
<a class="whiteLink hide-on-small-only" href="#" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a> <a class="whiteLink hide-on-small-only" href="#" style="padding: 0 0 0 20px; font-family: 'Product Sans', Roboto, serif; font-size: xx-large">Hotel Services</a>
<div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 150px;" onclick="changeUserOptions()"> <div class="right valign-wrapper" style="padding: 0 0 0 10px; cursor: pointer; min-width: 180px;" onclick="changeUserOptions()">
<span style="min-width: 80px;"> <span style="min-width: 80px;">
<%= usuario.getName()%> <%= usuario.getName()%>
@ -186,7 +186,7 @@
<ul style="color: black"> <ul style="color: black">
<li style="padding: 0 5px;"> <li style="padding: 0 5px;">
<a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Log Out</a> <a style="color: black" onclick="postRedirect('./users/view',{action:'closeSession'})">Cerrar Sesión</a>
</li> </li>
<li id="cerrar" style="padding: 0 5px; cursor: pointer"> <li id="cerrar" style="padding: 0 5px; cursor: pointer">
@ -214,20 +214,20 @@
<li>|</li> <li>|</li>
</ul> </ul>
<div class="dropdown hide-on-large-only" style="padding: 0 10px; font-weight: bold" onclick="toggleDropdown()">Show Services</div> <!--<div class="dropdown hide-on-large-only" style="padding: 0 10px; font-weight: bold" onclick="toggleDropdown()">Show Services</div>
<div id="dropdownContent"> <div id="dropdownContent">
<a onclick="postRedirect('./roles')">Roles</a> <a onclick="postRedirect('./roles')">Roles</a>
<a href="#" style="background-color: lightgray">Users</a> <a href="#" style="background-color: lightgray">Users</a>
<a onclick="postRedirect('./resources')">Resources</a> <a onclick="postRedirect('./resources')">Resources</a>
<a onclick="postRedirect('./access')">Access</a> <a onclick="postRedirect('./access')">Access</a>
</div> </div>-->
</div> </div>
</nav> </nav>
<div class="container"> <div class="container">
<br /> <br />
<span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">Home</span> <span style="font-size: xx-large; font-family: 'Product Sans',Roboto,serif">Inicio</span>
<br /> <br />
<br /> <br />
@ -258,14 +258,14 @@
<br /> <br />
<div style="font-size: x-large"> <div style="font-size: x-large">
Welcome, <%=usuario.getName()%>.<br /> Bienvenido <%=usuario.getName()%>.<br />
<br /> <br />
Here's some data:<br /> Algunos datos:<br />
<div class="row"> <div class="row">
<div class="col l9 m9 s8"> <div class="col l9 m9 s8">
Your name: <%=usuario.getName()%><br /> Tu nombre: <%=usuario.getName()%><br />
Your email: <%=usuario.getEmail()%><br /> Tu correo electrónico: <%=usuario.getEmail()%><br />
Your Role: <%=usuario.getRoleName()%> Tu Rol: <%=usuario.getRoleName()%>
</div> </div>
<div class="col l3 m3 s4"> <div class="col l3 m3 s4">
<img src="<%=usuario.getImgUrl()%>"> <img src="<%=usuario.getImgUrl()%>">