diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-08-28 17:58:29 +0600 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-08-28 17:58:36 +0600 |
commit | ce51108a6a229a7bdb5acb21e0a23a1e4b74a0da (patch) | |
tree | 701fcae678fcee2d709dc7577695f82a6831fa76 /server/sonar-web | |
parent | ef6ec7c51e835eba63218854273835d7c8844cee (diff) | |
download | sonarqube-ce51108a6a229a7bdb5acb21e0a23a1e4b74a0da.tar.gz sonarqube-ce51108a6a229a7bdb5acb21e0a23a1e4b74a0da.zip |
New views prototype
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/app/controllers/views_proto_controller.rb | 27 | ||||
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/app/views/views_proto/index.html.erb | 98 |
2 files changed, 125 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/views_proto_controller.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/views_proto_controller.rb new file mode 100644 index 00000000000..c4ce00d25ca --- /dev/null +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/views_proto_controller.rb @@ -0,0 +1,27 @@ +# +# SonarQube, open source software quality management tool. +# Copyright (C) 2008-2014 SonarSource +# mailto:contact AT sonarsource DOT com +# +# SonarQube is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 3 of the License, or (at your option) any later version. +# +# SonarQube is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +class ViewsProtoController < ApplicationController + + SECTION=Navigation::SECTION_CONFIGURATION + + def index + + end +end diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/views_proto/index.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/views_proto/index.html.erb new file mode 100644 index 00000000000..cf8ec33f0fe --- /dev/null +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/views_proto/index.html.erb @@ -0,0 +1,98 @@ +<div class="navigator quality-gates-navigator" style="margin: -10px;"> + <div class="navigator-content"> + <div class="navigator-side"> + <div class="navigator-actions"> + <div><h1 class="navigator-header-title">Views</h1> + + <div class="navigator-header-actions button-group"> + <button id="quality-gate-add">Create</button> + </div> + </div> + </div> + <div class="navigator-results quality-gates-nav"> + <ol class="navigator-results-list"> + <li class="active"> + <div class="line line-nowrap">By License</div> + </li> + <li> + <div class="line line-nowrap">Language Team</div> + </li> + <li> + <div class="line line-nowrap">Nemo & Dory</div> + </li> + <li> + <div class="line line-nowrap">Platform Team</div> + </li> + <li> + <div class="line line-nowrap">Projects on Dory</div> + </li> + <li> + <div class="line line-nowrap">Teams</div> + </li> + </ol> + </div> + </div> + <div class="navigator-main"> + <div class="navigator-header"> + <div><h1 class="navigator-header-title">By License</h1> + <div class="navigator-header-actions button-group"> + <button id="quality-gate-rename">Edit</button> + <button id="quality-gate-copy">Add Sub-view</button> + <button id="quality-gate-unset-as-default">Associate Projects</button> + <button id="quality-gate-delete" class="button-red">Delete</button> + </div> + </div> + </div> + + <div class="navigator-details"> + <div class="quality-gate-section-name">Structure</div> + <div class="libraries-tree"> + <ul> + <li> + <i class="icon-qualifier-svw"></i> + <span class="libraries-tree-name">By License</span> + <ul> + <li class="libraries-tree-with-subtree"> + <i class="icon-qualifier-svw"></i> + <a> + <span class="libraries-tree-name">Commercial</span> + </a> + <ul> + <li> + <i class="icon-qualifier-trk"></i> + <span class="libraries-tree-name">All projects matching regular expression "com.*"</span> + </li> + </ul> + </li> + <li class="libraries-tree-with-subtree"> + <i class="icon-qualifier-svw"></i> + <a> + <span class="libraries-tree-name">Open Source</span> + </a> + <ul> + <li> + <i class="icon-qualifier-trk"></i> + <span class="libraries-tree-name">All projects matching regular expression "(org.*)|(hudson.*)"</span> + </li> + </ul> + </li> + <li class="libraries-tree-with-subtree"> + <i class="icon-qualifier-svw"></i> + <a> + <span class="libraries-tree-name">Unclassified</span> + </a> + <ul> + <li> + <i class="icon-qualifier-trk"></i> + <span class="libraries-tree-name">All remaining projects not associated to "BY_LICENSE"</span> + </li> + </ul> + </li> + </ul> + </li> + </ul> + </div> + </div> + </div> + </div> +</div> |