|
|
@@ -77,7 +77,7 @@
|
|
|
</table>
|
|
|
<br>
|
|
|
{% if rewards %}
|
|
|
- Rewards in <span style="color: red !important;">red</span> are inactive. To activate a reward, add it to an active category.
|
|
|
+ Rewards in <span style="color: orange !important;">orange</span> are inactive. To activate a reward, add it to an active category.
|
|
|
<table>
|
|
|
<thead>
|
|
|
<tr>
|
|
|
@@ -95,7 +95,7 @@
|
|
|
{% if reward in active_rewards %}
|
|
|
<tr>
|
|
|
{% else %}
|
|
|
- <tr style="color: red;">
|
|
|
+ <tr style="color: orange;">
|
|
|
{% endif %}
|
|
|
<td>{{ prefix }}{{ reward }}</td>
|
|
|
<td>{{ reward_info["price"] }}</td>
|
|
|
@@ -108,8 +108,8 @@
|
|
|
{% endif %}
|
|
|
<td>{{ reward_info["categories"] | join(', ') }}</td>
|
|
|
<td>
|
|
|
- <a href="{{ url_for('web_panels.edit', reward_name=reward) }}"><button class="button button2" onclick="openTab(event, 'managerewards')"><span style="color: green;">Edit</span></button></a> 
|
|
|
- <a href="{{ url_for('web_panels.delete', reward_name=reward) }}"><button class="button button2" onclick="openTab(event, 'managerewards')"><span style="color: red;">Delete</span></button></a>
|
|
|
+ <a href="{{ url_for('web_panels.edit', reward_name=reward) }}"><button class="button button2" onclick="openTab(event, 'managerewards')"><span style="color: yellow;">Edit</span></button></a> 
|
|
|
+ <a href="{{ url_for('web_panels.delete', reward_name=reward) }}"><button class="button button2" onclick="openTab(event, 'managerewards')"><span style="color: orange;">Delete</span></button></a>
|
|
|
{% endif %}
|
|
|
</tr>
|
|
|
{% endfor %}
|
|
|
@@ -133,16 +133,16 @@
|
|
|
{% if reward in active_rewards %}
|
|
|
<tr>
|
|
|
{% else %}
|
|
|
- <tr style="color: red;">
|
|
|
+ <tr style="color: orange;">
|
|
|
{% endif %}
|
|
|
<td>{{ prefix }}{{ reward }}</td>
|
|
|
<td>{{ reward_info["target"] }}</td>
|
|
|
<td>{{ reward_info["info"] }}</td>
|
|
|
<td>{{ reward_info["categories"] | join(', ') }}</td>
|
|
|
<td>
|
|
|
- <a href="{{ url_for('web_panels.edit', reward_name=reward) }}"><button class="button button2" onclick="openTab(event, 'managerewards')"><span style="color: red;">Edit</span></button></a> 
|
|
|
- <a href="{{ url_for('web_panels.delete', reward_name=reward) }}"><button class="button button2" onclick="openTab(event, 'managerewards')"><span style="color: green;">Delete</span></button></a> 
|
|
|
- <a href="{{ url_for('web_panels.reset', reward_name=reward, reward_type=reward_info["type"]) }}"><button class="button button2" onclick="openTab(event, 'managerewards')"><span style="color: orange;">Reset</span></button></a>
|
|
|
+ <a href="{{ url_for('web_panels.edit', reward_name=reward) }}"><button class="button button2" onclick="openTab(event, 'managerewards')"><span style="color: orange;">Edit</span></button></a> 
|
|
|
+ <a href="{{ url_for('web_panels.delete', reward_name=reward) }}"><button class="button button2" onclick="openTab(event, 'managerewards')"><span style="color: yellow;">Delete</span></button></a> 
|
|
|
+ <a href="{{ url_for('web_panels.reset', reward_name=reward, reward_type=reward_info["type"]) }}"><button class="button button2" onclick="openTab(event, 'managerewards')"><span style="color: #295e11;">Reset</span></button></a>
|
|
|
{% endif %}
|
|
|
</tr>
|
|
|
{% endfor %}
|
|
|
@@ -166,16 +166,16 @@
|
|
|
{% if reward in active_rewards %}
|
|
|
<tr>
|
|
|
{% else %}
|
|
|
- <tr style="color: red;">
|
|
|
+ <tr style="color: orange;">
|
|
|
{% endif %}
|
|
|
<td>{{ prefix }}{{ reward }}</td>
|
|
|
<td>{{ reward_info["price"] }}</td>
|
|
|
<td>{{ reward_info["info"] }}</td>
|
|
|
<td>{{ reward_info["categories"] | join(', ') }}</td>
|
|
|
<td>
|
|
|
- <a href="{{ url_for('web_panels.edit', reward_name=reward) }}"><button class="button button2" onclick="openTab(event, 'managerewards')"><span style="color: red;">Edit</span></button></a> 
|
|
|
- <a href="{{ url_for('web_panels.delete', reward_name=reward) }}"><button class="button button2" onclick="openTab(event, 'managerewards')"><span style="color: red;">Delete</span></button></a> 
|
|
|
- <a href="{{ url_for('web_panels.reset', reward_name=reward, reward_type=reward_info["type"]) }}"><button class="button button2" onclick="openTab(event, 'managerewards')"><span style="color: orange;">Reset</span></button></a>
|
|
|
+ <a href="{{ url_for('web_panels.edit', reward_name=reward) }}"><button class="button button2" onclick="openTab(event, 'managerewards')"><span style="color: orange;">Edit</span></button></a> 
|
|
|
+ <a href="{{ url_for('web_panels.delete', reward_name=reward) }}"><button class="button button2" onclick="openTab(event, 'managerewards')"><span style="color: orange;">Delete</span></button></a> 
|
|
|
+ <a href="{{ url_for('web_panels.reset', reward_name=reward, reward_type=reward_info["type"]) }}"><button class="button button2" onclick="openTab(event, 'managerewards')"><span style="color: #295e11;">Reset</span></button></a>
|
|
|
{% endif %}
|
|
|
</tr>
|
|
|
{% endfor %}
|
|
|
@@ -204,7 +204,7 @@
|
|
|
{% for user in users %}
|
|
|
<tr>
|
|
|
{% if not user[1] %}
|
|
|
- <td style="color: red;"> Temporary Account </td>
|
|
|
+ <td style="color: orange;"> Temporary Account </td>
|
|
|
{% else %}
|
|
|
<td> {{ user[1] }} </td>
|
|
|
{% endif %}
|
|
|
@@ -213,7 +213,7 @@
|
|
|
<td>{{ user[2] }} {{ points_label }}</td>
|
|
|
{% if user[4] %}
|
|
|
{% if not user[1] %}
|
|
|
- <td style="color: red;">{{ user[4] }}</td>
|
|
|
+ <td style="color: orange;">{{ user[4] }}</td>
|
|
|
{% else %}
|
|
|
<td>{{ user[4] }}</td>
|
|
|
{% endif %}
|
|
|
@@ -250,12 +250,12 @@
|
|
|
<tr>
|
|
|
<td>
|
|
|
{% for cat in active_categories %}
|
|
|
- {{ cat }} - <a href="/mgmt/deactivate/{{ cat }}"><span style="color: orange;">Deactivate</span></a> <a href="/mgmt/delcat/{{ cat }}/active"><span style="color: gray;">Delete</span></a><br>
|
|
|
+ {{ cat }} - <a href="/mgmt/deactivate/{{ cat }}"><span style="color: orange;">Deactivate</span></a> <a href="/mgmt/delcat/{{ cat }}/active"><span style="color: #295e11;">Delete</span></a><br>
|
|
|
{% endfor %}
|
|
|
</td>
|
|
|
<td>
|
|
|
{% for cat in inactive_categories %}
|
|
|
- {{ cat }} - <a href="/mgmt/activate/{{ cat }}"><span style="color: red;">Activate</span></a> <a href="/mgmt/delcat/{{ cat }}/inactive"><span style="color: gray;">Delete</span></a><br>
|
|
|
+ {{ cat }} - <a href="/mgmt/activate/{{ cat }}"><span style="color: orange;">Activate</span></a> <a href="/mgmt/delcat/{{ cat }}/inactive"><span style="color: #295e11;">Delete</span></a><br>
|
|
|
{% endfor %}
|
|
|
</td>
|
|
|
</tr>
|
|
|
@@ -478,12 +478,12 @@
|
|
|
{% if item.crossed == 'no' %}
|
|
|
<li style="text-decoration:none;">
|
|
|
{{ item.name }}
|
|
|
- <a href="{{ url_for('web_panels.cross', item_id=loop.index0) }}">[Cross Off]</a> <a href="{{ url_for('web_panels.rem_todo_item', item_id=loop.index0) }}"><span style="color: green;">[Remove]</span></a>
|
|
|
+ <a href="{{ url_for('web_panels.cross', item_id=loop.index0) }}">[Cross Off]</a> <a href="{{ url_for('web_panels.rem_todo_item', item_id=loop.index0) }}"><span style="color: yellow;">[Remove]</span></a>
|
|
|
</li>
|
|
|
{% else %}
|
|
|
<li> <span style="text-decoration:line-through;">
|
|
|
{{ item.name }}</span>
|
|
|
- <a href="{{ url_for('web_panels.uncross', item_id=loop.index0) }}">[Un-Cross]</a> <a href="{{ url_for('web_panels.rem_todo_item', item_id=loop.index0) }}"><span style="color: green;">[Remove]</span></a>
|
|
|
+ <a href="{{ url_for('web_panels.uncross', item_id=loop.index0) }}">[Un-Cross]</a> <a href="{{ url_for('web_panels.rem_todo_item', item_id=loop.index0) }}"><span style="color: yellow;">[Remove]</span></a>
|
|
|
{% endif %}
|
|
|
{% endfor %}
|
|
|
{% endif %}
|
|
|
@@ -550,7 +550,7 @@
|
|
|
<td><input type="file" name="FOLLOWER_ALERT" accept=".gif, .jpg, .jpeg, .png, .webm" required></td>
|
|
|
<td><button id="new_follow_image_upload" class="button button2" type="submit">Upload</button>
|
|
|
</form> 
|
|
|
- <a href="{{ url_for('web_panels.del_alert', alert_type='FOLLOWER_ALERT') }}"><button id="new_follow_image_upload" class="button button2" onclick="openTab(event, 'alerts')"><span style="color: green;">Clear</span></button></a></td>
|
|
|
+ <a href="{{ url_for('web_panels.del_alert', alert_type='FOLLOWER_ALERT') }}"><button id="new_follow_image_upload" class="button button2" onclick="openTab(event, 'alerts')"><span style="color: yellow;">Clear</span></button></a></td>
|
|
|
<td>{{ settings_info[10] }}/alert/follower</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
@@ -568,7 +568,7 @@
|
|
|
{% endif %}
|
|
|
<td><input type="file" name="MILESTONE_ALERT" accept=".gif, .jpg, .jpeg, .png, .webm" required></td>
|
|
|
<td><button id="new_milestone_image_upload" class="button button2" type="submit">Upload</button></form> 
|
|
|
- <a href="{{ url_for('web_panels.del_alert', alert_type='MILESTONE_ALERT') }}"><button id="new_milestone_image_upload" class="button button2" onclick="openTab(event, 'alerts')"><span style="color: green;">Clear</span></button></a></td>
|
|
|
+ <a href="{{ url_for('web_panels.del_alert', alert_type='MILESTONE_ALERT') }}"><button id="new_milestone_image_upload" class="button button2" onclick="openTab(event, 'alerts')"><span style="color: yellow;">Clear</span></button></a></td>
|
|
|
<td>{{ settings_info[10] }}/alert/milestone</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
@@ -586,7 +586,7 @@
|
|
|
{% endif %}
|
|
|
<td><input type="file" name="GOAL_ALERT" accept=".gif, .jpg, .jpeg, .png, .webm" required></td>
|
|
|
<td><button id="new_goal_image_upload" class="button button2" type="submit">Upload</button></form> 
|
|
|
- <a href="{{ url_for('web_panels.del_alert', alert_type='GOAL_ALERT') }}"><button id="new_goal_image_upload" class="button button2" onclick="openTab(event, 'alerts')"><span style="color: green;">Clear</span></button></a></td>
|
|
|
+ <a href="{{ url_for('web_panels.del_alert', alert_type='GOAL_ALERT') }}"><button id="new_goal_image_upload" class="button button2" onclick="openTab(event, 'alerts')"><span style="color: yellow;">Clear</span></button></a></td>
|
|
|
<td>{{ settings_info[10] }}/alert/goal</td>
|
|
|
</tr>
|
|
|
</table>
|