Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
638dba54
authored
Jan 11, 2016
by
Estók Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dded improved mobile support.
parent
c8576bdc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
65 deletions
+60
-65
circle/setty/static/setty/setty.js
+0
-0
circle/setty/templates/setty/index.html
+60
-65
No files found.
circle/setty/static/setty/setty.js
View file @
638dba54
This diff is collapsed.
Click to expand it.
circle/setty/templates/setty/index.html
View file @
638dba54
...
...
@@ -10,42 +10,71 @@
<link
type=
"text/css"
rel=
"stylesheet"
href=
"{% static 'setty/style.css' %}"
>
<div
class=
"row"
id=
"workspace"
>
<div
class=
"col-xs-2"
id=
"dragPanel"
>
<div
class=
"panel panel-default text-center"
>
<div
class=
"col-md-3"
>
<div
class=
"panel panel-default initHidden"
id=
"informationPanel"
>
<div
class=
"panel-heading text-center"
>
<div
class=
"row"
>
<div
class=
"col-xs-2 text-left"
>
<button
class=
"btn btn-danger btn-xs"
id=
"closeInfoPanel"
>
<i
class=
"fa fa-times"
></i>
</button>
</div>
<div
class=
"col-xs-8"
>
<h3
class=
"no-margin"
>
{% trans 'Information' %}
</h3>
</div>
<div
class=
"col-xs-2"
>
</div>
</div>
</div>
<div
class=
"panel-body"
id=
"informationContainer"
>
</div>
<div
class=
"panel-footer"
>
<label></label>
</div>
</div>
<div
class=
"panel panel-default text-center"
id=
"dragPanel"
>
<div
class=
"panel-heading"
>
<div
class=
"row"
>
<h3
class=
"no-margin"
>
{% trans 'Elements' %}
</h3>
</div>
</div>
<div
class=
"panel-heading"
>
<div
class=
"panel-heading
text-center
"
>
<div
class=
"row"
id=
"searchElementTemplate"
>
<div
class=
"col-md-12"
>
<input
type=
"text"
class=
"form-control"
id=
"searchElementTemplateInput"
placeholder=
"{% trans 'Search' %}"
/>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-md-12"
>
<button
class=
"btn btn-primary btn-xs btn-block"
id=
"dragContainerScrollUp"
><i
class=
"fa fa-chevron-up"
></i></button>
<button
class=
"btn btn-primary btn-xs btn-block"
id=
"dragContainerScrollUp"
>
<i
class=
"fa fa-chevron-up"
></i>
</button>
</div>
</div>
</div>
<div
class=
"panel-body"
id=
"dragContainer"
>
{% for element in elementTemplateList %}
<div
class=
"row"
id=
"elementTemplatePanel"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
>
<label
class=
"no-margin"
>
{{ element.name }}
</label>
</div>
<div
class=
"panel-body"
>
<img
class=
"elementTemplate"
type=
"{% for target in element.compatibles.all %}{{ target.id }},{% endfor %}"
id=
"{{ element.id }}"
desc=
"{{ element.description }}"
src=
"{% static element.logo %}"
alt=
"{{ element.name }}"
ondragstart=
"return false;"
/>
<div
class=
"panel-body container-fluid"
id=
"dragContainer"
>
{% for element in elementTemplateList %}
<div
class=
"col-md-12 col-sm-4"
id=
"elementTemplatePanel"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
>
<div
class=
"row text-center"
>
<div
class=
"col-xs-9 text-center"
>
<label
class=
"no-margin"
>
{{ element.name }}
</label>
</div>
<div
class=
"col-xs-3 text-right"
>
<button
class=
"btn btn-primary btn-xs elementTemplateInfo"
element=
"{{ element.id }}"
><i
class=
"fa fa-info"
></i></button>
</div>
</div>
</div>
<div
class=
"panel-body"
>
<img
class=
"elementTemplate"
type=
"{% for target in element.compatibles.all %}{{ target.id }},{% endfor %}"
id=
"{{ element.id }}"
desc=
"{{ element.description }}"
src=
"{% static element.logo %}"
alt=
"{{ element.name }}"
ondragstart=
"return false;"
/>
</div>
</div>
</div>
</div>
{% endfor %}
{% endfor %}
</div>
<div
class=
"panel-footer"
>
<div
class=
"row"
>
...
...
@@ -57,68 +86,34 @@
</div>
</div>
<div
class=
"col-
xs-8
"
>
<div
class=
"col-
md-9
"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading text-center"
>
<div
class=
"row"
>
<div
class=
"col-xs-4"
>
<div
class=
"col-xs-2"
>
<button
class=
"btn btn-info btn-xs"
id=
"undoMovement"
title=
"{% trans 'Undo' %}"
><i
class=
"fa fa-undo"
></i></button>
</div>
<div
class=
"col-xs-2"
>
<button
class=
"btn btn-info btn-xs"
id=
"redoMovement"
title=
"{% trans 'Redo' %}"
><i
class=
"fa fa-repeat"
></i></button>
</div>
<div
class=
"col-xs-4"
>
<h3
class=
"no-margin"
id=
"serviceName"
contenteditable=
"true"
>
Service
</h3>
</div>
<div
class=
"col-xs-2 text-right"
>
<button
class=
"btn btn-info btn-xs"
id=
"clearService"
>
{% trans 'Clear' %}
</button>
</div>
<button
class=
"btn btn-info btn-xs"
id=
"clearService"
title=
"{% trans 'Clear workspace' %}"
><i
class=
"fa fa-trash-o"
></i></button>
</div>
<div
class=
"col-xs-2 text-right"
>
<button
class=
"btn btn-success btn-xs"
id=
"saveService"
>
{% trans 'Save' %}
</button>
<button
class=
"btn btn-success btn-xs"
id=
"saveService"
title=
"{% trans 'Save workspace' %}"
><i
class=
"fa fa-floppy-o"
></i>
</button>
</div>
</div>
</div>
<div
class=
"panel-body"
id=
"dropContainer"
oncontextmenu=
"return false;"
></div>
<div
class=
"panel-footer"
></div>
</div>
</div>
<div
class=
"col-xs-2"
id=
"informationPanel"
>
<div
class=
"panel panel-default no-margin"
>
<div
class=
"panel-heading text-center"
>
<div
class=
"row"
>
<h3
class=
"no-margin"
>
{% trans 'Information' %}
</h3>
</div>
<div
class=
"panel-footer no-margin text-left"
>
<label
class=
"no-margin"
id=
"serviceStatus"
></label>
</div>
<div
class=
"panel-body no-margin"
id=
"informationContainer"
></div>
<div
class=
"panel-footer"
></div>
</div>
</div>
</div>
<!-- Modal dialogs -->
<div
class=
"modal fade"
id=
"saveWarningDialog"
role=
"dialog"
>
<div
class=
"modal-dialog"
>
<!-- Modal content-->
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
>
×
</button>
<h4
class=
"modal-title"
>
{% trans 'Connection info' %}
</h4>
</div>
<div
class=
"modal-body"
>
<textarea
id=
"connectionInfoParameters"
class=
"form-control"
rows=
"3"
placeholder=
"Parameters"
style=
"resize: none;"
></textarea>
</div>
<div
class=
"modal-footer"
>
<div
class=
"row"
>
<div
class=
"col-md-2 col-md-push-8"
>
<button
type=
"button"
class=
"btn btn-success"
data-dismiss=
"modal"
onclick=
"return false;"
>
{% trans 'Return' %}
</button>
</div>
<div
class=
"col-md-2 col-md-push-8"
>
<button
type=
"button"
class=
"btn btn-danger"
data-dismiss=
"modal"
onclick=
"return true;"
>
{% trans 'Close' %}
</button>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment