diff options
author | Marius <baumann.marius@gmail.com> | 2015-04-04 19:05:01 +0200 |
---|---|---|
committer | Marius <baumann.marius@gmail.com> | 2015-04-04 19:05:01 +0200 |
commit | 10b65f5319c679bac3a596eb30946fd2e89a3da7 (patch) | |
tree | b6acb8a85f71b45622568a8d973fba21fe1714a4 | |
parent | Drag and drop fix (diff) | |
parent | Scrollable Plugin-List (diff) | |
download | pyload-10b65f5319c679bac3a596eb30946fd2e89a3da7.tar.xz |
Merge pull request #1 from m4xcube/stable
Scrollable Plugin-List
-rw-r--r-- | module/web/templates/default/settings.html | 43 |
1 files changed, 19 insertions, 24 deletions
diff --git a/module/web/templates/default/settings.html b/module/web/templates/default/settings.html index 7b06caa97..5be7be516 100644 --- a/module/web/templates/default/settings.html +++ b/module/web/templates/default/settings.html @@ -28,17 +28,14 @@ <ul class="nav tabs" style="width: 20%; float:left;"> <li class> <div class="panel panel-default" > - <div class="panel-body" style="overlow-y: scroll; "> - - - <ul id="general-menu" style=" float: left;"> - {% for entry,name in conf.general %} - <nobr> - <li style="list-style-type: none;" id="general|{{ entry }}">{{ name }}</li> - </nobr> - <br> - {% endfor %} - </ul> + <div class="panel-body"> + <ul id="general-menu" style="float: left; height: 600px; overflow: auto; overflow-x: hidden; width: 100%"> + {% for entry,name in conf.general %} + <nobr> + <li style="list-style-type: none; cursor: pointer; margin-top: 10px;" id="general|{{ entry }}">{{ name }}</li> + </nobr> + {% endfor %} + </ul> </div> </div> </li> @@ -59,18 +56,16 @@ <span id="plugins" class="tabContent"> <ul class="nav tabs" style="width: 20%; float:left; hight:300px;"> <li class> - <div class="panel panel-default" style="overflow-y: scroll; "> - <div class="panel-body" > - - <ul id="plugin-menu" style=" float: left;"> - {% for entry,name in conf.plugin %} - <nobr> - <li style="list-style-type: none;" id="plugin|{{ entry }}">{{ name }}</li> - </nobr> - <br> - {% endfor %} - </ul> - <div> + <div class="panel panel-default"> + <div class="panel-body"> + <ul id="plugin-menu" style="float: left; height: 600px; overflow: auto; overflow-x: hidden; width: 100%"> + {% for entry,name in conf.plugin %} + <nobr> + <li style="list-style-type: none; cursor: pointer; margin-top: 10px;" id="plugin|{{ entry }}">{{ name }}</li> + </nobr> + {% endfor %} + </ul> + <div> </div> </li> </ul> @@ -214,4 +209,4 @@ </form> </div> -{% endblock %}
\ No newline at end of file +{% endblock %} |