Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar_network_webui/templates/dialog_project.html
diff options
context:
space:
mode:
authorSebastian Silva <sebastian@somosazucar.org>2013-05-23 04:22:31 (GMT)
committer Sebastian Silva <sebastian@somosazucar.org>2013-05-23 04:22:31 (GMT)
commit9d81661c6f1c98de7595007c24fe24726f88ee66 (patch)
tree3ea73856f4a0c9ab909319628c9e0a9c4546f7c2 /sugar_network_webui/templates/dialog_project.html
parentf697e700af64a3d9295f28006c50d9ced68a6a64 (diff)
changes for testing 1.0
Diffstat (limited to 'sugar_network_webui/templates/dialog_project.html')
-rw-r--r--sugar_network_webui/templates/dialog_project.html16
1 files changed, 0 insertions, 16 deletions
diff --git a/sugar_network_webui/templates/dialog_project.html b/sugar_network_webui/templates/dialog_project.html
index 287381b..ecd1ead 100644
--- a/sugar_network_webui/templates/dialog_project.html
+++ b/sugar_network_webui/templates/dialog_project.html
@@ -9,12 +9,9 @@
{%- endif -%}
<div class="window-buttons">
<img id="cancel-button" class="button window-button" src="/static/icons/dialog-cancel.png" />
- {%- if (session['connected'] or False) -%}
<img id="accept-button" class="button window-button" src="/static/icons/dialog-ok.png" />
- {%- endif -%}
</div>
</div>
- {%- if (session['connected'] or False) -%}
{%- if mode=='new' -%}
<form id="resource-form1" method="POST" action="/submit_context">
{%- elif mode=='edit' -%}
@@ -37,19 +34,6 @@
<textarea id="edit-content" name="content" class="resource-inputarea" >{{content|special_str or ''}}</textarea>
</div>
</form>
- {% else %}
- <div class="resource-form-field">
- <br/>
- <br/>
- <b>{{_('You are in offline mode')}}</b>
- <br/>
- {{_('You need to be connected to the Internet or to a Sugar Network Node in order to upload a project.')}}
- <div class="resource-form-field">
- <input class="sugar-button" type="button" id="go_ahead" value="{{_('Try to connect')}}" onclick="location='/_toggle_connect/project/new/?returnto=returnto|special_str'" />
- </div>
- </div>
- {% endif %}
-
<div class="resource-form-field warning" id="warning" style="display: none">
{{_('Must fill all fields.')}}
</div>