index.php 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884
  1. <?php
  2. session_start();
  3. if (isset($_SESSION['userlogin'], $_SESSION['userfirstname'])) {
  4. $email = $_SESSION['userlogin'];
  5. $name = $_SESSION['userfirstname'];
  6. }
  7. if (isset($_SESSION['canvas_id'])) {
  8. $canvas_id = $_SESSION['canvas_id'];
  9. }
  10. ?>
  11. <!DOCTYPE html>
  12. <html lang="en">
  13. <head>
  14. <meta charset="UTF-8">
  15. <meta name="viewport" content="width=device-width, initial-scale=1">
  16. <meta name="description" content="Brainstorm about the ethical implications of your project and represent them in a canvas.">
  17. <meta name="keywords" content="ethics canvas, ethics, social entrepreneurship, research, innovation, privacy, business development, business model canvas, open source tools">
  18. <title>The Ethics Canvas</title>
  19. <!-- Favicon -->
  20. <link rel="icon" href="../icon/favicon.ico" />
  21. <!-- Bootstrap -->
  22. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous" />
  23. <!-- Google font -->
  24. <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css" />
  25. <!-- App style -->
  26. <link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/themes/smoothness/jquery-ui.css" />
  27. <link rel="stylesheet" type="text/css" href="css/canvas.css" />
  28. <!-- PHP variables have to be retieved here as js variable -->
  29. <script type="text/javascript">
  30. var email_save_canvas = '<?php echo $email; ?>';
  31. var user_save_canvas = '<?php echo $name; ?>';
  32. var current_canvas_id = '<?php echo $canvas_id; ?>';
  33. </script>
  34. </head>
  35. <body>
  36. <div class="container-fluid">
  37. <form class="canvas-form form" action="mpdf/canvas-pdf.php" method="post" target="_blank">
  38. <!-- Username -->
  39. <!-- <input type="hidden" name="username" value="<?php echo($email) ?>" /> -->
  40. <input type="hidden" name="username" value="dave.lewis@adaptcentre.ie" />
  41. <!-- Canvas Form Header -->
  42. <div class="form-header row text-center">
  43. <div class="col-md-3">
  44. <!-- Logo -->
  45. <h1 class="page_title">
  46. <a class="logo" href="../index.html">
  47. <img src="icons/logo-black-text.svg" alt="Online Ethics Canvas"/>
  48. </a>
  49. </h1>
  50. </div>
  51. <div class="col-md-3 ">
  52. <label class="project_title">Project Title</label>
  53. <input class="proj_title" name="field_00[]" type="text"/>
  54. </div>
  55. <div class="col-md-3 ">
  56. <label class="project_date">Date</label>
  57. <input class="proj_date" name="field_00[]" type="date"/>
  58. </div>
  59. <!-- Login coming soon -->
  60. <div class="col-md-3 ">
  61. <?php if (!empty($name)) { ?>
  62. <!-- Bootstrap dropdown component -->
  63. <div class="dropdown user-profile">
  64. <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
  65. <img src="../icon/profile.svg"/><span><?php echo $name; ?></span>
  66. <span class="caret"></span>
  67. </button>
  68. <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
  69. <li><a id="toDashboard" href="php/dashboard.php">Your Canvases</a></li>
  70. <!-- <li><a href="#">Something else here</a></li> -->
  71. <li role="separator" class="divider"></li>
  72. <li><a id="logout" href="#">Log Out</a></li>
  73. </ul>
  74. </div>
  75. <?php } ?>
  76. </div>
  77. </div>
  78. <!-- Jump to -->
  79. <div class="jump-to row">
  80. <div class="col-s-12">
  81. <label class="jump_to">Jump to...</label>
  82. <ul>
  83. <li>
  84. <a href="#bookmark_saved_tags">Saved tags</a>
  85. </li>
  86. <li>
  87. <a href="#bookmark_01">1.&nbsp;&nbsp;Individuals Affected</a>
  88. </li>
  89. <li>
  90. <a href="#bookmark_02">2.&nbsp;&nbsp;Groups Affected</a>
  91. </li>
  92. <li>
  93. <a href="#bookmark_03">3.&nbsp;&nbsp;Behaviour</a>
  94. </li>
  95. <li>
  96. <a href="#bookmark_04">4.&nbsp;&nbsp;Relations</a>
  97. </li>
  98. <li>
  99. <a href="#bookmark_05">5.&nbsp;&nbsp;Worldviews</a>
  100. </li>
  101. <li>
  102. <a href="#bookmark_06">6.&nbsp;&nbsp;Group Conflicts</a>
  103. </li>
  104. <li>
  105. <a href="#bookmark_07">7.&nbsp;&nbsp;Product or Service Failure</a>
  106. </li>
  107. <li>
  108. <a href="#bookmark_08">8.&nbsp;&nbsp;Problematic Use of Resources</a>
  109. </li>
  110. <li>
  111. <a href="#bookmark_09">9.&nbsp;&nbsp;What can we do?</a>
  112. </li>
  113. </ul>
  114. </div>
  115. </div>
  116. <!-- Saved tags -->
  117. <div class="saved-tags row" id="bookmark_saved_tags">
  118. <div class="col-s-12">
  119. <label>Saved Tags</label>
  120. <p>You haven't added any tags yet.</p>
  121. </div>
  122. </div>
  123. <!-- LAYOUT -->
  124. <!-- ================ 7/5 col ================ -->
  125. <div class="canvas-box">
  126. <div class="masonry-layout7-5" id="7-5-col-layout">
  127. <div class="masonry-layout__panel" id="bookmark_01">
  128. <div class="card field_01 masonry-layout__panel-content bg--purple">
  129. <h2 class="field-title">
  130. <!-- FIELD -->
  131. <a href="#" data-toggle="tooltip" data-placement="left" title="Who use your product or service? Who are affected by it’s use? Are they men/women, of different ages, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Individuals Affected&nbsp;&nbsp;
  132. </h2>
  133. <!--
  134. <p class="intro">
  135. Who use your product or service? Who are affected by it’s use? Are they men/women, of different ages, etc?
  136. </p>
  137. -->
  138. <!-- Into text toggle -->
  139. <!-- <button type="button" class="intro-toggle"> -->
  140. <!-- glyphicon glyphicon-minus-sign -->
  141. <!--
  142. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  143. <span class="intro-toggle-text">Hide description</span>
  144. </button>
  145. -->
  146. <!-- Item list in the field -->
  147. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  148. <ul id="field_01" class="item_list sortable connectedList">
  149. </ul>
  150. <!-- The Box With All User input Thing -->
  151. <!-- # Tag selected term link -->
  152. <p class="tag-selected-term">
  153. <a href="#">
  154. Tag selected term
  155. </a>
  156. </p>
  157. <div class="add_box">
  158. <!-- # Add idea link -->
  159. <p>
  160. <a class="add-idea" href="#">
  161. Add an idea
  162. </a>
  163. </p>
  164. <!-- # User Input -->
  165. <div class="user-input">
  166. <label>Your Idea</label><br />
  167. <p>
  168. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  169. </p>
  170. <p class="chars-count">
  171. <span class="chars">100</span>
  172. characters remaining
  173. </p>
  174. <button type="button" class="add_btn">Add</button>
  175. </div>
  176. <!-- End of user input -->
  177. </div>
  178. <!-- End of add_box -->
  179. <div class="field-bottom">
  180. <img src="./icons/field1.svg" alt="field1" />
  181. <img src="./icons/number1.svg" alt="number1" />
  182. </div>
  183. </div>
  184. <!-- End of .card -->
  185. </div>
  186. <div class="masonry-layout__panel" id="bookmark_03">
  187. <div class="card field_03 masonry-layout__panel-content bg--blue">
  188. <h2 class="field-title">
  189. <!-- FIELD -->
  190. <a href="#" data-toggle="tooltip" data-placement="left" title="How might people’s behaviour change because of your product or service? Their habits, time schedules, choice of activities, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Behaviour
  191. </h2>
  192. <!--
  193. <p class="intro">
  194. How might people’s behaviour change because of your product or service? Their habits, time schedules, choice of activities, etc?
  195. </p>
  196. -->
  197. <!-- Into text toggle -->
  198. <!-- <button type="button" class="intro-toggle"> -->
  199. <!-- glyphicon glyphicon-minus-sign -->
  200. <!--
  201. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  202. <span class="intro-toggle-text">Hide description</span>
  203. </button>
  204. -->
  205. <!-- Item list in the field -->
  206. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  207. <ul id="field_03" class="item_list sortable connectedList">
  208. </ul>
  209. <!-- The Box With All User input Thing -->
  210. <!-- # Tag selected term link -->
  211. <p class="tag-selected-term">
  212. <a href="#">
  213. Tag selected term
  214. </a>
  215. </p>
  216. <div class="add_box">
  217. <!-- # Add idea link -->
  218. <p>
  219. <a class="add-idea" href="#">
  220. Add an idea
  221. </a>
  222. </p>
  223. <!-- # User Input -->
  224. <div class="user-input">
  225. <label>Your Idea</label><br />
  226. <p>
  227. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  228. </p>
  229. <p class="chars-count">
  230. <span class="chars">100</span>
  231. characters remaining
  232. </p>
  233. <button type="button" class="add_btn">Add</button>
  234. </div>
  235. <!-- End of user input -->
  236. </div>
  237. <!-- End of add_box -->
  238. <div class="field-bottom">
  239. <img src="./icons/field3.svg" alt="field3" />
  240. <img src="./icons/number3.svg" alt="number3" />
  241. </div>
  242. </div>
  243. <!-- End of .card -->
  244. </div>
  245. <div class="masonry-layout__panel" id="bookmark_04">
  246. <div class="card field_04 masonry-layout__panel-content bg--green">
  247. <h2 class="field-title">
  248. <!-- Field -->
  249. <a href="#" data-toggle="tooltip" data-placement="left" title="How might relations between people and groups change because of your product or service? Between friends, family members, co-workers, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Relations
  250. </h2>
  251. <!--
  252. <p class="intro">
  253. How might relations between people and groups change because of your product or service? Between friends, family members, co-workers, etc?
  254. </p>
  255. -->
  256. <!-- Into text toggle -->
  257. <!-- <button type="button" class="intro-toggle"> -->
  258. <!-- glyphicon glyphicon-minus-sign -->
  259. <!--
  260. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  261. <span class="intro-toggle-text">Hide description</span>
  262. </button>
  263. -->
  264. <!-- Item list in the field -->
  265. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  266. <ul id="field_04" class="item_list sortable connectedList">
  267. </ul>
  268. <!-- The Box With All User input Thing -->
  269. <!-- # Tag selected term link -->
  270. <p class="tag-selected-term">
  271. <a href="#">
  272. Tag selected term
  273. </a>
  274. </p>
  275. <div class="add_box">
  276. <!-- # Add idea link -->
  277. <p>
  278. <a class="add-idea" href="#">
  279. Add an idea
  280. </a>
  281. </p>
  282. <!-- # User Input -->
  283. <div class="user-input">
  284. <label>Your Idea</label><br />
  285. <p>
  286. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  287. </p>
  288. <p class="chars-count">
  289. <span class="chars">100</span>
  290. characters remaining
  291. </p>
  292. <button type="button" class="add_btn">Add</button>
  293. </div>
  294. <!-- End of user input -->
  295. </div>
  296. <!-- End of add_box -->
  297. <div class="field-bottom">
  298. <img src="./icons/field4.svg" alt="field4" />
  299. <img src="./icons/number4.svg" alt="number4" />
  300. </div>
  301. </div>
  302. <!-- End of .card -->
  303. </div>
  304. <div class="masonry-layout__panel" id="bookmark_09">
  305. <div class="card field_09 masonry-layout__panel-content bg--darkblue">
  306. <h2 class="field-title">
  307. <!-- Field -->
  308. <a href="#" data-toggle="tooltip" data-placement="left" title="What are the most important ethical impacts you found? How can you address these by changing your design, organisation, or by proposing broader changes?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>What can we do?
  309. </h2>
  310. <!--
  311. <p class="intro">
  312. What are the most important ethical impacts you found? How can you address these by changing your design, organisation, or by proposing broader changes?
  313. </p>
  314. -->
  315. <!-- Into text toggle -->
  316. <!-- <button type="button" class="intro-toggle"> -->
  317. <!-- glyphicon glyphicon-minus-sign -->
  318. <!--
  319. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  320. <span class="intro-toggle-text">Hide description</span>
  321. </button>
  322. -->
  323. <!-- Item list in the field -->
  324. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  325. <ul id="field_09" class="item_list sortable connectedList">
  326. </ul>
  327. <!-- The Box With All User input Thing -->
  328. <!-- # Tag selected term link -->
  329. <p class="tag-selected-term">
  330. <a href="#">
  331. Tag selected term
  332. </a>
  333. </p>
  334. <div class="add_box">
  335. <!-- # Add idea link -->
  336. <p>
  337. <a class="add-idea" href="#">
  338. Add an idea
  339. </a>
  340. </p>
  341. <!-- # User Input -->
  342. <div class="user-input">
  343. <label>Your Idea</label><br />
  344. <p>
  345. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  346. </p>
  347. <p class="chars-count">
  348. <span class="chars">100</span>
  349. characters remaining
  350. </p>
  351. <button type="button" class="add_btn">Add</button>
  352. </div>
  353. <!-- End of user input -->
  354. </div>
  355. <!-- End of add_box -->
  356. <div class="field-bottom">
  357. <img src="./icons/field9.svg" alt="field9" />
  358. <img src="./icons/number9.svg" alt="number9" />
  359. </div>
  360. </div>
  361. <!-- End of .card -->
  362. </div>
  363. <div class="masonry-layout__panel" id="bookmark_05">
  364. <div class="card field_05 masonry-layout__panel-content bg--seagreen">
  365. <h2 class="field-title">
  366. <!-- Field -->
  367. <a href="#" data-toggle="tooltip" data-placement="left" title="How might people’s worldviews be affected by your product or service? Their ideas about consumption, religion, work, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Worldviews
  368. </h2>
  369. <!--
  370. <p class="intro">
  371. How might people’s worldviews be affected by your product or service? Their ideas about consumption, religion, work, etc?
  372. </p>
  373. -->
  374. <!-- Into text toggle -->
  375. <!-- <button type="button" class="intro-toggle"> -->
  376. <!-- glyphicon glyphicon-minus-sign -->
  377. <!--
  378. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  379. <span class="intro-toggle-text">Hide description</span>
  380. </button>
  381. -->
  382. <!-- Item list in the field -->
  383. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  384. <ul id="field_05" class="item_list sortable connectedList">
  385. </ul>
  386. <!-- The Box With All User input Thing -->
  387. <!-- # Tag selected term link -->
  388. <p class="tag-selected-term">
  389. <a href="#">
  390. Tag selected term
  391. </a>
  392. </p>
  393. <div class="add_box">
  394. <!-- # Add idea link -->
  395. <p>
  396. <a class="add-idea" href="#">
  397. Add an idea
  398. </a>
  399. </p>
  400. <!-- # User Input -->
  401. <div class="user-input">
  402. <label>Your Idea</label><br />
  403. <p>
  404. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  405. </p>
  406. <p class="chars-count">
  407. <span class="chars">100</span>
  408. characters remaining
  409. </p>
  410. <button type="button" class="add_btn">Add</button>
  411. </div>
  412. <!-- End of user input -->
  413. </div>
  414. <!-- End of add_box -->
  415. <div class="field-bottom">
  416. <img src="./icons/field5.svg" alt="field5" />
  417. <img src="./icons/number5.svg" alt="number5" />
  418. </div>
  419. </div>
  420. <!-- End of .card -->
  421. </div>
  422. <div class="masonry-layout__panel" id="bookmark_06">
  423. <div class="card field_06 masonry-layout__panel-content bg--green1">
  424. <h2 class="field-title">
  425. <!-- Field -->
  426. <a href="#" data-toggle="tooltip" data-placement="left" title="How might group conflict arise or be affected by your product or service? Could it disciminate between people, put them out of work, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Group Conflicts
  427. </h2>
  428. <!--
  429. <p class="intro">
  430. How might group conflict arise or be affected by your product or service? Could it disciminate between people, put them out of work, etc?
  431. </p>
  432. -->
  433. <!-- Into text toggle -->
  434. <!-- <button type="button" class="intro-toggle"> -->
  435. <!-- glyphicon glyphicon-minus-sign -->
  436. <!--
  437. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  438. <span class="intro-toggle-text">Hide description</span>
  439. </button>
  440. -->
  441. <!-- Item list in the field -->
  442. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  443. <ul id="field_06" class="item_list sortable connectedList">
  444. </ul>
  445. <!-- The Box With All User input Thing -->
  446. <!-- # Tag selected term link -->
  447. <p class="tag-selected-term">
  448. <a href="#">
  449. Tag selected term
  450. </a>
  451. </p>
  452. <div class="add_box">
  453. <!-- # Add idea link -->
  454. <p>
  455. <a class="add-idea" href="#">
  456. Add an idea
  457. </a>
  458. </p>
  459. <!-- # User Input -->
  460. <div class="user-input">
  461. <label>Your Idea</label><br />
  462. <p>
  463. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  464. </p>
  465. <p class="chars-count">
  466. <span class="chars">100</span>
  467. characters remaining
  468. </p>
  469. <button type="button" class="add_btn">Add</button>
  470. </div>
  471. <!-- End of user input -->
  472. </div>
  473. <!-- End of add_box -->
  474. <div class="field-bottom">
  475. <img src="./icons/field6.svg" alt="field6" />
  476. <img src="./icons/number6.svg" alt="number6" />
  477. </div>
  478. </div>
  479. <!-- End of .card -->
  480. </div>
  481. <div class="masonry-layout__panel" id="bookmark_02">
  482. <div class="card field_02 masonry-layout__panel-content bg--purple">
  483. <h2 class="field-title">
  484. <!-- Field -->
  485. <a href="#" data-toggle="tooltip" data-placement="left" title="Which groups are involved in the design, production, distribution and use of your product or service? Which groups might be affected by it? Are these work-related organisation, interest groups, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Groups Affected
  486. </h2>
  487. <!--
  488. <p class="intro">
  489. Which groups are involved in the design, production, distribution and use of your product or service? Which groups might be affected by it? Are these work-related organisation, interest groups, etc?
  490. </p>
  491. -->
  492. <!-- Into text toggle -->
  493. <!-- <button type="button" class="intro-toggle"> -->
  494. <!-- glyphicon glyphicon-minus-sign -->
  495. <!--
  496. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  497. <span class="intro-toggle-text">Hide description</span>
  498. </button>
  499. -->
  500. <!-- Item list in the field -->
  501. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  502. <ul id="field_02" class="item_list sortable connectedList">
  503. </ul>
  504. <!-- The Box With All User input Thing -->
  505. <!-- # Tag selected term link -->
  506. <p class="tag-selected-term">
  507. <a href="#">
  508. Tag selected term
  509. </a>
  510. </p>
  511. <div class="add_box">
  512. <!-- # Add idea link -->
  513. <p>
  514. <a class="add-idea" href="#">
  515. Add an idea
  516. </a>
  517. </p>
  518. <!-- # User Input -->
  519. <div class="user-input">
  520. <label>Your Idea</label><br />
  521. <p>
  522. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  523. </p>
  524. <p class="chars-count">
  525. <span class="chars">100</span>
  526. characters remaining
  527. </p>
  528. <button type="button" class="add_btn">Add</button>
  529. </div>
  530. <!-- End of user input -->
  531. </div>
  532. <!-- End of add_box -->
  533. <div class="field-bottom">
  534. <img src="./icons/field2.svg" alt="field2" />
  535. <img src="./icons/number2.svg" alt="number2" />
  536. </div>
  537. </div>
  538. <!-- End of .card -->
  539. </div>
  540. </div>
  541. <!-- ================ 4 col ================ -->
  542. <div class="masonry-layout2" id="4-col-layout">
  543. <div class="masonry-layout__panel" id="bookmark_07">
  544. <div class="card field_07 masonry-layout__panel-content bg--blue">
  545. <h2 class="field-title">
  546. <!-- Field -->
  547. <a href="#" data-toggle="tooltip" data-placement="left" title="What are potential negative impact of your product or service failing to operate or to be used as intended? What happens with technical errors, security failures, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Product or Service Failure
  548. </h2>
  549. <!--
  550. <p class="intro">
  551. What are potential negative impact of your product or service failing to operate or to be used as intended?
  552. What happens with technical errors, security failures, etc?
  553. </p>
  554. -->
  555. <!-- Into text toggle -->
  556. <!-- <button type="button" class="intro-toggle"> -->
  557. <!-- glyphicon glyphicon-minus-sign -->
  558. <!--
  559. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  560. <span class="intro-toggle-text">Hide description</span>
  561. </button>
  562. -->
  563. <!-- Item list in the field -->
  564. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  565. <ul id="field_07" class="item_list sortable connectedList">
  566. </ul>
  567. <!-- The Box With All User input Thing -->
  568. <!-- # Tag selected term link -->
  569. <p class="tag-selected-term">
  570. <a href="#">
  571. Tag selected term
  572. </a>
  573. </p>
  574. <div class="add_box">
  575. <!-- # Add idea link -->
  576. <p>
  577. <a class="add-idea" href="#">
  578. Add an idea
  579. </a>
  580. </p>
  581. <!-- # User Input -->
  582. <div class="user-input">
  583. <label>Your Idea</label><br />
  584. <p>
  585. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  586. </p>
  587. <p class="chars-count">
  588. <span class="chars">100</span>
  589. characters remaining
  590. </p>
  591. <button type="button" class="add_btn">Add</button>
  592. </div>
  593. <!-- End of user input -->
  594. </div>
  595. <!-- End of add_box -->
  596. <div class="field-bottom">
  597. <img src="./icons/field7.svg" alt="field7" />
  598. <img src="./icons/number7.svg" alt="number7" />
  599. </div>
  600. </div>
  601. <!-- End of .card -->
  602. </div>
  603. <div class="masonry-layout__panel" id="bookmark_08">
  604. <div class="card field_08 masonry-layout__panel-content bg--green">
  605. <h2 class="field-title">
  606. <!-- Field -->
  607. <a href="#" data-toggle="tooltip" data-placement="left" title="What are potential negative impacts of the consumption of resources relating to your project? What happens with its use of energy, personal data, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Problematic Use of Resources
  608. </h2>
  609. <!--
  610. <p class="intro">
  611. What are potential negative impacts of the consumption of resources relating to your project? What happens with its use of energy, personal data, etc?
  612. </p>
  613. -->
  614. <!-- Into text toggle -->
  615. <!-- <button type="button" class="intro-toggle"> -->
  616. <!-- glyphicon glyphicon-minus-sign -->
  617. <!--
  618. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  619. <span class="intro-toggle-text">Hide description</span>
  620. </button>
  621. -->
  622. <!-- Item list in the field -->
  623. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  624. <ul id="field_08" class="item_list sortable connectedList">
  625. </ul>
  626. <!-- The Box With All User input Thing -->
  627. <!-- # Tag selected term link -->
  628. <p class="tag-selected-term">
  629. <a href="#">
  630. Tag selected term
  631. </a>
  632. </p>
  633. <div class="add_box">
  634. <!-- # Add idea link -->
  635. <p>
  636. <a class="add-idea" href="#">
  637. Add an idea
  638. </a>
  639. </p>
  640. <!-- # User Input -->
  641. <div class="user-input">
  642. <label>Your Idea</label><br />
  643. <p>
  644. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  645. </p>
  646. <p class="chars-count">
  647. <span class="chars">100</span>
  648. characters remaining
  649. </p>
  650. <button type="button" class="add_btn">Add</button>
  651. </div>
  652. <!-- End of user input -->
  653. </div>
  654. <!-- End of add_box -->
  655. <div class="field-bottom">
  656. <img src="./icons/field8.svg" alt="field8" />
  657. <img src="./icons/number8.svg" alt="number8" />
  658. </div>
  659. </div>
  660. <!-- End of .card -->
  661. </div>
  662. </div>
  663. </div>
  664. <!-- End of .canvas.box -->
  665. <!-- FORM BUTTON BOX -->
  666. <div class="row">
  667. <div class="imp-exp-btn col-md-4 col-md-offset-4">
  668. <!-- Form button -->
  669. <?php if (!empty($name)) { ?>
  670. <p class="text-center">
  671. <!-- Export JSON and also save the canvas for the registered user -->
  672. <button class="json_exp" type="button" name="json_exp">Save This Canvas</button>
  673. </p>
  674. <!-- BEGIN SHARE CANVAS -->
  675. <p class="text-center">
  676. <button class="share_canvas" type="submit" name="share-canvas">Share This Canvas</button>
  677. </p>
  678. <div class="share_canvas_email text-center">
  679. <p>
  680. <label>Send this canvas to:</label>
  681. </p>
  682. <p>
  683. <input type="email" name="share-canvas-email" placeholder="type an email adress here..."/>
  684. </p>
  685. <p class="text-center">
  686. <button class="share_canvas_send" type="button" name="share-canvas-send">Send</button>
  687. </p>
  688. </div>
  689. <!-- END SHARE CANVAS -->
  690. <?php } else { ?>
  691. <p class="text-center">
  692. <!-- Export JSON and also save the canvas for the registered user -->
  693. <a class="login-to-save" href="../index.html">Sign up or login to save your canvas</a>
  694. </p>
  695. <?php }?>
  696. <!-- BEGIN EXPORT PDF -->
  697. <p class="text-center">
  698. <input class="pdf_exp" type="submit" name="export-pdf" value="Download as PDF">
  699. </p>
  700. <!-- END EXPORT PDF -->
  701. </div>
  702. </div>
  703. <!-- Start of move-window -->
  704. <div class="window" id="move-window">
  705. <button type="button" class="close" aria-label="Close">
  706. <span aria-hidden="true">&times;</span>
  707. </button>
  708. <h2>Move idea</h2>
  709. <ul>
  710. <li>
  711. <a href="#">1.&nbsp;&nbsp;Individuals Affected</a>
  712. </li>
  713. <li>
  714. <a href="#">2.&nbsp;&nbsp;Groups Affected</a>
  715. </li>
  716. <li>
  717. <a href="#">3.&nbsp;&nbsp;Behaviour</a>
  718. </li>
  719. <li>
  720. <a href="#">4.&nbsp;&nbsp;Relations</a>
  721. </li>
  722. <li>
  723. <a href="#">5.&nbsp;&nbsp;Worldviews</a>
  724. </li>
  725. <li>
  726. <a href="#">6.&nbsp;&nbsp;Group Conflicts</a>
  727. </li>
  728. <li>
  729. <a href="#">7.&nbsp;&nbsp;Product or Service Failure</a>
  730. </li>
  731. <li>
  732. <a href="#">8.&nbsp;&nbsp;Problematic Use of Resources</a>
  733. </li>
  734. <li>
  735. <a href="#">9.&nbsp;&nbsp;What can we do?</a>
  736. </li>
  737. </ul>
  738. <!--
  739. <h2 id="tag-description">
  740. My description of this tag
  741. </h2>
  742. <textarea rows="4" cols="50" maxlength="200" id="tag-description">Please enter a description...</textarea><br />
  743. <p class="chars-count">
  744. <span class="chars">200</span>
  745. characters remaining
  746. </p>
  747. <button type="button" class="move-window-button" id="save-tag">Save tag</button>&nbsp;
  748. <button type="button" class="move-window-button" id="delete-tag">Delete tag</button>
  749. <h2 class="similar-tags">Similar tags by other users</h2>
  750. <p class='similar-tags-description-none'>No similar tags could be found!</p>
  751. -->
  752. </div>
  753. <!-- End of move-window -->
  754. <!-- Start of tag-window -->
  755. <div class="window" id="tag-window">
  756. <button type="button" class="close" aria-label="Close">
  757. <span aria-hidden="true">&times;</span>
  758. </button>
  759. <h2 id="tag-description">
  760. My description of this tag
  761. </h2>
  762. <textarea rows="4" cols="50" maxlength="200" id="tag-description">Please enter a description...</textarea><br />
  763. <p class="chars-count">
  764. <span class="chars">200</span>
  765. characters remaining
  766. </p>
  767. <button type="button" class="tag-window-button" id="save-tag">Save tag</button>&nbsp;
  768. <button type="button" class="tag-window-button" id="delete-tag">Delete tag</button>
  769. <h2 class="similar-tags">Similar tags by other users</h2>
  770. <p class='similar-tags-description-none'>No similar tags could be found!</p>
  771. </div>
  772. <!-- End of tag-window -->
  773. </form>
  774. <!-- End of .form -->
  775. <!-- Hidden place to show JSON info -->
  776. <pre id="result" class="text-center">
  777. </pre>
  778. <div class="row">
  779. <footer class="col-md-12 text-center">
  780. <div class="contact">
  781. <h2>Contact us:</h2>
  782. <p> hello@ethicscanvas.org </p>
  783. </div>
  784. <div class="license">
  785. <p>The Ethics Canvas is adapted from Alex Osterwalder’s Business Model Canvas.</p>
  786. <p>The Business Model Canvas is designed by: Business Model Foundry AG.
  787. </p>
  788. <p>
  789. This work is licensed under the Creative Commons Attribution-Share Alike 3.0 unported license.</p>
  790. <p class="cc"><span class="glyphicon glyphicon-list" aria-hidden="true"></span> View a copy of this license on:</p>
  791. <p>
  792. <a href="https://creativecommons.org/licenses/by-sa/3.0/">creativecommons.org</a>
  793. </p>
  794. <p class="bmc"><span class="glyphicon glyphicon-th-large" aria-hidden="true"></span>
  795. View the original Business Model Canvas on:
  796. </p>
  797. <p>
  798. <a href="https://strategyzer.com/canvas">strategyzer.com</a>
  799. </p>
  800. </div>
  801. <div class="license-icons">
  802. <ul>
  803. <li><img src="../icon/by.large.png" alt="ethics-canvas-by-icon"/> </li>
  804. <li><img src="../icon/share.large.png" alt="ethics-canvas-share-icon"/> </li>
  805. <li><img src="../icon/cc.large.png" alt="ethics-canvas-cc-icon"/> </li>
  806. <li> <img src="../icon/remix.large.png" alt="ethics-canvas-remix-icon"/></li>
  807. <li> <img src="../icon/sa.large.png" alt="ethics-canvas-sa-icon"/></li>
  808. </ul>
  809. </div>
  810. <p class="ethics-copy terms"><a href="../privacy-terms/terms.html">Terms of Service</a></p>
  811. <p class="ethics-copy privacy"><a href="../privacy-terms/privacy.html">Privacy Policy</a></p>
  812. <p class="ethics-copy">The ADAPT Centre for Digital Content Technology</p> <p class="ethics-copy">is funded under the SFI Research Centres Programme (Grant 13/RC/2106).</p><p class="ethics-copy">It is co-funded under the European Regional Development Fund.</p>
  813. <p class="ethics-copy">Ethics Canvas v1.7|&copy; ADAPT Center &amp; Trinity College Dublin &amp; Dublin City University, 2016</p>
  814. </footer>
  815. </div>
  816. </div>
  817. <!-- End of container-fluid -->
  818. <!-- Start of dialogs -->
  819. <div id="shadow">&nbsp;</div>
  820. <div class="dialog" id="dialog-log-in" title="Please log in">
  821. <p>Please log in to use this function.</p>
  822. </div>
  823. <div class="dialog" id="dialog-select-term" title="Please select term">
  824. <p>Please select a term to be tagged.</p>
  825. </div>
  826. <!--
  827. <div class="dialog" id="dialog-tag-already-exists" title="Tag already exists">
  828. <p>The tag already exists!</p>
  829. </div>
  830. -->
  831. <!-- End of ialogs -->
  832. <!-- jQuery -->
  833. <script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
  834. <!-- jquery UI -->
  835. <script src="https://code.jquery.com/ui/1.12.0-rc.2/jquery-ui.min.js" integrity="sha256-55Jz3pBCF8z9jBO1qQ7cIf0L+neuPTD1u7Ytzrp2dqo=" crossorigin="anonymous"></script>
  836. <!-- Bootstrap -->
  837. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
  838. <!-- Bootstrap -->
  839. <script src="js/jquery-fieldselection.min.js"></script>
  840. <!-- The app javascript -->
  841. <script src="js/canvas.js" charset="utf-8"></script>
  842. <script language="javascript" type="text/javascript"></script>
  843. </body>
  844. </html>