Skip to content

Commit

Permalink
prepare for 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
guillain committed Apr 2, 2017
1 parent 0184af2 commit c12e802
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 13 deletions.
Empty file modified .gitattributes
100644 → 100755
Empty file.
Empty file modified LICENSE
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
12 changes: 8 additions & 4 deletions TechRequest/static/css/TechRequest.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ header,airlines,fieldrep,expert,users,user,new,update,view,dashboard,footer {
border-radius: 6px; /* 6 */
}
airlines,fieldrep,expert,update,users,user,new,view {
width: 33%;
width: 50%;
text-align: center;
overflow-y:auto;
overflow-x:hidden;
}
dashboard {
width: 66%;
width: 50%;
text-align: center;
overflow-y:auto;
overflow-x:hidden;
Expand All @@ -89,6 +89,10 @@ ul {
display: block;
text-align: left;
}
.center {
width:100%;
text-align: center;
}
table.tblCenter {
width:100%;
text-align: center;
Expand All @@ -112,7 +116,7 @@ div {
vertical-align: top;
}
input, select, textarea {
width : 150px;
width : 200px;
}
select, textarea, input, button {
text-align: center;
Expand Down Expand Up @@ -173,7 +177,7 @@ body {
order : 1;
width: auto;
}
airlines,fieldrep,expert,new,users,user,update,view,dashboard {
airlines,fieldrep,expert,new,users,user,update,view {
width: auto;
}
}
Expand Down
2 changes: 1 addition & 1 deletion TechRequest/static/py/TechRequest.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def message():
try:
msg = pyCiscoSpark.get_message(api.config['ACCESS_TOKEN'],data.get('id'))
except Exception as e:
wEvent('room','webhook','Get Spark message error','KO')
wEvent('message','webhook','Get Spark message error','KO')
return 'Get Spark message error'

try:
Expand Down
2 changes: 1 addition & 1 deletion TechRequest/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
{% block user %}{% endblock %}
{% block users %}{% endblock %}
<dashboard>
<div id="dashboardDiv">
<div id="dashboardDiv" class="center">
<h2>Dashboard</h2>
<form action="dashboard" method="POST"><a href="#" id="dashboardSub" style="text-align:left;">Refresh</a></form>
<ul id="dashboardRes" class="dashboard"></ul>
Expand Down
4 changes: 2 additions & 2 deletions TechRequest/templates/new.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
{% block new %}
<new>
<h2>New</h2>
<div id="newDiv">
<div id="newDiv" class="center">
<form action="new" method="POST" enctype="multipart/form-data">
<table class="tblCenter">
<table class="center">
<tr><td>Title</td><td><input type="text" id="title" name="title" value="{{ request.form['title'] }}" placeholder="Title" /></td></tr>
<tr>
<td>Severity</td>
Expand Down
2 changes: 1 addition & 1 deletion TechRequest/templates/update.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<h2>Update</h2>
<span>{{ session.sname }}</span>
<br />
<div id="updateDiv">
<div id="updateDiv" class="center">
<form action="update" method="POST" enctype="multipart/form-data">
<table class="tblCenter">
<tr><td>Severity</td><td>
Expand Down
2 changes: 1 addition & 1 deletion TechRequest/templates/user.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h2>User</h2>
<br />
<div id="userDiv">
<form action="/userupdate" method="post">
<table>
<table class="center">
<tr><td>Login</td><td><input type="text" name="login" id="login" placeholder="Login" value="{{ user[0] }}" readonly /></td></tr>
<tr><td>Email</td><td><input type="text" name="email" id="email" placeholder="Email" value="{{ user[1] }}" readonly /></td></tr>
<tr><td>Mobil</td><td><input type="text" name="mobil" id="mobil" placeholder="Mobil" value="{{ user[2] }}" /></td></tr>
Expand Down
6 changes: 3 additions & 3 deletions TechRequest/templates/users.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
{% block users %}
{% if '1' in session.admin %}
<users>
<h2>Users</h2>
<div id="usersDiv">
<table>
<div id="usersDiv" class="center">
<h2>Users</h2>
<table class="center">
<tr><th>Login</th><th>Email</th><th>Admin</th><th>Group</th></tr>
{% for user in users %}
<tr>
Expand Down
Empty file modified doc/configuration.md
100644 → 100755
Empty file.
Empty file modified doc/setup.md
100644 → 100755
Empty file.

0 comments on commit c12e802

Please sign in to comment.