From 0611da0ed976a587e25a5f058f52f2d132dcd5ca Mon Sep 17 00:00:00 2001 From: Subramanyam Date: Tue, 20 Feb 2018 20:27:57 +0530 Subject: [PATCH 1/4] modified index page for a graph and added css properties for edit table --- static/css/graphspace.css | 16 +++++++ templates/graph/graph_details_tab.html | 17 +++++++- templates/graph/index.html | 58 ++++++++++++++++++++++++-- 3 files changed, 86 insertions(+), 5 deletions(-) diff --git a/static/css/graphspace.css b/static/css/graphspace.css index ff68bde3..16efd283 100644 --- a/static/css/graphspace.css +++ b/static/css/graphspace.css @@ -438,4 +438,20 @@ p.lead { position: relative; margin-left: 0; } +} + +#edit-graph-table tr { + font-size: 16px; +} + +#edit-graph-table td, th { + padding-left: 10px; +} + +#edit-graph-table button { + height: 40px; + width: 80px; + border-radius: 5px; + font-weight: bold; + font-size: 16px; } \ No newline at end of file diff --git a/templates/graph/graph_details_tab.html b/templates/graph/graph_details_tab.html index de38caa3..94e361b8 100644 --- a/templates/graph/graph_details_tab.html +++ b/templates/graph/graph_details_tab.html @@ -3,13 +3,28 @@ img { max-width: 200px; } + textarea { + width: 90%; + height: 150px; + padding: 12px 20px; + box-sizing: border-box; + border: 1px solid #ccc; + border-radius: 4px; + resize: none; + font-size: 15px; + }
-
+
+
Description

{{ description|safe }}
+
diff --git a/templates/graph/index.html b/templates/graph/index.html index 830d44f3..8d71b91b 100644 --- a/templates/graph/index.html +++ b/templates/graph/index.html @@ -8,6 +8,8 @@ var default_layout_id = {% if default_layout_id %}{{ default_layout_id|safe }}{% else %}null{% endif %}; {% endif %} + +
@@ -75,7 +77,7 @@
- +
-
+
+ + + + + + + + + + + + + + + +
TitleName
+ + + +
+
+ Add/Remove tags +
+
+ (Enter multiple tags with space seperation) +
+
+ + + + or + +
+
+

{{ title }} @@ -191,8 +234,15 @@

  • Network Stylesheet (.json)
  • + {% if uid and uid == graph.owner_email %} +
    + +
    + {% endif %}
    - +