summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsuelockwood <deathbear@apache.org>2014-02-28 09:55:05 -0500
committersuelockwood <deathbear@apache.org>2014-02-28 09:55:05 -0500
commit0df722e66b66bbad172a237b6fd1521b4a346676 (patch)
tree57d614dbc5850e14d1e6080ec400f280cbd94177
parent48f586f850a4cc92e938d84bfc98ba33f125861e (diff)
downloadcouchdb-2114-Admin-party-not-explained.tar.gz
Added Highlight to the admin party to make it stand out more.2114-Admin-party-not-explained
-rw-r--r--src/Makefile.am1
-rw-r--r--src/fauxton/app/addons/auth/assets/less/auth.less15
-rw-r--r--src/fauxton/app/addons/auth/templates/nav_link_title.html2
3 files changed, 17 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 32a1a6a7b..59aa6bfb9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -52,6 +52,7 @@ FAUXTON_FILES = \
fauxton/app/addons/auth/base.js \
fauxton/app/addons/auth/resources.js \
fauxton/app/addons/auth/routes.js \
+ fauxton/app/addons/auth/assets/less/auth.less \
fauxton/app/addons/auth/templates/change_password.html \
fauxton/app/addons/auth/templates/create_admin.html \
fauxton/app/addons/auth/templates/login.html \
diff --git a/src/fauxton/app/addons/auth/assets/less/auth.less b/src/fauxton/app/addons/auth/assets/less/auth.less
new file mode 100644
index 000000000..8a718177a
--- /dev/null
+++ b/src/fauxton/app/addons/auth/assets/less/auth.less
@@ -0,0 +1,15 @@
+/* Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+#primary-navbar .navbar nav .nav li a#user-create-admin{
+ background-color: #af2d24;
+}
diff --git a/src/fauxton/app/addons/auth/templates/nav_link_title.html b/src/fauxton/app/addons/auth/templates/nav_link_title.html
index 699ea80cd..863955cb3 100644
--- a/src/fauxton/app/addons/auth/templates/nav_link_title.html
+++ b/src/fauxton/app/addons/auth/templates/nav_link_title.html
@@ -12,7 +12,7 @@ License for the specific language governing permissions and limitations under
the License.
-->
<% if (admin_party) { %>
- <a id="user-create-admin" href="#createAdmin">
+ <a id="user-create-admin" class="alert_nav" href="#createAdmin">
<span class="fonticon-user fonticon"></span>
Admin Party! [FIX THIS]
<small>Everyone is an admin.</small>