Commit 650cbe22 authored by chickahoona's avatar chickahoona

more ngdocs

parent 19f46a17
......@@ -2,6 +2,7 @@
docs
out
unittests/coverage
var/ngdocs/templates
node_modules
build/
dist/
......
......@@ -278,7 +278,8 @@ gulp.task('docs', [], function () {
var options = {
html5Mode: false,
title: "Psono Client"
title: "Psono Client",
styles: ['var/ngdocs/style.css']
};
return gulp.src([
......
......@@ -186,8 +186,8 @@
* @param item
*/
self.clickItem = function (item) {
if (typeof options.onItemClick === "function") {
options.onItemClick(item);
if (typeof options.on_item_click === "function") {
options.on_item_click(item);
}
};
......
This diff is collapsed.
......@@ -42,6 +42,7 @@
*
* @description
* Opens the URL in a new browser tab
*
* @param {string} url The url to open
*/
var open_tab = function(url) {
......
......@@ -499,7 +499,7 @@
*
* @returns {promise}
*/
var generatePasswordActiveTab = function() {
var generate_password_active_tab = function() {
var onError = function() {
alert("could not find out the url of the active tab");
......@@ -916,7 +916,7 @@
get_password_datastore: get_password_datastore,
save_datastore: save_datastore,
generatePassword: generatePassword,
generatePasswordActiveTab: generatePasswordActiveTab,
generate_password_active_tab: generate_password_active_tab,
find_in_datastore: find_in_datastore,
get_all_child_shares: get_all_child_shares,
get_all_secret_links: get_all_secret_links,
......
......@@ -118,7 +118,7 @@
*
* @param item
*/
var onItemClick = function(item) {
var on_item_click = function(item) {
if (itemBlueprint.blueprint_has_on_click_new_tab(item.type)) {
browserClient.open_tab('open-secret.html#/secret/'+item.type+'/'+item.secret_id);
}
......@@ -129,7 +129,7 @@
read_secret: read_secret,
write_secret: write_secret,
redirectSecret: redirectSecret,
onItemClick: onItemClick
on_item_click: on_item_click
};
};
......
......@@ -166,8 +166,8 @@
* @param item The item in question
* @param path The path to the item
*/
onItemClick: function (item, path) {
return managerSecret.onItemClick(item, path);
on_item_click: function (item, path) {
return managerSecret.on_item_click(item, path);
},
/**
......
......@@ -258,8 +258,8 @@
* @param item The item in question
* @param path The path to the item
*/
onItemClick: function (item, path) {
managerSecret.onItemClick(item, path);
on_item_click: function (item, path) {
managerSecret.on_item_click(item, path);
},
/**
......
......@@ -37,7 +37,7 @@
<hr>
<ul class="navigations">
<li ng-repeat="searchEntry in datastore.filteredSearcArray = (searchArray | filter:filterBySearch)">
<a href="#" ng-click="onItemClick(searchEntry)">{{ searchEntry.name }}</a>
<a href="#" ng-click="on_item_click(searchEntry)">{{ searchEntry.name }}</a>
</li>
<li ng-if="datastore.filteredSearcArray.length === 0 && datastore.search !== ''">
<a href="#" onclick="return false;">No entry found ...</a>
......
body {
font-size: 11px;
}
.form-search .well li {
line-height: 11px;
}
.table-striped tbody > tr:nth-child(odd) > td,
.table-striped tbody > tr:nth-child(odd) > th {
background-color: #f9f9f9;
}
.table-striped tbody > tr:nth-child(even) > td,
.table-striped tbody > tr:nth-child(even) > th {
background-color: #ffffff;
}
.content h1 {
font-size: 30px;
line-height: 36px;
}
.content h2 {
font-size: 20px;
line-height: 32px;
}
.content h3 {
font-size: 15px;
line-height: 24px;
}
.content h4 {
font-size: 15px;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment